Browse files

Initial commit

  • Loading branch information...
1 parent 8a45672 commit 54725f8b11c27c7d7b5bd73ec99226b09c01969e Jayson Lane committed Mar 8, 2012
View
BIN Default.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Default@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
24 OpenBook.xcodeproj/project.pbxproj
@@ -20,6 +20,9 @@
D55693221509354600ED95EE /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D55693031509354600ED95EE /* Foundation.framework */; };
D556932A1509354600ED95EE /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = D55693281509354600ED95EE /* InfoPlist.strings */; };
D556932D1509354600ED95EE /* OpenBookTests.m in Sources */ = {isa = PBXBuildFile; fileRef = D556932C1509354600ED95EE /* OpenBookTests.m */; };
+ D556933A150951EF00ED95EE /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = D5569339150951EF00ED95EE /* Default@2x.png */; };
+ D556933C15095B5800ED95EE /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D556933B15095B5800ED95EE /* QuartzCore.framework */; };
+ D55693421509643800ED95EE /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = D55693411509643800ED95EE /* Default.png */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
@@ -37,28 +40,32 @@
D55693011509354600ED95EE /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
D55693031509354600ED95EE /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
D55693051509354600ED95EE /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
- D55693091509354600ED95EE /* OpenBook-Info.plist */ = {isa = PBXFileReference; path = "OpenBook-Info.plist"; sourceTree = "<group>"; };
+ D55693091509354600ED95EE /* OpenBook-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "OpenBook-Info.plist"; sourceTree = "<group>"; };
D556930B1509354600ED95EE /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
D556930D1509354600ED95EE /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
- D556930F1509354600ED95EE /* OpenBook-Prefix.pch */ = {isa = PBXFileReference; path = "OpenBook-Prefix.pch"; sourceTree = "<group>"; };
- D55693101509354600ED95EE /* AppDelegate.h */ = {isa = PBXFileReference; path = AppDelegate.h; sourceTree = "<group>"; };
+ D556930F1509354600ED95EE /* OpenBook-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "OpenBook-Prefix.pch"; sourceTree = "<group>"; };
+ D55693101509354600ED95EE /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
D55693111509354600ED95EE /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
- D55693131509354600ED95EE /* ViewController.h */ = {isa = PBXFileReference; path = ViewController.h; sourceTree = "<group>"; };
+ D55693131509354600ED95EE /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
D55693141509354600ED95EE /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
D55693171509354600ED95EE /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/ViewController.xib; sourceTree = "<group>"; };
D556931E1509354600ED95EE /* OpenBookTests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = OpenBookTests.octest; sourceTree = BUILT_PRODUCTS_DIR; };
D556931F1509354600ED95EE /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; };
- D55693271509354600ED95EE /* OpenBookTests-Info.plist */ = {isa = PBXFileReference; path = "OpenBookTests-Info.plist"; sourceTree = "<group>"; };
+ D55693271509354600ED95EE /* OpenBookTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "OpenBookTests-Info.plist"; sourceTree = "<group>"; };
D55693291509354600ED95EE /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
- D556932B1509354600ED95EE /* OpenBookTests.h */ = {isa = PBXFileReference; path = OpenBookTests.h; sourceTree = "<group>"; };
+ D556932B1509354600ED95EE /* OpenBookTests.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = OpenBookTests.h; sourceTree = "<group>"; };
D556932C1509354600ED95EE /* OpenBookTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = OpenBookTests.m; sourceTree = "<group>"; };
+ D5569339150951EF00ED95EE /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = "<group>"; };
+ D556933B15095B5800ED95EE /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
+ D55693411509643800ED95EE /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
D55692FA1509354600ED95EE /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
+ D556933C15095B5800ED95EE /* QuartzCore.framework in Frameworks */,
D55693021509354600ED95EE /* UIKit.framework in Frameworks */,
D55693041509354600ED95EE /* Foundation.framework in Frameworks */,
D55693061509354600ED95EE /* CoreGraphics.framework in Frameworks */,
@@ -81,6 +88,8 @@
D55692F21509354500ED95EE = {
isa = PBXGroup;
children = (
+ D55693411509643800ED95EE /* Default.png */,
+ D5569339150951EF00ED95EE /* Default@2x.png */,
D55693071509354600ED95EE /* OpenBook */,
D55693251509354600ED95EE /* OpenBookTests */,
D55693001509354600ED95EE /* Frameworks */,
@@ -100,6 +109,7 @@
D55693001509354600ED95EE /* Frameworks */ = {
isa = PBXGroup;
children = (
+ D556933B15095B5800ED95EE /* QuartzCore.framework */,
D55693011509354600ED95EE /* UIKit.framework */,
D55693031509354600ED95EE /* Foundation.framework */,
D55693051509354600ED95EE /* CoreGraphics.framework */,
@@ -224,6 +234,8 @@
files = (
D556930C1509354600ED95EE /* InfoPlist.strings in Resources */,
D55693181509354600ED95EE /* ViewController.xib in Resources */,
+ D556933A150951EF00ED95EE /* Default@2x.png in Resources */,
+ D55693421509643800ED95EE /* Default.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
View
12 OpenBook/AppDelegate.h
@@ -3,17 +3,25 @@
// OpenBook
//
// Created by Jayson Lane on 3/8/12.
-// Copyright (c) 2012 Sparq Media. All rights reserved.
//
#import <UIKit/UIKit.h>
@class ViewController;
-@interface AppDelegate : UIResponder <UIApplicationDelegate>
+@interface AppDelegate : UIResponder <UIApplicationDelegate> {
+
+
+ UIImageView *splashImage;
+
+
+}
+
+@property (nonatomic, retain) UIImageView *splashImage;
@property (strong, nonatomic) UIWindow *window;
@property (strong, nonatomic) ViewController *viewController;
+
@end
View
27 OpenBook/AppDelegate.m
@@ -3,15 +3,17 @@
// OpenBook
//
// Created by Jayson Lane on 3/8/12.
-// Copyright (c) 2012 Sparq Media. All rights reserved.
//
#import "AppDelegate.h"
#import "ViewController.h"
+#import <QuartzCore/QuartzCore.h>
+
@implementation AppDelegate
+@synthesize splashImage;
@synthesize window = _window;
@synthesize viewController = _viewController;
@@ -22,7 +24,30 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
self.viewController = [[ViewController alloc] initWithNibName:@"ViewController" bundle:nil];
self.window.rootViewController = self.viewController;
[self.window makeKeyAndVisible];
+
+
+ // Add the image to the forefront...
+ splashImage = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)];
+ [splashImage setImage: [UIImage imageNamed:@"Default"]];
+ [self.window addSubview:splashImage];
+ [self.window bringSubviewToFront:splashImage];
+
+ self.splashImage.layer.anchorPoint = CGPointMake(0, 0.5);
+ self.splashImage.frame = CGRectMake(0, 0, 320, 480);
+
+ [UIView animateWithDuration:1.0
+ delay:0.6
+ options:(UIViewAnimationCurveEaseOut)
+ animations:^{
+
+ self.splashImage.layer.transform = CATransform3DRotate(CATransform3DIdentity, -M_PI_2, 0, 1, 0);
+ } completion:^(BOOL finished){
+ // completion code
+ [self.splashImage removeFromSuperview];
+ }];
+
return YES;
+
}
- (void)applicationWillResignActive:(UIApplication *)application
View
11 OpenBook/OpenBook-Info.plist
@@ -8,6 +8,17 @@
<string>${PRODUCT_NAME}</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIcons</key>
+ <dict>
+ <key>CFBundlePrimaryIcon</key>
+ <dict>
+ <key>CFBundleIconFiles</key>
+ <array>
+ <string>Default@2x.png</string>
+ <string>Default.png</string>
+ </array>
+ </dict>
+ </dict>
<key>CFBundleIdentifier</key>
<string>net.jaysonlane.${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
View
1 OpenBook/ViewController.h
@@ -3,7 +3,6 @@
// OpenBook
//
// Created by Jayson Lane on 3/8/12.
-// Copyright (c) 2012 Sparq Media. All rights reserved.
//
#import <UIKit/UIKit.h>
View
1 OpenBook/ViewController.m
@@ -3,7 +3,6 @@
// OpenBook
//
// Created by Jayson Lane on 3/8/12.
-// Copyright (c) 2012 Sparq Media. All rights reserved.
//
#import "ViewController.h"
View
56 OpenBook/en.lproj/ViewController.xib
@@ -2,17 +2,18 @@
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
<data>
<int key="IBDocument.SystemTarget">1280</int>
- <string key="IBDocument.SystemVersion">11C25</string>
- <string key="IBDocument.InterfaceBuilderVersion">1919</string>
- <string key="IBDocument.AppKitVersion">1138.11</string>
- <string key="IBDocument.HIToolboxVersion">566.00</string>
+ <string key="IBDocument.SystemVersion">11D50</string>
+ <string key="IBDocument.InterfaceBuilderVersion">2177</string>
+ <string key="IBDocument.AppKitVersion">1138.32</string>
+ <string key="IBDocument.HIToolboxVersion">568.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string key="NS.object.0">916</string>
+ <string key="NS.object.0">1173</string>
</object>
<array key="IBDocument.IntegratedClassDependencies">
<string>IBProxyObject</string>
<string>IBUIView</string>
+ <string>IBUILabel</string>
</array>
<array key="IBDocument.PluginDependencies">
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
@@ -33,6 +34,38 @@
<object class="IBUIView" id="774585933">
<reference key="NSNextResponder"/>
<int key="NSvFlags">274</int>
+ <array class="NSMutableArray" key="NSSubviews">
+ <object class="IBUILabel" id="491024198">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{114, 156}, {93, 21}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <reference key="NSWindow"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <int key="IBUIContentMode">7</int>
+ <bool key="IBUIUserInteractionEnabled">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <string key="IBUIText">Hello World!</string>
+ <object class="NSColor" key="IBUITextColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MCAwIDAAA</bytes>
+ </object>
+ <nil key="IBUIHighlightedColor"/>
+ <int key="IBUIBaselineAdjustment">0</int>
+ <float key="IBUIMinimumFontSize">10</float>
+ <object class="IBUIFontDescription" key="IBUIFontDescription">
+ <int key="type">1</int>
+ <double key="pointSize">17</double>
+ </object>
+ <object class="NSFont" key="IBUIFont">
+ <string key="NSName">Helvetica</string>
+ <double key="NSSize">17</double>
+ <int key="NSfFlags">16</int>
+ </object>
+ </object>
+ </array>
<string key="NSFrame">{{0, 20}, {320, 460}}</string>
<reference key="NSSuperview"/>
<reference key="NSWindow"/>
@@ -81,8 +114,16 @@
<object class="IBObjectRecord">
<int key="objectID">6</int>
<reference key="object" ref="774585933"/>
+ <array class="NSMutableArray" key="children">
+ <reference ref="491024198"/>
+ </array>
<reference key="parent" ref="0"/>
</object>
+ <object class="IBObjectRecord">
+ <int key="objectID">8</int>
+ <reference key="object" ref="491024198"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
</array>
</object>
<dictionary class="NSMutableDictionary" key="flattenedProperties">
@@ -91,12 +132,13 @@
<string key="-2.CustomClassName">UIResponder</string>
<string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="6.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="8.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</dictionary>
<dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
<nil key="activeLocalization"/>
<dictionary class="NSMutableDictionary" key="localizations"/>
<nil key="sourceID"/>
- <int key="maxID">7</int>
+ <int key="maxID">8</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<array class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -114,6 +156,6 @@
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
- <string key="IBCocoaTouchPluginVersion">916</string>
+ <string key="IBCocoaTouchPluginVersion">1173</string>
</data>
</archive>

0 comments on commit 54725f8

Please sign in to comment.