Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support swift package manager #102

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Xcode
#
.build/
build/
*.pbxuser
!default.pbxuser
5 changes: 4 additions & 1 deletion BFRImageViewController/BFRBackLoadedImageSource.m
Original file line number Diff line number Diff line change
@@ -9,8 +9,11 @@
#import "BFRBackLoadedImageSource.h"
#import "BFRImageViewerConstants.h"
#import <UIKit/UIKit.h>
#import <PINRemoteImage/PINRemoteImage.h>
#ifdef COCOAPODS
#import <PINRemoteImage/PINImageView+PINRemoteImage.h>
#else
@import PINRemoteImage;
#endif

@interface BFRBackLoadedImageSource()

4 changes: 4 additions & 0 deletions BFRImageViewController/BFRImageContainerViewController.m
Original file line number Diff line number Diff line change
@@ -12,9 +12,13 @@
#import "BFRImageViewerConstants.h"
#import <Photos/Photos.h>
#import <PhotosUI/PhotosUI.h>
#ifdef COCOAPODS
#import <PINRemoteImage/PINAnimatedImageView.h>
#import <PINRemoteImage/PINRemoteImage.h>
#import <PINRemoteImage/PINImageView+PINRemoteImage.h>
#else
@import PINRemoteImage;
#endif

@interface BFRImageContainerViewController () <UIScrollViewDelegate, UIGestureRecognizerDelegate>

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="8150" systemVersion="15A204g" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" initialViewController="01J-lp-oVM">
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="23094" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<device id="retina6_12" orientation="portrait" appearance="light"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8122"/>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23084"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
@@ -13,10 +16,9 @@
<viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<animations/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
2 changes: 1 addition & 1 deletion BFRImageViewerDemo/BFRImageViewer/FifthViewController.m
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@

#import <Photos/Photos.h>
#import "FifthViewController.h"
#import "BFRImageViewController.h"
@import BFRImageViewer;

@interface FifthViewController () <UINavigationControllerDelegate, UIImagePickerControllerDelegate>

2 changes: 1 addition & 1 deletion BFRImageViewerDemo/BFRImageViewer/FirstViewController.m
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
//

#import "FirstViewController.h"
#import "BFRImageViewController.h"
@import BFRImageViewer;

@interface FirstViewController ()
@property (strong, nonatomic) NSURL *imgURL;
3 changes: 1 addition & 2 deletions BFRImageViewerDemo/BFRImageViewer/FourthViewController.m
Original file line number Diff line number Diff line change
@@ -7,8 +7,7 @@
//

#import "FourthViewController.h"
#import "BFRBackLoadedImageSource.h"
#import "BFRImageViewController.h"
@import BFRImageViewer;

@interface FourthViewController ()

2 changes: 1 addition & 1 deletion BFRImageViewerDemo/BFRImageViewer/SecondViewController.m
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
//

#import "SecondViewController.h"
#import "BFRImageViewController.h"
@import BFRImageViewer;

@interface SecondViewController ()
@property (strong, nonatomic) NSArray *imgURLs;
3 changes: 1 addition & 2 deletions BFRImageViewerDemo/BFRImageViewer/ThirdViewController.m
Original file line number Diff line number Diff line change
@@ -7,8 +7,7 @@
//

#import "ThirdViewController.h"
#import "BFRImageTransitionAnimator.h"
#import "BFRImageViewController.h"
@import BFRImageViewer;

@interface ThirdViewController ()

Loading