Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

new example, update and fork to PSPushPopPressView

  • Loading branch information...
commit 82bd0544934ca28cd462b9f51c207f193dc25414 1 parent 93186ab
Peter Steinberger authored November 16, 2011

Showing 34 changed files with 7,516 additions and 1,236 deletions. Show diff stats Hide diff stats

  1. 99  BSSPushPopPressView.h
  2. 317  BSSPushPopPressViewDemo/BSSPushPopPressViewDemo.xcodeproj/project.pbxproj
  3. 14  BSSPushPopPressViewDemo/BSSPushPopPressViewDemo/BSSPushPopPressViewDemo-Prefix.pch
  4. 17  BSSPushPopPressViewDemo/BSSPushPopPressViewDemo/BSSPushPopPressViewDemoAppDelegate.h
  5. 28  BSSPushPopPressViewDemo/BSSPushPopPressViewDemo/BSSPushPopPressViewDemoAppDelegate.m
  6. 16  BSSPushPopPressViewDemo/BSSPushPopPressViewDemo/BSSPushPopPressViewDemoViewController.h
  7. 132  BSSPushPopPressViewDemo/BSSPushPopPressViewDemo/BSSPushPopPressViewDemoViewController.m
  8. BIN  BSSPushPopPressViewDemo/BSSPushPopPressViewDemo/backgroundImage.png
  9. BIN  BSSPushPopPressViewDemo/BSSPushPopPressViewDemo/backgroundImage2.png
  10. 154  BSSPushPopPressViewDemo/BSSPushPopPressViewDemo/en.lproj/BSSPushPopPressViewDemoViewController.xib
  11. 263  BSSPushPopPressViewDemo/BSSPushPopPressViewDemo/en.lproj/MainWindow.xib
  12. 15  BSSPushPopPressViewDemo/BSSPushPopPressViewDemo/main.m
  13. BIN  BSSPushPopPressViewDemo/BSSPushPopPressViewDemo/sampleimage.jpg
  14. 347  Example/PSPushPopPressViewExample.xcodeproj/project.pbxproj
  15. 2  ....xcodeproj → Example/PSPushPopPressViewExample.xcodeproj}/project.xcworkspace/contents.xcworkspacedata
  16. 63  Example/PSPushPopPressViewExample/AVPlayerDemoPlaybackView.h
  17. 89  Example/PSPushPopPressViewExample/AVPlayerDemoPlaybackView.m
  18. 91  Example/PSPushPopPressViewExample/AVPlayerDemoPlaybackViewController.h
  19. 852  Example/PSPushPopPressViewExample/AVPlayerDemoPlaybackViewController.m
  20. 18  Example/PSPushPopPressViewExample/PSAppDelegate.h
  21. 40  Example/PSPushPopPressViewExample/PSAppDelegate.m
  22. 19  Example/PSPushPopPressViewExample/PSExampleViewController.h
  23. 155  Example/PSPushPopPressViewExample/PSExampleViewController.m
  24. 24  ...shPopPressViewDemo-Info.plist → Example/PSPushPopPressViewExample/PSPushPopPressViewExample-Info.plist
  25. 14  Example/PSPushPopPressViewExample/PSPushPopPressViewExample-Prefix.pch
  26. 514  Example/PSPushPopPressViewExample/Resources/AVPlayerDemoPlaybackView-iPad.xib
  27. 492  Example/PSPushPopPressViewExample/Resources/AVPlayerDemoPlaybackView.xib
  28. 4,571  Example/PSPushPopPressViewExample/Resources/ExampleView.xib
  29. BIN  Example/PSPushPopPressViewExample/Resources/cat.jpg
  30. 1  ...pPressViewDemo/BSSPushPopPressViewDemo → Example/PSPushPopPressViewExample}/en.lproj/InfoPlist.strings
  31. 16  Example/PSPushPopPressViewExample/main.m
  32. 2  LICENSE
  33. 79  PSPushPopPressView.h
  34. 308  BSSPushPopPressView.m → PSPushPopPressView.m
99  BSSPushPopPressView.h
... ...
@@ -1,99 +0,0 @@
1  
-//
2  
-// -----------------------------------------------------------------------------
3  
-// Copyright (c) 2011 Blacksmith Software
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
13  
-// all 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
21  
-// THE SOFTWARE.
22  
-// -----------------------------------------------------------------------------
23  
-//
24  
-//  BSSPushPopPressView.h
25  
-//
26  
-//  Copyright 2011 Blacksmith Software. All rights reserved.
27  
-//  Modified by Peter Steinberger, 2011.
28  
-//
29  
-
30  
-#import <Foundation/Foundation.h>
31  
-
32  
-@class BSSPushPopPressView;
33  
-
34  
-@protocol BSSPushPopPressViewDelegate<NSObject>
35  
-@optional
36  
-- (void) bssPushPopPressViewDidStartManipulation: (BSSPushPopPressView*) pushPopPressView;
37  
-- (void) bssPushPopPressViewDidFinishManipulation: (BSSPushPopPressView*) pushPopPressView;
38  
-
39  
-- (void) bssPushPopPressViewWillAnimateToOriginalFrame: (BSSPushPopPressView*) pushPopPressView duration: (NSTimeInterval) duration;
40  
-- (void) bssPushPopPressViewDidAnimateToOriginalFrame: (BSSPushPopPressView*) pushPopPressView;
41  
-
42  
-- (void) bssPushPopPressViewWillAnimateToFullscreenWindowFrame: (BSSPushPopPressView*) pushPopPressView duration: (NSTimeInterval) duration;
43  
-- (void) bssPushPopPressViewDidAnimateToFullscreenWindowFrame: (BSSPushPopPressView*) pushPopPressView;
44  
-
45  
-- (BOOL) bssPushPopPressViewShouldAllowTapToAnimateToOriginalFrame: (BSSPushPopPressView*) pushPopPressView;
46  
-- (BOOL) bssPushPopPressViewShouldAllowTapToAnimateToFullscreenWindowFrame: (BSSPushPopPressView*) pushPopPressView;
47  
-
48  
-/// only active if allowSingleTapSwitch is enabled (default)
49  
-- (void) bssPushPopPressViewDidReceiveTap: (BSSPushPopPressView*) pushPopPressView;
50  
-
51  
-@end
52  
-
53  
-@interface BSSPushPopPressView : UIView<UIGestureRecognizerDelegate> {
54  
-    UITapGestureRecognizer* tapRecognizer;
55  
-    UIPanGestureRecognizer* panRecognizer_;
56  
-
57  
-    CGAffineTransform scaleTransform;
58  
-    CGAffineTransform rotateTransform;
59  
-    CGAffineTransform panTransform;
60  
-    CGRect initialFrame_;
61  
-    
62  
-    BOOL allowSingleTapSwitch;
63  
-    BOOL fullscreen;
64  
-    BOOL fullscreenAnimationActive;
65  
-    BOOL beingDragged;
66  
-    BOOL gesturesEnded;
67  
-    BOOL scaleActive;
68  
-    BOOL ignoreStatusBar;
69  
-    
70  
-    NSMutableSet* currentTouches;
71  
-}
72  
-
73  
-@property (nonatomic, assign) id<BSSPushPopPressViewDelegate> pushPopPressViewDelegate;
74  
-
75  
-/// returns true if fullscreen is enabled
76  
-@property (nonatomic, readonly, getter=isFullscreen) BOOL fullscreen;
77  
-
78  
-/// true if one or more fingers are on the view
79  
-@property (nonatomic, readonly, getter=isBeingDragged) BOOL beingDragged;
80  
-
81  
-/// set initialFrame if you change frame after initWithFrame
82  
-@property (nonatomic, assign) CGRect initialFrame;
83  
-
84  
-/// allow mode switching via single tap. Defaults to YES.
85  
-@property (nonatomic, assign) BOOL allowSingleTapSwitch;
86  
-
87  
-@property (nonatomic, assign) BOOL ignoreStatusBar;
88  
-
89  
-
90  
-/// animate/move to fullscreen
91  
-- (void)moveToFullscreenWindowAnimated:(BOOL)animated;
92  
-
93  
-/// animate/moves to initialFrame size
94  
-- (void)moveToOriginalFrameAnimated:(BOOL)animated;
95  
-
96  
-/// align view based on current size (either initialPosition or fullscreen)
97  
-- (void)alignViewAnimated:(BOOL)animated bounces:(BOOL)bounces;
98  
-
99  
-@end
317  BSSPushPopPressViewDemo/BSSPushPopPressViewDemo.xcodeproj/project.pbxproj
... ...
@@ -1,317 +0,0 @@
1  
-// !$*UTF8*$!
2  
-{
3  
-	archiveVersion = 1;
4  
-	classes = {
5  
-	};
6  
-	objectVersion = 46;
7  
-	objects = {
8  
-
9  
-/* Begin PBXBuildFile section */
10  
-		5B5F830B13DB27CD00B7BD41 /* backgroundImage.png in Resources */ = {isa = PBXBuildFile; fileRef = 5B5F830A13DB27CD00B7BD41 /* backgroundImage.png */; };
11  
-		5B92536613D858C600E5FD25 /* BSSPushPopPressView.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B92536513D858C600E5FD25 /* BSSPushPopPressView.m */; };
12  
-		5B92536813D858CF00E5FD25 /* sampleimage.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 5B92536713D858CF00E5FD25 /* sampleimage.jpg */; };
13  
-		5B92536A13D862A400E5FD25 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5B92536913D862A400E5FD25 /* QuartzCore.framework */; };
14  
-		5BC6BD9B13DD8B5B00E85BAB /* backgroundImage2.png in Resources */ = {isa = PBXBuildFile; fileRef = 5BC6BD9A13DD8B5B00E85BAB /* backgroundImage2.png */; };
15  
-		5BC7305813D858840079A0D8 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5BC7305713D858840079A0D8 /* UIKit.framework */; };
16  
-		5BC7305A13D858840079A0D8 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5BC7305913D858840079A0D8 /* Foundation.framework */; };
17  
-		5BC7305C13D858840079A0D8 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5BC7305B13D858840079A0D8 /* CoreGraphics.framework */; };
18  
-		5BC7306213D858840079A0D8 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 5BC7306013D858840079A0D8 /* InfoPlist.strings */; };
19  
-		5BC7306413D858840079A0D8 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 5BC7306313D858840079A0D8 /* main.m */; };
20  
-		5BC7306813D858840079A0D8 /* BSSPushPopPressViewDemoAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 5BC7306713D858840079A0D8 /* BSSPushPopPressViewDemoAppDelegate.m */; };
21  
-		5BC7306B13D858840079A0D8 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5BC7306913D858840079A0D8 /* MainWindow.xib */; };
22  
-		5BC7306E13D858840079A0D8 /* BSSPushPopPressViewDemoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 5BC7306D13D858840079A0D8 /* BSSPushPopPressViewDemoViewController.m */; };
23  
-		5BC7307113D858840079A0D8 /* BSSPushPopPressViewDemoViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5BC7306F13D858840079A0D8 /* BSSPushPopPressViewDemoViewController.xib */; };
24  
-/* End PBXBuildFile section */
25  
-
26  
-/* Begin PBXFileReference section */
27  
-		5B5F830A13DB27CD00B7BD41 /* backgroundImage.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = backgroundImage.png; sourceTree = "<group>"; };
28  
-		5B92536413D858C600E5FD25 /* BSSPushPopPressView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BSSPushPopPressView.h; path = ../../BSSPushPopPressView.h; sourceTree = "<group>"; };
29  
-		5B92536513D858C600E5FD25 /* BSSPushPopPressView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = BSSPushPopPressView.m; path = ../../BSSPushPopPressView.m; sourceTree = "<group>"; };
30  
-		5B92536713D858CF00E5FD25 /* sampleimage.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = sampleimage.jpg; sourceTree = "<group>"; };
31  
-		5B92536913D862A400E5FD25 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
32  
-		5BC6BD9A13DD8B5B00E85BAB /* backgroundImage2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = backgroundImage2.png; sourceTree = "<group>"; };
33  
-		5BC7305313D858840079A0D8 /* BSSPushPopPressViewDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = BSSPushPopPressViewDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
34  
-		5BC7305713D858840079A0D8 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
35  
-		5BC7305913D858840079A0D8 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
36  
-		5BC7305B13D858840079A0D8 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
37  
-		5BC7305F13D858840079A0D8 /* BSSPushPopPressViewDemo-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "BSSPushPopPressViewDemo-Info.plist"; sourceTree = "<group>"; };
38  
-		5BC7306113D858840079A0D8 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
39  
-		5BC7306313D858840079A0D8 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
40  
-		5BC7306513D858840079A0D8 /* BSSPushPopPressViewDemo-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "BSSPushPopPressViewDemo-Prefix.pch"; sourceTree = "<group>"; };
41  
-		5BC7306613D858840079A0D8 /* BSSPushPopPressViewDemoAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BSSPushPopPressViewDemoAppDelegate.h; sourceTree = "<group>"; };
42  
-		5BC7306713D858840079A0D8 /* BSSPushPopPressViewDemoAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BSSPushPopPressViewDemoAppDelegate.m; sourceTree = "<group>"; };
43  
-		5BC7306A13D858840079A0D8 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainWindow.xib; sourceTree = "<group>"; };
44  
-		5BC7306C13D858840079A0D8 /* BSSPushPopPressViewDemoViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BSSPushPopPressViewDemoViewController.h; sourceTree = "<group>"; };
45  
-		5BC7306D13D858840079A0D8 /* BSSPushPopPressViewDemoViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BSSPushPopPressViewDemoViewController.m; sourceTree = "<group>"; };
46  
-		5BC7307013D858840079A0D8 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/BSSPushPopPressViewDemoViewController.xib; sourceTree = "<group>"; };
47  
-/* End PBXFileReference section */
48  
-
49  
-/* Begin PBXFrameworksBuildPhase section */
50  
-		5BC7305013D858840079A0D8 /* Frameworks */ = {
51  
-			isa = PBXFrameworksBuildPhase;
52  
-			buildActionMask = 2147483647;
53  
-			files = (
54  
-				5B92536A13D862A400E5FD25 /* QuartzCore.framework in Frameworks */,
55  
-				5BC7305813D858840079A0D8 /* UIKit.framework in Frameworks */,
56  
-				5BC7305A13D858840079A0D8 /* Foundation.framework in Frameworks */,
57  
-				5BC7305C13D858840079A0D8 /* CoreGraphics.framework in Frameworks */,
58  
-			);
59  
-			runOnlyForDeploymentPostprocessing = 0;
60  
-		};
61  
-/* End PBXFrameworksBuildPhase section */
62  
-
63  
-/* Begin PBXGroup section */
64  
-		5BC7304813D858830079A0D8 = {
65  
-			isa = PBXGroup;
66  
-			children = (
67  
-				5BC7305D13D858840079A0D8 /* BSSPushPopPressViewDemo */,
68  
-				5BC7305613D858840079A0D8 /* Frameworks */,
69  
-				5BC7305413D858840079A0D8 /* Products */,
70  
-			);
71  
-			sourceTree = "<group>";
72  
-		};
73  
-		5BC7305413D858840079A0D8 /* Products */ = {
74  
-			isa = PBXGroup;
75  
-			children = (
76  
-				5BC7305313D858840079A0D8 /* BSSPushPopPressViewDemo.app */,
77  
-			);
78  
-			name = Products;
79  
-			sourceTree = "<group>";
80  
-		};
81  
-		5BC7305613D858840079A0D8 /* Frameworks */ = {
82  
-			isa = PBXGroup;
83  
-			children = (
84  
-				5B92536913D862A400E5FD25 /* QuartzCore.framework */,
85  
-				5BC7305713D858840079A0D8 /* UIKit.framework */,
86  
-				5BC7305913D858840079A0D8 /* Foundation.framework */,
87  
-				5BC7305B13D858840079A0D8 /* CoreGraphics.framework */,
88  
-			);
89  
-			name = Frameworks;
90  
-			sourceTree = "<group>";
91  
-		};
92  
-		5BC7305D13D858840079A0D8 /* BSSPushPopPressViewDemo */ = {
93  
-			isa = PBXGroup;
94  
-			children = (
95  
-				5B92536413D858C600E5FD25 /* BSSPushPopPressView.h */,
96  
-				5B92536513D858C600E5FD25 /* BSSPushPopPressView.m */,
97  
-				5BC7306613D858840079A0D8 /* BSSPushPopPressViewDemoAppDelegate.h */,
98  
-				5BC7306713D858840079A0D8 /* BSSPushPopPressViewDemoAppDelegate.m */,
99  
-				5BC7306913D858840079A0D8 /* MainWindow.xib */,
100  
-				5BC7306C13D858840079A0D8 /* BSSPushPopPressViewDemoViewController.h */,
101  
-				5BC7306D13D858840079A0D8 /* BSSPushPopPressViewDemoViewController.m */,
102  
-				5BC7306F13D858840079A0D8 /* BSSPushPopPressViewDemoViewController.xib */,
103  
-				5BC7305E13D858840079A0D8 /* Supporting Files */,
104  
-			);
105  
-			path = BSSPushPopPressViewDemo;
106  
-			sourceTree = "<group>";
107  
-		};
108  
-		5BC7305E13D858840079A0D8 /* Supporting Files */ = {
109  
-			isa = PBXGroup;
110  
-			children = (
111  
-				5B92536713D858CF00E5FD25 /* sampleimage.jpg */,
112  
-				5B5F830A13DB27CD00B7BD41 /* backgroundImage.png */,
113  
-				5BC6BD9A13DD8B5B00E85BAB /* backgroundImage2.png */,
114  
-				5BC7305F13D858840079A0D8 /* BSSPushPopPressViewDemo-Info.plist */,
115  
-				5BC7306013D858840079A0D8 /* InfoPlist.strings */,
116  
-				5BC7306313D858840079A0D8 /* main.m */,
117  
-				5BC7306513D858840079A0D8 /* BSSPushPopPressViewDemo-Prefix.pch */,
118  
-			);
119  
-			name = "Supporting Files";
120  
-			sourceTree = "<group>";
121  
-		};
122  
-/* End PBXGroup section */
123  
-
124  
-/* Begin PBXNativeTarget section */
125  
-		5BC7305213D858840079A0D8 /* BSSPushPopPressViewDemo */ = {
126  
-			isa = PBXNativeTarget;
127  
-			buildConfigurationList = 5BC7307413D858840079A0D8 /* Build configuration list for PBXNativeTarget "BSSPushPopPressViewDemo" */;
128  
-			buildPhases = (
129  
-				5BC7304F13D858840079A0D8 /* Sources */,
130  
-				5BC7305013D858840079A0D8 /* Frameworks */,
131  
-				5BC7305113D858840079A0D8 /* Resources */,
132  
-			);
133  
-			buildRules = (
134  
-			);
135  
-			dependencies = (
136  
-			);
137  
-			name = BSSPushPopPressViewDemo;
138  
-			productName = BSSPushPopPressViewDemo;
139  
-			productReference = 5BC7305313D858840079A0D8 /* BSSPushPopPressViewDemo.app */;
140  
-			productType = "com.apple.product-type.application";
141  
-		};
142  
-/* End PBXNativeTarget section */
143  
-
144  
-/* Begin PBXProject section */
145  
-		5BC7304A13D858830079A0D8 /* Project object */ = {
146  
-			isa = PBXProject;
147  
-			attributes = {
148  
-				LastUpgradeCheck = 0420;
149  
-				ORGANIZATIONNAME = "Blacksmith Software";
150  
-			};
151  
-			buildConfigurationList = 5BC7304D13D858830079A0D8 /* Build configuration list for PBXProject "BSSPushPopPressViewDemo" */;
152  
-			compatibilityVersion = "Xcode 3.2";
153  
-			developmentRegion = English;
154  
-			hasScannedForEncodings = 0;
155  
-			knownRegions = (
156  
-				en,
157  
-			);
158  
-			mainGroup = 5BC7304813D858830079A0D8;
159  
-			productRefGroup = 5BC7305413D858840079A0D8 /* Products */;
160  
-			projectDirPath = "";
161  
-			projectRoot = "";
162  
-			targets = (
163  
-				5BC7305213D858840079A0D8 /* BSSPushPopPressViewDemo */,
164  
-			);
165  
-		};
166  
-/* End PBXProject section */
167  
-
168  
-/* Begin PBXResourcesBuildPhase section */
169  
-		5BC7305113D858840079A0D8 /* Resources */ = {
170  
-			isa = PBXResourcesBuildPhase;
171  
-			buildActionMask = 2147483647;
172  
-			files = (
173  
-				5BC7306213D858840079A0D8 /* InfoPlist.strings in Resources */,
174  
-				5BC7306B13D858840079A0D8 /* MainWindow.xib in Resources */,
175  
-				5BC7307113D858840079A0D8 /* BSSPushPopPressViewDemoViewController.xib in Resources */,
176  
-				5B92536813D858CF00E5FD25 /* sampleimage.jpg in Resources */,
177  
-				5B5F830B13DB27CD00B7BD41 /* backgroundImage.png in Resources */,
178  
-				5BC6BD9B13DD8B5B00E85BAB /* backgroundImage2.png in Resources */,
179  
-			);
180  
-			runOnlyForDeploymentPostprocessing = 0;
181  
-		};
182  
-/* End PBXResourcesBuildPhase section */
183  
-
184  
-/* Begin PBXSourcesBuildPhase section */
185  
-		5BC7304F13D858840079A0D8 /* Sources */ = {
186  
-			isa = PBXSourcesBuildPhase;
187  
-			buildActionMask = 2147483647;
188  
-			files = (
189  
-				5BC7306413D858840079A0D8 /* main.m in Sources */,
190  
-				5BC7306813D858840079A0D8 /* BSSPushPopPressViewDemoAppDelegate.m in Sources */,
191  
-				5BC7306E13D858840079A0D8 /* BSSPushPopPressViewDemoViewController.m in Sources */,
192  
-				5B92536613D858C600E5FD25 /* BSSPushPopPressView.m in Sources */,
193  
-			);
194  
-			runOnlyForDeploymentPostprocessing = 0;
195  
-		};
196  
-/* End PBXSourcesBuildPhase section */
197  
-
198  
-/* Begin PBXVariantGroup section */
199  
-		5BC7306013D858840079A0D8 /* InfoPlist.strings */ = {
200  
-			isa = PBXVariantGroup;
201  
-			children = (
202  
-				5BC7306113D858840079A0D8 /* en */,
203  
-			);
204  
-			name = InfoPlist.strings;
205  
-			sourceTree = "<group>";
206  
-		};
207  
-		5BC7306913D858840079A0D8 /* MainWindow.xib */ = {
208  
-			isa = PBXVariantGroup;
209  
-			children = (
210  
-				5BC7306A13D858840079A0D8 /* en */,
211  
-			);
212  
-			name = MainWindow.xib;
213  
-			sourceTree = "<group>";
214  
-		};
215  
-		5BC7306F13D858840079A0D8 /* BSSPushPopPressViewDemoViewController.xib */ = {
216  
-			isa = PBXVariantGroup;
217  
-			children = (
218  
-				5BC7307013D858840079A0D8 /* en */,
219  
-			);
220  
-			name = BSSPushPopPressViewDemoViewController.xib;
221  
-			sourceTree = "<group>";
222  
-		};
223  
-/* End PBXVariantGroup section */
224  
-
225  
-/* Begin XCBuildConfiguration section */
226  
-		5BC7307213D858840079A0D8 /* Debug */ = {
227  
-			isa = XCBuildConfiguration;
228  
-			buildSettings = {
229  
-				ALWAYS_SEARCH_USER_PATHS = NO;
230  
-				ARCHS = "$(ARCHS_UNIVERSAL_IPHONE_OS)";
231  
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
232  
-				COPY_PHASE_STRIP = NO;
233  
-				GCC_C_LANGUAGE_STANDARD = gnu99;
234  
-				GCC_DYNAMIC_NO_PIC = NO;
235  
-				GCC_OPTIMIZATION_LEVEL = 0;
236  
-				GCC_PREPROCESSOR_DEFINITIONS = (
237  
-					"DEBUG=1",
238  
-					"$(inherited)",
239  
-				);
240  
-				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
241  
-				GCC_VERSION = com.apple.compilers.llvmgcc42;
242  
-				GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
243  
-				GCC_WARN_ABOUT_RETURN_TYPE = YES;
244  
-				GCC_WARN_UNUSED_VARIABLE = YES;
245  
-				IPHONEOS_DEPLOYMENT_TARGET = 4.3;
246  
-				SDKROOT = iphoneos;
247  
-				TARGETED_DEVICE_FAMILY = 2;
248  
-			};
249  
-			name = Debug;
250  
-		};
251  
-		5BC7307313D858840079A0D8 /* Release */ = {
252  
-			isa = XCBuildConfiguration;
253  
-			buildSettings = {
254  
-				ALWAYS_SEARCH_USER_PATHS = NO;
255  
-				ARCHS = "$(ARCHS_UNIVERSAL_IPHONE_OS)";
256  
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
257  
-				COPY_PHASE_STRIP = YES;
258  
-				GCC_C_LANGUAGE_STANDARD = gnu99;
259  
-				GCC_VERSION = com.apple.compilers.llvmgcc42;
260  
-				GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
261  
-				GCC_WARN_ABOUT_RETURN_TYPE = YES;
262  
-				GCC_WARN_UNUSED_VARIABLE = YES;
263  
-				IPHONEOS_DEPLOYMENT_TARGET = 4.3;
264  
-				OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
265  
-				SDKROOT = iphoneos;
266  
-				TARGETED_DEVICE_FAMILY = 2;
267  
-				VALIDATE_PRODUCT = YES;
268  
-			};
269  
-			name = Release;
270  
-		};
271  
-		5BC7307513D858840079A0D8 /* Debug */ = {
272  
-			isa = XCBuildConfiguration;
273  
-			buildSettings = {
274  
-				GCC_PRECOMPILE_PREFIX_HEADER = YES;
275  
-				GCC_PREFIX_HEADER = "BSSPushPopPressViewDemo/BSSPushPopPressViewDemo-Prefix.pch";
276  
-				INFOPLIST_FILE = "BSSPushPopPressViewDemo/BSSPushPopPressViewDemo-Info.plist";
277  
-				PRODUCT_NAME = "$(TARGET_NAME)";
278  
-				WRAPPER_EXTENSION = app;
279  
-			};
280  
-			name = Debug;
281  
-		};
282  
-		5BC7307613D858840079A0D8 /* Release */ = {
283  
-			isa = XCBuildConfiguration;
284  
-			buildSettings = {
285  
-				GCC_PRECOMPILE_PREFIX_HEADER = YES;
286  
-				GCC_PREFIX_HEADER = "BSSPushPopPressViewDemo/BSSPushPopPressViewDemo-Prefix.pch";
287  
-				INFOPLIST_FILE = "BSSPushPopPressViewDemo/BSSPushPopPressViewDemo-Info.plist";
288  
-				PRODUCT_NAME = "$(TARGET_NAME)";
289  
-				WRAPPER_EXTENSION = app;
290  
-			};
291  
-			name = Release;
292  
-		};
293  
-/* End XCBuildConfiguration section */
294  
-
295  
-/* Begin XCConfigurationList section */
296  
-		5BC7304D13D858830079A0D8 /* Build configuration list for PBXProject "BSSPushPopPressViewDemo" */ = {
297  
-			isa = XCConfigurationList;
298  
-			buildConfigurations = (
299  
-				5BC7307213D858840079A0D8 /* Debug */,
300  
-				5BC7307313D858840079A0D8 /* Release */,
301  
-			);
302  
-			defaultConfigurationIsVisible = 0;
303  
-			defaultConfigurationName = Release;
304  
-		};
305  
-		5BC7307413D858840079A0D8 /* Build configuration list for PBXNativeTarget "BSSPushPopPressViewDemo" */ = {
306  
-			isa = XCConfigurationList;
307  
-			buildConfigurations = (
308  
-				5BC7307513D858840079A0D8 /* Debug */,
309  
-				5BC7307613D858840079A0D8 /* Release */,
310  
-			);
311  
-			defaultConfigurationIsVisible = 0;
312  
-			defaultConfigurationName = Release;
313  
-		};
314  
-/* End XCConfigurationList section */
315  
-	};
316  
-	rootObject = 5BC7304A13D858830079A0D8 /* Project object */;
317  
-}
14  BSSPushPopPressViewDemo/BSSPushPopPressViewDemo/BSSPushPopPressViewDemo-Prefix.pch
... ...
@@ -1,14 +0,0 @@
1  
-//
2  
-// Prefix header for all source files of the 'BSSPushPopPressViewDemo' target in the 'BSSPushPopPressViewDemo' project
3  
-//
4  
-
5  
-#import <Availability.h>
6  
-
7  
-#ifndef __IPHONE_3_0
8  
-#warning "This project uses features only available in iPhone SDK 3.0 and later."
9  
-#endif
10  
-
11  
-#ifdef __OBJC__
12  
-    #import <UIKit/UIKit.h>
13  
-    #import <Foundation/Foundation.h>
14  
-#endif
17  BSSPushPopPressViewDemo/BSSPushPopPressViewDemo/BSSPushPopPressViewDemoAppDelegate.h
... ...
@@ -1,17 +0,0 @@
1  
-//
2  
-//  BSSPushPopPressViewDemoAppDelegate.h
3  
-//
4  
-//  Copyright 2011 Blacksmith Software. All rights reserved.
5  
-//
6  
-
7  
-#import <UIKit/UIKit.h>
8  
-
9  
-@class BSSPushPopPressViewDemoViewController;
10  
-
11  
-@interface BSSPushPopPressViewDemoAppDelegate : NSObject <UIApplicationDelegate>
12  
-
13  
-@property (nonatomic, retain) IBOutlet UIWindow *window;
14  
-
15  
-@property (nonatomic, retain) IBOutlet BSSPushPopPressViewDemoViewController *viewController;
16  
-
17  
-@end
28  BSSPushPopPressViewDemo/BSSPushPopPressViewDemo/BSSPushPopPressViewDemoAppDelegate.m
... ...
@@ -1,28 +0,0 @@
1  
-//
2  
-//  BSSPushPopPressViewDemoAppDelegate.m
3  
-//
4  
-//  Copyright 2011 Blacksmith Software. All rights reserved.
5  
-//
6  
-
7  
-#import "BSSPushPopPressViewDemoAppDelegate.h"
8  
-#import "BSSPushPopPressViewDemoViewController.h"
9  
-
10  
-@implementation BSSPushPopPressViewDemoAppDelegate
11  
-
12  
-@synthesize window = _window;
13  
-@synthesize viewController = _viewController;
14  
-
15  
-- (BOOL) application: (UIApplication*) application didFinishLaunchingWithOptions: (NSDictionary*) launchOptions {
16  
-    self.window.rootViewController = self.viewController;
17  
-    [self.window makeKeyAndVisible];
18  
-    
19  
-    return YES;
20  
-}
21  
-
22  
-- (void) dealloc {
23  
-    [_window release];
24  
-    [_viewController release];
25  
-    [super dealloc];
26  
-}
27  
-
28  
-@end
16  BSSPushPopPressViewDemo/BSSPushPopPressViewDemo/BSSPushPopPressViewDemoViewController.h
... ...
@@ -1,16 +0,0 @@
1  
-//
2  
-//  BSSPushPopPressViewDemoViewController.h
3  
-//
4  
-//  Copyright 2011 Blacksmith Software. All rights reserved.
5  
-//
6  
-
7  
-#import <UIKit/UIKit.h>
8  
-#import "BSSPushPopPressView.h"
9  
-
10  
-@interface BSSPushPopPressViewDemoViewController : UIViewController<BSSPushPopPressViewDelegate> {
11  
-    BSSPushPopPressView* pushPopPressView;
12  
-    UIButton* playPauseButton;
13  
-}
14  
-
15  
-@property (nonatomic, retain) UIView* contentView;
16  
-@end
132  BSSPushPopPressViewDemo/BSSPushPopPressViewDemo/BSSPushPopPressViewDemoViewController.m
... ...
@@ -1,132 +0,0 @@
1  
-//
2  
-//  BSSPushPopPressViewDemoViewController.m
3  
-//
4  
-//  Copyright 2011 Blacksmith Software. All rights reserved.
5  
-//
6  
-
7  
-#import "BSSPushPopPressViewDemoViewController.h"
8  
-#import "BSSPushPopPressView.h"
9  
-
10  
-@implementation BSSPushPopPressViewDemoViewController
11  
-
12  
-@synthesize contentView;
13  
-
14  
-- (void) viewDidLoad {
15  
-    [super viewDidLoad];
16  
-    
17  
-    contentView = [[UIView alloc] initWithFrame: CGRectZero];
18  
-    UIImageView* backgroundImageView = [[UIImageView alloc] initWithImage: [UIImage imageNamed: @"backgroundImage2.png"]];
19  
-    backgroundImageView.frame = contentView.bounds;
20  
-    backgroundImageView.contentMode = UIViewContentModeScaleAspectFit;
21  
-    backgroundImageView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
22  
-    backgroundImageView.tag = 661;
23  
-    [contentView addSubview: backgroundImageView];
24  
-    
25  
-    [self.view addSubview: contentView];
26  
-}
27  
-
28  
-- (void) dealloc {
29  
-    [pushPopPressView release], pushPopPressView = nil;
30  
-    [playPauseButton release], playPauseButton = nil;
31  
-    [super dealloc];
32  
-}
33  
-
34  
-- (void) viewDidAppear:(BOOL)animated {
35  
-    [super viewDidAppear: animated];
36  
-    
37  
-    contentView.frame = CGRectMake(-20, -15, self.view.window.bounds.size.width + 40, self.view.window.bounds.size.height + 30);
38  
-    [contentView viewWithTag: 661].frame = CGRectMake(0, 0, self.view.window.bounds.size.width + 40, self.view.window.bounds.size.height + 30);
39  
-    
40  
-    pushPopPressView = [[BSSPushPopPressView alloc] initWithFrame: CGRectMake(305, 230, 396, 514)];
41  
-    pushPopPressView.pushPopPressViewDelegate = self;
42  
-    UIImageView* imageView = [[UIImageView alloc] initWithImage: [UIImage imageNamed: @"sampleimage.jpg"]];
43  
-    imageView.frame = CGRectMake(0, 0, 396, 514);
44  
-    imageView.userInteractionEnabled = NO;
45  
-    imageView.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth;
46  
-    [pushPopPressView addSubview: imageView];
47  
-    [imageView release];
48  
-    
49  
-/*  Uncomment to see how a play/pause button overlayed on the view might work
50  
-    playPauseButton = [[UIButton buttonWithType: UIButtonTypeCustom] retain];
51  
-    [playPauseButton setBackgroundColor: [UIColor redColor]];
52  
-    [playPauseButton setTitle: @"Play" forState: UIControlStateNormal];
53  
-    playPauseButton.frame = CGRectMake(150, 225, 96, 64);
54  
-    playPauseButton.autoresizingMask = UIViewAutoresizingFlexibleBottomMargin | UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin | UIViewAutoresizingFlexibleTopMargin;
55  
-    [pushPopPressView addSubview: playPauseButton];
56  
-    playPauseButton.tag = 1;
57  
-    [playPauseButton addTarget: self action: @selector(playOrPause:) forControlEvents: UIControlEventTouchUpInside];
58  
-    playPauseButton.userInteractionEnabled = YES;
59  
- */
60  
-    
61  
-    [self.view addSubview: pushPopPressView];
62  
-}
63  
-
64  
-- (void) viewDidUnload {
65  
-    [super viewDidUnload];
66  
-}
67  
-
68  
-- (BOOL) shouldAutorotateToInterfaceOrientation: (UIInterfaceOrientation) interfaceOrientation {
69  
-    return YES;
70  
-}
71  
-
72  
-- (void) bssPushPopPressViewDidStartManipulation: (BSSPushPopPressView*) pushPopPressView {
73  
-    NSLog(@"bssPushPopPressViewDidStartManipulation:");
74  
-    [UIView beginAnimations: nil context: nil];
75  
-    [UIView setAnimationDuration: 0.45];
76  
-    [UIView setAnimationBeginsFromCurrentState: YES];
77  
-    self.contentView.transform = CGAffineTransformMakeScale(0.97, 0.97);
78  
-    [UIView commitAnimations];
79  
-}
80  
-
81  
-- (void) bssPushPopPressViewDidFinishManipulation: (BSSPushPopPressView*) pushPopPressView {
82  
-    NSLog(@"bssPushPopPressViewDidFinishManipulation:");
83  
-    [UIView beginAnimations: nil context: nil];
84  
-    [UIView setAnimationDuration: 0.45];
85  
-    [UIView setAnimationBeginsFromCurrentState: YES];
86  
-    self.contentView.transform = CGAffineTransformIdentity;
87  
-    [UIView commitAnimations];
88  
-}
89  
-
90  
-- (void) bssPushPopPressViewWillAnimateToOriginalFrame: (BSSPushPopPressView*) pushPopPressView duration: (NSTimeInterval) duration {
91  
-    NSLog(@"bssPushPopPressViewWillAnimateToOriginalFrame:duration:");
92  
-}
93  
-
94  
-- (void) bssPushPopPressViewDidAnimateToOriginalFrame: (BSSPushPopPressView*) pushPopPressView {
95  
-    NSLog(@"bssPushPopPressViewDidAnimateToOriginalFrame:");
96  
-}
97  
-
98  
-- (void) bssPushPopPressViewWillAnimateToFullscreenWindowFrame: (BSSPushPopPressView*) pushPopPressView duration: (NSTimeInterval) duration {
99  
-    NSLog(@"bssPushPopPressViewWillAnimateToFullscreenWindowFrame:duration:");
100  
-}
101  
-
102  
-- (void) bssPushPopPressViewDidAnimateToFullscreenWindowFrame: (BSSPushPopPressView*) pushPopPressView {
103  
-    NSLog(@"bssPushPopPressViewDidAnimateToFullscreenWindowFrame:");
104  
-}
105  
-
106  
-- (BOOL) bssPushPopPressViewShouldAllowTapToAnimateToOriginalFrame: (BSSPushPopPressView*) pushPopPressView {
107  
-    NSLog(@"bssPushPopPressViewShouldAllowTapToAnimateToOriginalFrame:");
108  
-    return playPauseButton.tag != 2;
109  
-}
110  
-
111  
-- (BOOL) bssPushPopPressViewShouldAllowTapToAnimateToFullscreenWindowFrame: (BSSPushPopPressView*) pushPopPressView {
112  
-    NSLog(@"bssPushPopPressViewShouldAllowTapToAnimateToFullscreenWindowFrame:");
113  
-    return YES;
114  
-}
115  
-
116  
-- (void) bssPushPopPressViewDidReceiveTap: (BSSPushPopPressView*) pushPopPressView {
117  
-    NSLog(@"bssPushPopPressViewDidReceiveTap:");
118  
-}
119  
-
120  
-- (void) playOrPause: (id) sender {
121  
-    if (playPauseButton.tag == 1) {
122  
-        [playPauseButton setTitle: @"Pause" forState: UIControlStateNormal];
123  
-        playPauseButton.tag = 2;
124  
-        [pushPopPressView animateToFullscreenWindowFrame];
125  
-    } else if (playPauseButton.tag == 2) {
126  
-        playPauseButton.tag = 1;
127  
-        [playPauseButton setTitle: @"Play" forState: UIControlStateNormal];
128  
-        [pushPopPressView animateToOriginalFrame];
129  
-    }
130  
-}
131  
-
132  
-@end
BIN  BSSPushPopPressViewDemo/BSSPushPopPressViewDemo/backgroundImage.png
BIN  BSSPushPopPressViewDemo/BSSPushPopPressViewDemo/backgroundImage2.png
154  BSSPushPopPressViewDemo/BSSPushPopPressViewDemo/en.lproj/BSSPushPopPressViewDemoViewController.xib
... ...
@@ -1,154 +0,0 @@
1  
-<?xml version="1.0" encoding="UTF-8"?>
2  
-<archive type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="7.10">
3  
-	<data>
4  
-		<int key="IBDocument.SystemTarget">1280</int>
5  
-		<string key="IBDocument.SystemVersion">11A511</string>
6  
-		<string key="IBDocument.InterfaceBuilderVersion">1900</string>
7  
-		<string key="IBDocument.AppKitVersion">1138</string>
8  
-		<string key="IBDocument.HIToolboxVersion">566.00</string>
9  
-		<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
10  
-			<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
11  
-			<string key="NS.object.0">894</string>
12  
-		</object>
13  
-		<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
14  
-			<bool key="EncodedWithXMLCoder">YES</bool>
15  
-			<string>IBProxyObject</string>
16  
-			<string>IBUIView</string>
17  
-		</object>
18  
-		<object class="NSArray" key="IBDocument.PluginDependencies">
19  
-			<bool key="EncodedWithXMLCoder">YES</bool>
20  
-			<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
21  
-		</object>
22  
-		<object class="NSMutableDictionary" key="IBDocument.Metadata">
23  
-			<string key="NS.key.0">PluginDependencyRecalculationVersion</string>
24  
-			<integer value="1" key="NS.object.0"/>
25  
-		</object>
26  
-		<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
27  
-			<bool key="EncodedWithXMLCoder">YES</bool>
28  
-			<object class="IBProxyObject" id="841351856">
29  
-				<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
30  
-				<string key="targetRuntimeIdentifier">IBIPadFramework</string>
31  
-			</object>
32  
-			<object class="IBProxyObject" id="606714003">
33  
-				<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
34  
-				<string key="targetRuntimeIdentifier">IBIPadFramework</string>
35  
-			</object>
36  
-			<object class="IBUIView" id="766721923">
37  
-				<reference key="NSNextResponder"/>
38  
-				<int key="NSvFlags">274</int>
39  
-				<string key="NSFrameSize">{768, 1024}</string>
40  
-				<reference key="NSSuperview"/>
41  
-				<reference key="NSWindow"/>
42  
-				<reference key="NSNextKeyView"/>
43  
-				<object class="NSColor" key="IBUIBackgroundColor">
44  
-					<int key="NSColorSpace">3</int>
45  
-					<bytes key="NSWhite">MQA</bytes>
46  
-					<object class="NSColorSpace" key="NSCustomColorSpace">
47  
-						<int key="NSID">2</int>
48  
-					</object>
49  
-				</object>
50  
-				<string key="targetRuntimeIdentifier">IBIPadFramework</string>
51  
-			</object>
52  
-		</object>
53  
-		<object class="IBObjectContainer" key="IBDocument.Objects">
54  
-			<object class="NSMutableArray" key="connectionRecords">
55  
-				<bool key="EncodedWithXMLCoder">YES</bool>
56  
-				<object class="IBConnectionRecord">
57  
-					<object class="IBCocoaTouchOutletConnection" key="connection">
58  
-						<string key="label">view</string>
59  
-						<reference key="source" ref="841351856"/>
60  
-						<reference key="destination" ref="766721923"/>
61  
-					</object>
62  
-					<int key="connectionID">3</int>
63  
-				</object>
64  
-			</object>
65  
-			<object class="IBMutableOrderedSet" key="objectRecords">
66  
-				<object class="NSArray" key="orderedObjects">
67  
-					<bool key="EncodedWithXMLCoder">YES</bool>
68  
-					<object class="IBObjectRecord">
69  
-						<int key="objectID">0</int>
70  
-						<object class="NSArray" key="object" id="0">
71  
-							<bool key="EncodedWithXMLCoder">YES</bool>
72  
-						</object>
73  
-						<reference key="children" ref="1000"/>
74  
-						<nil key="parent"/>
75  
-					</object>
76  
-					<object class="IBObjectRecord">
77  
-						<int key="objectID">-1</int>
78  
-						<reference key="object" ref="841351856"/>
79  
-						<reference key="parent" ref="0"/>
80  
-						<string key="objectName">File's Owner</string>
81  
-					</object>
82  
-					<object class="IBObjectRecord">
83  
-						<int key="objectID">-2</int>
84  
-						<reference key="object" ref="606714003"/>
85  
-						<reference key="parent" ref="0"/>
86  
-					</object>
87  
-					<object class="IBObjectRecord">
88  
-						<int key="objectID">2</int>
89  
-						<reference key="object" ref="766721923"/>
90  
-						<reference key="parent" ref="0"/>
91  
-					</object>
92  
-				</object>
93  
-			</object>
94  
-			<object class="NSMutableDictionary" key="flattenedProperties">
95  
-				<bool key="EncodedWithXMLCoder">YES</bool>
96  
-				<object class="NSArray" key="dict.sortedKeys">
97  
-					<bool key="EncodedWithXMLCoder">YES</bool>
98  
-					<string>-1.CustomClassName</string>
99  
-					<string>-1.IBPluginDependency</string>
100  
-					<string>-2.CustomClassName</string>
101  
-					<string>-2.IBPluginDependency</string>
102  
-					<string>2.IBPluginDependency</string>
103  
-				</object>
104  
-				<object class="NSMutableArray" key="dict.values">
105  
-					<bool key="EncodedWithXMLCoder">YES</bool>
106  
-					<string>BSSPushPopPressViewDemoViewController</string>
107  
-					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
108  
-					<string>UIResponder</string>
109  
-					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
110  
-					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
111  
-				</object>
112  
-			</object>
113  
-			<object class="NSMutableDictionary" key="unlocalizedProperties">
114  
-				<bool key="EncodedWithXMLCoder">YES</bool>
115  
-				<reference key="dict.sortedKeys" ref="0"/>
116  
-				<reference key="dict.values" ref="0"/>
117  
-			</object>
118  
-			<nil key="activeLocalization"/>
119  
-			<object class="NSMutableDictionary" key="localizations">
120  
-				<bool key="EncodedWithXMLCoder">YES</bool>
121  
-				<reference key="dict.sortedKeys" ref="0"/>
122  
-				<reference key="dict.values" ref="0"/>
123  
-			</object>
124  
-			<nil key="sourceID"/>
125  
-			<int key="maxID">3</int>
126  
-		</object>
127  
-		<object class="IBClassDescriber" key="IBDocument.Classes">
128  
-			<object class="NSMutableArray" key="referencedPartialClassDescriptions">
129  
-				<bool key="EncodedWithXMLCoder">YES</bool>
130  
-				<object class="IBPartialClassDescription">
131  
-					<string key="className">BSSPushPopPressViewDemoViewController</string>
132  
-					<string key="superclassName">UIViewController</string>
133  
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
134  
-						<string key="majorKey">IBProjectSource</string>
135  
-						<string key="minorKey">./Classes/BSSPushPopPressViewDemoViewController.h</string>
136  
-					</object>
137  
-				</object>
138  
-			</object>
139  
-		</object>
140  
-		<int key="IBDocument.localizationMode">0</int>
141  
-		<string key="IBDocument.TargetRuntimeIdentifier">IBIPadFramework</string>
142  
-		<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
143  
-			<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
144  
-			<real value="1280" key="NS.object.0"/>
145  
-		</object>
146  
-		<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
147  
-			<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
148  
-			<integer value="3100" key="NS.object.0"/>
149  
-		</object>
150  
-		<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
151  
-		<int key="IBDocument.defaultPropertyAccessControl">3</int>
152  
-		<string key="IBCocoaTouchPluginVersion">894</string>
153  
-	</data>
154  
-</archive>
263  BSSPushPopPressViewDemo/BSSPushPopPressViewDemo/en.lproj/MainWindow.xib
... ...
@@ -1,263 +0,0 @@
1  
-<?xml version="1.0" encoding="UTF-8"?>
2  
-<archive type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="7.10">
3  
-	<data>
4  
-		<int key="IBDocument.SystemTarget">1280</int>
5  
-		<string key="IBDocument.SystemVersion">11A511</string>
6  
-		<string key="IBDocument.InterfaceBuilderVersion">1900</string>
7  
-		<string key="IBDocument.AppKitVersion">1138</string>
8  
-		<string key="IBDocument.HIToolboxVersion">566.00</string>
9  
-		<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
10  
-			<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
11  
-			<string key="NS.object.0">894</string>
12  
-		</object>
13  
-		<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
14  
-			<bool key="EncodedWithXMLCoder">YES</bool>
15  
-			<string>IBUIWindow</string>
16  
-			<string>IBUICustomObject</string>
17  
-			<string>IBUIViewController</string>
18  
-			<string>IBProxyObject</string>
19  
-		</object>
20  
-		<object class="NSArray" key="IBDocument.PluginDependencies">
21  
-			<bool key="EncodedWithXMLCoder">YES</bool>
22  
-			<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
23  
-		</object>
24  
-		<object class="NSMutableDictionary" key="IBDocument.Metadata">
25  
-			<string key="NS.key.0">PluginDependencyRecalculationVersion</string>
26  
-			<integer value="1" key="NS.object.0"/>
27  
-		</object>
28  
-		<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
29  
-			<bool key="EncodedWithXMLCoder">YES</bool>
30  
-			<object class="IBProxyObject" id="841351856">
31  
-				<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
32  
-				<string key="targetRuntimeIdentifier">IBIPadFramework</string>
33  
-			</object>
34  
-			<object class="IBProxyObject" id="606714003">
35  
-				<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
36  
-				<string key="targetRuntimeIdentifier">IBIPadFramework</string>
37  
-			</object>
38  
-			<object class="IBUIWindow" id="62075450">
39  
-				<reference key="NSNextResponder"/>
40  
-				<int key="NSvFlags">292</int>
41  
-				<string key="NSFrameSize">{768, 1024}</string>
42  
-				<reference key="NSSuperview"/>
43  
-				<reference key="NSWindow"/>
44  
-				<object class="NSColor" key="IBUIBackgroundColor">
45  
-					<int key="NSColorSpace">1</int>
46  
-					<bytes key="NSRGB">MSAxIDEAA</bytes>
47  
-				</object>
48  
-				<bool key="IBUIOpaque">NO</bool>
49  
-				<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
50  
-				<object class="IBUIScreenMetrics" key="IBUISimulatedDestinationMetrics">
51  
-					<string key="IBUISimulatedSizeMetricsClass">IBUIScreenMetrics</string>
52  
-					<object class="NSMutableDictionary" key="IBUINormalizedOrientationToSizeMap">
53  
-						<bool key="EncodedWithXMLCoder">YES</bool>
54  
-						<object class="NSArray" key="dict.sortedKeys">
55  
-							<bool key="EncodedWithXMLCoder">YES</bool>
56  
-							<integer value="1"/>
57  
-							<integer value="3"/>
58  
-						</object>
59  
-						<object class="NSMutableArray" key="dict.values">
60  
-							<bool key="EncodedWithXMLCoder">YES</bool>
61  
-							<string>{768, 1024}</string>
62  
-							<string>{1024, 768}</string>
63  
-						</object>
64  
-					</object>
65  
-					<string key="IBUITargetRuntime">IBIPadFramework</string>
66  
-					<string key="IBUIDisplayName">iPad Full Screen</string>
67  
-				</object>
68  
-				<string key="targetRuntimeIdentifier">IBIPadFramework</string>
69  
-				<bool key="IBUIResizesToFullScreen">YES</bool>
70  
-			</object>
71  
-			<object class="IBUICustomObject" id="250404236">
72  
-				<string key="targetRuntimeIdentifier">IBIPadFramework</string>
73  
-			</object>
74  
-			<object class="IBUIViewController" id="578626022">
75  
-				<string key="IBUINibName">BSSPushPopPressViewDemoViewController</string>
76  
-				<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics">
77  
-					<int key="IBUIStatusBarStyle">2</int>
78  
-				</object>
79  
-				<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
80  
-					<int key="IBUIInterfaceOrientation">1</int>
81  
-					<int key="interfaceOrientation">1</int>
82  
-				</object>
83  
-				<string key="targetRuntimeIdentifier">IBIPadFramework</string>
84  
-				<bool key="IBUIHorizontal">NO</bool>
85  
-			</object>
86  
-		</object>
87  
-		<object class="IBObjectContainer" key="IBDocument.Objects">
88  
-			<object class="NSMutableArray" key="connectionRecords">
89  
-				<bool key="EncodedWithXMLCoder">YES</bool>
90  
-				<object class="IBConnectionRecord">
91  
-					<object class="IBCocoaTouchOutletConnection" key="connection">
92  
-						<string key="label">viewController</string>
93  
-						<reference key="source" ref="250404236"/>
94  
-						<reference key="destination" ref="578626022"/>
95  
-					</object>
96  
-					<int key="connectionID">8</int>
97  
-				</object>
98  
-				<object class="IBConnectionRecord">
99  
-					<object class="IBCocoaTouchOutletConnection" key="connection">
100  
-						<string key="label">delegate</string>
101  
-						<reference key="source" ref="841351856"/>
102  
-						<reference key="destination" ref="250404236"/>
103  
-					</object>
104  
-					<int key="connectionID">9</int>
105  
-				</object>
106  
-				<object class="IBConnectionRecord">
107  
-					<object class="IBCocoaTouchOutletConnection" key="connection">
108  
-						<string key="label">window</string>
109  
-						<reference key="source" ref="250404236"/>
110  
-						<reference key="destination" ref="62075450"/>
111  
-					</object>
112  
-					<int key="connectionID">10</int>
113  
-				</object>
114  
-			</object>
115  
-			<object class="IBMutableOrderedSet" key="objectRecords">
116  
-				<object class="NSArray" key="orderedObjects">
117  
-					<bool key="EncodedWithXMLCoder">YES</bool>
118  
-					<object class="IBObjectRecord">
119  
-						<int key="objectID">0</int>
120  
-						<object class="NSArray" key="object" id="0">
121  
-							<bool key="EncodedWithXMLCoder">YES</bool>
122  
-						</object>
123  
-						<reference key="children" ref="1000"/>
124  
-						<nil key="parent"/>
125  
-					</object>
126  
-					<object class="IBObjectRecord">
127  
-						<int key="objectID">-1</int>
128  
-						<reference key="object" ref="841351856"/>
129  
-						<reference key="parent" ref="0"/>
130  
-						<string key="objectName">File's Owner</string>
131  
-					</object>
132  
-					<object class="IBObjectRecord">
133  
-						<int key="objectID">-2</int>
134  
-						<reference key="object" ref="606714003"/>
135  
-						<reference key="parent" ref="0"/>
136  
-					</object>
137  
-					<object class="IBObjectRecord">
138  
-						<int key="objectID">2</int>
139  
-						<reference key="object" ref="62075450"/>
140  
-						<reference key="parent" ref="0"/>
141  
-					</object>
142  
-					<object class="IBObjectRecord">
143  
-						<int key="objectID">6</int>
144  
-						<reference key="object" ref="250404236"/>
145  
-						<reference key="parent" ref="0"/>
146  
-						<string key="objectName">BSSPushPopPressViewDemo App Delegate</string>
147  
-					</object>
148  
-					<object class="IBObjectRecord">
149  
-						<int key="objectID">7</int>
150  
-						<reference key="object" ref="578626022"/>
151  
-						<reference key="parent" ref="0"/>
152  
-					</object>
153  
-				</object>
154  
-			</object>
155  
-			<object class="NSMutableDictionary" key="flattenedProperties">
156  
-				<bool key="EncodedWithXMLCoder">YES</bool>
157  
-				<object class="NSArray" key="dict.sortedKeys">
158  
-					<bool key="EncodedWithXMLCoder">YES</bool>
159  
-					<string>-1.CustomClassName</string>
160  
-					<string>-1.IBPluginDependency</string>
161  
-					<string>-2.CustomClassName</string>
162  
-					<string>-2.IBPluginDependency</string>
163  
-					<string>2.IBPluginDependency</string>
164  
-					<string>6.CustomClassName</string>
165  
-					<string>6.IBPluginDependency</string>
166  
-					<string>7.CustomClassName</string>
167  
-					<string>7.IBPluginDependency</string>
168  
-				</object>
169  
-				<object class="NSMutableArray" key="dict.values">