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
Post a Comment