├── ex_embedded.png
├── infinite-loop-uipageviewcontroller-filter.gif
├── Infinite-scroll.xcodeproj
├── project.xcworkspace
│ └── contents.xcworkspacedata
└── project.pbxproj
├── Infinite-scroll-swift
├── Infinite-scroll-swift.xcodeproj
│ ├── project.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── project.pbxproj
└── Infinite-scroll-swift
│ ├── TwoViewController.swift
│ ├── OneViewController.swift
│ ├── ThreeViewController.swift
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
│ ├── Info.plist
│ ├── ViewController.swift
│ ├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
│ └── AppDelegate.swift
├── Infinite-scroll
├── AppDelegate.h
├── main.m
├── RecordListViewController.h
├── Images.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
├── PageViewContainerViewController.h
├── Info.plist
├── AppDelegate.m
├── RecordListViewController.m
├── Base.lproj
│ ├── LaunchScreen.xib
│ └── Main.storyboard
└── PageViewContainerViewController.m
├── Infinite-scroll.xcworkspace
└── contents.xcworkspacedata
├── .gitignore
├── IGGInfinitePageViewController
├── IGGInfinitePageViewController
│ ├── IGGInfinitePageViewController.h
│ ├── Info.plist
│ └── IGGInfinitePageViewController.swift
└── IGGInfinitePageViewController.xcodeproj
│ └── project.pbxproj
├── Infinite-scrollTests
├── Info.plist
└── Infinite_scrollTests.m
├── LICENSE
└── README.md
/ex_embedded.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/igroomgrim/Infinite-scroll-with-uipageviewcontroller/HEAD/ex_embedded.png
--------------------------------------------------------------------------------
/infinite-loop-uipageviewcontroller-filter.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/igroomgrim/Infinite-scroll-with-uipageviewcontroller/HEAD/infinite-loop-uipageviewcontroller-filter.gif
--------------------------------------------------------------------------------
/Infinite-scroll.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Infinite-scroll-swift/Infinite-scroll-swift.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Infinite-scroll/AppDelegate.h:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.h
3 | // Infinite-scroll
4 | //
5 | // Created by Anak Mirasing on 7/25/2558 BE.
6 | // Copyright (c) 2558 iGROOMGRiM. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface AppDelegate : UIResponder
12 |
13 | @property (strong, nonatomic) UIWindow *window;
14 |
15 |
16 | @end
17 |
18 |
--------------------------------------------------------------------------------
/Infinite-scroll/main.m:
--------------------------------------------------------------------------------
1 | //
2 | // main.m
3 | // Infinite-scroll
4 | //
5 | // Created by Anak Mirasing on 7/25/2558 BE.
6 | // Copyright (c) 2558 iGROOMGRiM. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "AppDelegate.h"
11 |
12 | int main(int argc, char * argv[]) {
13 | @autoreleasepool {
14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Infinite-scroll.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Xcode
2 | #
3 | build/
4 | *.pbxuser
5 | !default.pbxuser
6 | *.mode1v3
7 | !default.mode1v3
8 | *.mode2v3
9 | !default.mode2v3
10 | *.perspectivev3
11 | !default.perspectivev3
12 | xcuserdata
13 | *.xccheckout
14 | *.moved-aside
15 | DerivedData
16 | *.hmap
17 | *.ipa
18 | *.xcuserstate
19 |
20 | # CocoaPods
21 | #
22 | # We recommend against adding the Pods directory to your .gitignore. However
23 | # you should judge for yourself, the pros and cons are mentioned at:
24 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
25 | #
26 | #Pods/
27 |
--------------------------------------------------------------------------------
/Infinite-scroll-swift/Infinite-scroll-swift/TwoViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // TwoViewController.swift
3 | // Infinite-scroll-swift
4 | //
5 | // Created by Anak Mirasing on 6/8/16.
6 | // Copyright © 2016 iGROOMGRiM. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class TwoViewController: UIViewController {
12 |
13 | override func viewDidLoad() {
14 | super.viewDidLoad()
15 | self.view.backgroundColor = UIColor.greenColor()
16 | // Do any additional setup after loading the view.
17 | }
18 |
19 | override func viewDidAppear(animated: Bool) {
20 | super.viewDidAppear(animated)
21 | print("TwoViewController : DidAppear")
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/Infinite-scroll-swift/Infinite-scroll-swift/OneViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // SampleViewController.swift
3 | // Infinite-scroll-swift
4 | //
5 | // Created by Anak Mirasing on 6/8/16.
6 | // Copyright © 2016 iGROOMGRiM. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class OneViewController: UIViewController {
12 |
13 | override func viewDidLoad() {
14 | super.viewDidLoad()
15 | self.view.backgroundColor = UIColor.redColor()
16 | // Do any additional setup after loading the view.
17 | }
18 |
19 | override func viewDidAppear(animated: Bool) {
20 | super.viewDidAppear(animated)
21 | print("OneViewController : DidAppear")
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/Infinite-scroll-swift/Infinite-scroll-swift/ThreeViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ThreeViewController.swift
3 | // Infinite-scroll-swift
4 | //
5 | // Created by Anak Mirasing on 6/8/16.
6 | // Copyright © 2016 iGROOMGRiM. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class ThreeViewController: UIViewController {
12 |
13 | override func viewDidLoad() {
14 | super.viewDidLoad()
15 | self.view.backgroundColor = UIColor.cyanColor()
16 | // Do any additional setup after loading the view.
17 | }
18 |
19 | override func viewDidAppear(animated: Bool) {
20 | super.viewDidAppear(animated)
21 | print("ThreeViewController : DidAppear")
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/Infinite-scroll/RecordListViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // RecordListViewController.h
3 | // Infinite-scroll
4 | //
5 | // Created by Anak Mirasing on 7/25/2558 BE.
6 | // Copyright (c) 2558 iGROOMGRiM. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @protocol FilterMenuDelegate
12 |
13 | -(void)setCurrentFilterIndex:(NSUInteger)filterCurrentIndex;
14 |
15 | @end
16 |
17 | @interface RecordListViewController : UIViewController
18 | @property (nonatomic, assign) NSInteger indexNumber; // view index number
19 | @property (nonatomic, weak) IBOutlet UITableView *recordListTableView;
20 | @property (nonatomic, strong) NSArray *filterArray;
21 |
22 | @property (nonatomic, assign) id delegate;
23 | @end
24 |
--------------------------------------------------------------------------------
/IGGInfinitePageViewController/IGGInfinitePageViewController/IGGInfinitePageViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // IGGInfinitePageViewController.h
3 | // IGGInfinitePageViewController
4 | //
5 | // Created by Anak Mirasing on 6/12/2559 BE.
6 | // Copyright © 2559 iGROOMGRiM. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | //! Project version number for IGGInfinitePageViewController.
12 | FOUNDATION_EXPORT double IGGInfinitePageViewControllerVersionNumber;
13 |
14 | //! Project version string for IGGInfinitePageViewController.
15 | FOUNDATION_EXPORT const unsigned char IGGInfinitePageViewControllerVersionString[];
16 |
17 | // In this header, you should import all the public headers of your framework using statements like #import
18 |
19 |
20 |
--------------------------------------------------------------------------------
/Infinite-scroll/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | }
33 | ],
34 | "info" : {
35 | "version" : 1,
36 | "author" : "xcode"
37 | }
38 | }
--------------------------------------------------------------------------------
/Infinite-scroll-swift/Infinite-scroll-swift/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | }
33 | ],
34 | "info" : {
35 | "version" : 1,
36 | "author" : "xcode"
37 | }
38 | }
--------------------------------------------------------------------------------
/Infinite-scroll/PageViewContainerViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // PageViewContainerViewController.h
3 | // Infinite-scroll
4 | //
5 | // Created by Anak Mirasing on 7/25/2558 BE.
6 | // Copyright (c) 2558 iGROOMGRiM. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "RecordListViewController.h"
11 |
12 | @interface PageViewContainerViewController : UIViewController
13 | @property (nonatomic, weak) IBOutlet UIView *viewBoard;
14 | @property (nonatomic, weak) IBOutlet UILabel *statusLabel;
15 | @property (nonatomic, strong) UIPageViewController *pagerView;
16 | @property (nonatomic, strong) NSArray *viewsArray;
17 | @property (nonatomic, assign) NSUInteger currentIndex;
18 | @property (nonatomic, strong) NSArray *filterArray;
19 | @end
20 |
--------------------------------------------------------------------------------
/Infinite-scrollTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/IGGInfinitePageViewController/IGGInfinitePageViewController/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | $(CURRENT_PROJECT_VERSION)
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Infinite-scrollTests/Infinite_scrollTests.m:
--------------------------------------------------------------------------------
1 | //
2 | // Infinite_scrollTests.m
3 | // Infinite-scrollTests
4 | //
5 | // Created by Anak Mirasing on 7/25/2558 BE.
6 | // Copyright (c) 2558 iGROOMGRiM. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 |
12 | @interface Infinite_scrollTests : XCTestCase
13 |
14 | @end
15 |
16 | @implementation Infinite_scrollTests
17 |
18 | - (void)setUp {
19 | [super setUp];
20 | // Put setup code here. This method is called before the invocation of each test method in the class.
21 | }
22 |
23 | - (void)tearDown {
24 | // Put teardown code here. This method is called after the invocation of each test method in the class.
25 | [super tearDown];
26 | }
27 |
28 | - (void)testExample {
29 | // This is an example of a functional test case.
30 | XCTAssert(YES, @"Pass");
31 | }
32 |
33 | - (void)testPerformanceExample {
34 | // This is an example of a performance test case.
35 | [self measureBlock:^{
36 | // Put the code you want to measure the time of here.
37 | }];
38 | }
39 |
40 | @end
41 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2015 Anak Mirasing
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
23 |
--------------------------------------------------------------------------------
/Infinite-scroll/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/Infinite-scroll-swift/Infinite-scroll-swift/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/Infinite-scroll-swift/Infinite-scroll-swift/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // Infinite-scroll-swift
4 | //
5 | // Created by Anak Mirasing on 5/10/16.
6 | // Copyright © 2016 iGROOMGRiM. All rights reserved.
7 | //
8 |
9 | import UIKit
10 | import IGGInfinitePageViewController
11 |
12 | class ViewController: UIViewController {
13 | @IBOutlet weak var pageControl: UIPageControl!
14 |
15 | override func viewDidLoad() {
16 | super.viewDidLoad()
17 | // Do any additional setup after loading the view, typically from a nib.
18 | let exampleFrame = view.frame
19 |
20 | let vc1 = OneViewController()
21 | let vc2 = TwoViewController()
22 | let vc3 = ThreeViewController()
23 |
24 | let ifnPageScroll = IGGInfinitePageViewController(frame: exampleFrame, viewControllers: [vc1, vc2, vc3])
25 | ifnPageScroll.infiniteDelegate = self
26 |
27 | // Add to your view
28 | addChildViewController(ifnPageScroll)
29 | view.addSubview(ifnPageScroll.view)
30 | ifnPageScroll.didMoveToParentViewController(self)
31 |
32 | pageControl.numberOfPages = 3
33 | view.bringSubviewToFront(pageControl)
34 | }
35 | }
36 |
37 | extension ViewController: IGGInfinitePageViewDelegate {
38 | func pageViewCurrentIndex(currentIndex: Int) {
39 | print("currentIndex : \(currentIndex)")
40 | pageControl.currentPage = currentIndex
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/Infinite-scroll-swift/Infinite-scroll-swift/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/Infinite-scroll/AppDelegate.m:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.m
3 | // Infinite-scroll
4 | //
5 | // Created by Anak Mirasing on 7/25/2558 BE.
6 | // Copyright (c) 2558 iGROOMGRiM. All rights reserved.
7 | //
8 |
9 | #import "AppDelegate.h"
10 |
11 | @interface AppDelegate ()
12 |
13 | @end
14 |
15 | @implementation AppDelegate
16 |
17 |
18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
19 | // Override point for customization after application launch.
20 | return YES;
21 | }
22 |
23 | - (void)applicationWillResignActive:(UIApplication *)application {
24 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
25 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
26 | }
27 |
28 | - (void)applicationDidEnterBackground:(UIApplication *)application {
29 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
30 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
31 | }
32 |
33 | - (void)applicationWillEnterForeground:(UIApplication *)application {
34 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
35 | }
36 |
37 | - (void)applicationDidBecomeActive:(UIApplication *)application {
38 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
39 | }
40 |
41 | - (void)applicationWillTerminate:(UIApplication *)application {
42 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
43 | }
44 |
45 | @end
46 |
--------------------------------------------------------------------------------
/Infinite-scroll-swift/Infinite-scroll-swift/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // Infinite-scroll-swift
4 | //
5 | // Created by Anak Mirasing on 5/10/16.
6 | // Copyright © 2016 iGROOMGRiM. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | @UIApplicationMain
12 | class AppDelegate: UIResponder, UIApplicationDelegate {
13 |
14 | var window: UIWindow?
15 |
16 |
17 | func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
18 | // Override point for customization after application launch.
19 | return true
20 | }
21 |
22 | func applicationWillResignActive(application: UIApplication) {
23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
24 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
25 | }
26 |
27 | func applicationDidEnterBackground(application: UIApplication) {
28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
30 | }
31 |
32 | func applicationWillEnterForeground(application: UIApplication) {
33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
34 | }
35 |
36 | func applicationDidBecomeActive(application: UIApplication) {
37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
38 | }
39 |
40 | func applicationWillTerminate(application: UIApplication) {
41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
42 | }
43 |
44 |
45 | }
46 |
47 |
--------------------------------------------------------------------------------
/Infinite-scroll/RecordListViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // RecordListViewController.m
3 | // Infinite-scroll
4 | //
5 | // Created by Anak Mirasing on 7/25/2558 BE.
6 | // Copyright (c) 2558 iGROOMGRiM. All rights reserved.
7 | //
8 |
9 | #import "RecordListViewController.h"
10 |
11 | @interface RecordListViewController ()
12 |
13 | @end
14 |
15 | @implementation RecordListViewController
16 |
17 | @synthesize recordListTableView;
18 | @synthesize indexNumber;
19 | @synthesize filterArray;
20 | @synthesize delegate;
21 |
22 | - (void)viewDidLoad {
23 | [super viewDidLoad];
24 |
25 | filterArray = [NSArray arrayWithObjects:@"Success",@"All",@"Waiting",@"Cancel", nil];
26 | }
27 |
28 | -(void)viewDidAppear:(BOOL)animated {
29 | [super viewDidAppear:animated];
30 |
31 | NSLog(@"Table Filter Status : %@",[filterArray objectAtIndex:indexNumber]);
32 | [delegate setCurrentFilterIndex:indexNumber];
33 | }
34 |
35 | - (void)didReceiveMemoryWarning {
36 | [super didReceiveMemoryWarning];
37 | // Dispose of any resources that can be recreated.
38 | }
39 |
40 | #pragma mark - TableView Delegate & Datasource
41 |
42 | -(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
43 | return 1;
44 | }
45 |
46 | -(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
47 | return 16;
48 | }
49 |
50 | -(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
51 | return 80;
52 | }
53 |
54 | -(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
55 |
56 | NSString *identifier = @"";
57 |
58 | switch (indexNumber) {
59 | case 0:
60 | identifier = @"SuccessCell";
61 | break;
62 | case 1: {
63 | NSUInteger r = arc4random_uniform(3);
64 | if (r==0) {
65 | identifier = @"SuccessCell";
66 | }else if(r==1) {
67 | identifier = @"WaitingCell";
68 | }else if(r==2) {
69 | identifier = @"CancelCell";
70 | }
71 | }
72 | break;
73 | case 2:
74 | identifier = @"WaitingCell";
75 | break;
76 | case 3:
77 | identifier = @"CancelCell";
78 | break;
79 | default:
80 | break;
81 | }
82 |
83 | UITableViewCell *recordCell = [tableView dequeueReusableCellWithIdentifier:identifier];
84 | return recordCell;
85 | }
86 |
87 |
88 | @end
89 |
--------------------------------------------------------------------------------
/IGGInfinitePageViewController/IGGInfinitePageViewController/IGGInfinitePageViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // IGGInfinitePageViewController.swift
3 | // IGGInfinitePageViewController
4 | //
5 | // Created by Anak Mirasing on 6/12/2559 BE.
6 | // Copyright © 2559 iGROOMGRiM. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | public protocol IGGInfinitePageViewDelegate: class {
12 | func pageViewCurrentIndex(currentIndex: Int)
13 | }
14 |
15 | public class IGGInfinitePageViewController: UIPageViewController {
16 | private var controllers: [UIViewController]
17 | public weak var infiniteDelegate: IGGInfinitePageViewDelegate?
18 |
19 | public init(frame: CGRect, viewControllers: [UIViewController]) {
20 | controllers = viewControllers
21 | super.init(transitionStyle: .Scroll, navigationOrientation: .Horizontal, options: nil)
22 | }
23 |
24 | required public init?(coder aDecoder: NSCoder) {
25 | fatalError("init(coder:) has not been implemented")
26 | }
27 |
28 | override public func viewDidLoad() {
29 | super.viewDidLoad()
30 |
31 | dataSource = self
32 | guard let firstViewController = controllers.first else {
33 | return
34 | }
35 |
36 | setViewControllers([firstViewController], direction: .Forward, animated: true, completion: nil)
37 | }
38 | }
39 |
40 | extension IGGInfinitePageViewController: UIPageViewControllerDataSource {
41 | public func pageViewController(pageViewController: UIPageViewController,
42 | viewControllerBeforeViewController viewController: UIViewController) -> UIViewController? {
43 | guard let index = controllers.indexOf(viewController) else {
44 | return nil
45 | }
46 |
47 | infiniteDelegate?.pageViewCurrentIndex(index)
48 |
49 | if index == 0 {
50 | return controllers[controllers.count-1]
51 | }
52 |
53 | let previousIndex = index - 1
54 | return controllers[previousIndex]
55 | }
56 |
57 | public func pageViewController(pageViewController: UIPageViewController,
58 | viewControllerAfterViewController viewController: UIViewController) -> UIViewController? {
59 | guard let index = controllers.indexOf(viewController) else {
60 | return nil
61 | }
62 |
63 | infiniteDelegate?.pageViewCurrentIndex(index)
64 |
65 | let nextIndex = index + 1
66 | if nextIndex == controllers.count {
67 |
68 | return controllers.first
69 | }
70 |
71 | return controllers[nextIndex]
72 | }
73 | }
74 |
--------------------------------------------------------------------------------
/Infinite-scroll-swift/Infinite-scroll-swift/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/Infinite-scroll/Base.lproj/LaunchScreen.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
20 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/Infinite-scroll/PageViewContainerViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // PageViewContainerViewController.m
3 | // Infinite-scroll
4 | //
5 | // Created by Anak Mirasing on 7/25/2558 BE.
6 | // Copyright (c) 2558 iGROOMGRiM. All rights reserved.
7 | //
8 |
9 | #import "PageViewContainerViewController.h"
10 |
11 | @interface PageViewContainerViewController ()
12 |
13 | @end
14 |
15 | @implementation PageViewContainerViewController
16 |
17 | @synthesize pagerView,viewBoard,statusLabel;
18 | @synthesize viewsArray,filterArray;
19 | @synthesize currentIndex;
20 |
21 | - (void)viewDidLoad {
22 | [super viewDidLoad];
23 | [self pageViewSetup];
24 |
25 | }
26 |
27 | - (void)didReceiveMemoryWarning {
28 | [super didReceiveMemoryWarning];
29 | // Dispose of any resources that can be recreated.
30 | }
31 |
32 | #pragma mark - PageView Settup
33 | - (void)pageViewSetup {
34 |
35 | currentIndex = 1;
36 | filterArray = [NSArray arrayWithObjects:@"Success",@"All",@"Waiting",@"Cancel", nil];
37 | [self setHeaderStatus:[filterArray objectAtIndex:1]];
38 |
39 | pagerView = [[UIPageViewController alloc] initWithTransitionStyle:UIPageViewControllerTransitionStyleScroll navigationOrientation:UIPageViewControllerNavigationOrientationHorizontal options:nil];
40 | pagerView.dataSource = self;
41 | pagerView.delegate = self;
42 | pagerView.view.backgroundColor = [UIColor clearColor];
43 | [pagerView.view setFrame:CGRectMake(0, 0, viewBoard.frame.size.width, viewBoard.frame.size.height)];
44 |
45 | RecordListViewController *vcObject = [self viewControllerAtIndex:1];
46 | viewsArray = [[NSMutableArray alloc] initWithArray:[NSArray arrayWithObject:vcObject]];
47 | [pagerView setViewControllers:viewsArray direction:UIPageViewControllerNavigationDirectionForward animated:NO completion:nil];
48 |
49 | [self addChildViewController:pagerView];
50 | [viewBoard addSubview:pagerView.view];
51 | [pagerView didMoveToParentViewController:self];
52 | }
53 |
54 | -(void)setHeaderStatus:(NSString *)status {
55 | statusLabel.text = [NSString stringWithFormat:@"Infinite-%@",status];
56 | }
57 |
58 | -(RecordListViewController *)viewControllerAtIndex:(NSUInteger)index {
59 |
60 | UIStoryboard *mainStoryBoard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
61 | RecordListViewController *childVC = [mainStoryBoard instantiateViewControllerWithIdentifier:@"RecordListViewController"];
62 | childVC.delegate = self;
63 | childVC.indexNumber = index;
64 |
65 | return childVC;
66 | }
67 |
68 | #pragma mark - Filter Menu Delegate
69 | -(void)setCurrentFilterIndex:(NSUInteger)filterCurrentIndex {
70 | currentIndex = filterCurrentIndex;
71 | [self setHeaderStatus:[filterArray objectAtIndex:currentIndex]];
72 | }
73 |
74 | #pragma mark - PageView Datasource
75 | -(UIViewController *)pageViewController:(UIPageViewController *)pageViewController viewControllerBeforeViewController:(UIViewController *)viewController {
76 |
77 | NSUInteger index = [(RecordListViewController *)viewController indexNumber];
78 |
79 | if (index == 0) {
80 |
81 | return [self viewControllerAtIndex:filterArray.count-1];
82 | }
83 | index--;
84 | return [self viewControllerAtIndex:index];
85 | }
86 |
87 | -(UIViewController *)pageViewController:(UIPageViewController *)pageViewController viewControllerAfterViewController:(UIViewController *)viewController {
88 |
89 | NSUInteger index = [(RecordListViewController *)viewController indexNumber];
90 | index++;
91 | if (index == filterArray.count) {
92 | return [self viewControllerAtIndex:0];;
93 | }
94 | return [self viewControllerAtIndex:index];
95 | }
96 |
97 | #pragma mark - PageView Delegate
98 | -(void)pageViewScroll:(NSUInteger)index andDirection:(UIPageViewControllerNavigationDirection)direction andAnimate:(BOOL)anim {
99 | RecordListViewController *vcObject = [self viewControllerAtIndex:index];
100 | viewsArray = [[NSMutableArray alloc] initWithArray:[NSArray arrayWithObject:vcObject]];
101 | [pagerView setViewControllers:viewsArray direction:direction animated:anim completion:nil];
102 | }
103 |
104 |
105 | @end
106 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # IGGInfinitePageViewController : Infinite Scroll with custom UIPageViewController
2 | Simply example how to implement Infinite Scroll with UIPageViewController.
3 | In this project i show example in the real world if we want to combine with UITableView and use swipe(scroll) left or right for filter data on tableview row.
4 | This project include delegate function for let us know what is the current index of view controller when your scroll.
5 |
6 |
7 |
8 | ## New version for Swift 3 release
9 | 👉 [Infinite Scroll UIPageViewController in Swift 3] (https://github.com/igroomgrim/Infinite-scroll-with-uipageviewcontroller/tree/swift-3)👈
10 |
11 | ## Requirements
12 | * Xcode 7 or higher
13 | * Swift 2.0+
14 | * Apple LLVM compiler
15 | * iOS 8.0 or higher
16 | * ARC
17 |
18 | ## Installation
19 | * Build & Copy IGGInfinitePageViewController.framework to your project
20 | * Don't forget add this framework to embedded binaries
21 |
22 | * or just copy and paste code to your project
23 |
24 | ## Setup
25 | * import IGGInfinitePageViewController to your project
26 | ```swift
27 | import IGGInfinitePageViewController
28 | ```
29 | * set to your view controller
30 | ```swift
31 | override func viewDidLoad() {
32 | super.viewDidLoad()
33 |
34 | let exampleFrame = view.frame
35 |
36 | let vc1 = OneViewController()
37 | let vc2 = TwoViewController()
38 | let vc3 = ThreeViewController()
39 |
40 | let ifnPageScroll = IGGInfinitePageViewController(frame: exampleFrame, viewControllers: [vc1, vc2, vc3])
41 | ifnPageScroll.infiniteDelegate = self
42 |
43 | // Add to your view
44 | addChildViewController(ifnPageScroll)
45 | view.addSubview(ifnPageScroll.view)
46 | ifnPageScroll.didMoveToParentViewController(self)
47 | }
48 | ```
49 | * if you want to use with delegate
50 | ```swift
51 | extension ViewController: IGGInfinitePageViewDelegate {
52 | func pageViewCurrentIndex(currentIndex: Int) {
53 | print("currentIndex : \(currentIndex)")
54 |
55 | // Do what you want with currentIndex
56 | }
57 | }
58 | ```
59 |
60 | ## Explain Function & Delegate (Swift : New Version)
61 | ```swift
62 | public func pageViewController(pageViewController: UIPageViewController,
63 | viewControllerBeforeViewController viewController: UIViewController) -> UIViewController? {
64 | guard let index = controllers.indexOf(viewController) else {
65 | return nil
66 | }
67 |
68 | if index == 0 {
69 | return controllers[controllers.count-1]
70 | }
71 |
72 | let previousIndex = index - 1
73 | return controllers[previousIndex]
74 | }
75 |
76 | public func pageViewController(pageViewController: UIPageViewController,
77 | viewControllerAfterViewController viewController: UIViewController) -> UIViewController? {
78 | guard let index = controllers.indexOf(viewController) else {
79 | return nil
80 | }
81 |
82 | let nextIndex = index + 1
83 | if nextIndex == controllers.count {
84 |
85 | return controllers.first
86 | }
87 |
88 | return controllers[nextIndex]
89 | }
90 |
91 | ```
92 | * Delegate
93 | ```swift
94 | public protocol IGGInfinitePageViewDelegate {
95 | func pageViewCurrentIndex(currentIndex: Int)
96 | }
97 | ```
98 |
99 | ## Explain Function & Delegate (Obj-C : Old version)
100 | ```objective-c
101 | -(RecordListViewController *)viewControllerAtIndex:(NSUInteger)index {
102 |
103 | UIStoryboard *mainStoryBoard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
104 | RecordListViewController *childVC = [mainStoryBoard instantiateViewControllerWithIdentifier:@"RecordListViewController"];
105 | childVC.delegate = self;
106 | childVC.indexNumber = index;
107 |
108 | return childVC;
109 | }
110 |
111 | #pragma mark - Filter Menu Delegate
112 | -(void)setCurrentFilterIndex:(NSUInteger)filterCurrentIndex {
113 | currentIndex = filterCurrentIndex;
114 | [self setHeaderStatus:[filterArray objectAtIndex:currentIndex]];
115 | }
116 |
117 | #pragma mark - PageView Datasource
118 | -(UIViewController *)pageViewController:(UIPageViewController *)pageViewController viewControllerBeforeViewController:(UIViewController *)viewController {
119 |
120 | NSUInteger index = [(RecordListViewController *)viewController indexNumber];
121 |
122 | if (index == 0) {
123 |
124 | return [self viewControllerAtIndex:filterArray.count-1];
125 | }
126 | index--;
127 | return [self viewControllerAtIndex:index];
128 | }
129 |
130 | -(UIViewController *)pageViewController:(UIPageViewController *)pageViewController viewControllerAfterViewController:(UIViewController *)viewController {
131 |
132 | NSUInteger index = [(RecordListViewController *)viewController indexNumber];
133 | index++;
134 | if (index == filterArray.count) {
135 | return [self viewControllerAtIndex:0];;
136 | }
137 | return [self viewControllerAtIndex:index];
138 | }
139 |
140 | #pragma mark - PageView Delegate
141 | -(void)pageViewScroll:(NSUInteger)index andDirection:(UIPageViewControllerNavigationDirection)direction andAnimate:(BOOL)anim {
142 | RecordListViewController *vcObject = [self viewControllerAtIndex:index];
143 | viewsArray = [[NSMutableArray alloc] initWithArray:[NSArray arrayWithObject:vcObject]];
144 | [pagerView setViewControllers:viewsArray direction:direction animated:anim completion:nil];
145 | }
146 | ```
147 |
148 | ## Contact Me
149 |
150 | Anak Mirasing
151 |
152 | - https://github.com/igroomgrim
153 | - https://www.linkedin.com/in/anakmirasing
154 | - https://twitter.com/igroomgrim
155 | - http://www.igroomgrim.com/
156 | - thaihooligan@hotmail.com
157 |
--------------------------------------------------------------------------------
/IGGInfinitePageViewController/IGGInfinitePageViewController.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 1487A6581D0D3E7A00DE6DF2 /* IGGInfinitePageViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 1487A6571D0D3E7A00DE6DF2 /* IGGInfinitePageViewController.h */; settings = {ATTRIBUTES = (Public, ); }; };
11 | 1487A6601D0D3EAF00DE6DF2 /* IGGInfinitePageViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1487A65F1D0D3EAF00DE6DF2 /* IGGInfinitePageViewController.swift */; };
12 | /* End PBXBuildFile section */
13 |
14 | /* Begin PBXFileReference section */
15 | 1487A6541D0D3E7A00DE6DF2 /* IGGInfinitePageViewController.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = IGGInfinitePageViewController.framework; sourceTree = BUILT_PRODUCTS_DIR; };
16 | 1487A6571D0D3E7A00DE6DF2 /* IGGInfinitePageViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = IGGInfinitePageViewController.h; sourceTree = ""; };
17 | 1487A6591D0D3E7A00DE6DF2 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
18 | 1487A65F1D0D3EAF00DE6DF2 /* IGGInfinitePageViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = IGGInfinitePageViewController.swift; sourceTree = ""; };
19 | /* End PBXFileReference section */
20 |
21 | /* Begin PBXFrameworksBuildPhase section */
22 | 1487A6501D0D3E7A00DE6DF2 /* Frameworks */ = {
23 | isa = PBXFrameworksBuildPhase;
24 | buildActionMask = 2147483647;
25 | files = (
26 | );
27 | runOnlyForDeploymentPostprocessing = 0;
28 | };
29 | /* End PBXFrameworksBuildPhase section */
30 |
31 | /* Begin PBXGroup section */
32 | 1487A64A1D0D3E7A00DE6DF2 = {
33 | isa = PBXGroup;
34 | children = (
35 | 1487A6561D0D3E7A00DE6DF2 /* IGGInfinitePageViewController */,
36 | 1487A6551D0D3E7A00DE6DF2 /* Products */,
37 | );
38 | sourceTree = "";
39 | };
40 | 1487A6551D0D3E7A00DE6DF2 /* Products */ = {
41 | isa = PBXGroup;
42 | children = (
43 | 1487A6541D0D3E7A00DE6DF2 /* IGGInfinitePageViewController.framework */,
44 | );
45 | name = Products;
46 | sourceTree = "";
47 | };
48 | 1487A6561D0D3E7A00DE6DF2 /* IGGInfinitePageViewController */ = {
49 | isa = PBXGroup;
50 | children = (
51 | 1487A6571D0D3E7A00DE6DF2 /* IGGInfinitePageViewController.h */,
52 | 1487A6591D0D3E7A00DE6DF2 /* Info.plist */,
53 | 1487A65F1D0D3EAF00DE6DF2 /* IGGInfinitePageViewController.swift */,
54 | );
55 | path = IGGInfinitePageViewController;
56 | sourceTree = "";
57 | };
58 | /* End PBXGroup section */
59 |
60 | /* Begin PBXHeadersBuildPhase section */
61 | 1487A6511D0D3E7A00DE6DF2 /* Headers */ = {
62 | isa = PBXHeadersBuildPhase;
63 | buildActionMask = 2147483647;
64 | files = (
65 | 1487A6581D0D3E7A00DE6DF2 /* IGGInfinitePageViewController.h in Headers */,
66 | );
67 | runOnlyForDeploymentPostprocessing = 0;
68 | };
69 | /* End PBXHeadersBuildPhase section */
70 |
71 | /* Begin PBXNativeTarget section */
72 | 1487A6531D0D3E7A00DE6DF2 /* IGGInfinitePageViewController */ = {
73 | isa = PBXNativeTarget;
74 | buildConfigurationList = 1487A65C1D0D3E7A00DE6DF2 /* Build configuration list for PBXNativeTarget "IGGInfinitePageViewController" */;
75 | buildPhases = (
76 | 1487A64F1D0D3E7A00DE6DF2 /* Sources */,
77 | 1487A6501D0D3E7A00DE6DF2 /* Frameworks */,
78 | 1487A6511D0D3E7A00DE6DF2 /* Headers */,
79 | 1487A6521D0D3E7A00DE6DF2 /* Resources */,
80 | );
81 | buildRules = (
82 | );
83 | dependencies = (
84 | );
85 | name = IGGInfinitePageViewController;
86 | productName = IGGInfinitePageViewController;
87 | productReference = 1487A6541D0D3E7A00DE6DF2 /* IGGInfinitePageViewController.framework */;
88 | productType = "com.apple.product-type.framework";
89 | };
90 | /* End PBXNativeTarget section */
91 |
92 | /* Begin PBXProject section */
93 | 1487A64B1D0D3E7A00DE6DF2 /* Project object */ = {
94 | isa = PBXProject;
95 | attributes = {
96 | LastUpgradeCheck = 0730;
97 | ORGANIZATIONNAME = iGROOMGRiM;
98 | TargetAttributes = {
99 | 1487A6531D0D3E7A00DE6DF2 = {
100 | CreatedOnToolsVersion = 7.3.1;
101 | };
102 | };
103 | };
104 | buildConfigurationList = 1487A64E1D0D3E7A00DE6DF2 /* Build configuration list for PBXProject "IGGInfinitePageViewController" */;
105 | compatibilityVersion = "Xcode 3.2";
106 | developmentRegion = English;
107 | hasScannedForEncodings = 0;
108 | knownRegions = (
109 | en,
110 | );
111 | mainGroup = 1487A64A1D0D3E7A00DE6DF2;
112 | productRefGroup = 1487A6551D0D3E7A00DE6DF2 /* Products */;
113 | projectDirPath = "";
114 | projectRoot = "";
115 | targets = (
116 | 1487A6531D0D3E7A00DE6DF2 /* IGGInfinitePageViewController */,
117 | );
118 | };
119 | /* End PBXProject section */
120 |
121 | /* Begin PBXResourcesBuildPhase section */
122 | 1487A6521D0D3E7A00DE6DF2 /* Resources */ = {
123 | isa = PBXResourcesBuildPhase;
124 | buildActionMask = 2147483647;
125 | files = (
126 | );
127 | runOnlyForDeploymentPostprocessing = 0;
128 | };
129 | /* End PBXResourcesBuildPhase section */
130 |
131 | /* Begin PBXSourcesBuildPhase section */
132 | 1487A64F1D0D3E7A00DE6DF2 /* Sources */ = {
133 | isa = PBXSourcesBuildPhase;
134 | buildActionMask = 2147483647;
135 | files = (
136 | 1487A6601D0D3EAF00DE6DF2 /* IGGInfinitePageViewController.swift in Sources */,
137 | );
138 | runOnlyForDeploymentPostprocessing = 0;
139 | };
140 | /* End PBXSourcesBuildPhase section */
141 |
142 | /* Begin XCBuildConfiguration section */
143 | 1487A65A1D0D3E7A00DE6DF2 /* Debug */ = {
144 | isa = XCBuildConfiguration;
145 | buildSettings = {
146 | ALWAYS_SEARCH_USER_PATHS = NO;
147 | CLANG_ANALYZER_NONNULL = YES;
148 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
149 | CLANG_CXX_LIBRARY = "libc++";
150 | CLANG_ENABLE_MODULES = YES;
151 | CLANG_ENABLE_OBJC_ARC = YES;
152 | CLANG_WARN_BOOL_CONVERSION = YES;
153 | CLANG_WARN_CONSTANT_CONVERSION = YES;
154 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
155 | CLANG_WARN_EMPTY_BODY = YES;
156 | CLANG_WARN_ENUM_CONVERSION = YES;
157 | CLANG_WARN_INT_CONVERSION = YES;
158 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
159 | CLANG_WARN_UNREACHABLE_CODE = YES;
160 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
161 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
162 | COPY_PHASE_STRIP = NO;
163 | CURRENT_PROJECT_VERSION = 1;
164 | DEBUG_INFORMATION_FORMAT = dwarf;
165 | ENABLE_STRICT_OBJC_MSGSEND = YES;
166 | ENABLE_TESTABILITY = YES;
167 | GCC_C_LANGUAGE_STANDARD = gnu99;
168 | GCC_DYNAMIC_NO_PIC = NO;
169 | GCC_NO_COMMON_BLOCKS = YES;
170 | GCC_OPTIMIZATION_LEVEL = 0;
171 | GCC_PREPROCESSOR_DEFINITIONS = (
172 | "DEBUG=1",
173 | "$(inherited)",
174 | );
175 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
176 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
177 | GCC_WARN_UNDECLARED_SELECTOR = YES;
178 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
179 | GCC_WARN_UNUSED_FUNCTION = YES;
180 | GCC_WARN_UNUSED_VARIABLE = YES;
181 | IPHONEOS_DEPLOYMENT_TARGET = 9.3;
182 | MTL_ENABLE_DEBUG_INFO = YES;
183 | ONLY_ACTIVE_ARCH = YES;
184 | SDKROOT = iphoneos;
185 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
186 | TARGETED_DEVICE_FAMILY = "1,2";
187 | VERSIONING_SYSTEM = "apple-generic";
188 | VERSION_INFO_PREFIX = "";
189 | };
190 | name = Debug;
191 | };
192 | 1487A65B1D0D3E7A00DE6DF2 /* Release */ = {
193 | isa = XCBuildConfiguration;
194 | buildSettings = {
195 | ALWAYS_SEARCH_USER_PATHS = NO;
196 | CLANG_ANALYZER_NONNULL = YES;
197 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
198 | CLANG_CXX_LIBRARY = "libc++";
199 | CLANG_ENABLE_MODULES = YES;
200 | CLANG_ENABLE_OBJC_ARC = YES;
201 | CLANG_WARN_BOOL_CONVERSION = YES;
202 | CLANG_WARN_CONSTANT_CONVERSION = YES;
203 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
204 | CLANG_WARN_EMPTY_BODY = YES;
205 | CLANG_WARN_ENUM_CONVERSION = YES;
206 | CLANG_WARN_INT_CONVERSION = YES;
207 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
208 | CLANG_WARN_UNREACHABLE_CODE = YES;
209 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
210 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
211 | COPY_PHASE_STRIP = NO;
212 | CURRENT_PROJECT_VERSION = 1;
213 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
214 | ENABLE_NS_ASSERTIONS = NO;
215 | ENABLE_STRICT_OBJC_MSGSEND = YES;
216 | GCC_C_LANGUAGE_STANDARD = gnu99;
217 | GCC_NO_COMMON_BLOCKS = YES;
218 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
219 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
220 | GCC_WARN_UNDECLARED_SELECTOR = YES;
221 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
222 | GCC_WARN_UNUSED_FUNCTION = YES;
223 | GCC_WARN_UNUSED_VARIABLE = YES;
224 | IPHONEOS_DEPLOYMENT_TARGET = 9.3;
225 | MTL_ENABLE_DEBUG_INFO = NO;
226 | SDKROOT = iphoneos;
227 | TARGETED_DEVICE_FAMILY = "1,2";
228 | VALIDATE_PRODUCT = YES;
229 | VERSIONING_SYSTEM = "apple-generic";
230 | VERSION_INFO_PREFIX = "";
231 | };
232 | name = Release;
233 | };
234 | 1487A65D1D0D3E7A00DE6DF2 /* Debug */ = {
235 | isa = XCBuildConfiguration;
236 | buildSettings = {
237 | CLANG_ENABLE_MODULES = YES;
238 | DEFINES_MODULE = YES;
239 | DYLIB_COMPATIBILITY_VERSION = 1;
240 | DYLIB_CURRENT_VERSION = 1;
241 | DYLIB_INSTALL_NAME_BASE = "@rpath";
242 | INFOPLIST_FILE = IGGInfinitePageViewController/Info.plist;
243 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
244 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
245 | PRODUCT_BUNDLE_IDENTIFIER = com.igroomgrim.IGGInfinitePageViewController;
246 | PRODUCT_NAME = "$(TARGET_NAME)";
247 | SKIP_INSTALL = YES;
248 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
249 | };
250 | name = Debug;
251 | };
252 | 1487A65E1D0D3E7A00DE6DF2 /* Release */ = {
253 | isa = XCBuildConfiguration;
254 | buildSettings = {
255 | CLANG_ENABLE_MODULES = YES;
256 | DEFINES_MODULE = YES;
257 | DYLIB_COMPATIBILITY_VERSION = 1;
258 | DYLIB_CURRENT_VERSION = 1;
259 | DYLIB_INSTALL_NAME_BASE = "@rpath";
260 | INFOPLIST_FILE = IGGInfinitePageViewController/Info.plist;
261 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
262 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
263 | PRODUCT_BUNDLE_IDENTIFIER = com.igroomgrim.IGGInfinitePageViewController;
264 | PRODUCT_NAME = "$(TARGET_NAME)";
265 | SKIP_INSTALL = YES;
266 | };
267 | name = Release;
268 | };
269 | /* End XCBuildConfiguration section */
270 |
271 | /* Begin XCConfigurationList section */
272 | 1487A64E1D0D3E7A00DE6DF2 /* Build configuration list for PBXProject "IGGInfinitePageViewController" */ = {
273 | isa = XCConfigurationList;
274 | buildConfigurations = (
275 | 1487A65A1D0D3E7A00DE6DF2 /* Debug */,
276 | 1487A65B1D0D3E7A00DE6DF2 /* Release */,
277 | );
278 | defaultConfigurationIsVisible = 0;
279 | defaultConfigurationName = Release;
280 | };
281 | 1487A65C1D0D3E7A00DE6DF2 /* Build configuration list for PBXNativeTarget "IGGInfinitePageViewController" */ = {
282 | isa = XCConfigurationList;
283 | buildConfigurations = (
284 | 1487A65D1D0D3E7A00DE6DF2 /* Debug */,
285 | 1487A65E1D0D3E7A00DE6DF2 /* Release */,
286 | );
287 | defaultConfigurationIsVisible = 0;
288 | };
289 | /* End XCConfigurationList section */
290 | };
291 | rootObject = 1487A64B1D0D3E7A00DE6DF2 /* Project object */;
292 | }
293 |
--------------------------------------------------------------------------------
/Infinite-scroll-swift/Infinite-scroll-swift.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 981EF7751CE1A25F004A1A38 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 981EF7741CE1A25F004A1A38 /* AppDelegate.swift */; };
11 | 981EF7771CE1A25F004A1A38 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 981EF7761CE1A25F004A1A38 /* ViewController.swift */; };
12 | 981EF77A1CE1A25F004A1A38 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 981EF7781CE1A25F004A1A38 /* Main.storyboard */; };
13 | 981EF77C1CE1A25F004A1A38 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 981EF77B1CE1A25F004A1A38 /* Assets.xcassets */; };
14 | 981EF77F1CE1A25F004A1A38 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 981EF77D1CE1A25F004A1A38 /* LaunchScreen.storyboard */; };
15 | 983BDD3D1D07EA8D003AE8CA /* OneViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 983BDD3C1D07EA8D003AE8CA /* OneViewController.swift */; };
16 | 983BDD3F1D07EC6B003AE8CA /* TwoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 983BDD3E1D07EC6B003AE8CA /* TwoViewController.swift */; };
17 | 983BDD411D07ECEC003AE8CA /* ThreeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 983BDD401D07ECEC003AE8CA /* ThreeViewController.swift */; };
18 | /* End PBXBuildFile section */
19 |
20 | /* Begin PBXFileReference section */
21 | 981EF7711CE1A25E004A1A38 /* Infinite-scroll-swift.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Infinite-scroll-swift.app"; sourceTree = BUILT_PRODUCTS_DIR; };
22 | 981EF7741CE1A25F004A1A38 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
23 | 981EF7761CE1A25F004A1A38 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; };
24 | 981EF7791CE1A25F004A1A38 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
25 | 981EF77B1CE1A25F004A1A38 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
26 | 981EF77E1CE1A25F004A1A38 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
27 | 981EF7801CE1A25F004A1A38 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
28 | 983BDD3C1D07EA8D003AE8CA /* OneViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OneViewController.swift; sourceTree = ""; };
29 | 983BDD3E1D07EC6B003AE8CA /* TwoViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TwoViewController.swift; sourceTree = ""; };
30 | 983BDD401D07ECEC003AE8CA /* ThreeViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ThreeViewController.swift; sourceTree = ""; };
31 | /* End PBXFileReference section */
32 |
33 | /* Begin PBXFrameworksBuildPhase section */
34 | 981EF76E1CE1A25E004A1A38 /* Frameworks */ = {
35 | isa = PBXFrameworksBuildPhase;
36 | buildActionMask = 2147483647;
37 | files = (
38 | );
39 | runOnlyForDeploymentPostprocessing = 0;
40 | };
41 | /* End PBXFrameworksBuildPhase section */
42 |
43 | /* Begin PBXGroup section */
44 | 981EF7681CE1A25E004A1A38 = {
45 | isa = PBXGroup;
46 | children = (
47 | 981EF7731CE1A25F004A1A38 /* Infinite-scroll-swift */,
48 | 981EF7721CE1A25E004A1A38 /* Products */,
49 | );
50 | sourceTree = "";
51 | };
52 | 981EF7721CE1A25E004A1A38 /* Products */ = {
53 | isa = PBXGroup;
54 | children = (
55 | 981EF7711CE1A25E004A1A38 /* Infinite-scroll-swift.app */,
56 | );
57 | name = Products;
58 | sourceTree = "";
59 | };
60 | 981EF7731CE1A25F004A1A38 /* Infinite-scroll-swift */ = {
61 | isa = PBXGroup;
62 | children = (
63 | 981EF7881CE1A38F004A1A38 /* AppDelegate */,
64 | 981EF7891CE1A397004A1A38 /* ViewController */,
65 | 981EF7871CE1A388004A1A38 /* Storyboard */,
66 | 981EF7861CE1A380004A1A38 /* Assets */,
67 | );
68 | path = "Infinite-scroll-swift";
69 | sourceTree = "";
70 | };
71 | 981EF7861CE1A380004A1A38 /* Assets */ = {
72 | isa = PBXGroup;
73 | children = (
74 | 981EF77B1CE1A25F004A1A38 /* Assets.xcassets */,
75 | 981EF7801CE1A25F004A1A38 /* Info.plist */,
76 | );
77 | name = Assets;
78 | sourceTree = "";
79 | };
80 | 981EF7871CE1A388004A1A38 /* Storyboard */ = {
81 | isa = PBXGroup;
82 | children = (
83 | 981EF7781CE1A25F004A1A38 /* Main.storyboard */,
84 | 981EF77D1CE1A25F004A1A38 /* LaunchScreen.storyboard */,
85 | );
86 | name = Storyboard;
87 | sourceTree = "";
88 | };
89 | 981EF7881CE1A38F004A1A38 /* AppDelegate */ = {
90 | isa = PBXGroup;
91 | children = (
92 | 981EF7741CE1A25F004A1A38 /* AppDelegate.swift */,
93 | );
94 | name = AppDelegate;
95 | sourceTree = "";
96 | };
97 | 981EF7891CE1A397004A1A38 /* ViewController */ = {
98 | isa = PBXGroup;
99 | children = (
100 | 981EF7761CE1A25F004A1A38 /* ViewController.swift */,
101 | 983BDD3C1D07EA8D003AE8CA /* OneViewController.swift */,
102 | 983BDD3E1D07EC6B003AE8CA /* TwoViewController.swift */,
103 | 983BDD401D07ECEC003AE8CA /* ThreeViewController.swift */,
104 | );
105 | name = ViewController;
106 | sourceTree = "";
107 | };
108 | /* End PBXGroup section */
109 |
110 | /* Begin PBXNativeTarget section */
111 | 981EF7701CE1A25E004A1A38 /* Infinite-scroll-swift */ = {
112 | isa = PBXNativeTarget;
113 | buildConfigurationList = 981EF7831CE1A25F004A1A38 /* Build configuration list for PBXNativeTarget "Infinite-scroll-swift" */;
114 | buildPhases = (
115 | 981EF76D1CE1A25E004A1A38 /* Sources */,
116 | 981EF76E1CE1A25E004A1A38 /* Frameworks */,
117 | 981EF76F1CE1A25E004A1A38 /* Resources */,
118 | );
119 | buildRules = (
120 | );
121 | dependencies = (
122 | );
123 | name = "Infinite-scroll-swift";
124 | productName = "Infinite-scroll-swift";
125 | productReference = 981EF7711CE1A25E004A1A38 /* Infinite-scroll-swift.app */;
126 | productType = "com.apple.product-type.application";
127 | };
128 | /* End PBXNativeTarget section */
129 |
130 | /* Begin PBXProject section */
131 | 981EF7691CE1A25E004A1A38 /* Project object */ = {
132 | isa = PBXProject;
133 | attributes = {
134 | LastSwiftUpdateCheck = 0730;
135 | LastUpgradeCheck = 0730;
136 | ORGANIZATIONNAME = iGROOMGRiM;
137 | TargetAttributes = {
138 | 981EF7701CE1A25E004A1A38 = {
139 | CreatedOnToolsVersion = 7.3;
140 | };
141 | };
142 | };
143 | buildConfigurationList = 981EF76C1CE1A25E004A1A38 /* Build configuration list for PBXProject "Infinite-scroll-swift" */;
144 | compatibilityVersion = "Xcode 3.2";
145 | developmentRegion = English;
146 | hasScannedForEncodings = 0;
147 | knownRegions = (
148 | en,
149 | Base,
150 | );
151 | mainGroup = 981EF7681CE1A25E004A1A38;
152 | productRefGroup = 981EF7721CE1A25E004A1A38 /* Products */;
153 | projectDirPath = "";
154 | projectRoot = "";
155 | targets = (
156 | 981EF7701CE1A25E004A1A38 /* Infinite-scroll-swift */,
157 | );
158 | };
159 | /* End PBXProject section */
160 |
161 | /* Begin PBXResourcesBuildPhase section */
162 | 981EF76F1CE1A25E004A1A38 /* Resources */ = {
163 | isa = PBXResourcesBuildPhase;
164 | buildActionMask = 2147483647;
165 | files = (
166 | 981EF77F1CE1A25F004A1A38 /* LaunchScreen.storyboard in Resources */,
167 | 981EF77C1CE1A25F004A1A38 /* Assets.xcassets in Resources */,
168 | 981EF77A1CE1A25F004A1A38 /* Main.storyboard in Resources */,
169 | );
170 | runOnlyForDeploymentPostprocessing = 0;
171 | };
172 | /* End PBXResourcesBuildPhase section */
173 |
174 | /* Begin PBXSourcesBuildPhase section */
175 | 981EF76D1CE1A25E004A1A38 /* Sources */ = {
176 | isa = PBXSourcesBuildPhase;
177 | buildActionMask = 2147483647;
178 | files = (
179 | 983BDD3F1D07EC6B003AE8CA /* TwoViewController.swift in Sources */,
180 | 981EF7771CE1A25F004A1A38 /* ViewController.swift in Sources */,
181 | 983BDD411D07ECEC003AE8CA /* ThreeViewController.swift in Sources */,
182 | 983BDD3D1D07EA8D003AE8CA /* OneViewController.swift in Sources */,
183 | 981EF7751CE1A25F004A1A38 /* AppDelegate.swift in Sources */,
184 | );
185 | runOnlyForDeploymentPostprocessing = 0;
186 | };
187 | /* End PBXSourcesBuildPhase section */
188 |
189 | /* Begin PBXVariantGroup section */
190 | 981EF7781CE1A25F004A1A38 /* Main.storyboard */ = {
191 | isa = PBXVariantGroup;
192 | children = (
193 | 981EF7791CE1A25F004A1A38 /* Base */,
194 | );
195 | name = Main.storyboard;
196 | sourceTree = "";
197 | };
198 | 981EF77D1CE1A25F004A1A38 /* LaunchScreen.storyboard */ = {
199 | isa = PBXVariantGroup;
200 | children = (
201 | 981EF77E1CE1A25F004A1A38 /* Base */,
202 | );
203 | name = LaunchScreen.storyboard;
204 | sourceTree = "";
205 | };
206 | /* End PBXVariantGroup section */
207 |
208 | /* Begin XCBuildConfiguration section */
209 | 981EF7811CE1A25F004A1A38 /* Debug */ = {
210 | isa = XCBuildConfiguration;
211 | buildSettings = {
212 | ALWAYS_SEARCH_USER_PATHS = NO;
213 | CLANG_ANALYZER_NONNULL = YES;
214 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
215 | CLANG_CXX_LIBRARY = "libc++";
216 | CLANG_ENABLE_MODULES = YES;
217 | CLANG_ENABLE_OBJC_ARC = YES;
218 | CLANG_WARN_BOOL_CONVERSION = YES;
219 | CLANG_WARN_CONSTANT_CONVERSION = YES;
220 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
221 | CLANG_WARN_EMPTY_BODY = YES;
222 | CLANG_WARN_ENUM_CONVERSION = YES;
223 | CLANG_WARN_INT_CONVERSION = YES;
224 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
225 | CLANG_WARN_UNREACHABLE_CODE = YES;
226 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
227 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
228 | COPY_PHASE_STRIP = NO;
229 | DEBUG_INFORMATION_FORMAT = dwarf;
230 | ENABLE_STRICT_OBJC_MSGSEND = YES;
231 | ENABLE_TESTABILITY = YES;
232 | GCC_C_LANGUAGE_STANDARD = gnu99;
233 | GCC_DYNAMIC_NO_PIC = NO;
234 | GCC_NO_COMMON_BLOCKS = YES;
235 | GCC_OPTIMIZATION_LEVEL = 0;
236 | GCC_PREPROCESSOR_DEFINITIONS = (
237 | "DEBUG=1",
238 | "$(inherited)",
239 | );
240 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
241 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
242 | GCC_WARN_UNDECLARED_SELECTOR = YES;
243 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
244 | GCC_WARN_UNUSED_FUNCTION = YES;
245 | GCC_WARN_UNUSED_VARIABLE = YES;
246 | IPHONEOS_DEPLOYMENT_TARGET = 9.3;
247 | MTL_ENABLE_DEBUG_INFO = YES;
248 | ONLY_ACTIVE_ARCH = YES;
249 | SDKROOT = iphoneos;
250 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
251 | };
252 | name = Debug;
253 | };
254 | 981EF7821CE1A25F004A1A38 /* Release */ = {
255 | isa = XCBuildConfiguration;
256 | buildSettings = {
257 | ALWAYS_SEARCH_USER_PATHS = NO;
258 | CLANG_ANALYZER_NONNULL = YES;
259 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
260 | CLANG_CXX_LIBRARY = "libc++";
261 | CLANG_ENABLE_MODULES = YES;
262 | CLANG_ENABLE_OBJC_ARC = YES;
263 | CLANG_WARN_BOOL_CONVERSION = YES;
264 | CLANG_WARN_CONSTANT_CONVERSION = YES;
265 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
266 | CLANG_WARN_EMPTY_BODY = YES;
267 | CLANG_WARN_ENUM_CONVERSION = YES;
268 | CLANG_WARN_INT_CONVERSION = YES;
269 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
270 | CLANG_WARN_UNREACHABLE_CODE = YES;
271 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
272 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
273 | COPY_PHASE_STRIP = NO;
274 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
275 | ENABLE_NS_ASSERTIONS = NO;
276 | ENABLE_STRICT_OBJC_MSGSEND = YES;
277 | GCC_C_LANGUAGE_STANDARD = gnu99;
278 | GCC_NO_COMMON_BLOCKS = YES;
279 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
280 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
281 | GCC_WARN_UNDECLARED_SELECTOR = YES;
282 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
283 | GCC_WARN_UNUSED_FUNCTION = YES;
284 | GCC_WARN_UNUSED_VARIABLE = YES;
285 | IPHONEOS_DEPLOYMENT_TARGET = 9.3;
286 | MTL_ENABLE_DEBUG_INFO = NO;
287 | SDKROOT = iphoneos;
288 | VALIDATE_PRODUCT = YES;
289 | };
290 | name = Release;
291 | };
292 | 981EF7841CE1A25F004A1A38 /* Debug */ = {
293 | isa = XCBuildConfiguration;
294 | buildSettings = {
295 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
296 | INFOPLIST_FILE = "Infinite-scroll-swift/Info.plist";
297 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
298 | PRODUCT_BUNDLE_IDENTIFIER = "com.igroomgrim.Infinite-scroll-swift";
299 | PRODUCT_NAME = "$(TARGET_NAME)";
300 | };
301 | name = Debug;
302 | };
303 | 981EF7851CE1A25F004A1A38 /* Release */ = {
304 | isa = XCBuildConfiguration;
305 | buildSettings = {
306 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
307 | INFOPLIST_FILE = "Infinite-scroll-swift/Info.plist";
308 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
309 | PRODUCT_BUNDLE_IDENTIFIER = "com.igroomgrim.Infinite-scroll-swift";
310 | PRODUCT_NAME = "$(TARGET_NAME)";
311 | };
312 | name = Release;
313 | };
314 | /* End XCBuildConfiguration section */
315 |
316 | /* Begin XCConfigurationList section */
317 | 981EF76C1CE1A25E004A1A38 /* Build configuration list for PBXProject "Infinite-scroll-swift" */ = {
318 | isa = XCConfigurationList;
319 | buildConfigurations = (
320 | 981EF7811CE1A25F004A1A38 /* Debug */,
321 | 981EF7821CE1A25F004A1A38 /* Release */,
322 | );
323 | defaultConfigurationIsVisible = 0;
324 | defaultConfigurationName = Release;
325 | };
326 | 981EF7831CE1A25F004A1A38 /* Build configuration list for PBXNativeTarget "Infinite-scroll-swift" */ = {
327 | isa = XCConfigurationList;
328 | buildConfigurations = (
329 | 981EF7841CE1A25F004A1A38 /* Debug */,
330 | 981EF7851CE1A25F004A1A38 /* Release */,
331 | );
332 | defaultConfigurationIsVisible = 0;
333 | defaultConfigurationName = Release;
334 | };
335 | /* End XCConfigurationList section */
336 | };
337 | rootObject = 981EF7691CE1A25E004A1A38 /* Project object */;
338 | }
339 |
--------------------------------------------------------------------------------
/Infinite-scroll/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
--------------------------------------------------------------------------------
/Infinite-scroll.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 14FE18AF1B63BDD1009AA9EB /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 14FE18AE1B63BDD1009AA9EB /* main.m */; };
11 | 14FE18B21B63BDD1009AA9EB /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 14FE18B11B63BDD1009AA9EB /* AppDelegate.m */; };
12 | 14FE18B81B63BDD1009AA9EB /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 14FE18B61B63BDD1009AA9EB /* Main.storyboard */; };
13 | 14FE18BA1B63BDD1009AA9EB /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 14FE18B91B63BDD1009AA9EB /* Images.xcassets */; };
14 | 14FE18BD1B63BDD1009AA9EB /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 14FE18BB1B63BDD1009AA9EB /* LaunchScreen.xib */; };
15 | 14FE18C91B63BDD2009AA9EB /* Infinite_scrollTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 14FE18C81B63BDD2009AA9EB /* Infinite_scrollTests.m */; };
16 | 14FE18D71B63C068009AA9EB /* PageViewContainerViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 14FE18D61B63C068009AA9EB /* PageViewContainerViewController.m */; };
17 | 14FE18DA1B63C0C4009AA9EB /* RecordListViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 14FE18D91B63C0C4009AA9EB /* RecordListViewController.m */; };
18 | /* End PBXBuildFile section */
19 |
20 | /* Begin PBXContainerItemProxy section */
21 | 14FE18C31B63BDD2009AA9EB /* PBXContainerItemProxy */ = {
22 | isa = PBXContainerItemProxy;
23 | containerPortal = 14FE18A11B63BDD1009AA9EB /* Project object */;
24 | proxyType = 1;
25 | remoteGlobalIDString = 14FE18A81B63BDD1009AA9EB;
26 | remoteInfo = "Infinite-scroll";
27 | };
28 | /* End PBXContainerItemProxy section */
29 |
30 | /* Begin PBXFileReference section */
31 | 14FE18A91B63BDD1009AA9EB /* Infinite-scroll.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Infinite-scroll.app"; sourceTree = BUILT_PRODUCTS_DIR; };
32 | 14FE18AD1B63BDD1009AA9EB /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
33 | 14FE18AE1B63BDD1009AA9EB /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
34 | 14FE18B01B63BDD1009AA9EB /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
35 | 14FE18B11B63BDD1009AA9EB /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
36 | 14FE18B71B63BDD1009AA9EB /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
37 | 14FE18B91B63BDD1009AA9EB /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; };
38 | 14FE18BC1B63BDD1009AA9EB /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
39 | 14FE18C21B63BDD2009AA9EB /* Infinite-scrollTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Infinite-scrollTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
40 | 14FE18C71B63BDD2009AA9EB /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
41 | 14FE18C81B63BDD2009AA9EB /* Infinite_scrollTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Infinite_scrollTests.m; sourceTree = ""; };
42 | 14FE18D51B63C068009AA9EB /* PageViewContainerViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PageViewContainerViewController.h; sourceTree = ""; };
43 | 14FE18D61B63C068009AA9EB /* PageViewContainerViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PageViewContainerViewController.m; sourceTree = ""; };
44 | 14FE18D81B63C0C4009AA9EB /* RecordListViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RecordListViewController.h; sourceTree = ""; };
45 | 14FE18D91B63C0C4009AA9EB /* RecordListViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RecordListViewController.m; sourceTree = ""; };
46 | /* End PBXFileReference section */
47 |
48 | /* Begin PBXFrameworksBuildPhase section */
49 | 14FE18A61B63BDD1009AA9EB /* Frameworks */ = {
50 | isa = PBXFrameworksBuildPhase;
51 | buildActionMask = 2147483647;
52 | files = (
53 | );
54 | runOnlyForDeploymentPostprocessing = 0;
55 | };
56 | 14FE18BF1B63BDD2009AA9EB /* Frameworks */ = {
57 | isa = PBXFrameworksBuildPhase;
58 | buildActionMask = 2147483647;
59 | files = (
60 | );
61 | runOnlyForDeploymentPostprocessing = 0;
62 | };
63 | /* End PBXFrameworksBuildPhase section */
64 |
65 | /* Begin PBXGroup section */
66 | 14FE18A01B63BDD1009AA9EB = {
67 | isa = PBXGroup;
68 | children = (
69 | 14FE18AB1B63BDD1009AA9EB /* Infinite-scroll */,
70 | 14FE18C51B63BDD2009AA9EB /* Infinite-scrollTests */,
71 | 14FE18AA1B63BDD1009AA9EB /* Products */,
72 | );
73 | sourceTree = "";
74 | };
75 | 14FE18AA1B63BDD1009AA9EB /* Products */ = {
76 | isa = PBXGroup;
77 | children = (
78 | 14FE18A91B63BDD1009AA9EB /* Infinite-scroll.app */,
79 | 14FE18C21B63BDD2009AA9EB /* Infinite-scrollTests.xctest */,
80 | );
81 | name = Products;
82 | sourceTree = "";
83 | };
84 | 14FE18AB1B63BDD1009AA9EB /* Infinite-scroll */ = {
85 | isa = PBXGroup;
86 | children = (
87 | 14FE18D31B63BE8D009AA9EB /* AppDelegate */,
88 | 14FE18D41B63BE95009AA9EB /* Controller */,
89 | 14FE18D21B63BE82009AA9EB /* Views */,
90 | 14FE18AC1B63BDD1009AA9EB /* Supporting Files */,
91 | );
92 | path = "Infinite-scroll";
93 | sourceTree = "";
94 | };
95 | 14FE18AC1B63BDD1009AA9EB /* Supporting Files */ = {
96 | isa = PBXGroup;
97 | children = (
98 | 14FE18AD1B63BDD1009AA9EB /* Info.plist */,
99 | 14FE18AE1B63BDD1009AA9EB /* main.m */,
100 | );
101 | name = "Supporting Files";
102 | sourceTree = "";
103 | };
104 | 14FE18C51B63BDD2009AA9EB /* Infinite-scrollTests */ = {
105 | isa = PBXGroup;
106 | children = (
107 | 14FE18C81B63BDD2009AA9EB /* Infinite_scrollTests.m */,
108 | 14FE18C61B63BDD2009AA9EB /* Supporting Files */,
109 | );
110 | path = "Infinite-scrollTests";
111 | sourceTree = "";
112 | };
113 | 14FE18C61B63BDD2009AA9EB /* Supporting Files */ = {
114 | isa = PBXGroup;
115 | children = (
116 | 14FE18C71B63BDD2009AA9EB /* Info.plist */,
117 | );
118 | name = "Supporting Files";
119 | sourceTree = "";
120 | };
121 | 14FE18D21B63BE82009AA9EB /* Views */ = {
122 | isa = PBXGroup;
123 | children = (
124 | 14FE18B61B63BDD1009AA9EB /* Main.storyboard */,
125 | 14FE18B91B63BDD1009AA9EB /* Images.xcassets */,
126 | 14FE18BB1B63BDD1009AA9EB /* LaunchScreen.xib */,
127 | );
128 | name = Views;
129 | sourceTree = "";
130 | };
131 | 14FE18D31B63BE8D009AA9EB /* AppDelegate */ = {
132 | isa = PBXGroup;
133 | children = (
134 | 14FE18B01B63BDD1009AA9EB /* AppDelegate.h */,
135 | 14FE18B11B63BDD1009AA9EB /* AppDelegate.m */,
136 | );
137 | name = AppDelegate;
138 | sourceTree = "";
139 | };
140 | 14FE18D41B63BE95009AA9EB /* Controller */ = {
141 | isa = PBXGroup;
142 | children = (
143 | 14FE18D51B63C068009AA9EB /* PageViewContainerViewController.h */,
144 | 14FE18D61B63C068009AA9EB /* PageViewContainerViewController.m */,
145 | 14FE18D81B63C0C4009AA9EB /* RecordListViewController.h */,
146 | 14FE18D91B63C0C4009AA9EB /* RecordListViewController.m */,
147 | );
148 | name = Controller;
149 | sourceTree = "";
150 | };
151 | /* End PBXGroup section */
152 |
153 | /* Begin PBXNativeTarget section */
154 | 14FE18A81B63BDD1009AA9EB /* Infinite-scroll */ = {
155 | isa = PBXNativeTarget;
156 | buildConfigurationList = 14FE18CC1B63BDD2009AA9EB /* Build configuration list for PBXNativeTarget "Infinite-scroll" */;
157 | buildPhases = (
158 | 14FE18A51B63BDD1009AA9EB /* Sources */,
159 | 14FE18A61B63BDD1009AA9EB /* Frameworks */,
160 | 14FE18A71B63BDD1009AA9EB /* Resources */,
161 | );
162 | buildRules = (
163 | );
164 | dependencies = (
165 | );
166 | name = "Infinite-scroll";
167 | productName = "Infinite-scroll";
168 | productReference = 14FE18A91B63BDD1009AA9EB /* Infinite-scroll.app */;
169 | productType = "com.apple.product-type.application";
170 | };
171 | 14FE18C11B63BDD2009AA9EB /* Infinite-scrollTests */ = {
172 | isa = PBXNativeTarget;
173 | buildConfigurationList = 14FE18CF1B63BDD2009AA9EB /* Build configuration list for PBXNativeTarget "Infinite-scrollTests" */;
174 | buildPhases = (
175 | 14FE18BE1B63BDD2009AA9EB /* Sources */,
176 | 14FE18BF1B63BDD2009AA9EB /* Frameworks */,
177 | 14FE18C01B63BDD2009AA9EB /* Resources */,
178 | );
179 | buildRules = (
180 | );
181 | dependencies = (
182 | 14FE18C41B63BDD2009AA9EB /* PBXTargetDependency */,
183 | );
184 | name = "Infinite-scrollTests";
185 | productName = "Infinite-scrollTests";
186 | productReference = 14FE18C21B63BDD2009AA9EB /* Infinite-scrollTests.xctest */;
187 | productType = "com.apple.product-type.bundle.unit-test";
188 | };
189 | /* End PBXNativeTarget section */
190 |
191 | /* Begin PBXProject section */
192 | 14FE18A11B63BDD1009AA9EB /* Project object */ = {
193 | isa = PBXProject;
194 | attributes = {
195 | LastUpgradeCheck = 0730;
196 | ORGANIZATIONNAME = iGROOMGRiM;
197 | TargetAttributes = {
198 | 14FE18A81B63BDD1009AA9EB = {
199 | CreatedOnToolsVersion = 6.4;
200 | };
201 | 14FE18C11B63BDD2009AA9EB = {
202 | CreatedOnToolsVersion = 6.4;
203 | TestTargetID = 14FE18A81B63BDD1009AA9EB;
204 | };
205 | };
206 | };
207 | buildConfigurationList = 14FE18A41B63BDD1009AA9EB /* Build configuration list for PBXProject "Infinite-scroll" */;
208 | compatibilityVersion = "Xcode 3.2";
209 | developmentRegion = English;
210 | hasScannedForEncodings = 0;
211 | knownRegions = (
212 | en,
213 | Base,
214 | );
215 | mainGroup = 14FE18A01B63BDD1009AA9EB;
216 | productRefGroup = 14FE18AA1B63BDD1009AA9EB /* Products */;
217 | projectDirPath = "";
218 | projectRoot = "";
219 | targets = (
220 | 14FE18A81B63BDD1009AA9EB /* Infinite-scroll */,
221 | 14FE18C11B63BDD2009AA9EB /* Infinite-scrollTests */,
222 | );
223 | };
224 | /* End PBXProject section */
225 |
226 | /* Begin PBXResourcesBuildPhase section */
227 | 14FE18A71B63BDD1009AA9EB /* Resources */ = {
228 | isa = PBXResourcesBuildPhase;
229 | buildActionMask = 2147483647;
230 | files = (
231 | 14FE18B81B63BDD1009AA9EB /* Main.storyboard in Resources */,
232 | 14FE18BD1B63BDD1009AA9EB /* LaunchScreen.xib in Resources */,
233 | 14FE18BA1B63BDD1009AA9EB /* Images.xcassets in Resources */,
234 | );
235 | runOnlyForDeploymentPostprocessing = 0;
236 | };
237 | 14FE18C01B63BDD2009AA9EB /* Resources */ = {
238 | isa = PBXResourcesBuildPhase;
239 | buildActionMask = 2147483647;
240 | files = (
241 | );
242 | runOnlyForDeploymentPostprocessing = 0;
243 | };
244 | /* End PBXResourcesBuildPhase section */
245 |
246 | /* Begin PBXSourcesBuildPhase section */
247 | 14FE18A51B63BDD1009AA9EB /* Sources */ = {
248 | isa = PBXSourcesBuildPhase;
249 | buildActionMask = 2147483647;
250 | files = (
251 | 14FE18B21B63BDD1009AA9EB /* AppDelegate.m in Sources */,
252 | 14FE18D71B63C068009AA9EB /* PageViewContainerViewController.m in Sources */,
253 | 14FE18AF1B63BDD1009AA9EB /* main.m in Sources */,
254 | 14FE18DA1B63C0C4009AA9EB /* RecordListViewController.m in Sources */,
255 | );
256 | runOnlyForDeploymentPostprocessing = 0;
257 | };
258 | 14FE18BE1B63BDD2009AA9EB /* Sources */ = {
259 | isa = PBXSourcesBuildPhase;
260 | buildActionMask = 2147483647;
261 | files = (
262 | 14FE18C91B63BDD2009AA9EB /* Infinite_scrollTests.m in Sources */,
263 | );
264 | runOnlyForDeploymentPostprocessing = 0;
265 | };
266 | /* End PBXSourcesBuildPhase section */
267 |
268 | /* Begin PBXTargetDependency section */
269 | 14FE18C41B63BDD2009AA9EB /* PBXTargetDependency */ = {
270 | isa = PBXTargetDependency;
271 | target = 14FE18A81B63BDD1009AA9EB /* Infinite-scroll */;
272 | targetProxy = 14FE18C31B63BDD2009AA9EB /* PBXContainerItemProxy */;
273 | };
274 | /* End PBXTargetDependency section */
275 |
276 | /* Begin PBXVariantGroup section */
277 | 14FE18B61B63BDD1009AA9EB /* Main.storyboard */ = {
278 | isa = PBXVariantGroup;
279 | children = (
280 | 14FE18B71B63BDD1009AA9EB /* Base */,
281 | );
282 | name = Main.storyboard;
283 | sourceTree = "";
284 | };
285 | 14FE18BB1B63BDD1009AA9EB /* LaunchScreen.xib */ = {
286 | isa = PBXVariantGroup;
287 | children = (
288 | 14FE18BC1B63BDD1009AA9EB /* Base */,
289 | );
290 | name = LaunchScreen.xib;
291 | sourceTree = "";
292 | };
293 | /* End PBXVariantGroup section */
294 |
295 | /* Begin XCBuildConfiguration section */
296 | 14FE18CA1B63BDD2009AA9EB /* Debug */ = {
297 | isa = XCBuildConfiguration;
298 | buildSettings = {
299 | ALWAYS_SEARCH_USER_PATHS = NO;
300 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
301 | CLANG_CXX_LIBRARY = "libc++";
302 | CLANG_ENABLE_MODULES = YES;
303 | CLANG_ENABLE_OBJC_ARC = YES;
304 | CLANG_WARN_BOOL_CONVERSION = YES;
305 | CLANG_WARN_CONSTANT_CONVERSION = YES;
306 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
307 | CLANG_WARN_EMPTY_BODY = YES;
308 | CLANG_WARN_ENUM_CONVERSION = YES;
309 | CLANG_WARN_INT_CONVERSION = YES;
310 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
311 | CLANG_WARN_UNREACHABLE_CODE = YES;
312 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
313 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
314 | COPY_PHASE_STRIP = NO;
315 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
316 | ENABLE_STRICT_OBJC_MSGSEND = YES;
317 | ENABLE_TESTABILITY = YES;
318 | GCC_C_LANGUAGE_STANDARD = gnu99;
319 | GCC_DYNAMIC_NO_PIC = NO;
320 | GCC_NO_COMMON_BLOCKS = YES;
321 | GCC_OPTIMIZATION_LEVEL = 0;
322 | GCC_PREPROCESSOR_DEFINITIONS = (
323 | "DEBUG=1",
324 | "$(inherited)",
325 | );
326 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
327 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
328 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
329 | GCC_WARN_UNDECLARED_SELECTOR = YES;
330 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
331 | GCC_WARN_UNUSED_FUNCTION = YES;
332 | GCC_WARN_UNUSED_VARIABLE = YES;
333 | IPHONEOS_DEPLOYMENT_TARGET = 8.4;
334 | MTL_ENABLE_DEBUG_INFO = YES;
335 | ONLY_ACTIVE_ARCH = YES;
336 | SDKROOT = iphoneos;
337 | };
338 | name = Debug;
339 | };
340 | 14FE18CB1B63BDD2009AA9EB /* Release */ = {
341 | isa = XCBuildConfiguration;
342 | buildSettings = {
343 | ALWAYS_SEARCH_USER_PATHS = NO;
344 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
345 | CLANG_CXX_LIBRARY = "libc++";
346 | CLANG_ENABLE_MODULES = YES;
347 | CLANG_ENABLE_OBJC_ARC = YES;
348 | CLANG_WARN_BOOL_CONVERSION = YES;
349 | CLANG_WARN_CONSTANT_CONVERSION = YES;
350 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
351 | CLANG_WARN_EMPTY_BODY = YES;
352 | CLANG_WARN_ENUM_CONVERSION = YES;
353 | CLANG_WARN_INT_CONVERSION = YES;
354 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
355 | CLANG_WARN_UNREACHABLE_CODE = YES;
356 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
357 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
358 | COPY_PHASE_STRIP = NO;
359 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
360 | ENABLE_NS_ASSERTIONS = NO;
361 | ENABLE_STRICT_OBJC_MSGSEND = YES;
362 | GCC_C_LANGUAGE_STANDARD = gnu99;
363 | GCC_NO_COMMON_BLOCKS = YES;
364 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
365 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
366 | GCC_WARN_UNDECLARED_SELECTOR = YES;
367 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
368 | GCC_WARN_UNUSED_FUNCTION = YES;
369 | GCC_WARN_UNUSED_VARIABLE = YES;
370 | IPHONEOS_DEPLOYMENT_TARGET = 8.4;
371 | MTL_ENABLE_DEBUG_INFO = NO;
372 | SDKROOT = iphoneos;
373 | VALIDATE_PRODUCT = YES;
374 | };
375 | name = Release;
376 | };
377 | 14FE18CD1B63BDD2009AA9EB /* Debug */ = {
378 | isa = XCBuildConfiguration;
379 | buildSettings = {
380 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
381 | INFOPLIST_FILE = "Infinite-scroll/Info.plist";
382 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
383 | PRODUCT_BUNDLE_IDENTIFIER = "com.igroomgrim.$(PRODUCT_NAME:rfc1034identifier)";
384 | PRODUCT_NAME = "$(TARGET_NAME)";
385 | };
386 | name = Debug;
387 | };
388 | 14FE18CE1B63BDD2009AA9EB /* Release */ = {
389 | isa = XCBuildConfiguration;
390 | buildSettings = {
391 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
392 | INFOPLIST_FILE = "Infinite-scroll/Info.plist";
393 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
394 | PRODUCT_BUNDLE_IDENTIFIER = "com.igroomgrim.$(PRODUCT_NAME:rfc1034identifier)";
395 | PRODUCT_NAME = "$(TARGET_NAME)";
396 | };
397 | name = Release;
398 | };
399 | 14FE18D01B63BDD2009AA9EB /* Debug */ = {
400 | isa = XCBuildConfiguration;
401 | buildSettings = {
402 | BUNDLE_LOADER = "$(TEST_HOST)";
403 | FRAMEWORK_SEARCH_PATHS = (
404 | "$(SDKROOT)/Developer/Library/Frameworks",
405 | "$(inherited)",
406 | );
407 | GCC_PREPROCESSOR_DEFINITIONS = (
408 | "DEBUG=1",
409 | "$(inherited)",
410 | );
411 | INFOPLIST_FILE = "Infinite-scrollTests/Info.plist";
412 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
413 | PRODUCT_BUNDLE_IDENTIFIER = "com.igroomgrim.$(PRODUCT_NAME:rfc1034identifier)";
414 | PRODUCT_NAME = "$(TARGET_NAME)";
415 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Infinite-scroll.app/Infinite-scroll";
416 | };
417 | name = Debug;
418 | };
419 | 14FE18D11B63BDD2009AA9EB /* Release */ = {
420 | isa = XCBuildConfiguration;
421 | buildSettings = {
422 | BUNDLE_LOADER = "$(TEST_HOST)";
423 | FRAMEWORK_SEARCH_PATHS = (
424 | "$(SDKROOT)/Developer/Library/Frameworks",
425 | "$(inherited)",
426 | );
427 | INFOPLIST_FILE = "Infinite-scrollTests/Info.plist";
428 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
429 | PRODUCT_BUNDLE_IDENTIFIER = "com.igroomgrim.$(PRODUCT_NAME:rfc1034identifier)";
430 | PRODUCT_NAME = "$(TARGET_NAME)";
431 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Infinite-scroll.app/Infinite-scroll";
432 | };
433 | name = Release;
434 | };
435 | /* End XCBuildConfiguration section */
436 |
437 | /* Begin XCConfigurationList section */
438 | 14FE18A41B63BDD1009AA9EB /* Build configuration list for PBXProject "Infinite-scroll" */ = {
439 | isa = XCConfigurationList;
440 | buildConfigurations = (
441 | 14FE18CA1B63BDD2009AA9EB /* Debug */,
442 | 14FE18CB1B63BDD2009AA9EB /* Release */,
443 | );
444 | defaultConfigurationIsVisible = 0;
445 | defaultConfigurationName = Release;
446 | };
447 | 14FE18CC1B63BDD2009AA9EB /* Build configuration list for PBXNativeTarget "Infinite-scroll" */ = {
448 | isa = XCConfigurationList;
449 | buildConfigurations = (
450 | 14FE18CD1B63BDD2009AA9EB /* Debug */,
451 | 14FE18CE1B63BDD2009AA9EB /* Release */,
452 | );
453 | defaultConfigurationIsVisible = 0;
454 | defaultConfigurationName = Release;
455 | };
456 | 14FE18CF1B63BDD2009AA9EB /* Build configuration list for PBXNativeTarget "Infinite-scrollTests" */ = {
457 | isa = XCConfigurationList;
458 | buildConfigurations = (
459 | 14FE18D01B63BDD2009AA9EB /* Debug */,
460 | 14FE18D11B63BDD2009AA9EB /* Release */,
461 | );
462 | defaultConfigurationIsVisible = 0;
463 | defaultConfigurationName = Release;
464 | };
465 | /* End XCConfigurationList section */
466 | };
467 | rootObject = 14FE18A11B63BDD1009AA9EB /* Project object */;
468 | }
469 |
--------------------------------------------------------------------------------