ios - Methods/Functions/ .h and .m files -


i want create .h , .m files @property latitude , longitude , return these values - how best done ? can create method sends variables , returns variables don't want send variables - recieving lat/long. hows best done ? best create .m , .h file or best create method ? if can provide me sample code.

thanks lot jason

use cllocationcoordinate2d wrap lat/long values in 1 property.

you'll need #import <corelocation/corelocation.h>


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -