Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
nfarina committed Aug 8, 2012
0 parents commit 7bfd565
Show file tree
Hide file tree
Showing 7 changed files with 412 additions and 0 deletions.
269 changes: 269 additions & 0 deletions CalloutViewSamples.xcodeproj/project.pbxproj
@@ -0,0 +1,269 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
011CA08E15D3144E007DBC54 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 011CA08D15D3144E007DBC54 /* UIKit.framework */; };
011CA09015D3144E007DBC54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 011CA08F15D3144E007DBC54 /* Foundation.framework */; };
011CA09215D3144E007DBC54 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 011CA09115D3144E007DBC54 /* CoreGraphics.framework */; };
011CA09815D3144E007DBC54 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 011CA09615D3144E007DBC54 /* InfoPlist.strings */; };
011CA09A15D3144E007DBC54 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 011CA09915D3144E007DBC54 /* main.m */; };
011CA09E15D3144E007DBC54 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 011CA09D15D3144E007DBC54 /* AppDelegate.m */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
011CA08915D3144E007DBC54 /* CalloutViewSamples.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CalloutViewSamples.app; sourceTree = BUILT_PRODUCTS_DIR; };
011CA08D15D3144E007DBC54 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
011CA08F15D3144E007DBC54 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
011CA09115D3144E007DBC54 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
011CA09515D3144E007DBC54 /* CalloutViewSamples-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "CalloutViewSamples-Info.plist"; sourceTree = "<group>"; };
011CA09715D3144E007DBC54 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
011CA09915D3144E007DBC54 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
011CA09B15D3144E007DBC54 /* CalloutViewSamples-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CalloutViewSamples-Prefix.pch"; sourceTree = "<group>"; };
011CA09C15D3144E007DBC54 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
011CA09D15D3144E007DBC54 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
011CA08615D3144E007DBC54 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
011CA08E15D3144E007DBC54 /* UIKit.framework in Frameworks */,
011CA09015D3144E007DBC54 /* Foundation.framework in Frameworks */,
011CA09215D3144E007DBC54 /* CoreGraphics.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
011CA07E15D3144E007DBC54 = {
isa = PBXGroup;
children = (
011CA09315D3144E007DBC54 /* CalloutViewSamples */,
011CA08C15D3144E007DBC54 /* Frameworks */,
011CA08A15D3144E007DBC54 /* Products */,
);
sourceTree = "<group>";
};
011CA08A15D3144E007DBC54 /* Products */ = {
isa = PBXGroup;
children = (
011CA08915D3144E007DBC54 /* CalloutViewSamples.app */,
);
name = Products;
sourceTree = "<group>";
};
011CA08C15D3144E007DBC54 /* Frameworks */ = {
isa = PBXGroup;
children = (
011CA08D15D3144E007DBC54 /* UIKit.framework */,
011CA08F15D3144E007DBC54 /* Foundation.framework */,
011CA09115D3144E007DBC54 /* CoreGraphics.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
011CA09315D3144E007DBC54 /* CalloutViewSamples */ = {
isa = PBXGroup;
children = (
011CA09C15D3144E007DBC54 /* AppDelegate.h */,
011CA09D15D3144E007DBC54 /* AppDelegate.m */,
011CA09415D3144E007DBC54 /* Supporting Files */,
);
path = CalloutViewSamples;
sourceTree = "<group>";
};
011CA09415D3144E007DBC54 /* Supporting Files */ = {
isa = PBXGroup;
children = (
011CA09515D3144E007DBC54 /* CalloutViewSamples-Info.plist */,
011CA09615D3144E007DBC54 /* InfoPlist.strings */,
011CA09915D3144E007DBC54 /* main.m */,
011CA09B15D3144E007DBC54 /* CalloutViewSamples-Prefix.pch */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
011CA08815D3144E007DBC54 /* CalloutViewSamples */ = {
isa = PBXNativeTarget;
buildConfigurationList = 011CA0A115D3144E007DBC54 /* Build configuration list for PBXNativeTarget "CalloutViewSamples" */;
buildPhases = (
011CA08515D3144E007DBC54 /* Sources */,
011CA08615D3144E007DBC54 /* Frameworks */,
011CA08715D3144E007DBC54 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = CalloutViewSamples;
productName = CalloutViewSamples;
productReference = 011CA08915D3144E007DBC54 /* CalloutViewSamples.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
011CA08015D3144E007DBC54 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0440;
};
buildConfigurationList = 011CA08315D3144E007DBC54 /* Build configuration list for PBXProject "CalloutViewSamples" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = 011CA07E15D3144E007DBC54;
productRefGroup = 011CA08A15D3144E007DBC54 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
011CA08815D3144E007DBC54 /* CalloutViewSamples */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
011CA08715D3144E007DBC54 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
011CA09815D3144E007DBC54 /* InfoPlist.strings in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
011CA08515D3144E007DBC54 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
011CA09A15D3144E007DBC54 /* main.m in Sources */,
011CA09E15D3144E007DBC54 /* AppDelegate.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
011CA09615D3144E007DBC54 /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
011CA09715D3144E007DBC54 /* en */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
011CA09F15D3144E007DBC54 /* 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;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
011CA0A015D3144E007DBC54 /* 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;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
};
name = Release;
};
011CA0A215D3144E007DBC54 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "CalloutViewSamples/CalloutViewSamples-Prefix.pch";
INFOPLIST_FILE = "CalloutViewSamples/CalloutViewSamples-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
name = Debug;
};
011CA0A315D3144E007DBC54 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "CalloutViewSamples/CalloutViewSamples-Prefix.pch";
INFOPLIST_FILE = "CalloutViewSamples/CalloutViewSamples-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
011CA08315D3144E007DBC54 /* Build configuration list for PBXProject "CalloutViewSamples" */ = {
isa = XCConfigurationList;
buildConfigurations = (
011CA09F15D3144E007DBC54 /* Debug */,
011CA0A015D3144E007DBC54 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
011CA0A115D3144E007DBC54 /* Build configuration list for PBXNativeTarget "CalloutViewSamples" */ = {
isa = XCConfigurationList;
buildConfigurations = (
011CA0A215D3144E007DBC54 /* Debug */,
011CA0A315D3144E007DBC54 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
/* End XCConfigurationList section */
};
rootObject = 011CA08015D3144E007DBC54 /* Project object */;
}
15 changes: 15 additions & 0 deletions CalloutViewSamples/AppDelegate.h
@@ -0,0 +1,15 @@
//
// AppDelegate.h
// CalloutViewSamples
//
// Created by Nick Farina on 8/8/12.
//
//

#import <UIKit/UIKit.h>

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;

@end
49 changes: 49 additions & 0 deletions CalloutViewSamples/AppDelegate.m
@@ -0,0 +1,49 @@
//
// AppDelegate.m
// CalloutViewSamples
//
// Created by Nick Farina on 8/8/12.
//
//

#import "AppDelegate.h"

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
// Override point for customization after application launch.
self.window.backgroundColor = [UIColor whiteColor];
[self.window makeKeyAndVisible];
return YES;
}

- (void)applicationWillResignActive:(UIApplication *)application
{
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
}

- (void)applicationDidEnterBackground:(UIApplication *)application
{
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}

- (void)applicationWillEnterForeground:(UIApplication *)application
{
// Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
}

- (void)applicationDidBecomeActive:(UIApplication *)application
{
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}

- (void)applicationWillTerminate:(UIApplication *)application
{
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}

@end
45 changes: 45 additions & 0 deletions CalloutViewSamples/CalloutViewSamples-Info.plist
@@ -0,0 +1,45 @@
<?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.yourcompany.${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>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<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>
14 changes: 14 additions & 0 deletions CalloutViewSamples/CalloutViewSamples-Prefix.pch
@@ -0,0 +1,14 @@
//
// Prefix header for all source files of the 'CalloutViewSamples' target in the 'CalloutViewSamples' project
//

#import <Availability.h>

#ifndef __IPHONE_3_0
#warning "This project uses features only available in iOS SDK 3.0 and later."
#endif

#ifdef __OBJC__
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#endif
2 changes: 2 additions & 0 deletions CalloutViewSamples/en.lproj/InfoPlist.strings
@@ -0,0 +1,2 @@
/* Localized versions of Info.plist keys */

0 comments on commit 7bfd565

Please sign in to comment.