Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
229 changed files
with
29,617 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,211 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.02"> | |||
<data> | |||
<int key="IBDocument.SystemTarget">528</int> | |||
<string key="IBDocument.SystemVersion">9E17</string> | |||
<string key="IBDocument.InterfaceBuilderVersion">672</string> | |||
<string key="IBDocument.AppKitVersion">949.33</string> | |||
<string key="IBDocument.HIToolboxVersion">352.00</string> | |||
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> | |||
<bool key="EncodedWithXMLCoder">YES</bool> | |||
<integer value="12"/> | |||
</object> | |||
<object class="NSArray" key="IBDocument.PluginDependencies"> | |||
<bool key="EncodedWithXMLCoder">YES</bool> | |||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | |||
</object> | |||
<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> | |||
<bool key="EncodedWithXMLCoder">YES</bool> | |||
<object class="IBProxyObject" id="841351856"> | |||
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string> | |||
</object> | |||
<object class="IBProxyObject" id="427554174"> | |||
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string> | |||
</object> | |||
<object class="IBUICustomObject" id="664661524"/> | |||
<object class="IBUIViewController" id="943309135"> | |||
<string key="IBUINibName">MapViewViewController</string> | |||
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/> | |||
</object> | |||
<object class="IBUIWindow" id="117978783"> | |||
<reference key="NSNextResponder"/> | |||
<int key="NSvFlags">292</int> | |||
<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"/> | |||
<bool key="IBUIVisibleAtLaunch">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">viewController</string> | |||
<reference key="source" ref="664661524"/> | |||
<reference key="destination" ref="943309135"/> | |||
</object> | |||
<int key="connectionID">11</int> | |||
</object> | |||
<object class="IBConnectionRecord"> | |||
<object class="IBCocoaTouchOutletConnection" key="connection"> | |||
<string key="label">window</string> | |||
<reference key="source" ref="664661524"/> | |||
<reference key="destination" ref="117978783"/> | |||
</object> | |||
<int key="connectionID">14</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> | |||
<object class="NSArray" key="object" id="957960031"> | |||
<bool key="EncodedWithXMLCoder">YES</bool> | |||
</object> | |||
<reference key="children" ref="1000"/> | |||
<nil key="parent"/> | |||
</object> | |||
<object class="IBObjectRecord"> | |||
<int key="objectID">-1</int> | |||
<reference key="object" ref="841351856"/> | |||
<reference key="parent" ref="957960031"/> | |||
<string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string> | |||
</object> | |||
<object class="IBObjectRecord"> | |||
<int key="objectID">3</int> | |||
<reference key="object" ref="664661524"/> | |||
<reference key="parent" ref="957960031"/> | |||
<string key="objectName">MapView App Delegate</string> | |||
</object> | |||
<object class="IBObjectRecord"> | |||
<int key="objectID">-2</int> | |||
<reference key="object" ref="427554174"/> | |||
<reference key="parent" ref="957960031"/> | |||
</object> | |||
<object class="IBObjectRecord"> | |||
<int key="objectID">10</int> | |||
<reference key="object" ref="943309135"/> | |||
<reference key="parent" ref="957960031"/> | |||
</object> | |||
<object class="IBObjectRecord"> | |||
<int key="objectID">12</int> | |||
<reference key="object" ref="117978783"/> | |||
<object class="NSMutableArray" key="children"> | |||
<bool key="EncodedWithXMLCoder">YES</bool> | |||
</object> | |||
<reference key="parent" ref="957960031"/> | |||
</object> | |||
</object> | |||
</object> | |||
<object class="NSMutableDictionary" key="flattenedProperties"> | |||
<bool key="EncodedWithXMLCoder">YES</bool> | |||
<object class="NSMutableArray" key="dict.sortedKeys"> | |||
<bool key="EncodedWithXMLCoder">YES</bool> | |||
<string>-1.CustomClassName</string> | |||
<string>-2.CustomClassName</string> | |||
<string>10.CustomClassName</string> | |||
<string>10.IBEditorWindowLastContentRect</string> | |||
<string>10.IBPluginDependency</string> | |||
<string>12.IBEditorWindowLastContentRect</string> | |||
<string>12.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>MapViewViewController</string> | |||
<string>{{579, 209}, {320, 480}}</string> | |||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | |||
<string>{{522, 321}, {320, 480}}</string> | |||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | |||
<string>MapViewAppDelegate</string> | |||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | |||
</object> | |||
</object> | |||
<object class="NSMutableDictionary" key="unlocalizedProperties"> | |||
<bool key="EncodedWithXMLCoder">YES</bool> | |||
<object class="NSArray" key="dict.sortedKeys"> | |||
<bool key="EncodedWithXMLCoder">YES</bool> | |||
</object> | |||
<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> | |||
<object class="NSArray" key="dict.sortedKeys"> | |||
<bool key="EncodedWithXMLCoder">YES</bool> | |||
</object> | |||
<object class="NSMutableArray" key="dict.values"> | |||
<bool key="EncodedWithXMLCoder">YES</bool> | |||
</object> | |||
</object> | |||
<nil key="sourceID"/> | |||
<int key="maxID">15</int> | |||
</object> | |||
<object class="IBClassDescriber" key="IBDocument.Classes"> | |||
<object class="NSMutableArray" key="referencedPartialClassDescriptions"> | |||
<bool key="EncodedWithXMLCoder">YES</bool> | |||
<object class="IBPartialClassDescription"> | |||
<string key="className">MapViewAppDelegate</string> | |||
<string key="superclassName">NSObject</string> | |||
<object class="NSMutableDictionary" key="outlets"> | |||
<bool key="EncodedWithXMLCoder">YES</bool> | |||
<object class="NSMutableArray" key="dict.sortedKeys"> | |||
<bool key="EncodedWithXMLCoder">YES</bool> | |||
<string>viewController</string> | |||
<string>window</string> | |||
</object> | |||
<object class="NSMutableArray" key="dict.values"> | |||
<bool key="EncodedWithXMLCoder">YES</bool> | |||
<string>MapViewViewController</string> | |||
<string>UIWindow</string> | |||
</object> | |||
</object> | |||
<object class="IBClassDescriptionSource" key="sourceIdentifier"> | |||
<string key="majorKey">IBProjectSource</string> | |||
<string key="minorKey">Classes/MapViewAppDelegate.h</string> | |||
</object> | |||
</object> | |||
<object class="IBPartialClassDescription"> | |||
<string key="className">MapViewAppDelegate</string> | |||
<string key="superclassName">NSObject</string> | |||
<object class="IBClassDescriptionSource" key="sourceIdentifier"> | |||
<string key="majorKey">IBUserSource</string> | |||
<string key="minorKey"/> | |||
</object> | |||
</object> | |||
<object class="IBPartialClassDescription"> | |||
<string key="className">MapViewViewController</string> | |||
<string key="superclassName">UIViewController</string> | |||
<object class="IBClassDescriptionSource" key="sourceIdentifier"> | |||
<string key="majorKey">IBProjectSource</string> | |||
<string key="minorKey">Classes/MapViewViewController.h</string> | |||
</object> | |||
</object> | |||
</object> | |||
</object> | |||
<int key="IBDocument.localizationMode">0</int> | |||
<string key="IBDocument.LastKnownRelativeProjectPath">MapView.xcodeproj</string> | |||
<int key="IBDocument.defaultPropertyAccessControl">3</int> | |||
</data> | |||
</archive> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,22 @@ | |||
// | |||
// MapViewAppDelegate.h | |||
// MapView | |||
// | |||
// Created by Joseph Gentle on 17/09/08. | |||
// Copyright __MyCompanyName__ 2008. All rights reserved. | |||
// | |||
|
|||
#import <UIKit/UIKit.h> | |||
|
|||
@class MapViewViewController; | |||
|
|||
@interface MapViewAppDelegate : NSObject <UIApplicationDelegate> { | |||
UIWindow *window; | |||
MapViewViewController *viewController; | |||
} | |||
|
|||
@property (nonatomic, retain) IBOutlet UIWindow *window; | |||
@property (nonatomic, retain) IBOutlet MapViewViewController *viewController; | |||
|
|||
@end | |||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,37 @@ | |||
// | |||
// MapViewAppDelegate.m | |||
// MapView | |||
// | |||
// Created by Joseph Gentle on 17/09/08. | |||
// Copyright __MyCompanyName__ 2008. All rights reserved. | |||
// | |||
|
|||
#import "MapViewAppDelegate.h" | |||
#import "MapViewViewController.h" | |||
#import "RMMapView.h" | |||
|
|||
@implementation MapViewAppDelegate | |||
|
|||
@synthesize window; | |||
@synthesize viewController; | |||
|
|||
|
|||
- (void)applicationDidFinishLaunching:(UIApplication *)application { | |||
|
|||
// Make sure it doesn't strip mapview. | |||
[RMMapView class]; | |||
|
|||
// Override point for customization after app launch | |||
[window addSubview:viewController.view]; | |||
[window makeKeyAndVisible]; | |||
} | |||
|
|||
|
|||
- (void)dealloc { | |||
[viewController release]; | |||
[window release]; | |||
[super dealloc]; | |||
} | |||
|
|||
|
|||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,16 @@ | |||
// | |||
// MapViewViewController.h | |||
// MapView | |||
// | |||
// Created by Joseph Gentle on 17/09/08. | |||
// Copyright __MyCompanyName__ 2008. All rights reserved. | |||
// | |||
|
|||
#import <UIKit/UIKit.h> | |||
|
|||
@interface MapViewViewController : UIViewController { | |||
|
|||
} | |||
|
|||
@end | |||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,56 @@ | |||
// | |||
// MapViewViewController.m | |||
// MapView | |||
// | |||
// Created by Joseph Gentle on 17/09/08. | |||
// Copyright __MyCompanyName__ 2008. All rights reserved. | |||
// | |||
|
|||
#import "MapViewViewController.h" | |||
|
|||
@implementation MapViewViewController | |||
|
|||
|
|||
|
|||
/* | |||
// Override initWithNibName:bundle: to load the view using a nib file then perform additional customization that is not appropriate for viewDidLoad. | |||
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { | |||
if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) { | |||
// Custom initialization | |||
} | |||
return self; | |||
} | |||
*/ | |||
|
|||
/* | |||
// Implement loadView to create a view hierarchy programmatically. | |||
- (void)loadView { | |||
} | |||
*/ | |||
|
|||
|
|||
/* | |||
// Implement viewDidLoad to do additional setup after loading the view. | |||
- (void)viewDidLoad { | |||
[super viewDidLoad]; | |||
} | |||
*/ | |||
|
|||
|
|||
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { | |||
// Return YES for supported orientations | |||
return (interfaceOrientation == UIInterfaceOrientationPortrait); | |||
} | |||
|
|||
|
|||
- (void)didReceiveMemoryWarning { | |||
[super didReceiveMemoryWarning]; // Releases the view if it doesn't have a superview | |||
// Release anything that's not essential, such as cached data | |||
} | |||
|
|||
|
|||
- (void)dealloc { | |||
[super dealloc]; | |||
} | |||
|
|||
@end |
Oops, something went wrong.