Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Initial commit

  • Loading branch information...
commit c815caf71e2b833227f055916140bbcc53af8d99 0 parents
Johan Hernandez authored
Showing with 20,004 additions and 0 deletions.
  1. +19 −0 LICENSE
  2. +55 −0 Lib/FireUIPagedScrollView.h
  3. +215 −0 Lib/FireUIPagedScrollView.m
  4. +93 −0 README.md
  5. +373 −0 Samples/iPad/FireUIPagedScrollViewiPadSample.xcodeproj/project.pbxproj
  6. +7 −0 Samples/iPad/FireUIPagedScrollViewiPadSample.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  7. +6,672 −0 ...ewiPadSample.xcodeproj/project.xcworkspace/xcuserdata/thepumpkin.xcuserdatad/UserInterfaceState.xcuserstate
  8. +5 −0 ...reUIPagedScrollViewiPadSample.xcodeproj/xcuserdata/thepumpkin.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist
  9. +72 −0 ...ewiPadSample.xcodeproj/xcuserdata/thepumpkin.xcuserdatad/xcschemes/FireUIPagedScrollViewiPadSample.xcscheme
  10. +22 −0 ...eUIPagedScrollViewiPadSample.xcodeproj/xcuserdata/thepumpkin.xcuserdatad/xcschemes/xcschememanagement.plist
  11. +39 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/FireUIPagedScrollViewiPadSample-Info.plist
  12. +14 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/FireUIPagedScrollViewiPadSample-Prefix.pch
  13. +25 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/FireUIPagedScrollViewiPadSampleAppDelegate.h
  14. +91 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/FireUIPagedScrollViewiPadSampleAppDelegate.m
  15. +249 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/MainWindow.xib
  16. +13 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/Page1View.h
  17. +51 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/Page1View.m
  18. +319 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/Page1View.xib
  19. +13 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/Page2View.h
  20. +51 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/Page2View.m
  21. +241 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/Page2View.xib
  22. +13 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/Page3View.h
  23. +51 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/Page3View.m
  24. +241 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/Page3View.xib
  25. +17 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/RootViewController.h
  26. +98 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/RootViewController.m
  27. +184 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/RootViewController.xib
  28. +14 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/SimpleSampleView.h
  29. +43 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/SimpleSampleView.m
  30. +303 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/SimpleSampleView.xib
  31. +14 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/VisualsReadySampleView.h
  32. +48 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/VisualsReadySampleView.m
  33. +396 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/VisualsReadySampleView.xib
  34. +13 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/WelcomeDetailsController.h
  35. +28 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/WelcomeDetailsController.m
  36. +455 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/WelcomeDetailsController.xib
  37. +2 −0  Samples/iPad/FireUIPagedScrollViewiPadSample/en.lproj/InfoPlist.strings
  38. +17 −0 Samples/iPad/FireUIPagedScrollViewiPadSample/main.m
  39. +397 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample.xcodeproj/project.pbxproj
  40. +7 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  41. +5,943 −0 ...iPhoneSample.xcodeproj/project.xcworkspace/xcuserdata/thepumpkin.xcuserdatad/UserInterfaceState.xcuserstate
  42. +72 −0 ...honeSample.xcodeproj/xcuserdata/thepumpkin.xcuserdatad/xcschemes/FireUIPagedScrollViewiPhoneSample.xcscheme
  43. +22 −0 ...IPagedScrollViewiPhoneSample.xcodeproj/xcuserdata/thepumpkin.xcuserdatad/xcschemes/xcschememanagement.plist
  44. +38 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/FireUIPagedScrollViewiPhoneSample-Info.plist
  45. +14 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/FireUIPagedScrollViewiPhoneSample-Prefix.pch
  46. +18 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/FireUIPagedScrollViewiPhoneSampleAppDelegate.h
  47. +72 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/FireUIPagedScrollViewiPhoneSampleAppDelegate.m
  48. +15 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/OrientationReadyPagesView.h
  49. +56 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/OrientationReadyPagesView.m
  50. +301 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/OrientationReadyPagesView.xib
  51. +14 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/RootViewController.h
  52. +88 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/RootViewController.m
  53. +14 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/SimplePage1View.h
  54. +52 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/SimplePage1View.m
  55. +219 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/SimplePage1View.xib
  56. +14 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/SimplePage2View.h
  57. +52 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/SimplePage2View.m
  58. +224 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/SimplePage2View.xib
  59. +14 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/SimplePage3View.h
  60. +52 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/SimplePage3View.m
  61. +224 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/SimplePage3View.xib
  62. +15 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/SimplePagesView.h
  63. +40 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/SimplePagesView.m
  64. +300 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/SimplePagesView.xib
  65. +15 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/VisualsReadyView.h
  66. +44 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/VisualsReadyView.m
  67. +399 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/VisualsReadyView.xib
  68. +2 −0  Samples/iPhone/FireUIPagedScrollViewiPhoneSample/en.lproj/InfoPlist.strings
  69. +331 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/en.lproj/MainWindow.xib
  70. +342 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/en.lproj/RootViewController.xib
  71. +18 −0 Samples/iPhone/FireUIPagedScrollViewiPhoneSample/main.m
  72. BIN  Screenshots/iPad/IMG_0001.PNG
  73. BIN  Screenshots/iPad/IMG_0002.PNG
  74. BIN  Screenshots/iPad/IMG_0003.PNG
  75. BIN  Screenshots/iPad/IMG_0004.PNG
  76. BIN  Screenshots/iPhone/IMG_0745.PNG
  77. BIN  Screenshots/iPhone/IMG_0746.PNG
  78. BIN  Screenshots/iPhone/IMG_0747.PNG
  79. BIN  Screenshots/iPhone/IMG_0748.PNG
