This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // setup geolocation purpose and accuracy | |
| Ti.Geolocation.accuracy = Ti.Geolocation.ACCURACY_BEST; | |
| Ti.Geolocation.purpose = L('geo-purpose'); | |
| // setup map and poi's annotation | |
| var latitude = 48.847684, | |
| longitude = 2.35165; | |
| var annotation = Titanium.Map.createAnnotation({ | |
| animate: true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| static NSString *SQLNullValueString = [[NSString alloc] initWithString:@"NULL"]; | |
| /* Prototypes */ | |
| NSString *SQLWhereClauseForPredictate(NSPredicate *predicate); | |
| NSString *SQLExpressionForNSExpression(NSExpression *expression); | |
| /* Implementation */ |