Skip to content
Browse files

First Version

  • Loading branch information...
1 parent 30462e9 commit 8378cd39bfe3e2c1a48e9449a490921800c0d320 @nuxlli committed
View
1 .gitignore
@@ -0,0 +1 @@
+MyFramework.framework
View
262 MyFramework.xcodeproj/project.pbxproj
@@ -6,17 +6,82 @@
objectVersion = 46;
objects = {
+/* Begin PBXAggregateTarget section */
+ F642C44113CD2528000E0B6B /* iOS-Framework */ = {
+ isa = PBXAggregateTarget;
+ buildConfigurationList = F642C44413CD2528000E0B6B /* Build configuration list for PBXAggregateTarget "iOS-Framework" */;
+ buildPhases = (
+ F642C44713CD2604000E0B6B /* Build architecture-specific static libs */,
+ F642C44813CD2607000E0B6B /* Build framework package */,
+ F642C44913CD260E000E0B6B /* Copy headers to framework */,
+ );
+ dependencies = (
+ );
+ name = "iOS-Framework";
+ productName = "iOS-Framework";
+ };
+/* End PBXAggregateTarget section */
+
/* Begin PBXBuildFile section */
+ F642C45813CD276B000E0B6B /* MyLog.h in Copy headers to framework */ = {isa = PBXBuildFile; fileRef = F6E9A1E413C8F6BB004F3793 /* MyLog.h */; };
+ F642C46013CD27EB000E0B6B /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F642C45F13CD27EB000E0B6B /* UIKit.framework */; };
+ F642C46113CD27EB000E0B6B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F6E9A1DA13C8F695004F3793 /* Foundation.framework */; };
+ F642C46313CD27EB000E0B6B /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F642C46213CD27EB000E0B6B /* CoreGraphics.framework */; };
+ F642C46913CD27EB000E0B6B /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = F642C46713CD27EB000E0B6B /* InfoPlist.strings */; };
+ F642C46C13CD27EB000E0B6B /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = F642C46B13CD27EB000E0B6B /* main.m */; };
+ F642C46F13CD27EB000E0B6B /* TestMyFrameworkAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F642C46E13CD27EB000E0B6B /* TestMyFrameworkAppDelegate.m */; };
+ F642C47213CD27EB000E0B6B /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = F642C47013CD27EB000E0B6B /* MainWindow.xib */; };
+ F642C47713CD2802000E0B6B /* MyFramework.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F642C47613CD2802000E0B6B /* MyFramework.framework */; };
F6E9A1DB13C8F695004F3793 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F6E9A1DA13C8F695004F3793 /* Foundation.framework */; };
+ F6E9A1E613C8F6BB004F3793 /* MyLog.h in Headers */ = {isa = PBXBuildFile; fileRef = F6E9A1E413C8F6BB004F3793 /* MyLog.h */; };
+ F6E9A1E713C8F6BB004F3793 /* MyLog.m in Sources */ = {isa = PBXBuildFile; fileRef = F6E9A1E513C8F6BB004F3793 /* MyLog.m */; };
/* End PBXBuildFile section */
+/* Begin PBXCopyFilesBuildPhase section */
+ F642C44913CD260E000E0B6B /* Copy headers to framework */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "${FRAMEWORK_DIR}/Headers";
+ dstSubfolderSpec = 0;
+ files = (
+ F642C45813CD276B000E0B6B /* MyLog.h in Copy headers to framework */,
+ );
+ name = "Copy headers to framework";
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
/* Begin PBXFileReference section */
+ F642C45D13CD27EB000E0B6B /* TestMyFramework.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TestMyFramework.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ F642C45F13CD27EB000E0B6B /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
+ F642C46213CD27EB000E0B6B /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
+ F642C46613CD27EB000E0B6B /* TestMyFramework-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "TestMyFramework-Info.plist"; sourceTree = "<group>"; };
+ F642C46813CD27EB000E0B6B /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ F642C46A13CD27EB000E0B6B /* TestMyFramework-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "TestMyFramework-Prefix.pch"; sourceTree = "<group>"; };
+ F642C46B13CD27EB000E0B6B /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ F642C46D13CD27EB000E0B6B /* TestMyFrameworkAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TestMyFrameworkAppDelegate.h; sourceTree = "<group>"; };
+ F642C46E13CD27EB000E0B6B /* TestMyFrameworkAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = TestMyFrameworkAppDelegate.m; sourceTree = "<group>"; };
+ F642C47113CD27EB000E0B6B /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainWindow.xib; sourceTree = "<group>"; };
+ F642C47613CD2802000E0B6B /* MyFramework.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = MyFramework.framework; sourceTree = "<group>"; };
F6E9A1D713C8F695004F3793 /* libMyFramework.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libMyFramework.a; sourceTree = BUILT_PRODUCTS_DIR; };
F6E9A1DA13C8F695004F3793 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
- F6E9A1DE13C8F695004F3793 /* MyFramework-Prefix.pch */ = {isa = PBXFileReference; path = "MyFramework-Prefix.pch"; sourceTree = "<group>"; };
+ F6E9A1DE13C8F695004F3793 /* MyFramework-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "MyFramework-Prefix.pch"; sourceTree = "<group>"; };
+ F6E9A1E413C8F6BB004F3793 /* MyLog.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MyLog.h; sourceTree = "<group>"; };
+ F6E9A1E513C8F6BB004F3793 /* MyLog.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MyLog.m; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
+ F642C45A13CD27EB000E0B6B /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ F642C47713CD2802000E0B6B /* MyFramework.framework in Frameworks */,
+ F642C46013CD27EB000E0B6B /* UIKit.framework in Frameworks */,
+ F642C46113CD27EB000E0B6B /* Foundation.framework in Frameworks */,
+ F642C46313CD27EB000E0B6B /* CoreGraphics.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
F6E9A1D413C8F695004F3793 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
@@ -28,10 +93,33 @@
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
+ F642C46413CD27EB000E0B6B /* TestMyFramework */ = {
+ isa = PBXGroup;
+ children = (
+ F642C46D13CD27EB000E0B6B /* TestMyFrameworkAppDelegate.h */,
+ F642C46E13CD27EB000E0B6B /* TestMyFrameworkAppDelegate.m */,
+ F642C47013CD27EB000E0B6B /* MainWindow.xib */,
+ F642C46513CD27EB000E0B6B /* Supporting Files */,
+ );
+ path = TestMyFramework;
+ sourceTree = "<group>";
+ };
+ F642C46513CD27EB000E0B6B /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ F642C46613CD27EB000E0B6B /* TestMyFramework-Info.plist */,
+ F642C46713CD27EB000E0B6B /* InfoPlist.strings */,
+ F642C46A13CD27EB000E0B6B /* TestMyFramework-Prefix.pch */,
+ F642C46B13CD27EB000E0B6B /* main.m */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
F6E9A1CC13C8F695004F3793 = {
isa = PBXGroup;
children = (
F6E9A1DC13C8F695004F3793 /* MyFramework */,
+ F642C46413CD27EB000E0B6B /* TestMyFramework */,
F6E9A1D913C8F695004F3793 /* Frameworks */,
F6E9A1D813C8F695004F3793 /* Products */,
);
@@ -41,6 +129,7 @@
isa = PBXGroup;
children = (
F6E9A1D713C8F695004F3793 /* libMyFramework.a */,
+ F642C45D13CD27EB000E0B6B /* TestMyFramework.app */,
);
name = Products;
sourceTree = "<group>";
@@ -48,7 +137,10 @@
F6E9A1D913C8F695004F3793 /* Frameworks */ = {
isa = PBXGroup;
children = (
+ F642C47613CD2802000E0B6B /* MyFramework.framework */,
F6E9A1DA13C8F695004F3793 /* Foundation.framework */,
+ F642C45F13CD27EB000E0B6B /* UIKit.framework */,
+ F642C46213CD27EB000E0B6B /* CoreGraphics.framework */,
);
name = Frameworks;
sourceTree = "<group>";
@@ -57,6 +149,8 @@
isa = PBXGroup;
children = (
F6E9A1DD13C8F695004F3793 /* Supporting Files */,
+ F6E9A1E413C8F6BB004F3793 /* MyLog.h */,
+ F6E9A1E513C8F6BB004F3793 /* MyLog.m */,
);
path = MyFramework;
sourceTree = "<group>";
@@ -76,12 +170,30 @@
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
+ F6E9A1E613C8F6BB004F3793 /* MyLog.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
+ F642C45C13CD27EB000E0B6B /* TestMyFramework */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = F642C47313CD27EB000E0B6B /* Build configuration list for PBXNativeTarget "TestMyFramework" */;
+ buildPhases = (
+ F642C45913CD27EB000E0B6B /* Sources */,
+ F642C45A13CD27EB000E0B6B /* Frameworks */,
+ F642C45B13CD27EB000E0B6B /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = TestMyFramework;
+ productName = TestMyFramework;
+ productReference = F642C45D13CD27EB000E0B6B /* TestMyFramework.app */;
+ productType = "com.apple.product-type.application";
+ };
F6E9A1D613C8F695004F3793 /* MyFramework */ = {
isa = PBXNativeTarget;
buildConfigurationList = F6E9A1E113C8F695004F3793 /* Build configuration list for PBXNativeTarget "MyFramework" */;
@@ -120,21 +232,152 @@
projectRoot = "";
targets = (
F6E9A1D613C8F695004F3793 /* MyFramework */,
+ F642C44113CD2528000E0B6B /* iOS-Framework */,
+ F642C45C13CD27EB000E0B6B /* TestMyFramework */,
);
};
/* End PBXProject section */
+/* Begin PBXResourcesBuildPhase section */
+ F642C45B13CD27EB000E0B6B /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ F642C46913CD27EB000E0B6B /* InfoPlist.strings in Resources */,
+ F642C47213CD27EB000E0B6B /* MainWindow.xib in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ F642C44713CD2604000E0B6B /* Build architecture-specific static libs */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Build architecture-specific static libs";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "xcodebuild -project ${PROJECT_NAME}.xcodeproj -sdk iphonesimulator -target ${STATIC_TARGET_NAME} -configuration ${CONFIGURATION} clean build SYMROOT=${SYMROOT}\nxcodebuild -project ${PROJECT_NAME}.xcodeproj -sdk iphoneos -target ${STATIC_TARGET_NAME} -configuration ${CONFIGURATION} clean build SYMROOT=${SYMROOT}";
+ };
+ F642C44813CD2607000E0B6B /* Build framework package */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Build framework package";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "# Variables\nLIBRARY_NAME_PATH=\"lib${STATIC_TARGET_NAME}.a\" &&\nDEVICE_LIBRARY_PATH=\"${BUILD_DIR}/${CONFIGURATION}-iphoneos/${LIBRARY_NAME_PATH}\" &&\nSIMULATOR_LIBRARY_PATH=\"${BUILD_DIR}/${CONFIGURATION}-iphonesimulator/${LIBRARY_NAME_PATH}\" &&\nUNIVERSAL_LIBRARY_PATH=\"${FRAMEWORK_DIR}/Versions/A/${PRODUCT_NAME}\"\n\n# Create framework directory structure.\nrm -rf \"${FRAMEWORK_DIR}\" &&\nmkdir -p \"${FRAMEWORK_DIR}/Versions/A/Headers\" &&\nmkdir -p \"${FRAMEWORK_DIR}/Versions/A/Resources\" &&\n\n# Generate universal binary from desktop, device, and simulator builds.\nlipo \"${SIMULATOR_LIBRARY_PATH}\" \"${DEVICE_LIBRARY_PATH}\" -create -output \"${UNIVERSAL_LIBRARY_PATH}\" &&\n\n# Move files to appropriate locations in framework paths.\ncd \"${FRAMEWORK_DIR}/Versions\" &&\nln -s \"A\" \"Current\" &&\n\ncd \"${FRAMEWORK_DIR}\" &&\nln -s \"Versions/Current/Headers\" \"Headers\" &&\nln -s \"Versions/Current/Resources\" \"Resources\" &&\nln -s \"Versions/Current/${PRODUCT_NAME}\" \"${PRODUCT_NAME}\"";
+ };
+/* End PBXShellScriptBuildPhase section */
+
/* Begin PBXSourcesBuildPhase section */
+ F642C45913CD27EB000E0B6B /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ F642C46C13CD27EB000E0B6B /* main.m in Sources */,
+ F642C46F13CD27EB000E0B6B /* TestMyFrameworkAppDelegate.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
F6E9A1D313C8F695004F3793 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
+ F6E9A1E713C8F6BB004F3793 /* MyLog.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
+/* Begin PBXVariantGroup section */
+ F642C46713CD27EB000E0B6B /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ F642C46813CD27EB000E0B6B /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+ F642C47013CD27EB000E0B6B /* MainWindow.xib */ = {
+ isa = PBXVariantGroup;
+ children = (
+ F642C47113CD27EB000E0B6B /* en */,
+ );
+ name = MainWindow.xib;
+ sourceTree = "<group>";
+ };
+/* End PBXVariantGroup section */
+
/* Begin XCBuildConfiguration section */
+ F642C44213CD2528000E0B6B /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ FRAMEWORK_DIR = "${PROJECT_DIR}/${PRODUCT_NAME}.framework";
+ PRODUCT_NAME = "$(PROJECT_NAME)";
+ STATIC_TARGET_NAME = "${PRODUCT_NAME}";
+ };
+ name = Debug;
+ };
+ F642C44313CD2528000E0B6B /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ FRAMEWORK_DIR = "${PROJECT_DIR}/${PRODUCT_NAME}.framework";
+ PRODUCT_NAME = "$(PROJECT_NAME)";
+ STATIC_TARGET_NAME = "${PRODUCT_NAME}";
+ };
+ name = Release;
+ };
+ F642C47413CD27EB000E0B6B /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "\"$(SRCROOT)\"",
+ );
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "TestMyFramework/TestMyFramework-Prefix.pch";
+ INFOPLIST_FILE = "TestMyFramework/TestMyFramework-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Debug;
+ };
+ F642C47513CD27EB000E0B6B /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = YES;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "\"$(SRCROOT)\"",
+ );
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "TestMyFramework/TestMyFramework-Prefix.pch";
+ INFOPLIST_FILE = "TestMyFramework/TestMyFramework-Info.plist";
+ OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ VALIDATE_PRODUCT = YES;
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
F6E9A1DF13C8F695004F3793 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
@@ -191,6 +434,22 @@
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
+ F642C44413CD2528000E0B6B /* Build configuration list for PBXAggregateTarget "iOS-Framework" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ F642C44213CD2528000E0B6B /* Debug */,
+ F642C44313CD2528000E0B6B /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ };
+ F642C47313CD27EB000E0B6B /* Build configuration list for PBXNativeTarget "TestMyFramework" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ F642C47413CD27EB000E0B6B /* Debug */,
+ F642C47513CD27EB000E0B6B /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ };
F6E9A1D113C8F695004F3793 /* Build configuration list for PBXProject "MyFramework" */ = {
isa = XCConfigurationList;
buildConfigurations = (
@@ -207,6 +466,7 @@
F6E9A1E313C8F695004F3793 /* Release */,
);
defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
View
7 MyFramework.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+ version = "1.0">
+ <FileRef
+ location = "self:MyFramework.xcodeproj">
+ </FileRef>
+</Workspace>
View
18 MyFramework/MyLog.h
@@ -0,0 +1,18 @@
+//
+// MyLog.h
+// MyFramework
+//
+// Created by Everton Ribeiro on 7/9/11.
+// Copyright 2011 Abril. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+
+@interface MyLog : NSObject {
+
+}
+
++(void)logString:(NSString *)string;
+
+@end
View
18 MyFramework/MyLog.m
@@ -0,0 +1,18 @@
+//
+// MyLog.m
+// MyFramework
+//
+// Created by Everton Ribeiro on 7/9/11.
+// Copyright 2011 Abril. All rights reserved.
+//
+
+#import "MyLog.h"
+
+
+@implementation MyLog
+
++(void)logString:(NSString *)string {
+ NSLog(@"%@", string);
+}
+
+@end
View
38 TestMyFramework/TestMyFramework-Info.plist
@@ -0,0 +1,38 @@
+<?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>CFBundleIconFile</key>
+ <string></string>
+ <key>CFBundleIdentifier</key>
+ <string>br.com.nuxlli.${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>NSMainNibFile</key>
+ <string>MainWindow</string>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+</dict>
+</plist>
View
14 TestMyFramework/TestMyFramework-Prefix.pch
@@ -0,0 +1,14 @@
+//
+// Prefix header for all source files of the 'TestMyFramework' target in the 'TestMyFramework' project
+//
+
+#import <Availability.h>
+
+#ifndef __IPHONE_3_0
+#warning "This project uses features only available in iPhone SDK 3.0 and later."
+#endif
+
+#ifdef __OBJC__
+ #import <UIKit/UIKit.h>
+ #import <Foundation/Foundation.h>
+#endif
View
17 TestMyFramework/TestMyFrameworkAppDelegate.h
@@ -0,0 +1,17 @@
+//
+// TestMyFrameworkAppDelegate.h
+// TestMyFramework
+//
+// Created by Everton Ribeiro on 7/12/11.
+// Copyright 2011 Abril. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface TestMyFrameworkAppDelegate : NSObject <UIApplicationDelegate> {
+
+}
+
+@property (nonatomic, retain) IBOutlet UIWindow *window;
+
+@end
View
70 TestMyFramework/TestMyFrameworkAppDelegate.m
@@ -0,0 +1,70 @@
+//
+// TestMyFrameworkAppDelegate.m
+// TestMyFramework
+//
+// Created by Everton Ribeiro on 7/12/11.
+// Copyright 2011 Abril. All rights reserved.
+//
+
+#import "TestMyFrameworkAppDelegate.h"
+#import <MyFramework/MyLog.h>
+
+@implementation TestMyFrameworkAppDelegate
+
+
+@synthesize window=_window;
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
+{
+ [MyLog logString:@"log...."];
+ // Override point for customization after application launch.
+ [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:.
+ */
+}
+
+- (void)dealloc
+{
+ [_window release];
+ [super dealloc];
+}
+
+@end
View
2 TestMyFramework/en.lproj/InfoPlist.strings
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
View
198 TestMyFramework/en.lproj/MainWindow.xib
@@ -0,0 +1,198 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
+ <data>
+ <int key="IBDocument.SystemTarget">800</int>
+ <string key="IBDocument.SystemVersion">10D540</string>
+ <string key="IBDocument.InterfaceBuilderVersion">760</string>
+ <string key="IBDocument.AppKitVersion">1038.29</string>
+ <string key="IBDocument.HIToolboxVersion">460.00</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="NS.object.0">81</string>
+ </object>
+ <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <integer value="2"/>
+ </object>
+ <object class="NSArray" key="IBDocument.PluginDependencies">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </object>
+ <object class="NSMutableDictionary" key="IBDocument.Metadata">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys" id="0">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBProxyObject" id="841351856">
+ <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBProxyObject" id="427554174">
+ <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBUICustomObject" id="664661524">
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBUIWindow" id="380026005">
+ <reference key="NSNextResponder"/>
+ <int key="NSvFlags">1316</int>
+ <object class="NSPSMatrix" key="NSFrameMatrix"/>
+ <string key="NSFrameSize">{320, 480}</string>
+ <reference key="NSSuperview"/>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MSAxIDEAA</bytes>
+ </object>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
+ <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <bool key="IBUIResizesToFullScreen">YES</bool>
+ </object>
+ </object>
+ <object class="IBObjectContainer" key="IBDocument.Objects">
+ <object class="NSMutableArray" key="connectionRecords">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">delegate</string>
+ <reference key="source" ref="841351856"/>
+ <reference key="destination" ref="664661524"/>
+ </object>
+ <int key="connectionID">4</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">window</string>
+ <reference key="source" ref="664661524"/>
+ <reference key="destination" ref="380026005"/>
+ </object>
+ <int key="connectionID">5</int>
+ </object>
+ </object>
+ <object class="IBMutableOrderedSet" key="objectRecords">
+ <object class="NSArray" key="orderedObjects">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBObjectRecord">
+ <int key="objectID">0</int>
+ <reference key="object" ref="0"/>
+ <reference key="children" ref="1000"/>
+ <nil key="parent"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">2</int>
+ <reference key="object" ref="380026005"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-1</int>
+ <reference key="object" ref="841351856"/>
+ <reference key="parent" ref="0"/>
+ <string key="objectName">File's Owner</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">3</int>
+ <reference key="object" ref="664661524"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-2</int>
+ <reference key="object" ref="427554174"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="flattenedProperties">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>-1.CustomClassName</string>
+ <string>-2.CustomClassName</string>
+ <string>2.IBAttributePlaceholdersKey</string>
+ <string>2.IBEditorWindowLastContentRect</string>
+ <string>2.IBPluginDependency</string>
+ <string>3.CustomClassName</string>
+ <string>3.IBPluginDependency</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>UIApplication</string>
+ <string>UIResponder</string>
+ <object class="NSMutableDictionary">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference key="dict.sortedKeys" ref="0"/>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ <string>{{198, 376}, {320, 480}}</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>TestMyFrameworkAppDelegate</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="unlocalizedProperties">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference key="dict.sortedKeys" ref="0"/>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ <nil key="activeLocalization"/>
+ <object class="NSMutableDictionary" key="localizations">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference key="dict.sortedKeys" ref="0"/>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ <nil key="sourceID"/>
+ <int key="maxID">9</int>
+ </object>
+ <object class="IBClassDescriber" key="IBDocument.Classes">
+ <object class="NSMutableArray" key="referencedPartialClassDescriptions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBPartialClassDescription">
+ <string key="className">TestMyFrameworkAppDelegate</string>
+ <string key="superclassName">NSObject</string>
+ <object class="NSMutableDictionary" key="outlets">
+ <string key="NS.key.0">window</string>
+ <string key="NS.object.0">UIWindow</string>
+ </object>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">TestMyFrameworkAppDelegate.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">TestMyFrameworkAppDelegate</string>
+ <string key="superclassName">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBUserSource</string>
+ <string key="minorKey"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <int key="IBDocument.localizationMode">0</int>
+ <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
+ <integer value="3100" key="NS.object.0"/>
+ </object>
+ <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
+ <string key="IBDocument.LastKnownRelativeProjectPath">MyFramework.xcodeproj</string>
+ <int key="IBDocument.defaultPropertyAccessControl">3</int>
+ <string key="IBCocoaTouchPluginVersion">81</string>
+ </data>
+</archive>
View
17 TestMyFramework/main.m
@@ -0,0 +1,17 @@
+//
+// main.m
+// TestMyFramework
+//
+// Created by Everton Ribeiro on 7/12/11.
+// Copyright 2011 Abril. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+int main(int argc, char *argv[])
+{
+ NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
+ int retVal = UIApplicationMain(argc, argv, nil, nil);
+ [pool release];
+ return retVal;
+}

0 comments on commit 8378cd3

Please sign in to comment.
Something went wrong with that request. Please try again.