19 LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2011 Firebase.co
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
55 Lib/FireUIPagedScrollView.h
@@ -0,0 +1,55 @@
+//
+// FireUIPagedScrollView.h
+//
+// Created by Johan Hernandez<johan@firebase.co> on 8/23/11.
+// Copyright 2011 Firebase. All rights reserved.
+// http://www.firebase.co
+// https://github.com/firebaseco/FireUIPagedScrollView
+//
+
+#import <UIKit/UIKit.h>
+
+@protocol FireUIPagedScrollViewDelegate;
+
+@interface FireUIPagedScrollView : UIScrollView<UIScrollViewDelegate> {
+ NSMutableArray * _controllers;
+ NSInteger _currentPage;
+ BOOL _dontInferPagesFromScrollRange;
+ UIPageControl * _pageControl;
+ UISegmentedControl * _segmentedControl;
+ BOOL _ignoreValueChangedEvent;
+}
+
+// Set the delegate to get notified when the current page is changed.
+@property (nonatomic, retain) IBOutlet id<FireUIPagedScrollViewDelegate> pagerDelegate;
+
+// The current page index. (Zero based).
+@property (nonatomic, readwrite) NSInteger currentPage;
+
+// The number of Pages.
+@property (nonatomic, readonly) NSInteger pageCount;
+
+// Set a UIPageControl to handle selection of Pages and provide visual feedback.
+@property (nonatomic, retain, readwrite) IBOutlet UIPageControl * pageControl;
+
+// Set a UISegmentedControl to handle selection of Pages and provide visual feedback.
+@property (nonatomic, retain, readwrite) IBOutlet UISegmentedControl * segmentedControl;
+
+// Adds a Controller.
+-(void)addPagedViewController:(UIViewController*)controller;
+
+// Shows a Specific Page Index
+-(void)gotoPage:(NSInteger)pageIndex animated:(BOOL)animated;
+
+// Call this method on willRotateToInterfaceOrientation is called in the host controller.
+-(void)willRotateToInterfaceOrientation;
+
+-(IBAction)paginationControlChanged:(id)sender;
+@end
+
+@protocol FireUIPagedScrollViewDelegate<NSObject>
+@optional
+
+// Occurs when the current page is changed or a new page is added. Use this callback to update your visual control(in case you dont want to use pageControl or segmentedControl properties)
+-(void)firePagerChanged:(FireUIPagedScrollView*)pager pagesCount:(NSInteger)pagesCount currentPageIndex:(NSInteger)currentPageIndex;
+@end
215 Lib/FireUIPagedScrollView.m
@@ -0,0 +1,215 @@
+//
+// FireUIPagedScrollView.m
+//
+// Created by Johan Hernandez<johan@firebase.co> on 8/23/11.
+// Copyright 2011 Firebase. All rights reserved.
+// http://www.firebase.co
+// https://github.com/firebaseco/FireUIPagedScrollView
+//
+
+#import "FireUIPagedScrollView.h"
+
+@interface FireUIPagedScrollView(hidden)
+-(void)_niceInit;
+-(void)_adjustSizesForPages;
+-(void)_notifyPageChanged;
+-(void)_showPage:(NSInteger)pageIndex animated:(BOOL)animated;
+
+@end
+
+@implementation FireUIPagedScrollView
+@synthesize pagerDelegate;
+
+- (id)init
+{
+ self = [super init];
+ if (self) {
+ [self _niceInit];
+ }
+
+ return self;
+}
+
+-(id)initWithFrame:(CGRect) frame {
+ self = [super initWithFrame:frame];
+ if(self) {
+ [self _niceInit];
+ }
+ return self;
+}
+
+-(void)setFrame:(CGRect)frame {
+ [super setFrame:frame];
+ [self _adjustSizesForPages];
+}
+
+-(id)initWithCoder:(NSCoder *)aDecoder {
+ self = [super initWithCoder:aDecoder];
+ if(self) {
+ [self _niceInit];
+ }
+ return self;
+}
+
+-(void)_niceInit {
+ _controllers = [[NSMutableArray alloc] init];
+ self.pagingEnabled = YES;
+ self.showsHorizontalScrollIndicator = false;
+ self.showsVerticalScrollIndicator = false;
+ self.delegate = self;
+
+}
+
+-(void)dealloc {
+ [_controllers release];
+ self.pagerDelegate = nil;
+ self.delegate = nil;
+ self.segmentedControl = nil;
+ self.pageControl = nil;
+ [super dealloc];
+}
+
+-(void)addPagedViewController:(UIViewController*)controller {
+ if(controller != nil && controller.view != nil) {
+ [_controllers addObject:controller];
+ [self addSubview:controller.view];
+ [self _adjustSizesForPages];
+ [self _notifyPageChanged];
+ }
+}
+
+-(void)_adjustSizesForPages {
+ [UIView animateWithDuration:0.5
+ delay: 0.0
+ options: UIViewAnimationOptionCurveEaseIn
+ animations:^{
+ CGSize currentSize = self.frame.size;
+ NSInteger loopPageNumber = 0;
+ for (UIViewController * controller in _controllers) {
+ [controller.view setFrame:CGRectMake(currentSize.width * loopPageNumber, 0, currentSize.width, currentSize.height)];
+ loopPageNumber++;
+ }
+ [self setContentSize:CGSizeMake(currentSize.width * loopPageNumber, currentSize.height)];
+ }
+ completion:^(BOOL finished){
+ _dontInferPagesFromScrollRange = NO;
+ [self _showPage:self.currentPage animated:YES];
+ }];
+
+
+}
+
+- (void)scrollViewDidScroll:(UIScrollView *)sender {
+ if(!_dontInferPagesFromScrollRange) {
+ // Update the page when more than 50% of the previous/next page is visible
+ CGFloat pageWidth = self.frame.size.width;
+ int page = floor((self.contentOffset.x - pageWidth / 2) / pageWidth) + 1;
+ self.currentPage = page;
+ }
+}
+
+-(NSInteger) pageCount {
+ return [_controllers count];
+}
+
+-(NSInteger)currentPage {
+ return _currentPage;
+}
+
+-(void)setCurrentPage:(NSInteger)page {
+ if(_currentPage == page) return;
+ _currentPage = page;
+ [self _notifyPageChanged ];
+}
+
+-(void)_notifyPageChanged {
+ _ignoreValueChangedEvent = YES;
+ if([pagerDelegate respondsToSelector:@selector(firePagerChanged:pagesCount:currentPageIndex:)]) {
+ [pagerDelegate firePagerChanged:self pagesCount:self.pageCount currentPageIndex:self.currentPage];
+ }
+ if(_segmentedControl != nil && [_segmentedControl selectedSegmentIndex] != _currentPage) {
+ _segmentedControl.selectedSegmentIndex = _currentPage;
+ }
+ if(_pageControl != nil && [_pageControl currentPage] != _currentPage) {
+ _pageControl.currentPage = _currentPage;
+ }
+ if(_pageControl != nil) {
+ _pageControl.numberOfPages = self.pageCount;
+ }
+ _ignoreValueChangedEvent = NO;
+}
+
+-(void)gotoPage:(NSInteger)pageIndex animated:(BOOL)animated {
+ if(pageIndex == self.currentPage) return;
+ [self _showPage:pageIndex animated:animated];
+}
+
+-(void)_showPage:(NSInteger)pageIndex animated:(BOOL)animated {
+
+ CGRect frame;
+ frame.origin.x = self.frame.size.width * pageIndex;
+ frame.origin.y = 0;
+ frame.size = self.frame.size;
+ [self scrollRectToVisible:frame animated:animated];
+
+}
+
+-(void)willRotateToInterfaceOrientation {
+ _dontInferPagesFromScrollRange = true;
+ UIDevice *device = [UIDevice currentDevice]; //Get the device object
+ [device beginGeneratingDeviceOrientationNotifications]; //Tell it to start monitoring the accelerometer for orientation
+ NSNotificationCenter *nc = [NSNotificationCenter defaultCenter]; //Get the notification centre for the app
+ [nc addObserver:self //Add yourself as an observer
+ selector:@selector(orientationChanged:)
+ name:UIDeviceOrientationDidChangeNotification
+ object:device];
+}
+- (void)orientationChanged:(NSNotification *)note
+{
+ [self _adjustSizesForPages];
+
+ UIDevice *device = [UIDevice currentDevice];
+ NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];
+ [nc removeObserver:self name:UIDeviceOrientationDidChangeNotification object:device];
+}
+
+-(void)paginationControlChanged:(id)sender {
+ if(!_ignoreValueChangedEvent) {
+ NSInteger currentPage = -1;
+ if([sender isKindOfClass:[UISegmentedControl class]]) {
+ currentPage = ((UISegmentedControl*)sender).selectedSegmentIndex;
+ } else {
+ currentPage = ((UIPageControl*)sender).currentPage;
+ }
+ if(currentPage > -1) {
+ [self gotoPage:currentPage animated:YES];
+ }
+ }
+}
+-(UIPageControl*)pageControl {
+ return _pageControl;
+}
+-(void)setPageControl:(UIPageControl *)pageControl {
+ if(_pageControl != nil) {
+ [_pageControl removeTarget:self action:@selector(paginationControlChanged:) forControlEvents:UIControlEventValueChanged];
+ }
+ [_pageControl release];
+ _pageControl = [pageControl retain];
+ if(_pageControl != nil) {
+ [_pageControl addTarget:self action:@selector(paginationControlChanged:) forControlEvents:UIControlEventValueChanged];
+ }
+}
+-(UISegmentedControl*) segmentedControl {
+ return _segmentedControl;
+}
+-(void)setSegmentedControl:(UISegmentedControl *)segmentedControl {
+ if(_segmentedControl != nil) {
+ [_segmentedControl removeTarget:self action:@selector(paginationControlChanged:) forControlEvents:UIControlEventValueChanged];
+ }
+ [_segmentedControl release];
+ _segmentedControl = [segmentedControl retain];
+ if(_segmentedControl != nil) {
+ [_segmentedControl addTarget:self action:@selector(paginationControlChanged:) forControlEvents:UIControlEventValueChanged];
+ }
+}
+@end
93 README.md
@@ -0,0 +1,93 @@
+# FireUIPagedScrollView
+
+Very nice UIScrollView ready to handle View Controllers as pages, handle orientation changes and integrate with UIPageControl and UISegmentedControl out of the box. iPhone & iPad Samples included!
+
+
+## Features
+
+* Handles Orientation and Size changes automatically and with smooth animations.
+* Ready to work with [UIPageControl](http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIPageControl_Class/Reference/Reference.html) and [UISegmentedControl](http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UISegmentedControl_Class/Reference/UISegmentedControl.html)
+* Easy to use properties and methods (addPagedViewController, pageCount, currentPage, etc)
+
+## Screenshots
+
+![iPad](Screenshots/iPad/IMG_0001.png)
+![iPad](Screenshots/iPad/IMG_0002.png)
+![iPad](Screenshots/iPad/IMG_0003.png)
+![iPad](Screenshots/iPad/IMG_0004.png)
+![iPhone](Screenshots/iPhone/IMG_0745.png)
+![iPhone](Screenshots/iPhone/IMG_0746.png)
+![iPhone](Screenshots/iPhone/IMG_0747.png)
+![iPhone](Screenshots/iPhone/IMG_0748.png)
+## Example
+
+Let's setup you have three View controllers that you want to show as pages as follows:
+
+* Page1ViewController.h
+* Page2ViewController.h
+* Page3ViewController.h
+
+1.Include the header for FireUIPagedScrollView.h
+
+ #import "FireUIPagedScrollView.h"
+
+2.Drag a UIScrollView to your Nib and then change it's class to FireUIPagedScrollView, then Bind the outlet.
+
+ @property (nonatomic, retain) IBOutlet FireUIPagedScrollView * pagedScrollView;
+
+3.Create Controllers and add them as pages:
+
+ - (void)viewDidLoad
+ {
+ [super viewDidLoad];
+ // Add Page 1
+ [self.pagedScrollView addPagedViewController:[[[Page1ViewController alloc] initWithNibName:@"Page1View" bundle:nil] autorelease]];
+ // Add Page 2
+ [self.pagedScrollView addPagedViewController:[[[Page2ViewController alloc] initWithNibName:@"Page2View" bundle:nil] autorelease]];
+ // Add Page 3
+ [self.pagedScrollView addPagedViewController:[[[Page3ViewController alloc] initWithNibName:@"Page3View" bundle:nil] autorelease]];
+ }
+
+## Handling Orientation Changes
+
+To handle orientation properly while keeping the current page index and animate the new size of the screen, FireUIPagedScrollView needs to know when a Rotation of the Screen is going to occur.
+
+-(void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration {
+ [super willRotateToInterfaceOrientation:toInterfaceOrientation duration:duration];
+
+ // REQUIRED TO MAKE THE TRANSITION SMOOTHLY BETWEEN ORIENTATIONS
+ [self.pagedScrollView willRotateToInterfaceOrientation];
+}
+
+## Start using it
+
+Get the source code and run the samples for iPhone or iPad:
+
+ git clone git://github.com/firebaseco/FireUIPagedScrollView.git
+
+
+## Author
+Johan Hernandez: johan@firebase.co
+Drop me an email if you need anything, thanks!
+
+## License
+
+Copyright (c) 2011 Firebase.co
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
373 Samples/iPad/FireUIPagedScrollViewiPadSample.xcodeproj/project.pbxproj
@@ -0,0 +1,373 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 07B852B01404D70F00047EFD /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 07B852AF1404D70F00047EFD /* UIKit.framework */; };
+ 07B852B21404D70F00047EFD /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 07B852B11404D70F00047EFD /* Foundation.framework */; };
+ 07B852B41404D70F00047EFD /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 07B852B31404D70F00047EFD /* CoreGraphics.framework */; };
+ 07B852BA1404D71100047EFD /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 07B852B81404D71100047EFD /* InfoPlist.strings */; };
+ 07B852BC1404D71100047EFD /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 07B852BB1404D71100047EFD /* main.m */; };
+ 07B852C01404D71200047EFD /* FireUIPagedScrollViewiPadSampleAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 07B852BF1404D71200047EFD /* FireUIPagedScrollViewiPadSampleAppDelegate.m */; };
+ 07B852CC1404D71500047EFD /* RootViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 07B852CB1404D71500047EFD /* RootViewController.m */; };
+ 07B852E71405424200047EFD /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 07B852E61405424200047EFD /* MainWindow.xib */; };
+ 07B852F01405433B00047EFD /* WelcomeDetailsController.m in Sources */ = {isa = PBXBuildFile; fileRef = 07B852EE1405433B00047EFD /* WelcomeDetailsController.m */; };
+ 07B852F11405433B00047EFD /* WelcomeDetailsController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 07B852EF1405433B00047EFD /* WelcomeDetailsController.xib */; };
+ 07B852F31405448700047EFD /* RootViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 07B852F21405448600047EFD /* RootViewController.xib */; };
+ 07B852FB1405470A00047EFD /* FireUIPagedScrollView.m in Sources */ = {isa = PBXBuildFile; fileRef = 07B852FA1405470A00047EFD /* FireUIPagedScrollView.m */; };
+ 07B853001405476B00047EFD /* SimpleSampleView.m in Sources */ = {isa = PBXBuildFile; fileRef = 07B852FE1405476B00047EFD /* SimpleSampleView.m */; };
+ 07B853011405476B00047EFD /* SimpleSampleView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 07B852FF1405476B00047EFD /* SimpleSampleView.xib */; };
+ 07B8530614054C2C00047EFD /* Page1View.m in Sources */ = {isa = PBXBuildFile; fileRef = 07B8530414054C2C00047EFD /* Page1View.m */; };
+ 07B8530714054C2C00047EFD /* Page1View.xib in Resources */ = {isa = PBXBuildFile; fileRef = 07B8530514054C2C00047EFD /* Page1View.xib */; };
+ 07B8530B14054FDD00047EFD /* Page2View.m in Sources */ = {isa = PBXBuildFile; fileRef = 07B8530914054FD800047EFD /* Page2View.m */; };
+ 07B8530C14054FDD00047EFD /* Page2View.xib in Resources */ = {isa = PBXBuildFile; fileRef = 07B8530A14054FDA00047EFD /* Page2View.xib */; };
+ 07B85310140551E400047EFD /* Page3View.m in Sources */ = {isa = PBXBuildFile; fileRef = 07B8530E140551E200047EFD /* Page3View.m */; };
+ 07B85311140551E400047EFD /* Page3View.xib in Resources */ = {isa = PBXBuildFile; fileRef = 07B8530F140551E300047EFD /* Page3View.xib */; };
+ 07B8531F1405544800047EFD /* VisualsReadySampleView.m in Sources */ = {isa = PBXBuildFile; fileRef = 07B8531D1405544800047EFD /* VisualsReadySampleView.m */; };
+ 07B853201405544800047EFD /* VisualsReadySampleView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 07B8531E1405544800047EFD /* VisualsReadySampleView.xib */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXFileReference section */
+ 07B852AB1404D70F00047EFD /* FireUIPagedScrollViewiPadSample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FireUIPagedScrollViewiPadSample.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 07B852AF1404D70F00047EFD /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
+ 07B852B11404D70F00047EFD /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+ 07B852B31404D70F00047EFD /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
+ 07B852B71404D71000047EFD /* FireUIPagedScrollViewiPadSample-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "FireUIPagedScrollViewiPadSample-Info.plist"; sourceTree = "<group>"; };
+ 07B852B91404D71100047EFD /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ 07B852BB1404D71100047EFD /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ 07B852BD1404D71100047EFD /* FireUIPagedScrollViewiPadSample-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "FireUIPagedScrollViewiPadSample-Prefix.pch"; sourceTree = "<group>"; };
+ 07B852BE1404D71200047EFD /* FireUIPagedScrollViewiPadSampleAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FireUIPagedScrollViewiPadSampleAppDelegate.h; sourceTree = "<group>"; };
+ 07B852BF1404D71200047EFD /* FireUIPagedScrollViewiPadSampleAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FireUIPagedScrollViewiPadSampleAppDelegate.m; sourceTree = "<group>"; };
+ 07B852CA1404D71500047EFD /* RootViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RootViewController.h; sourceTree = "<group>"; };
+ 07B852CB1404D71500047EFD /* RootViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RootViewController.m; sourceTree = "<group>"; };
+ 07B852E61405424200047EFD /* MainWindow.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MainWindow.xib; sourceTree = "<group>"; };
+ 07B852ED1405433B00047EFD /* WelcomeDetailsController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WelcomeDetailsController.h; sourceTree = "<group>"; };
+ 07B852EE1405433B00047EFD /* WelcomeDetailsController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WelcomeDetailsController.m; sourceTree = "<group>"; };
+ 07B852EF1405433B00047EFD /* WelcomeDetailsController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = WelcomeDetailsController.xib; sourceTree = "<group>"; };
+ 07B852F21405448600047EFD /* RootViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = RootViewController.xib; sourceTree = "<group>"; };
+ 07B852F91405470A00047EFD /* FireUIPagedScrollView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = FireUIPagedScrollView.h; path = ../../Lib/FireUIPagedScrollView.h; sourceTree = "<group>"; };
+ 07B852FA1405470A00047EFD /* FireUIPagedScrollView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = FireUIPagedScrollView.m; path = ../../Lib/FireUIPagedScrollView.m; sourceTree = "<group>"; };
+ 07B852FD1405476B00047EFD /* SimpleSampleView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SimpleSampleView.h; sourceTree = "<group>"; };
+ 07B852FE1405476B00047EFD /* SimpleSampleView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SimpleSampleView.m; sourceTree = "<group>"; };
+ 07B852FF1405476B00047EFD /* SimpleSampleView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = SimpleSampleView.xib; sourceTree = "<group>"; };
+ 07B8530314054C2C00047EFD /* Page1View.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Page1View.h; sourceTree = "<group>"; };
+ 07B8530414054C2C00047EFD /* Page1View.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Page1View.m; sourceTree = "<group>"; };
+ 07B8530514054C2C00047EFD /* Page1View.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = Page1View.xib; sourceTree = "<group>"; };
+ 07B8530814054FD800047EFD /* Page2View.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Page2View.h; sourceTree = "<group>"; };
+ 07B8530914054FD800047EFD /* Page2View.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Page2View.m; sourceTree = "<group>"; };
+ 07B8530A14054FDA00047EFD /* Page2View.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = Page2View.xib; sourceTree = "<group>"; };
+ 07B8530D140551E200047EFD /* Page3View.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Page3View.h; sourceTree = "<group>"; };
+ 07B8530E140551E200047EFD /* Page3View.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Page3View.m; sourceTree = "<group>"; };
+ 07B8530F140551E300047EFD /* Page3View.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = Page3View.xib; sourceTree = "<group>"; };
+ 07B8531C1405544800047EFD /* VisualsReadySampleView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VisualsReadySampleView.h; sourceTree = "<group>"; };
+ 07B8531D1405544800047EFD /* VisualsReadySampleView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VisualsReadySampleView.m; sourceTree = "<group>"; };
+ 07B8531E1405544800047EFD /* VisualsReadySampleView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = VisualsReadySampleView.xib; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 07B852A81404D70E00047EFD /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 07B852B01404D70F00047EFD /* UIKit.framework in Frameworks */,
+ 07B852B21404D70F00047EFD /* Foundation.framework in Frameworks */,
+ 07B852B41404D70F00047EFD /* CoreGraphics.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 07B852A01404D70A00047EFD = {
+ isa = PBXGroup;
+ children = (
+ 07B852F4140546DE00047EFD /* Lib */,
+ 07B852B51404D70F00047EFD /* FireUIPagedScrollViewiPadSample */,
+ 07B852AE1404D70F00047EFD /* Frameworks */,
+ 07B852AC1404D70F00047EFD /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ 07B852AC1404D70F00047EFD /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 07B852AB1404D70F00047EFD /* FireUIPagedScrollViewiPadSample.app */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ 07B852AE1404D70F00047EFD /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 07B852AF1404D70F00047EFD /* UIKit.framework */,
+ 07B852B11404D70F00047EFD /* Foundation.framework */,
+ 07B852B31404D70F00047EFD /* CoreGraphics.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ 07B852B51404D70F00047EFD /* FireUIPagedScrollViewiPadSample */ = {
+ isa = PBXGroup;
+ children = (
+ 07B853161405541500047EFD /* VisualsReadySample */,
+ 07B8530214054BD800047EFD /* Pages */,
+ 07B852FC1405471200047EFD /* SimpleSample */,
+ 07B852BE1404D71200047EFD /* FireUIPagedScrollViewiPadSampleAppDelegate.h */,
+ 07B852BF1404D71200047EFD /* FireUIPagedScrollViewiPadSampleAppDelegate.m */,
+ 07B852CA1404D71500047EFD /* RootViewController.h */,
+ 07B852CB1404D71500047EFD /* RootViewController.m */,
+ 07B852F21405448600047EFD /* RootViewController.xib */,
+ 07B852B61404D71000047EFD /* Supporting Files */,
+ 07B852E61405424200047EFD /* MainWindow.xib */,
+ 07B852ED1405433B00047EFD /* WelcomeDetailsController.h */,
+ 07B852EE1405433B00047EFD /* WelcomeDetailsController.m */,
+ 07B852EF1405433B00047EFD /* WelcomeDetailsController.xib */,
+ );
+ path = FireUIPagedScrollViewiPadSample;
+ sourceTree = "<group>";
+ };
+ 07B852B61404D71000047EFD /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ 07B852B71404D71000047EFD /* FireUIPagedScrollViewiPadSample-Info.plist */,
+ 07B852B81404D71100047EFD /* InfoPlist.strings */,
+ 07B852BB1404D71100047EFD /* main.m */,
+ 07B852BD1404D71100047EFD /* FireUIPagedScrollViewiPadSample-Prefix.pch */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+ 07B852F4140546DE00047EFD /* Lib */ = {
+ isa = PBXGroup;
+ children = (
+ 07B852F91405470A00047EFD /* FireUIPagedScrollView.h */,
+ 07B852FA1405470A00047EFD /* FireUIPagedScrollView.m */,
+ );
+ name = Lib;
+ sourceTree = "<group>";
+ };
+ 07B852FC1405471200047EFD /* SimpleSample */ = {
+ isa = PBXGroup;
+ children = (
+ 07B852FD1405476B00047EFD /* SimpleSampleView.h */,
+ 07B852FE1405476B00047EFD /* SimpleSampleView.m */,
+ 07B852FF1405476B00047EFD /* SimpleSampleView.xib */,
+ );
+ name = SimpleSample;
+ sourceTree = "<group>";
+ };
+ 07B8530214054BD800047EFD /* Pages */ = {
+ isa = PBXGroup;
+ children = (
+ 07B8530314054C2C00047EFD /* Page1View.h */,
+ 07B8530414054C2C00047EFD /* Page1View.m */,
+ 07B8530514054C2C00047EFD /* Page1View.xib */,
+ 07B8530814054FD800047EFD /* Page2View.h */,
+ 07B8530914054FD800047EFD /* Page2View.m */,
+ 07B8530A14054FDA00047EFD /* Page2View.xib */,
+ 07B8530D140551E200047EFD /* Page3View.h */,
+ 07B8530E140551E200047EFD /* Page3View.m */,
+ 07B8530F140551E300047EFD /* Page3View.xib */,
+ );
+ name = Pages;
+ sourceTree = "<group>";
+ };
+ 07B853161405541500047EFD /* VisualsReadySample */ = {
+ isa = PBXGroup;
+ children = (
+ 07B8531C1405544800047EFD /* VisualsReadySampleView.h */,
+ 07B8531D1405544800047EFD /* VisualsReadySampleView.m */,
+ 07B8531E1405544800047EFD /* VisualsReadySampleView.xib */,
+ );
+ name = VisualsReadySample;
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 07B852AA1404D70E00047EFD /* FireUIPagedScrollViewiPadSample */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 07B852CF1404D71700047EFD /* Build configuration list for PBXNativeTarget "FireUIPagedScrollViewiPadSample" */;
+ buildPhases = (
+ 07B852A71404D70E00047EFD /* Sources */,
+ 07B852A81404D70E00047EFD /* Frameworks */,
+ 07B852A91404D70E00047EFD /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = FireUIPagedScrollViewiPadSample;
+ productName = FireUIPagedScrollViewiPadSample;
+ productReference = 07B852AB1404D70F00047EFD /* FireUIPagedScrollViewiPadSample.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 07B852A21404D70A00047EFD /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ ORGANIZATIONNAME = Firebase;
+ };
+ buildConfigurationList = 07B852A51404D70C00047EFD /* Build configuration list for PBXProject "FireUIPagedScrollViewiPadSample" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ );
+ mainGroup = 07B852A01404D70A00047EFD;
+ productRefGroup = 07B852AC1404D70F00047EFD /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 07B852AA1404D70E00047EFD /* FireUIPagedScrollViewiPadSample */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 07B852A91404D70E00047EFD /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 07B852BA1404D71100047EFD /* InfoPlist.strings in Resources */,
+ 07B852E71405424200047EFD /* MainWindow.xib in Resources */,
+ 07B852F11405433B00047EFD /* WelcomeDetailsController.xib in Resources */,
+ 07B852F31405448700047EFD /* RootViewController.xib in Resources */,
+ 07B853011405476B00047EFD /* SimpleSampleView.xib in Resources */,
+ 07B8530714054C2C00047EFD /* Page1View.xib in Resources */,
+ 07B8530C14054FDD00047EFD /* Page2View.xib in Resources */,
+ 07B85311140551E400047EFD /* Page3View.xib in Resources */,
+ 07B853201405544800047EFD /* VisualsReadySampleView.xib in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 07B852A71404D70E00047EFD /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 07B852BC1404D71100047EFD /* main.m in Sources */,
+ 07B852C01404D71200047EFD /* FireUIPagedScrollViewiPadSampleAppDelegate.m in Sources */,
+ 07B852CC1404D71500047EFD /* RootViewController.m in Sources */,
+ 07B852F01405433B00047EFD /* WelcomeDetailsController.m in Sources */,
+ 07B852FB1405470A00047EFD /* FireUIPagedScrollView.m in Sources */,
+ 07B853001405476B00047EFD /* SimpleSampleView.m in Sources */,
+ 07B8530614054C2C00047EFD /* Page1View.m in Sources */,
+ 07B8530B14054FDD00047EFD /* Page2View.m in Sources */,
+ 07B85310140551E400047EFD /* Page3View.m in Sources */,
+ 07B8531F1405544800047EFD /* VisualsReadySampleView.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+ 07B852B81404D71100047EFD /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 07B852B91404D71100047EFD /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 07B852CD1404D71600047EFD /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_UNIVERSAL_IPHONE_OS)";
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = DEBUG;
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_VERSION = com.apple.compilers.llvmgcc42;
+ GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 4.3;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = 2;
+ };
+ name = Debug;
+ };
+ 07B852CE1404D71600047EFD /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_UNIVERSAL_IPHONE_OS)";
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_VERSION = com.apple.compilers.llvmgcc42;
+ GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 4.3;
+ OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = 2;
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ 07B852D01404D71700047EFD /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "FireUIPagedScrollViewiPadSample/FireUIPagedScrollViewiPadSample-Prefix.pch";
+ INFOPLIST_FILE = "FireUIPagedScrollViewiPadSample/FireUIPagedScrollViewiPadSample-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Debug;
+ };
+ 07B852D11404D71700047EFD /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "FireUIPagedScrollViewiPadSample/FireUIPagedScrollViewiPadSample-Prefix.pch";
+ INFOPLIST_FILE = "FireUIPagedScrollViewiPadSample/FireUIPagedScrollViewiPadSample-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 07B852A51404D70C00047EFD /* Build configuration list for PBXProject "FireUIPagedScrollViewiPadSample" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 07B852CD1404D71600047EFD /* Debug */,
+ 07B852CE1404D71600047EFD /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 07B852CF1404D71700047EFD /* Build configuration list for PBXNativeTarget "FireUIPagedScrollViewiPadSample" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 07B852D01404D71700047EFD /* Debug */,
+ 07B852D11404D71700047EFD /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 07B852A21404D70A00047EFD /* Project object */;
+}
7 Samples/iPad/FireUIPagedScrollViewiPadSample.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+ version = "1.0">
+ <FileRef
+ location = "self:FireUIPagedScrollViewiPadSample.xcodeproj">
+ </FileRef>
+</Workspace>
6,672 ...PadSample.xcodeproj/project.xcworkspace/xcuserdata/thepumpkin.xcuserdatad/UserInterfaceState.xcuserstate
6,672 additions, 0 deletions not shown
5 ...IPagedScrollViewiPadSample.xcodeproj/xcuserdata/thepumpkin.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Bucket
+ type = "1"
+ version = "1.0">
+</Bucket>
72 ...PadSample.xcodeproj/xcuserdata/thepumpkin.xcuserdatad/xcschemes/FireUIPagedScrollViewiPadSample.xcscheme
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+ version = "1.3">
+ <BuildAction
+ parallelizeBuildables = "YES"
+ buildImplicitDependencies = "YES">
+ <BuildActionEntries>
+ <BuildActionEntry
+ buildForTesting = "YES"
+ buildForRunning = "YES"
+ buildForProfiling = "YES"
+ buildForArchiving = "YES"
+ buildForAnalyzing = "YES">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "07B852AA1404D70E00047EFD"
+ BuildableName = "FireUIPagedScrollViewiPadSample.app"
+ BlueprintName = "FireUIPagedScrollViewiPadSample"
+ ReferencedContainer = "container:FireUIPagedScrollViewiPadSample.xcodeproj">
+ </BuildableReference>
+ </BuildActionEntry>
+ </BuildActionEntries>
+ </BuildAction>
+ <TestAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ buildConfiguration = "Debug">
+ <Testables>
+ </Testables>
+ </TestAction>
+ <LaunchAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
+ launchStyle = "0"
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Debug">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "07B852AA1404D70E00047EFD"
+ BuildableName = "FireUIPagedScrollViewiPadSample.app"
+ BlueprintName = "FireUIPagedScrollViewiPadSample"
+ ReferencedContainer = "container:FireUIPagedScrollViewiPadSample.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ <AdditionalOptions>
+ </AdditionalOptions>
+ </LaunchAction>
+ <ProfileAction
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ savedToolIdentifier = ""
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Release">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "07B852AA1404D70E00047EFD"
+ BuildableName = "FireUIPagedScrollViewiPadSample.app"
+ BlueprintName = "FireUIPagedScrollViewiPadSample"
+ ReferencedContainer = "container:FireUIPagedScrollViewiPadSample.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ </ProfileAction>
+ <AnalyzeAction
+ buildConfiguration = "Debug">
+ </AnalyzeAction>
+ <ArchiveAction
+ buildConfiguration = "Release"
+ revealArchiveInOrganizer = "YES">
+ </ArchiveAction>
+</Scheme>
22 ...PagedScrollViewiPadSample.xcodeproj/xcuserdata/thepumpkin.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>SchemeUserState</key>
+ <dict>
+ <key>FireUIPagedScrollViewiPadSample.xcscheme</key>
+ <dict>
+ <key>orderHint</key>
+ <integer>0</integer>
+ </dict>
+ </dict>
+ <key>SuppressBuildableAutocreation</key>
+ <dict>
+ <key>07B852AA1404D70E00047EFD</key>
+ <dict>
+ <key>primary</key>
+ <true/>
+ </dict>
+ </dict>
+</dict>
+</plist>
39 Samples/iPad/FireUIPagedScrollViewiPadSample/FireUIPagedScrollViewiPadSample-Info.plist
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleDisplayName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIconFile</key>
+ <string></string>
+ <key>CFBundleIdentifier</key>
+ <string>co.firebase.${PRODUCT_NAME:rfc1034identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+ <key>NSMainNibFile</key>
+ <string>MainWindow</string>
+ <key>UISupportedInterfaceOrientations~ipad</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+</dict>
+</plist>
14 Samples/iPad/FireUIPagedScrollViewiPadSample/FireUIPagedScrollViewiPadSample-Prefix.pch
@@ -0,0 +1,14 @@
+//
+// Prefix header for all source files of the 'FireUIPagedScrollViewiPadSample' target in the 'FireUIPagedScrollViewiPadSample' project
+//
+
+#import <Availability.h>
+
+#ifndef __IPHONE_3_0
+#warning "This project uses features only available in iPhone SDK 3.0 and later."
+#endif
+
+#ifdef __OBJC__
+ #import <UIKit/UIKit.h>
+ #import <Foundation/Foundation.h>
+#endif
25 Samples/iPad/FireUIPagedScrollViewiPadSample/FireUIPagedScrollViewiPadSampleAppDelegate.h
@@ -0,0 +1,25 @@
+//
+// FireUIPagedScrollViewiPadSampleAppDelegate.h
+// FireUIPagedScrollViewiPadSample
+//
+// Created by Johan Hernandez on 8/24/11.
+// Copyright 2011 __MyCompanyName__. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@class RootViewController;
+
+@class DetailViewController;
+
+@interface FireUIPagedScrollViewiPadSampleAppDelegate : NSObject <UIApplicationDelegate>
+
+@property (nonatomic, retain) IBOutlet UIWindow *window;
+
+@property (nonatomic, retain) IBOutlet UISplitViewController *splitViewController;
+
+@property (nonatomic, retain) IBOutlet RootViewController *rootViewController;
+
+@property (nonatomic, retain) IBOutlet UINavigationController *detailViewController;
+
+@end
91 Samples/iPad/FireUIPagedScrollViewiPadSample/FireUIPagedScrollViewiPadSampleAppDelegate.m
@@ -0,0 +1,91 @@
+//
+// FireUIPagedScrollViewiPadSampleAppDelegate.m
+// FireUIPagedScrollViewiPadSample
+//
+// Created by Johan Hernandez on 8/24/11.
+// Copyright 2011 __MyCompanyName__. All rights reserved.
+//
+
+#import "FireUIPagedScrollViewiPadSampleAppDelegate.h"
+
+#import "RootViewController.h"
+#import "WelcomeDetailsController.h"
+
+@implementation FireUIPagedScrollViewiPadSampleAppDelegate
+
+@synthesize window = _window;
+@synthesize splitViewController = _splitViewController;
+@synthesize rootViewController = _rootViewController;
+@synthesize detailViewController = _detailViewController;
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
+{
+ RootViewController* firstVC = [[[RootViewController alloc]
+ initWithNibName:@"RootViewController" bundle:nil] autorelease];
+ WelcomeDetailsController* welcome = [[[WelcomeDetailsController alloc]
+ initWithNibName:@"WelcomeDetailsController" bundle:nil] autorelease];
+
+
+ UINavigationController* secondVC = [[[UINavigationController alloc] initWithRootViewController:welcome] autorelease];
+ firstVC.detailViewController = secondVC;
+
+ self.splitViewController = [[[UISplitViewController alloc] init] autorelease];
+ self.splitViewController.viewControllers = [NSArray arrayWithObjects:firstVC, secondVC, nil];
+
+
+ // Override point for customization after application launch.
+ // Add the split view controller's view to the window and display.
+ self.window.rootViewController = self.splitViewController;
+ [self.window makeKeyAndVisible];
+ return YES;
+}
+
+- (void)applicationWillResignActive:(UIApplication *)application
+{
+ /*
+ 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.
+ 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.
+ */
+}
+
+- (void)applicationDidEnterBackground:(UIApplication *)application
+{
+ /*
+ 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.
+ If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
+ */
+}
+
+- (void)applicationWillEnterForeground:(UIApplication *)application
+{
+ /*
+ 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.
+ */
+}
+
+- (void)applicationDidBecomeActive:(UIApplication *)application
+{
+ /*
+ 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.
+ */
+}
+
+- (void)applicationWillTerminate:(UIApplication *)application
+{
+ /*
+ Called when the application is about to terminate.
+ Save data if appropriate.
+ See also applicationDidEnterBackground:.
+ */
+}
+
+- (void)dealloc
+{
+ [_window release];
+ [_splitViewController release];
+ [_rootViewController release];
+ [_detailViewController release];
+ [super dealloc];
+}
+
+@end
249 Samples/iPad/FireUIPagedScrollViewiPadSample/MainWindow.xib
@@ -0,0 +1,249 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="7.10">
+ <data>
+ <int key="IBDocument.SystemTarget">1056</int>
+ <string key="IBDocument.SystemVersion">11B26</string>
+ <string key="IBDocument.InterfaceBuilderVersion">1617</string>
+ <string key="IBDocument.AppKitVersion">1138</string>
+ <string key="IBDocument.HIToolboxVersion">566.00</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="NS.object.0">534</string>
+ </object>
+ <object class="NSArray" key="IBDocument.IntegratedClassDependencies">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>IBUIWindow</string>
+ <string>IBProxyObject</string>
+ <string>IBUICustomObject</string>
+ </object>
+ <object class="NSArray" key="IBDocument.PluginDependencies">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </object>
+ <object class="NSMutableDictionary" key="IBDocument.Metadata">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys" id="0">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ <reference key="dict.values" ref="0"/>
+ </object>
+ <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBProxyObject" id="841351856">
+ <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ </object>
+ <object class="IBProxyObject" id="590933970">
+ <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ </object>
+ <object class="IBUIWindow" id="380026005">
+ <reference key="NSNextResponder"/>
+ <int key="NSvFlags">1316</int>
+ <object class="NSPSMatrix" key="NSFrameMatrix"/>
+ <string key="NSFrameSize">{768, 1024}</string>
+ <reference key="NSSuperview"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView"/>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MSAxIDEAA</bytes>
+ </object>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
+ <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics">
+ <int key="IBUIStatusBarStyle">2</int>
+ </object>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ <bool key="IBUIResizesToFullScreen">YES</bool>
+ </object>
+ <object class="IBUICustomObject" id="524106291">
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ </object>
+ </object>
+ <object class="IBObjectContainer" key="IBDocument.Objects">
+ <object class="NSMutableArray" key="connectionRecords">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">delegate</string>
+ <reference key="source" ref="841351856"/>
+ <reference key="destination" ref="524106291"/>
+ </object>
+ <int key="connectionID">4</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">window</string>
+ <reference key="source" ref="524106291"/>
+ <reference key="destination" ref="380026005"/>
+ </object>
+ <int key="connectionID">5</int>
+ </object>
+ </object>
+ <object class="IBMutableOrderedSet" key="objectRecords">
+ <object class="NSArray" key="orderedObjects">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBObjectRecord">
+ <int key="objectID">0</int>
+ <reference key="object" ref="0"/>
+ <reference key="children" ref="1000"/>
+ <nil key="parent"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">2</int>
+ <reference key="object" ref="380026005"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-1</int>
+ <reference key="object" ref="841351856"/>
+ <reference key="parent" ref="0"/>
+ <string key="objectName">File's Owner</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-2</int>
+ <reference key="object" ref="590933970"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">3</int>
+ <reference key="object" ref="524106291"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="flattenedProperties">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>-1.CustomClassName</string>
+ <string>-1.IBPluginDependency</string>
+ <string>-2.CustomClassName</string>
+ <string>-2.IBPluginDependency</string>
+ <string>2.IBAttributePlaceholdersKey</string>
+ <string>2.IBPluginDependency</string>
+ <string>2.UIWindow.visibleAtLaunch</string>
+ <string>3.CustomClassName</string>
+ <string>3.IBPluginDependency</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>UIApplication</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>UIResponder</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSMutableDictionary">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference key="dict.sortedKeys" ref="0"/>
+ <reference key="dict.values" ref="0"/>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <integer value="1"/>
+ <string>FireUIPagedScrollViewiPadSampleAppDelegate</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="unlocalizedProperties">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference key="dict.sortedKeys" ref="0"/>
+ <reference key="dict.values" ref="0"/>
+ </object>
+ <nil key="activeLocalization"/>
+ <object class="NSMutableDictionary" key="localizations">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference key="dict.sortedKeys" ref="0"/>
+ <reference key="dict.values" ref="0"/>
+ </object>
+ <nil key="sourceID"/>
+ <int key="maxID">5</int>
+ </object>
+ <object class="IBClassDescriber" key="IBDocument.Classes">
+ <object class="NSMutableArray" key="referencedPartialClassDescriptions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBPartialClassDescription">
+ <string key="className">FireUIPagedScrollViewiPadSampleAppDelegate</string>
+ <string key="superclassName">NSObject</string>
+ <object class="NSMutableDictionary" key="outlets">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>detailViewController</string>
+ <string>rootViewController</string>
+ <string>splitViewController</string>
+ <string>window</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>UINavigationController</string>
+ <string>RootViewController</string>
+ <string>UISplitViewController</string>
+ <string>UIWindow</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="toOneOutletInfosByName">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>detailViewController</string>
+ <string>rootViewController</string>
+ <string>splitViewController</string>
+ <string>window</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBToOneOutletInfo">
+ <string key="name">detailViewController</string>
+ <string key="candidateClassName">UINavigationController</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">rootViewController</string>
+ <string key="candidateClassName">RootViewController</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">splitViewController</string>
+ <string key="candidateClassName">UISplitViewController</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">window</string>
+ <string key="candidateClassName">UIWindow</string>
+ </object>
+ </object>
+ </object>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">./Classes/FireUIPagedScrollViewiPadSampleAppDelegate.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">RootViewController</string>
+ <string key="superclassName">UITableViewController</string>
+ <object class="NSMutableDictionary" key="outlets">
+ <string key="NS.key.0">detailViewController</string>
+ <string key="NS.object.0">UINavigationController</string>
+ </object>
+ <object class="NSMutableDictionary" key="toOneOutletInfosByName">
+ <string key="NS.key.0">detailViewController</string>
+ <object class="IBToOneOutletInfo" key="NS.object.0">
+ <string key="name">detailViewController</string>
+ <string key="candidateClassName">UINavigationController</string>
+ </object>
+ </object>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">./Classes/RootViewController.h</string>
+ </object>
+ </object>
+ </object>
+ </object>
+ <int key="IBDocument.localizationMode">0</int>
+ <string key="IBDocument.TargetRuntimeIdentifier">IBIPadFramework</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
+ <integer value="3100" key="NS.object.0"/>
+ </object>
+ <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
+ <int key="IBDocument.defaultPropertyAccessControl">3</int>
+ <string key="IBCocoaTouchPluginVersion">534</string>
+ </data>
+</archive>
13 Samples/iPad/FireUIPagedScrollViewiPadSample/Page1View.h
@@ -0,0 +1,13 @@
+//
+// Page1View.h
+// FireUIPagedScrollViewiPadSample
+//
+// Created by Johan Hernandez on 8/24/11.
+// Copyright 2011 Firebase. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface Page1View : UIViewController
+
+@end
51 Samples/iPad/FireUIPagedScrollViewiPadSample/Page1View.m
@@ -0,0 +1,51 @@
+//
+// Page1View.m
+// FireUIPagedScrollViewiPadSample
+//
+// Created by Johan Hernandez on 8/24/11.
+// Copyright 2011 Firebase. All rights reserved.
+//
+
+#import "Page1View.h"
+
+@implementation Page1View
+
+- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
+{
+ self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
+ if (self) {
+ // Custom initialization
+ }
+ return self;
+}
+
+- (void)didReceiveMemoryWarning
+{
+ // Releases the view if it doesn't have a superview.
+ [super didReceiveMemoryWarning];
+
+ // Release any cached data, images, etc that aren't in use.
+}
+
+#pragma mark - View lifecycle
+
+- (void)viewDidLoad
+{
+ [super viewDidLoad];
+ // Do any additional setup after loading the view from its nib.
+}
+
+- (void)viewDidUnload
+{
+ [super viewDidUnload];
+ // Release any retained subviews of the main view.
+ // e.g. self.myOutlet = nil;
+}
+
+- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
+{
+ // Return YES for supported orientations
+ return YES;
+}
+
+@end
319 Samples/iPad/FireUIPagedScrollViewiPadSample/Page1View.xib
@@ -0,0 +1,319 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="7.10">
+ <data>
+ <int key="IBDocument.SystemTarget">1056</int>
+ <string key="IBDocument.SystemVersion">11B26</string>
+ <string key="IBDocument.InterfaceBuilderVersion">1617</string>
+ <string key="IBDocument.AppKitVersion">1138</string>
+ <string key="IBDocument.HIToolboxVersion">566.00</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="NS.object.0">534</string>
+ </object>
+ <object class="NSArray" key="IBDocument.IntegratedClassDependencies">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>IBProxyObject</string>
+ <string>IBUILabel</string>
+ <string>IBUISwitch</string>
+ <string>IBUITextField</string>
+ <string>IBUITextView</string>
+ <string>IBUISlider</string>
+ <string>IBUIView</string>
+ </object>
+ <object class="NSArray" key="IBDocument.PluginDependencies">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </object>
+ <object class="NSMutableDictionary" key="IBDocument.Metadata">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys" id="0">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ <reference key="dict.values" ref="0"/>
+ </object>
+ <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBProxyObject" id="841351856">
+ <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ </object>
+ <object class="IBProxyObject" id="606714003">
+ <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ </object>
+ <object class="IBUIView" id="766721923">
+ <reference key="NSNextResponder"/>
+ <int key="NSvFlags">292</int>
+ <object class="NSMutableArray" key="NSSubviews">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBUILabel" id="1033712486">
+ <reference key="NSNextResponder" ref="766721923"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{50, 21}, {427, 28}}</string>
+ <reference key="NSSuperview" ref="766721923"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="301592022"/>
+ <string key="NSReuseIdentifierKey">_NS:327</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <int key="IBUIContentMode">7</int>
+ <bool key="IBUIUserInteractionEnabled">NO</bool>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ <string key="IBUIText">Page 1</string>
+ <object class="NSFont" key="IBUIFont">
+ <string key="NSName">Helvetica</string>
+ <double key="NSSize">25</double>
+ <int key="NSfFlags">16</int>
+ </object>
+ <object class="NSColor" key="IBUITextColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC4yMDAwMDAwMDMgMC4yMDAwMDAwMDMgMC4yMDAwMDAwMDMAA</bytes>
+ </object>
+ <nil key="IBUIHighlightedColor"/>
+ <object class="NSColor" key="IBUIShadowColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC45MDE5NjA3OTAyIDAuOTAxOTYwNzkwMiAwLjkwMTk2MDc5MDIAA</bytes>
+ </object>
+ <string key="IBUIShadowOffset">{1, 1}</string>
+ <int key="IBUIBaselineAdjustment">1</int>
+ <float key="IBUIMinimumFontSize">10</float>
+ </object>
+ <object class="IBUITextView" id="301592022">
+ <reference key="NSNextResponder" ref="766721923"/>
+ <int key="NSvFlags">290</int>
+ <string key="NSFrame">{{58, 63}, {937, 123}}</string>
+ <reference key="NSSuperview" ref="766721923"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView"/>
+ <string key="NSReuseIdentifierKey">_NS:615</string>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MCAwAA</bytes>
+ </object>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <bool key="IBUIMultipleTouchEnabled">YES</bool>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ <bool key="IBUIShowsHorizontalScrollIndicator">NO</bool>
+ <bool key="IBUIEditable">NO</bool>
+ <string key="IBUIText">Lorem ipsum dolor sit er elit lamet, consectetaur cillium adipisicing pecu, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Nam liber te conscient to factor tum poen legum odioque civiuda.</string>
+ <object class="NSColor" key="IBUITextColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC45NjA2MTgxNjk1IDAuOTcxNjU5NzU3NyAwLjk3MTY1OTc1NzcAA</bytes>
+ </object>
+ <object class="IBUITextInputTraits" key="IBUITextInputTraits">
+ <int key="IBUIAutocapitalizationType">2</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ </object>
+ <object class="IBUITextField" id="505775676">
+ <reference key="NSNextResponder" ref="766721923"/>
+ <int key="NSvFlags">300</int>
+ <string key="NSFrame">{{98, 372}, {97, 31}}</string>
+ <reference key="NSSuperview" ref="766721923"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView"/>
+ <string key="NSReuseIdentifierKey">_NS:310</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ <int key="IBUIContentVerticalAlignment">0</int>
+ <string key="IBUIText"/>
+ <int key="IBUIBorderStyle">3</int>
+ <object class="NSColor" key="IBUITextColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MAA</bytes>
+ <object class="NSColorSpace" key="NSCustomColorSpace">
+ <int key="NSID">2</int>
+ </object>
+ </object>
+ <bool key="IBUIAdjustsFontSizeToFit">YES</bool>
+ <float key="IBUIMinimumFontSize">17</float>
+ <object class="IBUITextInputTraits" key="IBUITextInputTraits">
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ </object>
+ <object class="IBUISlider" id="307425348">
+ <reference key="NSNextResponder" ref="766721923"/>
+ <int key="NSvFlags">300</int>
+ <string key="NSFrame">{{96, 411}, {118, 23}}</string>
+ <reference key="NSSuperview" ref="766721923"/>
+ <reference key="NSWindow"/>
+ <string key="NSReuseIdentifierKey">_NS:607</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">0</int>
+ <float key="IBUIValue">0.5</float>
+ </object>
+ <object class="IBUISwitch" id="1045304159">
+ <reference key="NSNextResponder" ref="766721923"/>
+ <int key="NSvFlags">300</int>
+ <string key="NSFrame">{{98, 446}, {94, 27}}</string>
+ <reference key="NSSuperview" ref="766721923"/>
+ <reference key="NSWindow"/>
+ <string key="NSReuseIdentifierKey">_NS:592</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">0</int>
+ <bool key="IBUIOn">YES</bool>
+ </object>
+ </object>
+ <string key="NSFrame">{{0, 20}, {1024, 748}}</string>
+ <reference key="NSSuperview"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="1033712486"/>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC43MDE5NjA4MDIxIDAuNzAxOTYwODAyMSAwLjcwMTk2MDgwMjEAA</bytes>
+ </object>
+ <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
+ <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics">
+ <int key="IBUIStatusBarStyle">2</int>
+ </object>
+ <object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
+ <int key="IBUIInterfaceOrientation">3</int>
+ <int key="interfaceOrientation">3</int>
+ </object>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ </object>
+ </object>
+ <object class="IBObjectContainer" key="IBDocument.Objects">
+ <object class="NSMutableArray" key="connectionRecords">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">view</string>
+ <reference key="source" ref="841351856"/>
+ <reference key="destination" ref="766721923"/>
+ </object>
+ <int key="connectionID">3</int>
+ </object>
+ </object>
+ <object class="IBMutableOrderedSet" key="objectRecords">
+ <object class="NSArray" key="orderedObjects">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBObjectRecord">
+ <int key="objectID">0</int>
+ <reference key="object" ref="0"/>
+ <reference key="children" ref="1000"/>
+ <nil key="parent"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-1</int>
+ <reference key="object" ref="841351856"/>
+ <reference key="parent" ref="0"/>
+ <string key="objectName">File's Owner</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-2</int>
+ <reference key="object" ref="606714003"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">2</int>
+ <reference key="object" ref="766721923"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="1033712486"/>
+ <reference ref="301592022"/>
+ <reference ref="505775676"/>
+ <reference ref="1045304159"/>
+ <reference ref="307425348"/>
+ </object>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">5</int>
+ <reference key="object" ref="1033712486"/>
+ <reference key="parent" ref="766721923"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">6</int>
+ <reference key="object" ref="301592022"/>
+ <reference key="parent" ref="766721923"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">9</int>
+ <reference key="object" ref="505775676"/>
+ <reference key="parent" ref="766721923"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">11</int>
+ <reference key="object" ref="307425348"/>
+ <reference key="parent" ref="766721923"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">12</int>
+ <reference key="object" ref="1045304159"/>
+ <reference key="parent" ref="766721923"/>
+ </object>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="flattenedProperties">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>-1.CustomClassName</string>
+ <string>-1.IBPluginDependency</string>
+ <string>-2.CustomClassName</string>
+ <string>-2.IBPluginDependency</string>
+ <string>11.IBPluginDependency</string>
+ <string>12.IBPluginDependency</string>
+ <string>2.IBPluginDependency</string>
+ <string>5.IBPluginDependency</string>
+ <string>6.IBPluginDependency</string>
+ <string>9.IBPluginDependency</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>Page1View</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>UIResponder</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="unlocalizedProperties">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference key="dict.sortedKeys" ref="0"/>
+ <reference key="dict.values" ref="0"/>
+ </object>
+ <nil key="activeLocalization"/>
+ <object class="NSMutableDictionary" key="localizations">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference key="dict.sortedKeys" ref="0"/>
+ <reference key="dict.values" ref="0"/>
+ </object>
+ <nil key="sourceID"/>
+ <int key="maxID">12</int>
+ </object>
+ <object class="IBClassDescriber" key="IBDocument.Classes">
+ <object class="NSMutableArray" key="referencedPartialClassDescriptions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBPartialClassDescription">
+ <string key="className">Page1View</string>
+ <string key="superclassName">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">./Classes/Page1View.h</string>
+ </object>
+ </object>
+ </object>
+ </object>
+ <int key="IBDocument.localizationMode">0</int>
+ <string key="IBDocument.TargetRuntimeIdentifier">IBIPadFramework</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
+ <integer value="3100" key="NS.object.0"/>
+ </object>
+ <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
+ <int key="IBDocument.defaultPropertyAccessControl">3</int>
+ <string key="IBCocoaTouchPluginVersion">534</string>
+ </data>
+</archive>
13 Samples/iPad/FireUIPagedScrollViewiPadSample/Page2View.h
@@ -0,0 +1,13 @@
+//
+// Page2View.h
+// FireUIPagedScrollViewiPadSample
+//
+// Created by Johan Hernandez on 8/24/11.
+// Copyright 2011 Firebase. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface Page2View : UIViewController
+
+@end
51 Samples/iPad/FireUIPagedScrollViewiPadSample/Page2View.m
@@ -0,0 +1,51 @@
+//
+// Page2View.m
+// FireUIPagedScrollViewiPadSample
+//
+// Created by Johan Hernandez on 8/24/11.
+// Copyright 2011 Firebase. All rights reserved.
+//
+
+#import "Page2View.h"
+
+@implementation Page2View
+
+- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
+{
+ self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
+ if (self) {
+ // Custom initialization
+ }
+ return self;
+}
+
+- (void)didReceiveMemoryWarning
+{
+ // Releases the view if it doesn't have a superview.
+ [super didReceiveMemoryWarning];
+
+ // Release any cached data, images, etc that aren't in use.
+}
+
+#pragma mark - View lifecycle
+
+- (void)viewDidLoad
+{
+ [super viewDidLoad];
+ // Do any additional setup after loading the view from its nib.
+}
+
+- (void)viewDidUnload
+{
+ [super viewDidUnload];
+ // Release any retained subviews of the main view.
+ // e.g. self.myOutlet = nil;
+}
+
+- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
+{
+ // Return YES for supported orientations
+ return YES;
+}
+
+@end
241 Samples/iPad/FireUIPagedScrollViewiPadSample/Page2View.xib
@@ -0,0 +1,241 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="7.10">
+ <data>
+ <int key="IBDocument.SystemTarget">1056</int>
+ <string key="IBDocument.SystemVersion">11B26</string>
+ <string key="IBDocument.InterfaceBuilderVersion">1617</string>
+ <string key="IBDocument.AppKitVersion">1138</string>
+ <string key="IBDocument.HIToolboxVersion">566.00</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="NS.object.0">534</string>
+ </object>
+ <object class="NSArray" key="IBDocument.IntegratedClassDependencies">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>IBUITextView</string>
+ <string>IBUIView</string>
+ <string>IBUILabel</string>
+ <string>IBProxyObject</string>
+ </object>
+ <object class="NSArray" key="IBDocument.PluginDependencies">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </object>
+ <object class="NSMutableDictionary" key="IBDocument.Metadata">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys" id="0">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ <reference key="dict.values" ref="0"/>
+ </object>
+ <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBProxyObject" id="841351856">
+ <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ </object>
+ <object class="IBProxyObject" id="606714003">
+ <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ </object>
+ <object class="IBUIView" id="268838171">
+ <reference key="NSNextResponder"/>
+ <int key="NSvFlags">292</int>
+ <object class="NSMutableArray" key="NSSubviews">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBUILabel" id="250945030">
+ <reference key="NSNextResponder" ref="268838171"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{50, 20}, {427, 28}}</string>
+ <reference key="NSSuperview" ref="268838171"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="720922575"/>
+ <string key="NSReuseIdentifierKey">_NS:327</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <int key="IBUIContentMode">7</int>
+ <bool key="IBUIUserInteractionEnabled">NO</bool>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ <string key="IBUIText">Page 2</string>
+ <object class="NSFont" key="IBUIFont">
+ <string key="NSName">Helvetica</string>
+ <double key="NSSize">25</double>
+ <int key="NSfFlags">16</int>
+ </object>
+ <object class="NSColor" key="IBUITextColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC45MDgxNjMyNjUzIDAuOTA4MTYzMjY1MyAwLjkwODE2MzI2NTMAA</bytes>
+ </object>
+ <nil key="IBUIHighlightedColor"/>
+ <object class="NSColor" key="IBUIShadowColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC4zNTYyMjYwODQyIDAuMzU2MjI2MDg0MiAwLjM1NjIyNjA4NDIAA</bytes>
+ </object>
+ <string key="IBUIShadowOffset">{1, 1}</string>
+ <int key="IBUIBaselineAdjustment">1</int>
+ <float key="IBUIMinimumFontSize">10</float>
+ </object>
+ <object class="IBUITextView" id="720922575">
+ <reference key="NSNextResponder" ref="268838171"/>
+ <int key="NSvFlags">290</int>
+ <string key="NSFrame">{{58, 63}, {937, 353}}</string>
+ <reference key="NSSuperview" ref="268838171"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView"/>
+ <string key="NSReuseIdentifierKey">_NS:615</string>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MCAwAA</bytes>
+ </object>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <bool key="IBUIMultipleTouchEnabled">YES</bool>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ <bool key="IBUIShowsHorizontalScrollIndicator">NO</bool>
+ <bool key="IBUIEditable">NO</bool>
+ <object class="NSMutableString" key="IBUIText">
+ <characters key="NS.bytes">At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat. On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, that they cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through weakness of will, which is the same as saying through shrinking from toil and pain. These cases are perfectly simple and easy to distinguish. In a free hour, when our power of choice is untrammelled and when nothing prevents our being able to do what we like best, every pleasure is to be welcomed and every pain avoided. But in certain circumstances and owing to the claims of duty or the obligations of business it will frequently occur that pleasures have to be repudiated and annoyances accepted. The wise man therefore always holds in these matters to this principle of selection: he rejects pleasures to secure other greater pleasures, or else he endures pains to avoid worse pains</characters>
+ </object>
+ <object class="NSColor" key="IBUITextColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC45NjA2MTgxNjk1IDAuOTcxNjU5NzU3NyAwLjk3MTY1OTc1NzcAA</bytes>
+ </object>
+ <object class="IBUITextInputTraits" key="IBUITextInputTraits">
+ <int key="IBUIAutocapitalizationType">2</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ </object>
+ </object>
+ <string key="NSFrame">{{0, 20}, {1024, 748}}</string>
+ <reference key="NSSuperview"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="250945030"/>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC41MjUzMzA4MzU1IDAuNTI1MzMwODM1NSAwLjUyNTMzMDgzNTUAA</bytes>
+ </object>
+ <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
+ <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics">
+ <int key="IBUIStatusBarStyle">2</int>
+ </object>
+ <object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
+ <int key="IBUIInterfaceOrientation">3</int>
+ <int key="interfaceOrientation">3</int>
+ </object>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ </object>
+ </object>
+ <object class="IBObjectContainer" key="IBDocument.Objects">
+ <object class="NSMutableArray" key="connectionRecords">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">view</string>
+ <reference key="source" ref="841351856"/>
+ <reference key="destination" ref="268838171"/>
+ </object>
+ <int key="connectionID">10</int>
+ </object>
+ </object>
+ <object class="IBMutableOrderedSet" key="objectRecords">
+ <object class="NSArray" key="orderedObjects">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBObjectRecord">
+ <int key="objectID">0</int>
+ <reference key="object" ref="0"/>
+ <reference key="children" ref="1000"/>
+ <nil key="parent"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-1</int>
+ <reference key="object" ref="841351856"/>
+ <reference key="parent" ref="0"/>
+ <string key="objectName">File's Owner</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-2</int>
+ <reference key="object" ref="606714003"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">4</int>
+ <reference key="object" ref="268838171"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="720922575"/>
+ <reference ref="250945030"/>
+ </object>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">8</int>
+ <reference key="object" ref="720922575"/>
+ <reference key="parent" ref="268838171"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">9</int>
+ <reference key="object" ref="250945030"/>
+ <reference key="parent" ref="268838171"/>
+ </object>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="flattenedProperties">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>-1.CustomClassName</string>
+ <string>-1.IBPluginDependency</string>
+ <string>-2.CustomClassName</string>
+ <string>-2.IBPluginDependency</string>
+ <string>4.IBPluginDependency</string>
+ <string>8.IBPluginDependency</string>
+ <string>9.IBPluginDependency</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>Page2View</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>UIResponder</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="unlocalizedProperties">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference key="dict.sortedKeys" ref="0"/>
+ <reference key="dict.values" ref="0"/>
+ </object>
+ <nil key="activeLocalization"/>
+ <object class="NSMutableDictionary" key="localizations">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference key="dict.sortedKeys" ref="0"/>
+ <reference key="dict.values" ref="0"/>
+ </object>
+ <nil key="sourceID"/>
+ <int key="maxID">10</int>
+ </object>
+ <object class="IBClassDescriber" key="IBDocument.Classes">
+ <object class="NSMutableArray" key="referencedPartialClassDescriptions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBPartialClassDescription">
+ <string key="className">Page2View</string>
+ <string key="superclassName">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">./Classes/Page2View.h</string>
+ </object>
+ </object>
+ </object>
+ </object>
+ <int key="IBDocument.localizationMode">0</int>
+ <string key="IBDocument.TargetRuntimeIdentifier">IBIPadFramework</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
+ <integer value="3100" key="NS.object.0"/>
+ </object>
+ <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
+ <int key="IBDocument.defaultPropertyAccessControl">3</int>
+ <string key="IBCocoaTouchPluginVersion">534</string>
+ </data>
+</archive>
13 Samples/iPad/FireUIPagedScrollViewiPadSample/Page3View.h
@@ -0,0 +1,13 @@
+//
+// Page3View.h
+// FireUIPagedScrollViewiPadSample
+//
+// Created by Johan Hernandez on 8/24/11.
+// Copyright 2011 Firebase. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface Page3View : UIViewController
+
+@end
51 Samples/iPad/FireUIPagedScrollViewiPadSample/Page3View.m
@@ -0,0 +1,51 @@
+//
+// Page3View.m
+// FireUIPagedScrollViewiPadSample
+//
+// Created by Johan Hernandez on 8/24/11.
+// Copyright 2011 Firebase. All rights reserved.
+//
+
+#import "Page3View.h"
+
+@implementation Page3View
+
+- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
+{
+ self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
+ if (self) {
+ // Custom initialization
+ }
+ return self;
+}
+
+- (void)didReceiveMemoryWarning
+{
+ // Releases the view if it doesn't have a superview.
+ [super didReceiveMemoryWarning];
+
+ // Release any cached data, images, etc that aren't in use.
+}
+
+#pragma mark - View lifecycle
+
+- (void)viewDidLoad
+{
+ [super viewDidLoad];
+ // Do any additional setup after loading the view from its nib.
+}
+
+- (void)viewDidUnload
+{
+ [super viewDidUnload];
+ // Release any retained subviews of the main view.
+ // e.g. self.myOutlet = nil;
+}
+
+- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
+{
+ // Return YES for supported orientations
+ return YES;
+}
+
+@end
241 Samples/iPad/FireUIPagedScrollViewiPadSample/Page3View.xib
@@ -0,0 +1,241 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="7.10">
+ <data>
+ <int key="IBDocument.SystemTarget">1056</int>
+ <string key="IBDocument.SystemVersion">11B26</string>
+ <string key="IBDocument.InterfaceBuilderVersion">1617</string>
+ <string key="IBDocument.AppKitVersion">1138</string>
+ <string key="IBDocument.HIToolboxVersion">566.00</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="NS.object.0">534</string>