swift version for objective-c sample LocateMe