diff options
Diffstat (limited to 'xcode/iPhoneOS/tinySAKTest')
-rw-r--r-- | xcode/iPhoneOS/tinySAKTest/AppDelegate.h | 11 | ||||
-rw-r--r-- | xcode/iPhoneOS/tinySAKTest/AppDelegate.m | 246 | ||||
-rw-r--r-- | xcode/iPhoneOS/tinySAKTest/Info.plist | 30 | ||||
-rw-r--r-- | xcode/iPhoneOS/tinySAKTest/MainWindow.xib | 404 | ||||
-rw-r--r-- | xcode/iPhoneOS/tinySAKTest/main.m | 16 |
5 files changed, 707 insertions, 0 deletions
diff --git a/xcode/iPhoneOS/tinySAKTest/AppDelegate.h b/xcode/iPhoneOS/tinySAKTest/AppDelegate.h new file mode 100644 index 0000000..df85acc --- /dev/null +++ b/xcode/iPhoneOS/tinySAKTest/AppDelegate.h @@ -0,0 +1,11 @@ +#import <UIKit/UIKit.h> + +@interface AppDelegate : NSObject <UIApplicationDelegate> { + UIWindow *window; +} + +@property (nonatomic, retain) IBOutlet UIWindow *window; + +- (IBAction)start:(id)sender; + +@end diff --git a/xcode/iPhoneOS/tinySAKTest/AppDelegate.m b/xcode/iPhoneOS/tinySAKTest/AppDelegate.m new file mode 100644 index 0000000..fdd849e --- /dev/null +++ b/xcode/iPhoneOS/tinySAKTest/AppDelegate.m @@ -0,0 +1,246 @@ +#import "AppDelegate.h" + +#include "tsk.h" + +#define RUN_TEST_ALL 1 +#define RUN_TEST_LISTS 0 +#define RUN_TEST_HEAP 0 +#define RUN_TEST_STRINGS 0 +#define RUN_TEST_URL 0 +#define RUN_TEST_THREADS 0 +#define RUN_TEST_MUTEX 0 +#define RUN_TEST_CONDWAIT 0 +#define RUN_TEST_SEMAPHORE 0 /* FIXME: android */ +#define RUN_TEST_SAFEOBJECT 0 +#define RUN_TEST_OBJECT 0 +#define RUN_TEST_PARAMS 1 +#define RUN_TEST_OPTIONS 0 +#define RUN_TEST_TIMER 1 +#define RUN_TEST_RUNNABLE 0 +#define RUN_TEST_BUFFER 0 +#define RUN_TEST_MD5 0 +#define RUN_TEST_SHA1 0 +#define RUN_TEST_BASE64 0 +#define RUN_TEST_UUID 0 +#define RUN_TEST_FSM 0 + +#if RUN_TEST_LISTS || RUN_TEST_ALL +#include "test_lists.h" +#endif + +#if RUN_TEST_HEAP || RUN_TEST_ALL +#include "test_heap.h" +#endif + +#if RUN_TEST_STRINGS || RUN_TEST_ALL +#include "test_strings.h" +#endif + +#if RUN_TEST_URL || RUN_TEST_ALL +#include "test_url.h" +#endif + +#if RUN_TEST_THREADS || RUN_TEST_ALL +#include "test_threads.h" +#endif + +#if RUN_TEST_MUTEX || RUN_TEST_ALL +#include "test_mutex.h" +#endif + +#if RUN_TEST_CONDWAIT || RUN_TEST_ALL +#include "test_condwait.h" +#endif + +#if RUN_TEST_SEMAPHORE || RUN_TEST_ALL +#include "test_semaphore.h" +#endif + +#if RUN_TEST_SAFEOBJECT || RUN_TEST_ALL +//#include "test_safeobject.h" +#endif + +#if RUN_TEST_OBJECT || RUN_TEST_ALL +#include "test_object.h" +#endif + +#if RUN_TEST_PARAMS || RUN_TEST_ALL +#include "test_params.h" +#endif + +#if RUN_TEST_OPTIONS || RUN_TEST_ALL +#include "test_options.h" +#endif + +#if RUN_TEST_TIMER || RUN_TEST_ALL +#include "test_timer.h" +#endif + +#if RUN_TEST_RUNNABLE || RUN_TEST_ALL +#include "test_runnable.h" +#endif + +#if RUN_TEST_BUFFER || RUN_TEST_ALL +#include "test_buffer.h" +#endif + +#if RUN_TEST_MD5 || RUN_TEST_ALL +#include "test_md5.h" +#endif + +#if RUN_TEST_SHA1 || RUN_TEST_ALL +#include "test_sha1.h" +#endif + +#if RUN_TEST_BASE64 || RUN_TEST_ALL +#include "test_base64.h" +#endif + +#if RUN_TEST_UUID || RUN_TEST_ALL +#include "test_uuid.h" +#endif + +#if RUN_TEST_FSM || RUN_TEST_ALL +#include "test_fsm.h" +#endif + +@implementation AppDelegate + +@synthesize window; + +- (void)applicationDidFinishLaunching:(UIApplication *)application { + // Override point for customization after application launch + [window makeKeyAndVisible]; +} + +- (void)dealloc { + [window release]; + [super dealloc]; + + NSIndexPath *path = [NSIndexPath indexPathWithIndex:1]; +} + +- (IBAction)start:(id)sender { +#if RUN_TEST_LISTS || RUN_TEST_ALL + /* linked lists */ + test_basic_list(); + printf("\n\n"); + test_complex_list(); + printf("\n\n"); + test_filtered_list(); + printf("\n\n"); +#endif + +#if RUN_TEST_HEAP || RUN_TEST_ALL + /* heap */ + test_heap(); + printf("\n\n"); +#endif + +#if RUN_TEST_STRINGS || RUN_TEST_ALL + /* strings */ + test_strings(); + printf("\n\n"); +#endif + +#if RUN_TEST_URL || RUN_TEST_ALL + /* url */ + test_url(); + printf("\n\n"); +#endif + +#if RUN_TEST_THREADS || RUN_TEST_ALL + /* threads */ + test_threads(); + printf("\n\n"); +#endif + +#if RUN_TEST_MUTEX || RUN_TEST_ALL + /* mutex */ + test_mutex(); + printf("\n\n"); +#endif + +#if RUN_TEST_CONDWAIT || RUN_TEST_ALL + /* condwait */ + test_condwait(); + printf("\n\n"); +#endif + +#if RUN_TEST_SEMAPHORE || RUN_TEST_ALL + /* semaphore */ + test_semaphore(); + printf("\n\n"); +#endif + +#if RUN_TEST_SAFEOBJECT || RUN_TEST_ALL + /* safe object */ + //test_safeobject(); + printf("\n\n"); +#endif + +#if RUN_TEST_OBJECT || RUN_TEST_ALL + /* object */ + //test_object(); + printf("\n\n"); +#endif + +#if RUN_TEST_PARAMS || RUN_TEST_ALL + /* parameters */ + test_params(); + printf("\n\n"); +#endif + +#if RUN_TEST_OPTIONS || RUN_TEST_ALL + /* options */ + test_options(); + printf("\n\n"); +#endif + +#if RUN_TEST_TIMER || RUN_TEST_ALL + /* timer */ + test_timer(); + printf("\n\n"); +#endif + +#if RUN_TEST_RUNNABLE || RUN_TEST_ALL + /* test runnable. */ + test_runnable(); + printf("\n\n"); +#endif + + +#if RUN_TEST_BUFFER || RUN_TEST_ALL + /* test buffer */ + test_buffer(); +#endif + +#if RUN_TEST_MD5 || RUN_TEST_ALL + /* test md5 and hmac_md5 */ + test_md5(); + test_hmac_md5(); +#endif + +#if RUN_TEST_SHA1 || RUN_TEST_ALL + /* test sha1 and hmac_sha-1 */ + test_sha1(); + test_hmac_sha1(); +#endif + +#if RUN_TEST_BASE64 || RUN_TEST_ALL + /* test base64 encoding/decoding */ + test_base64(); +#endif + +#if RUN_TEST_UUID || RUN_TEST_ALL + /* test fake UUID (version5) */ + test_uuid(); +#endif + +#if RUN_TEST_FSM || RUN_TEST_ALL + /* test FSM */ + test_fsm(); +#endif +} + +@end diff --git a/xcode/iPhoneOS/tinySAKTest/Info.plist b/xcode/iPhoneOS/tinySAKTest/Info.plist new file mode 100644 index 0000000..b13e4ba --- /dev/null +++ b/xcode/iPhoneOS/tinySAKTest/Info.plist @@ -0,0 +1,30 @@ +<?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>English</string> + <key>CFBundleDisplayName</key> + <string>${PRODUCT_NAME}</string> + <key>CFBundleExecutable</key> + <string>${EXECUTABLE_NAME}</string> + <key>CFBundleIconFile</key> + <string></string> + <key>CFBundleIdentifier</key> + <string>org.doubango.tests</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>${PRODUCT_NAME}</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleVersion</key> + <string>1.0</string> + <key>LSRequiresIPhoneOS</key> + <true/> + <key>NSMainNibFile</key> + <string>MainWindow</string> +</dict> +</plist> diff --git a/xcode/iPhoneOS/tinySAKTest/MainWindow.xib b/xcode/iPhoneOS/tinySAKTest/MainWindow.xib new file mode 100644 index 0000000..ea2d721 --- /dev/null +++ b/xcode/iPhoneOS/tinySAKTest/MainWindow.xib @@ -0,0 +1,404 @@ +<?xml version="1.0" encoding="UTF-8"?> +<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10"> + <data> + <int key="IBDocument.SystemTarget">1024</int> + <string key="IBDocument.SystemVersion">10D573</string> + <string key="IBDocument.InterfaceBuilderVersion">786</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">112</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="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="IBUIButton" id="551698128"> + <reference key="NSNextResponder" ref="380026005"/> + <int key="NSvFlags">1316</int> + <string key="NSFrame">{{20, 423}, {280, 37}}</string> + <reference key="NSSuperview" ref="380026005"/> + <bool key="IBUIOpaque">NO</bool> + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> + <int key="IBUIContentHorizontalAlignment">0</int> + <int key="IBUIContentVerticalAlignment">0</int> + <object class="NSFont" key="IBUIFont"> + <string key="NSName">Helvetica-Bold</string> + <double key="NSSize">15</double> + <int key="NSfFlags">16</int> + </object> + <int key="IBUIButtonType">1</int> + <string key="IBUINormalTitle">Test !!!</string> + <object class="NSColor" key="IBUIHighlightedTitleColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MQA</bytes> + </object> + <object class="NSColor" key="IBUINormalTitleColor"> + <int key="NSColorSpace">1</int> + <bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes> + </object> + <object class="NSColor" key="IBUINormalTitleShadowColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC41AA</bytes> + </object> + </object> + <object class="IBUILabel" id="554491934"> + <reference key="NSNextResponder" ref="380026005"/> + <int key="NSvFlags">1316</int> + <string key="NSFrame">{{20, 40}, {280, 29}}</string> + <reference key="NSSuperview" ref="380026005"/> + <bool key="IBUIOpaque">NO</bool> + <bool key="IBUIClipsSubviews">YES</bool> + <int key="IBUIContentMode">7</int> + <bool key="IBUIUserInteractionEnabled">NO</bool> + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> + <string key="IBUIText">tinySAK</string> + <object class="NSFont" key="IBUIFont"> + <string key="NSName">Helvetica</string> + <double key="NSSize">24</double> + <int key="NSfFlags">16</int> + </object> + <object class="NSColor" key="IBUITextColor"> + <int key="NSColorSpace">1</int> + <bytes key="NSRGB">MCAwIDAAA</bytes> + </object> + <nil key="IBUIHighlightedColor"/> + <int key="IBUIBaselineAdjustment">1</int> + <float key="IBUIMinimumFontSize">10</float> + <int key="IBUITextAlignment">1</int> + </object> + </object> + <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> + </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">12</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBCocoaTouchEventConnection" key="connection"> + <string key="label">start:</string> + <reference key="source" ref="551698128"/> + <reference key="destination" ref="664661524"/> + <int key="IBEventType">7</int> + </object> + <int key="connectionID">16</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> + <reference ref="551698128"/> + <reference ref="554491934"/> + </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 class="IBObjectRecord"> + <int key="objectID">15</int> + <reference key="object" ref="551698128"/> + <reference key="parent" ref="380026005"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">17</int> + <reference key="object" ref="554491934"/> + <reference key="parent" ref="380026005"/> + </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>15.IBPluginDependency</string> + <string>17.IBPluginDependency</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> + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</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>{{424, 97}, {320, 480}}</string> + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> + <string>AppDelegate</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">17</int> + </object> + <object class="IBClassDescriber" key="IBDocument.Classes"> + <object class="NSMutableArray" key="referencedPartialClassDescriptions"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="IBPartialClassDescription"> + <string key="className">AppDelegate</string> + <string key="superclassName">NSObject</string> + <object class="NSMutableDictionary" key="actions"> + <string key="NS.key.0">start:</string> + <string key="NS.object.0">id</string> + </object> + <object class="NSMutableDictionary" key="actionInfosByName"> + <string key="NS.key.0">start:</string> + <object class="IBActionInfo" key="NS.object.0"> + <string key="name">start:</string> + <string key="candidateClassName">id</string> + </object> + </object> + <object class="NSMutableDictionary" key="outlets"> + <string key="NS.key.0">window</string> + <string key="NS.object.0">UIWindow</string> + </object> + <object class="NSMutableDictionary" key="toOneOutletInfosByName"> + <string key="NS.key.0">window</string> + <object class="IBToOneOutletInfo" key="NS.object.0"> + <string key="name">window</string> + <string key="candidateClassName">UIWindow</string> + </object> + </object> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">tinyNETTest/AppDelegate.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">AppDelegate</string> + <string key="superclassName">NSObject</string> + <object class="NSMutableDictionary" key="actions"> + <string key="NS.key.0">start:</string> + <string key="NS.object.0">id</string> + </object> + <object class="NSMutableDictionary" key="actionInfosByName"> + <string key="NS.key.0">start:</string> + <object class="IBActionInfo" key="NS.object.0"> + <string key="name">start:</string> + <string key="candidateClassName">id</string> + </object> + </object> + <object class="NSMutableDictionary" key="outlets"> + <string key="NS.key.0">window</string> + <string key="NS.object.0">UIWindow</string> + </object> + <object class="NSMutableDictionary" key="toOneOutletInfosByName"> + <string key="NS.key.0">window</string> + <object class="IBToOneOutletInfo" key="NS.object.0"> + <string key="name">window</string> + <string key="candidateClassName">UIWindow</string> + </object> + </object> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">tinySAKTest/AppDelegate.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">AppDelegate</string> + <string key="superclassName">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBUserSource</string> + <string key="minorKey"/> + </object> + </object> + </object> + <object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">Foundation.framework/Headers/NSError.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">Foundation.framework/Headers/NSFileManager.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">Foundation.framework/Headers/NSKeyValueCoding.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">Foundation.framework/Headers/NSKeyValueObserving.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">Foundation.framework/Headers/NSKeyedArchiver.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">Foundation.framework/Headers/NSObject.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">Foundation.framework/Headers/NSRunLoop.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">Foundation.framework/Headers/NSThread.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">Foundation.framework/Headers/NSURL.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">Foundation.framework/Headers/NSURLConnection.h</string> + </object> + </object> + </object> + </object> + <int key="IBDocument.localizationMode">0</int> + <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string> + <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults"> + <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string> + <integer value="1024" key="NS.object.0"/> + </object> + <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">../iPhoneOS.xcodeproj</string> + <int key="IBDocument.defaultPropertyAccessControl">3</int> + <string key="IBCocoaTouchPluginVersion">112</string> + </data> +</archive> diff --git a/xcode/iPhoneOS/tinySAKTest/main.m b/xcode/iPhoneOS/tinySAKTest/main.m new file mode 100644 index 0000000..3940f0e --- /dev/null +++ b/xcode/iPhoneOS/tinySAKTest/main.m @@ -0,0 +1,16 @@ +// +// main.m +// TestIPhone01 +// +// Created by Laurent Etiemble on 01/04/10. +// Copyright __MyCompanyName__ 2010. 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; +} |