ios5 - XCode 4.2 Storyboard View not connecting to A class -



ios5 - XCode 4.2 Storyboard View not connecting to A class -

i have problem storyboard in xcode 4.2.

the storyboard runs , have no code errors.

i have connected 1 view of app class defining class in 'show identity inspector' area. have iboutlet's in class have been able connect using storyboard view, it's not case view , class not connected.

however when seek code on view app won't work. i.e none of methods making changes app. have tried stripping downwards , doing simple, it's not affecting @ all.

my thoughts maybe view controller identifier might have include in code, can't find says that.

any help fantastic.

#import <uikit/uikit.h> #import <mapkit/mapkit.h> #import <corelocation/corelocation.h> @interface mapview : uiviewcontroller <uiapplicationdelegate, cllocationmanagerdelegate> { cllocationmanager *locationmanager; iboutlet mkmapview *mapview; iboutlet uitextfield *text; iboutlet uisegmentedcontrol *seg; iboutlet uiactivityindicatorview *activityindicator; } @property (nonatomic, retain) iboutlet uiwindow *window; /*- (void)findlocation; - (void)foundlocation:(cllocation *)loc; - (ibaction)changemaptype:(id)sender;*/ @end

and .m

#import "mapview.h" #import "mappoint.h" @implementation mapview @synthesize window=_window; - (bool)application:(uiapplication *)application didfinishlaunchingwithoptions:(nsdictionary *)launchoptions { locationmanager = [[cllocationmanager alloc] init]; [locationmanager setdelegate:self]; [locationmanager setdistancefilter:kcldistancefilternone]; [locationmanager setdesiredaccuracy:kcllocationaccuracybest]; //[locationmanager startupdatinglocation]; [mapview setshowsuserlocation:yes]; [self.window makekeyandvisible]; homecoming yes; } - (void)locationmanager:(cllocationmanager *)manager didupdatetolocation:(cllocation *)newlocation fromlocation:(cllocation *)oldlocation { nslog(@"%@", newlocation); } -(void)locationmanager:(cllocationmanager *) manager didfailwitherror:(nserror *)error { nslog(@"could not find location: %@", error); } @end

ios5 xcode4.2 storyboard

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -