Initial Commit

This commit is contained in:
Abel Fokkinga 2012-08-27 20:39:49 +02:00
commit 70477d2c47
10 changed files with 496 additions and 0 deletions

View File

@ -0,0 +1,287 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
B506EC6315EBF67500566A27 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B506EC6215EBF67500566A27 /* UIKit.framework */; };
B506EC6515EBF67500566A27 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B506EC6415EBF67500566A27 /* Foundation.framework */; };
B506EC6715EBF67500566A27 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B506EC6615EBF67500566A27 /* CoreGraphics.framework */; };
B506EC6D15EBF67500566A27 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = B506EC6B15EBF67500566A27 /* InfoPlist.strings */; };
B506EC6F15EBF67500566A27 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = B506EC6E15EBF67500566A27 /* main.m */; };
B506EC7315EBF67500566A27 /* EspagramAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = B506EC7215EBF67500566A27 /* EspagramAppDelegate.m */; };
B506EC7615EBF67500566A27 /* MainStoryboard.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B506EC7415EBF67500566A27 /* MainStoryboard.storyboard */; };
B506EC7915EBF67500566A27 /* EspagramViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = B506EC7815EBF67500566A27 /* EspagramViewController.m */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
B506EC5E15EBF67500566A27 /* Espagram.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Espagram.app; sourceTree = BUILT_PRODUCTS_DIR; };
B506EC6215EBF67500566A27 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
B506EC6415EBF67500566A27 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
B506EC6615EBF67500566A27 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
B506EC6A15EBF67500566A27 /* Espagram-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Espagram-Info.plist"; sourceTree = "<group>"; };
B506EC6C15EBF67500566A27 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
B506EC6E15EBF67500566A27 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
B506EC7015EBF67500566A27 /* Espagram-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Espagram-Prefix.pch"; sourceTree = "<group>"; };
B506EC7115EBF67500566A27 /* EspagramAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = EspagramAppDelegate.h; sourceTree = "<group>"; };
B506EC7215EBF67500566A27 /* EspagramAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = EspagramAppDelegate.m; sourceTree = "<group>"; };
B506EC7515EBF67500566A27 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/MainStoryboard.storyboard; sourceTree = "<group>"; };
B506EC7715EBF67500566A27 /* EspagramViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = EspagramViewController.h; sourceTree = "<group>"; };
B506EC7815EBF67500566A27 /* EspagramViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = EspagramViewController.m; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
B506EC5B15EBF67500566A27 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
B506EC6315EBF67500566A27 /* UIKit.framework in Frameworks */,
B506EC6515EBF67500566A27 /* Foundation.framework in Frameworks */,
B506EC6715EBF67500566A27 /* CoreGraphics.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
B506EC5315EBF67500566A27 = {
isa = PBXGroup;
children = (
B506EC6815EBF67500566A27 /* Espagram */,
B506EC6115EBF67500566A27 /* Frameworks */,
B506EC5F15EBF67500566A27 /* Products */,
);
sourceTree = "<group>";
};
B506EC5F15EBF67500566A27 /* Products */ = {
isa = PBXGroup;
children = (
B506EC5E15EBF67500566A27 /* Espagram.app */,
);
name = Products;
sourceTree = "<group>";
};
B506EC6115EBF67500566A27 /* Frameworks */ = {
isa = PBXGroup;
children = (
B506EC6215EBF67500566A27 /* UIKit.framework */,
B506EC6415EBF67500566A27 /* Foundation.framework */,
B506EC6615EBF67500566A27 /* CoreGraphics.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
B506EC6815EBF67500566A27 /* Espagram */ = {
isa = PBXGroup;
children = (
B506EC7115EBF67500566A27 /* EspagramAppDelegate.h */,
B506EC7215EBF67500566A27 /* EspagramAppDelegate.m */,
B506EC7415EBF67500566A27 /* MainStoryboard.storyboard */,
B506EC7715EBF67500566A27 /* EspagramViewController.h */,
B506EC7815EBF67500566A27 /* EspagramViewController.m */,
B506EC6915EBF67500566A27 /* Supporting Files */,
);
path = Espagram;
sourceTree = "<group>";
};
B506EC6915EBF67500566A27 /* Supporting Files */ = {
isa = PBXGroup;
children = (
B506EC6A15EBF67500566A27 /* Espagram-Info.plist */,
B506EC6B15EBF67500566A27 /* InfoPlist.strings */,
B506EC6E15EBF67500566A27 /* main.m */,
B506EC7015EBF67500566A27 /* Espagram-Prefix.pch */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
B506EC5D15EBF67500566A27 /* Espagram */ = {
isa = PBXNativeTarget;
buildConfigurationList = B506EC7C15EBF67500566A27 /* Build configuration list for PBXNativeTarget "Espagram" */;
buildPhases = (
B506EC5A15EBF67500566A27 /* Sources */,
B506EC5B15EBF67500566A27 /* Frameworks */,
B506EC5C15EBF67500566A27 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = Espagram;
productName = Espagram;
productReference = B506EC5E15EBF67500566A27 /* Espagram.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
B506EC5515EBF67500566A27 /* Project object */ = {
isa = PBXProject;
attributes = {
CLASSPREFIX = Espagram;
LastUpgradeCheck = 0440;
ORGANIZATIONNAME = "Abel Fokkinga";
};
buildConfigurationList = B506EC5815EBF67500566A27 /* Build configuration list for PBXProject "Espagram" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = B506EC5315EBF67500566A27;
productRefGroup = B506EC5F15EBF67500566A27 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
B506EC5D15EBF67500566A27 /* Espagram */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
B506EC5C15EBF67500566A27 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
B506EC6D15EBF67500566A27 /* InfoPlist.strings in Resources */,
B506EC7615EBF67500566A27 /* MainStoryboard.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
B506EC5A15EBF67500566A27 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
B506EC6F15EBF67500566A27 /* main.m in Sources */,
B506EC7315EBF67500566A27 /* EspagramAppDelegate.m in Sources */,
B506EC7915EBF67500566A27 /* EspagramViewController.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXVariantGroup section */
B506EC6B15EBF67500566A27 /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
B506EC6C15EBF67500566A27 /* en */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
};
B506EC7415EBF67500566A27 /* MainStoryboard.storyboard */ = {
isa = PBXVariantGroup;
children = (
B506EC7515EBF67500566A27 /* en */,
);
name = MainStoryboard.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
B506EC7A15EBF67500566A27 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 5.1;
SDKROOT = iphoneos;
};
name = Debug;
};
B506EC7B15EBF67500566A27 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 5.1;
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
};
name = Release;
};
B506EC7D15EBF67500566A27 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "Espagram/Espagram-Prefix.pch";
INFOPLIST_FILE = "Espagram/Espagram-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
name = Debug;
};
B506EC7E15EBF67500566A27 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "Espagram/Espagram-Prefix.pch";
INFOPLIST_FILE = "Espagram/Espagram-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
B506EC5815EBF67500566A27 /* Build configuration list for PBXProject "Espagram" */ = {
isa = XCConfigurationList;
buildConfigurations = (
B506EC7A15EBF67500566A27 /* Debug */,
B506EC7B15EBF67500566A27 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
B506EC7C15EBF67500566A27 /* Build configuration list for PBXNativeTarget "Espagram" */ = {
isa = XCConfigurationList;
buildConfigurations = (
B506EC7D15EBF67500566A27 /* Debug */,
B506EC7E15EBF67500566A27 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
/* End XCConfigurationList section */
};
rootObject = B506EC5515EBF67500566A27 /* Project object */;
}

View File

@ -0,0 +1,40 @@
<?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>com.fokkinga.abel.${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</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>

View File

@ -0,0 +1,14 @@
//
// Prefix header for all source files of the 'Espagram' target in the 'Espagram' 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

View File

@ -0,0 +1,15 @@
//
// EspagramAppDelegate.h
// Espagram
//
// Created by Abel Fokkinga on 8/27/12.
// Copyright (c) 2012 Abel Fokkinga. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface EspagramAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end

View File

@ -0,0 +1,46 @@
//
// EspagramAppDelegate.m
// Espagram
//
// Created by Abel Fokkinga on 8/27/12.
// Copyright (c) 2012 Abel Fokkinga. All rights reserved.
//
#import "EspagramAppDelegate.h"
@implementation EspagramAppDelegate
- (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

View File

@ -0,0 +1,13 @@
//
// EspagramViewController.h
// Espagram
//
// Created by Abel Fokkinga on 8/27/12.
// Copyright (c) 2012 Abel Fokkinga. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface EspagramViewController : UIViewController
@end

View File

@ -0,0 +1,34 @@
//
// EspagramViewController.m
// Espagram
//
// Created by Abel Fokkinga on 8/27/12.
// Copyright (c) 2012 Abel Fokkinga. All rights reserved.
//
#import "EspagramViewController.h"
@interface EspagramViewController ()
@end
@implementation EspagramViewController
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
}
- (void)viewDidUnload
{
[super viewDidUnload];
// Release any retained subviews of the main view.
}
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);
}
@end

View File

@ -0,0 +1,2 @@
/* Localized versions of Info.plist keys */

View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="1.0" toolsVersion="1906" systemVersion="11A511" targetRuntime="iOS.CocoaTouch" nextObjectID="6" propertyAccessControl="none" initialViewController="2">
<dependencies>
<development defaultVersion="4200" identifier="xcode"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="902"/>
</dependencies>
<scenes>
<scene sceneID="5">
<objects>
<placeholder placeholderIdentifier="IBFirstResponder" id="4" sceneMemberID="firstResponder"/>
<viewController id="2" customClass="EspagramViewController" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="3">
<rect key="frame" x="0.0" y="20" width="320" height="460"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
</view>
</viewController>
</objects>
</scene>
</scenes>
<simulatedMetricsContainer key="defaultSimulatedMetrics">
<simulatedStatusBarMetrics key="statusBar"/>
<simulatedOrientationMetrics key="orientation"/>
<simulatedScreenMetrics key="destination"/>
</simulatedMetricsContainer>
</document>

18
Espagram/main.m Normal file
View File

@ -0,0 +1,18 @@
//
// main.m
// Espagram
//
// Created by Abel Fokkinga on 8/27/12.
// Copyright (c) 2012 Abel Fokkinga. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "EspagramAppDelegate.h"
int main(int argc, char *argv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([EspagramAppDelegate class]));
}
}