aboutsummaryrefslogtreecommitdiffstats
path: root/iBean/iBean
diff options
context:
space:
mode:
authorEddie Ehlin <eddiex@eddiex.se>2012-12-28 19:54:53 +0100
committerEddie Ehlin <eddiex@eddiex.se>2012-12-28 19:54:53 +0100
commit1ab920d1c14fc513be0333aee4a6f911188e1132 (patch)
tree795e91d412320bd8e9ed2a076e924a549954fe15 /iBean/iBean
downloadiBean-1ab920d1c14fc513be0333aee4a6f911188e1132.tar.gz
iBean-1ab920d1c14fc513be0333aee4a6f911188e1132.zip
Initial commit containing base project
Diffstat (limited to 'iBean/iBean')
-rw-r--r--iBean/iBean/AppDelegate.h15
-rw-r--r--iBean/iBean/AppDelegate.m46
-rw-r--r--iBean/iBean/Default-568h@2x.pngbin0 -> 18594 bytes
-rw-r--r--iBean/iBean/Default.pngbin0 -> 6540 bytes
-rw-r--r--iBean/iBean/Default@2x.pngbin0 -> 16107 bytes
-rw-r--r--iBean/iBean/FirstViewController.h13
-rw-r--r--iBean/iBean/FirstViewController.m29
-rw-r--r--iBean/iBean/InstaBeanViewController.h13
-rw-r--r--iBean/iBean/InstaBeanViewController.m39
-rw-r--r--iBean/iBean/en.lproj/InfoPlist.strings2
-rw-r--r--iBean/iBean/en.lproj/MainStoryboard_iPad.storyboard138
-rw-r--r--iBean/iBean/en.lproj/MainStoryboard_iPhone.storyboard123
-rw-r--r--iBean/iBean/first.pngbin0 -> 253 bytes
-rw-r--r--iBean/iBean/first@2x.pngbin0 -> 402 bytes
-rw-r--r--iBean/iBean/iBean-Info.plist59
-rw-r--r--iBean/iBean/iBean-Prefix.pch14
-rw-r--r--iBean/iBean/main.m18
-rw-r--r--iBean/iBean/second.pngbin0 -> 128 bytes
-rw-r--r--iBean/iBean/second@2x.pngbin0 -> 130 bytes
19 files changed, 509 insertions, 0 deletions
diff --git a/iBean/iBean/AppDelegate.h b/iBean/iBean/AppDelegate.h
new file mode 100644
index 0000000..9fe045e
--- /dev/null
+++ b/iBean/iBean/AppDelegate.h
@@ -0,0 +1,15 @@
+//
+// AppDelegate.h
+// iBean
+//
+// Created by Eddie Ehlin on 2012-12-28.
+// Copyright (c) 2012 Eddie Ehlin. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface AppDelegate : UIResponder <UIApplicationDelegate>
+
+@property (strong, nonatomic) UIWindow *window;
+
+@end
diff --git a/iBean/iBean/AppDelegate.m b/iBean/iBean/AppDelegate.m
new file mode 100644
index 0000000..a044a2c
--- /dev/null
+++ b/iBean/iBean/AppDelegate.m
@@ -0,0 +1,46 @@
+//
+// AppDelegate.m
+// iBean
+//
+// Created by Eddie Ehlin on 2012-12-28.
+// Copyright (c) 2012 Eddie Ehlin. All rights reserved.
+//
+
+#import "AppDelegate.h"
+
+@implementation AppDelegate
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
+{
+ // Override point for customization after application launch.
+ 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:.
+}
+
+@end
diff --git a/iBean/iBean/Default-568h@2x.png b/iBean/iBean/Default-568h@2x.png
new file mode 100644
index 0000000..0891b7a
--- /dev/null
+++ b/iBean/iBean/Default-568h@2x.png
Binary files differ
diff --git a/iBean/iBean/Default.png b/iBean/iBean/Default.png
new file mode 100644
index 0000000..4c8ca6f
--- /dev/null
+++ b/iBean/iBean/Default.png
Binary files differ
diff --git a/iBean/iBean/Default@2x.png b/iBean/iBean/Default@2x.png
new file mode 100644
index 0000000..35b84cf
--- /dev/null
+++ b/iBean/iBean/Default@2x.png
Binary files differ
diff --git a/iBean/iBean/FirstViewController.h b/iBean/iBean/FirstViewController.h
new file mode 100644
index 0000000..a195d8a
--- /dev/null
+++ b/iBean/iBean/FirstViewController.h
@@ -0,0 +1,13 @@
+//
+// FirstViewController.h
+// iBean
+//
+// Created by Eddie Ehlin on 2012-12-28.
+// Copyright (c) 2012 Eddie Ehlin. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface FirstViewController : UIViewController
+
+@end
diff --git a/iBean/iBean/FirstViewController.m b/iBean/iBean/FirstViewController.m
new file mode 100644
index 0000000..8041fe7
--- /dev/null
+++ b/iBean/iBean/FirstViewController.m
@@ -0,0 +1,29 @@
+//
+// FirstViewController.m
+// iBean
+//
+// Created by Eddie Ehlin on 2012-12-28.
+// Copyright (c) 2012 Eddie Ehlin. All rights reserved.
+//
+
+#import "FirstViewController.h"
+
+@interface FirstViewController ()
+
+@end
+
+@implementation FirstViewController
+
+- (void)viewDidLoad
+{
+ [super viewDidLoad];
+ // Do any additional setup after loading the view, typically from a nib.
+}
+
+- (void)didReceiveMemoryWarning
+{
+ [super didReceiveMemoryWarning];
+ // Dispose of any resources that can be recreated.
+}
+
+@end
diff --git a/iBean/iBean/InstaBeanViewController.h b/iBean/iBean/InstaBeanViewController.h
new file mode 100644
index 0000000..a6d7700
--- /dev/null
+++ b/iBean/iBean/InstaBeanViewController.h
@@ -0,0 +1,13 @@
+//
+// InstaBeanViewController.h
+// iBean
+//
+// Created by Eddie Ehlin on 2012-12-28.
+// Copyright (c) 2012 Eddie Ehlin. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface InstaBeanViewController : UIViewController
+
+@end
diff --git a/iBean/iBean/InstaBeanViewController.m b/iBean/iBean/InstaBeanViewController.m
new file mode 100644
index 0000000..776a8b5
--- /dev/null
+++ b/iBean/iBean/InstaBeanViewController.m
@@ -0,0 +1,39 @@
+//
+// InstaBeanViewController.m
+// iBean
+//
+// Created by Eddie Ehlin on 2012-12-28.
+// Copyright (c) 2012 Eddie Ehlin. All rights reserved.
+//
+
+#import "InstaBeanViewController.h"
+
+@interface InstaBeanViewController ()
+
+@end
+
+@implementation InstaBeanViewController
+
+- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
+{
+ self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
+ if (self) {
+ // Custom initialization
+ }
+ return self;
+}
+
+- (void)viewDidLoad
+{
+ [super viewDidLoad];
+ NSLog(@"InstaBean viewDidLoad");
+ // Do any additional setup after loading the view.
+}
+
+- (void)didReceiveMemoryWarning
+{
+ [super didReceiveMemoryWarning];
+ // Dispose of any resources that can be recreated.
+}
+
+@end
diff --git a/iBean/iBean/en.lproj/InfoPlist.strings b/iBean/iBean/en.lproj/InfoPlist.strings
new file mode 100644
index 0000000..477b28f
--- /dev/null
+++ b/iBean/iBean/en.lproj/InfoPlist.strings
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
diff --git a/iBean/iBean/en.lproj/MainStoryboard_iPad.storyboard b/iBean/iBean/en.lproj/MainStoryboard_iPad.storyboard
new file mode 100644
index 0000000..de8ac9d
--- /dev/null
+++ b/iBean/iBean/en.lproj/MainStoryboard_iPad.storyboard
@@ -0,0 +1,138 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="2.0" toolsVersion="2844" systemVersion="12C60" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" useAutolayout="YES" initialViewController="4">
+ <dependencies>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="1930"/>
+ </dependencies>
+ <scenes>
+ <!--First View Controller - First-->
+ <scene sceneID="11">
+ <objects>
+ <viewController id="2" customClass="FirstViewController" sceneMemberID="viewController">
+ <view key="view" contentMode="scaleToFill" id="17">
+ <rect key="frame" x="0.0" y="20" width="768" height="955"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <subviews>
+ <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" text="First View" textAlignment="center" lineBreakMode="tailTruncation" minimumFontSize="10" translatesAutoresizingMaskIntoConstraints="NO" id="18">
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
+ <fontDescription key="fontDescription" name="Helvetica" family="Helvetica" pointSize="36"/>
+ <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
+ <nil key="highlightedColor"/>
+ </label>
+ <textView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" userInteractionEnabled="NO" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" delaysContentTouches="NO" canCancelContentTouches="NO" minimumZoomScale="0.0" maximumZoomScale="0.0" bouncesZoom="NO" editable="NO" text="Loaded by the First View Controller — an instance of FirstViewController — specified in the app delegate." textAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="19">
+ <constraints>
+ <constraint firstAttribute="width" constant="268" id="Ka6-KM-ccG"/>
+ <constraint firstAttribute="height" constant="70" id="WP3-kA-6dL"/>
+ </constraints>
+ <fontDescription key="fontDescription" type="system" size="system"/>
+ <textInputTraits key="textInputTraits"/>
+ </textView>
+ <toolbar opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="20">
+ <items/>
+ </toolbar>
+ </subviews>
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
+ <constraints>
+ <constraint firstItem="20" firstAttribute="leading" secondItem="17" secondAttribute="leading" type="default" id="21X-Fc-h5m"/>
+ <constraint firstItem="20" firstAttribute="top" secondItem="17" secondAttribute="top" type="default" id="82v-FK-dPD"/>
+ <constraint firstItem="18" firstAttribute="leading" secondItem="17" secondAttribute="leading" constant="20" symbolic="YES" type="default" id="9xU-8S-4zl"/>
+ <constraint firstAttribute="trailing" secondItem="18" secondAttribute="trailing" constant="20" symbolic="YES" type="default" id="GbQ-Sy-14J"/>
+ <constraint firstItem="19" firstAttribute="centerX" secondItem="18" secondAttribute="centerX" type="default" id="b0V-hJ-9Xa"/>
+ <constraint firstItem="20" firstAttribute="trailing" secondItem="17" secondAttribute="trailing" type="default" id="i7B-V8-9lR"/>
+ <constraint firstItem="18" firstAttribute="top" secondItem="17" secondAttribute="top" constant="250" id="oEv-T3-Vih"/>
+ <constraint firstItem="19" firstAttribute="top" secondItem="17" secondAttribute="top" constant="350" id="pKg-gt-hVJ"/>
+ </constraints>
+ </view>
+ <tabBarItem key="tabBarItem" title="First" image="first" id="7"/>
+ </viewController>
+ <placeholder placeholderIdentifier="IBFirstResponder" id="10" sceneMemberID="firstResponder"/>
+ </objects>
+ <point key="canvasLocation" x="3041" y="150"/>
+ </scene>
+ <!--Insta Bean View Controller - Second-->
+ <scene sceneID="13">
+ <objects>
+ <viewController id="3" customClass="InstaBeanViewController" sceneMemberID="viewController">
+ <view key="view" contentMode="scaleToFill" id="16">
+ <rect key="frame" x="0.0" y="20" width="768" height="955"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <subviews>
+ <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" text="Second View" textAlignment="center" lineBreakMode="tailTruncation" minimumFontSize="10" translatesAutoresizingMaskIntoConstraints="NO" id="21">
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+ <fontDescription key="fontDescription" name="Helvetica" family="Helvetica" pointSize="36"/>
+ <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
+ <nil key="highlightedColor"/>
+ </label>
+ <textView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" userInteractionEnabled="NO" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" delaysContentTouches="NO" canCancelContentTouches="NO" minimumZoomScale="0.0" maximumZoomScale="0.0" bouncesZoom="NO" editable="NO" text="Loaded by the Second View Controller — an instance of SecondViewController — specified in the app delegate." textAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="22">
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+ <constraints>
+ <constraint firstAttribute="height" constant="70" id="39I-E8-1dg"/>
+ <constraint firstAttribute="width" constant="297" id="F6J-XU-KBh"/>
+ </constraints>
+ <fontDescription key="fontDescription" type="system" size="system"/>
+ <textInputTraits key="textInputTraits"/>
+ </textView>
+ <navigationBar opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="23">
+ <items>
+ <navigationItem id="24"/>
+ </items>
+ </navigationBar>
+ </subviews>
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
+ <constraints>
+ <constraint firstItem="21" firstAttribute="leading" secondItem="16" secondAttribute="leading" constant="20" symbolic="YES" type="default" id="7D6-ef-UU9"/>
+ <constraint firstItem="22" firstAttribute="top" secondItem="16" secondAttribute="top" constant="350" id="Gbp-Dd-WCJ"/>
+ <constraint firstItem="22" firstAttribute="leading" secondItem="16" secondAttribute="leading" constant="235" id="Xcq-Zb-R4f"/>
+ <constraint firstItem="23" firstAttribute="top" secondItem="16" secondAttribute="top" type="default" id="YQd-P8-ET5"/>
+ <constraint firstItem="23" firstAttribute="trailing" secondItem="16" secondAttribute="trailing" type="default" id="eH6-Me-VTD"/>
+ <constraint firstItem="23" firstAttribute="leading" secondItem="16" secondAttribute="leading" type="default" id="kTD-uS-vbp"/>
+ <constraint firstItem="21" firstAttribute="top" secondItem="16" secondAttribute="top" constant="250" id="mE7-QV-f5n"/>
+ <constraint firstAttribute="trailing" secondItem="21" secondAttribute="trailing" constant="20" symbolic="YES" type="default" id="v87-JO-j7C"/>
+ </constraints>
+ </view>
+ <tabBarItem key="tabBarItem" title="Second" image="second" id="6"/>
+ </viewController>
+ <placeholder placeholderIdentifier="IBFirstResponder" id="12" sceneMemberID="firstResponder"/>
+ </objects>
+ <point key="canvasLocation" x="3042" y="1284"/>
+ </scene>
+ <!--Tab Bar Controller-->
+ <scene sceneID="15">
+ <objects>
+ <tabBarController id="4" sceneMemberID="viewController">
+ <nil key="simulatedBottomBarMetrics"/>
+ <tabBar key="tabBar" contentMode="scaleToFill" id="5">
+ <rect key="frame" x="0.0" y="975" width="768" height="49"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
+ <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
+ </tabBar>
+ <connections>
+ <segue destination="2" kind="relationship" relationship="viewControllers" id="27"/>
+ <segue destination="3" kind="relationship" relationship="viewControllers" id="28"/>
+ </connections>
+ </tabBarController>
+ <placeholder placeholderIdentifier="IBFirstResponder" id="14" sceneMemberID="firstResponder"/>
+ </objects>
+ <point key="canvasLocation" x="2023" y="718"/>
+ </scene>
+ </scenes>
+ <resources>
+ <image name="first" width="16" height="16"/>
+ <image name="second" width="16" height="16"/>
+ </resources>
+ <classes>
+ <class className="FirstViewController" superclassName="UIViewController">
+ <source key="sourceIdentifier" type="project" relativePath="./Classes/FirstViewController.h"/>
+ </class>
+ <class className="InstaBeanViewController" superclassName="UIViewController">
+ <source key="sourceIdentifier" type="project" relativePath="./Classes/InstaBeanViewController.h"/>
+ </class>
+ <class className="NSLayoutConstraint" superclassName="NSObject">
+ <source key="sourceIdentifier" type="project" relativePath="./Classes/NSLayoutConstraint.h"/>
+ </class>
+ </classes>
+ <simulatedMetricsContainer key="defaultSimulatedMetrics">
+ <simulatedStatusBarMetrics key="statusBar" statusBarStyle="blackTranslucent"/>
+ <simulatedOrientationMetrics key="orientation"/>
+ <simulatedScreenMetrics key="destination"/>
+ </simulatedMetricsContainer>
+</document> \ No newline at end of file
diff --git a/iBean/iBean/en.lproj/MainStoryboard_iPhone.storyboard b/iBean/iBean/en.lproj/MainStoryboard_iPhone.storyboard
new file mode 100644
index 0000000..d249629
--- /dev/null
+++ b/iBean/iBean/en.lproj/MainStoryboard_iPhone.storyboard
@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="2.0" toolsVersion="2844" systemVersion="12C60" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="4">
+ <dependencies>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="1930"/>
+ </dependencies>
+ <scenes>
+ <!--First View Controller - First-->
+ <scene sceneID="11">
+ <objects>
+ <viewController title="First" id="2" customClass="FirstViewController" sceneMemberID="viewController">
+ <view key="view" contentMode="scaleToFill" id="16">
+ <rect key="frame" x="0.0" y="20" width="320" height="499"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <subviews>
+ <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" text="First View" textAlignment="center" lineBreakMode="tailTruncation" minimumFontSize="10" translatesAutoresizingMaskIntoConstraints="NO" id="20">
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
+ <fontDescription key="fontDescription" name="Helvetica" family="Helvetica" pointSize="36"/>
+ <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
+ <nil key="highlightedColor"/>
+ </label>
+ <textView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" userInteractionEnabled="NO" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" delaysContentTouches="NO" canCancelContentTouches="NO" minimumZoomScale="0.0" maximumZoomScale="0.0" bouncesZoom="NO" editable="NO" text="Loaded by the first view controller — an instance of FirstViewController — specified in the app delegate." textAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="21">
+ <constraints>
+ <constraint firstAttribute="height" constant="88" id="Ikv-jk-tyi"/>
+ </constraints>
+ <fontDescription key="fontDescription" type="system" size="system"/>
+ <textInputTraits key="textInputTraits"/>
+ </textView>
+ </subviews>
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
+ <constraints>
+ <constraint firstAttribute="trailing" secondItem="21" secondAttribute="trailing" constant="20" symbolic="YES" type="default" id="QBg-X6-fBV"/>
+ <constraint firstAttribute="trailing" secondItem="20" secondAttribute="trailing" constant="20" symbolic="YES" type="default" id="Qxj-1L-2Yh"/>
+ <constraint firstItem="20" firstAttribute="leading" secondItem="16" secondAttribute="leading" constant="20" symbolic="YES" type="default" id="Ty9-wx-CyI"/>
+ <constraint firstItem="21" firstAttribute="leading" secondItem="16" secondAttribute="leading" constant="20" symbolic="YES" type="default" id="Zmm-k2-2L7"/>
+ <constraint firstItem="21" firstAttribute="top" secondItem="20" secondAttribute="bottom" constant="40" type="user" id="jX0-Wi-kmb"/>
+ <constraint firstAttribute="centerY" secondItem="21" secondAttribute="centerY" type="user" id="yWk-L2-m9F"/>
+ </constraints>
+ </view>
+ <tabBarItem key="tabBarItem" title="First" image="first" id="7"/>
+ </viewController>
+ <placeholder placeholderIdentifier="IBFirstResponder" id="10" sceneMemberID="firstResponder"/>
+ </objects>
+ <point key="canvasLocation" x="865" y="-358"/>
+ </scene>
+ <!--Insta Bean View Controller - Second-->
+ <scene sceneID="13">
+ <objects>
+ <viewController title="Second" id="3" customClass="InstaBeanViewController" sceneMemberID="viewController">
+ <view key="view" contentMode="scaleToFill" id="17">
+ <rect key="frame" x="0.0" y="20" width="320" height="499"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <subviews>
+ <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" text="Second View" textAlignment="center" lineBreakMode="tailTruncation" minimumFontSize="10" translatesAutoresizingMaskIntoConstraints="NO" id="22">
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
+ <fontDescription key="fontDescription" name="Helvetica" family="Helvetica" pointSize="36"/>
+ <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
+ <nil key="highlightedColor"/>
+ </label>
+ <textView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" userInteractionEnabled="NO" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" delaysContentTouches="NO" canCancelContentTouches="NO" minimumZoomScale="0.0" maximumZoomScale="0.0" bouncesZoom="NO" editable="NO" text="Loaded by the second view controller — an instance of SecondViewController — specified in the app delegate." textAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="23">
+ <constraints>
+ <constraint firstAttribute="height" constant="88" id="cQR-IW-sY8"/>
+ </constraints>
+ <fontDescription key="fontDescription" type="system" size="system"/>
+ <textInputTraits key="textInputTraits"/>
+ </textView>
+ </subviews>
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
+ <constraints>
+ <constraint firstItem="22" firstAttribute="leading" secondItem="17" secondAttribute="leading" constant="20" symbolic="YES" type="default" id="0q6-IA-e8m"/>
+ <constraint firstAttribute="trailing" secondItem="23" secondAttribute="trailing" constant="20" symbolic="YES" type="default" id="fR4-wH-Ih7"/>
+ <constraint firstItem="23" firstAttribute="leading" secondItem="17" secondAttribute="leading" constant="20" symbolic="YES" type="default" id="fzb-YA-SeR"/>
+ <constraint firstAttribute="centerY" secondItem="23" secondAttribute="centerY" type="user" id="llH-eD-iPS"/>
+ <constraint firstAttribute="trailing" secondItem="22" secondAttribute="trailing" constant="20" symbolic="YES" type="default" id="pc3-9Y-W42"/>
+ <constraint firstItem="23" firstAttribute="top" secondItem="22" secondAttribute="bottom" constant="40" type="user" id="yUx-Ee-KEk"/>
+ </constraints>
+ </view>
+ <tabBarItem key="tabBarItem" title="Second" image="second" id="6"/>
+ </viewController>
+ <placeholder placeholderIdentifier="IBFirstResponder" id="12" sceneMemberID="firstResponder"/>
+ </objects>
+ <point key="canvasLocation" x="653" y="498"/>
+ </scene>
+ <!--Tab Bar Controller-->
+ <scene sceneID="15">
+ <objects>
+ <tabBarController id="4" sceneMemberID="viewController">
+ <nil key="simulatedBottomBarMetrics"/>
+ <tabBar key="tabBar" contentMode="scaleToFill" id="5">
+ <rect key="frame" x="0.0" y="431" width="320" height="49"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
+ <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
+ </tabBar>
+ <connections>
+ <segue destination="2" kind="relationship" relationship="viewControllers" id="26"/>
+ <segue destination="3" kind="relationship" relationship="viewControllers" id="27"/>
+ </connections>
+ </tabBarController>
+ <placeholder placeholderIdentifier="IBFirstResponder" id="14" sceneMemberID="firstResponder"/>
+ </objects>
+ <point key="canvasLocation" x="132" y="180"/>
+ </scene>
+ </scenes>
+ <resources>
+ <image name="first" width="16" height="16"/>
+ <image name="second" width="16" height="16"/>
+ </resources>
+ <classes>
+ <class className="FirstViewController" superclassName="UIViewController">
+ <source key="sourceIdentifier" type="project" relativePath="./Classes/FirstViewController.h"/>
+ </class>
+ <class className="InstaBeanViewController" superclassName="UIViewController">
+ <source key="sourceIdentifier" type="project" relativePath="./Classes/InstaBeanViewController.h"/>
+ </class>
+ <class className="NSLayoutConstraint" superclassName="NSObject">
+ <source key="sourceIdentifier" type="project" relativePath="./Classes/NSLayoutConstraint.h"/>
+ </class>
+ </classes>
+ <simulatedMetricsContainer key="defaultSimulatedMetrics">
+ <simulatedStatusBarMetrics key="statusBar"/>
+ <simulatedOrientationMetrics key="orientation"/>
+ <simulatedScreenMetrics key="destination" type="retina4"/>
+ </simulatedMetricsContainer>
+</document> \ No newline at end of file
diff --git a/iBean/iBean/first.png b/iBean/iBean/first.png
new file mode 100644
index 0000000..9300ee2
--- /dev/null
+++ b/iBean/iBean/first.png
Binary files differ
diff --git a/iBean/iBean/first@2x.png b/iBean/iBean/first@2x.png
new file mode 100644
index 0000000..374d78e
--- /dev/null
+++ b/iBean/iBean/first@2x.png
Binary files differ
diff --git a/iBean/iBean/iBean-Info.plist b/iBean/iBean/iBean-Info.plist
new file mode 100644
index 0000000..9b890c5
--- /dev/null
+++ b/iBean/iBean/iBean-Info.plist
@@ -0,0 +1,59 @@
+<?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>CFBundleIdentifier</key>
+ <string>Eddie-Ehlin.${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>UIMainStoryboardFile</key>
+ <string>MainStoryboard_iPhone</string>
+ <key>UIMainStoryboardFile~ipad</key>
+ <string>MainStoryboard_iPad</string>
+ <key>UIRequiredDeviceCapabilities</key>
+ <array>
+ <string>armv7</string>
+ </array>
+ <key>UIStatusBarTintParameters</key>
+ <dict>
+ <key>UINavigationBar</key>
+ <dict>
+ <key>Style</key>
+ <string>UIBarStyleDefault</string>
+ <key>Translucent</key>
+ <false/>
+ </dict>
+ </dict>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+ <key>UISupportedInterfaceOrientations~ipad</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+</dict>
+</plist>
diff --git a/iBean/iBean/iBean-Prefix.pch b/iBean/iBean/iBean-Prefix.pch
new file mode 100644
index 0000000..6837666
--- /dev/null
+++ b/iBean/iBean/iBean-Prefix.pch
@@ -0,0 +1,14 @@
+//
+// Prefix header for all source files of the 'iBean' target in the 'iBean' project
+//
+
+#import <Availability.h>
+
+#ifndef __IPHONE_5_0
+#warning "This project uses features only available in iOS SDK 5.0 and later."
+#endif
+
+#ifdef __OBJC__
+ #import <UIKit/UIKit.h>
+ #import <Foundation/Foundation.h>
+#endif
diff --git a/iBean/iBean/main.m b/iBean/iBean/main.m
new file mode 100644
index 0000000..b0895ba
--- /dev/null
+++ b/iBean/iBean/main.m
@@ -0,0 +1,18 @@
+//
+// main.m
+// iBean
+//
+// Created by Eddie Ehlin on 2012-12-28.
+// Copyright (c) 2012 Eddie Ehlin. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+#import "AppDelegate.h"
+
+int main(int argc, char *argv[])
+{
+ @autoreleasepool {
+ return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
+ }
+}
diff --git a/iBean/iBean/second.png b/iBean/iBean/second.png
new file mode 100644
index 0000000..1100b48
--- /dev/null
+++ b/iBean/iBean/second.png
Binary files differ
diff --git a/iBean/iBean/second@2x.png b/iBean/iBean/second@2x.png
new file mode 100644
index 0000000..368d38f
--- /dev/null
+++ b/iBean/iBean/second@2x.png
Binary files differ