iphone code not firing -


i have class im using , cant code fire

weatherserver.m ----------------------  - (nsarray *)weatheritemsformapregion:(mkcoordinateregion)region maximumcount:(nsinteger)maxcount { //code not firing }     myviewcontroller.h ----------------------- @class weatherserver;  @interface mapview : uiviewcontroller <mkmapviewdelegate, uitextfielddelegate, cllocationmanagerdelegate, adbannerviewdelegate> {  weatherserver *weatherserver; }  @property(nonatomic, retain) iboutlet weatherserver *weatherserver;  @end     myviewcontroller.m ----------------------  #import "weatherserver.h" @implementation mapview  @synthesize weatherserver;  - (void)mapview:(mkmapview *)map regiondidchangeanimated:(bool)animated { nsarray *weatheritems = [weatherserver weatheritemsformapregion:mapview.region maximumcount:300];     [mapview addannotations:weatheritems]; }  @end 

regiondidchangeanimated fires ok however, code in weatheritemsformapregion never gets fired.

i figured out going on.

i had been initializing class via interface builder did iphone .xib , not ipad .xib.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -