summaryrefslogtreecommitdiff
path: root/platform/darwin/src/NSBundle+MGLAdditions.h
Commit message (Collapse)AuthorAgeFilesLines
* [ios, osx] Made localizable strings unique; unlocalized iosappMinh Nguyễn2016-04-241-0/+4
| | | | | | Assigned unique IDs to localizable English strings in code. Made iosapp non-localizable. For the time being, it isn’t worth the trouble to localize more strings for this demo application than for the SDK itself.
* [ios] Made SDK and iosapp localizableMinh Nguyễn2016-04-241-0/+19
| | | | | | | | | | Made storyboards and strings throughout the SDK and iosapp localizable. Replaced the compass image with an unlabeled image. Draw a localizable string atop it at runtime. Redefined NSLocalizedString() and NSLocalizedStringFromTable() macros to look at the SDK bundle rather than the main application bundle. This redefinition has no effect on the host application, because it’s in an internal header. That header must be included in all files that contain localizable strings. See NSBundle+MGLAdditions.h for a full explanation. Added a make rule that runs genstrings and ensures UTF-8 output (since genstrings insists on UTF-16). Use MGLCoordinateFormatter in iosapp for dropped pin callouts. Rely on subclasses of MGLPointAnnotation instead of annotation titles to distinguish between different kinds of point annotations.
* [ios] Removed alternative to -ObjCMinh Nguyễn2016-04-161-2/+0
| | | | | | Xcode’s static library template comes with the -ObjC linker flag by default. Instead of removing that flag, this change removes the various imperfect workarounds we’ve been using to ensure that private SDK categories link. Given the size decrease in this static library since #2966 was fixed, we should have room to spare for the more straightforward approach. Moreover, an application that uses MGLMapView in a storyboard no longer needs to add -ObjC to the application target, which bloated the entire application, including other frameworks that had no need for -ObjC. -ObjC isn’t even needed for dynamic frameworks, and the OS X SDK is only built as a dynamic framework.
* [osx] Added OS X support for offline downloadsMinh Nguyễn2016-03-101-0/+24