Saturday 15 August 2015

map - Adding AppDelegate.h and AppDelegate.m info in Swift -



map - Adding AppDelegate.h and AppDelegate.m info in Swift -

hi starting in swift , taking ipad app , creating iphone version. trying add together annotations map in swift , need add together info appdelegate.h , .m work in swift there no appdelegate.h or .m . how work?

here has go appdelegates

.h #import <uikit/uikit.h> @class annotationviewcontroller; @interface annotationappdelegate : nsobject <uiapplicationdelegate> { } @property (nonatomic, retain) iboutlet uiwindow *window; @property (nonatomic, retain) iboutlet annotationviewcontroller *viewcontroller; @end .m #import "annotationappdelegate.h" #import "annotationviewcontroller.h" @implementation annotationappdelegate @synthesize window=_window; @synthesize viewcontroller=_viewcontroller; - (bool)application:(uiapplication *)application didfinishlaunchingwithoptions:(nsdictionary *)launchoptions { // override point customization after application launch. self.window.rootviewcontroller = self.viewcontroller; [self.window makekeyandvisible]; homecoming yes; }

please help..under tight deadline thanks.

swift map annotations appdelegate

No comments:

Post a Comment