summaryrefslogtreecommitdiff
path: root/ios
Commit message (Collapse)AuthorAgeFilesLines
* ios-v3.1.0-pre.2ios-v3.1.0-pre.2Minh Nguyễn2016-01-261-1/+1
|
* Cleanup std::chrono usageBruno de Oliveira Abinader2016-01-251-7/+0
| | | | Use mbgl::Duration and mbgl::{,Milli}Seconds whenever possible.
* [ios] Quoted umbrella header importsMinh Nguyễn2016-01-241-18/+18
| | | | Fixes #3300.
* [ios] Split API index from package readmeMinh Nguyễn2016-01-221-0/+9
| | | | The API index page serves a different purpose than the readme. It doesn’t need installation instructions, but it does need a brief What’s New section.
* [ios] Split changelog out from readmeMinh Nguyễn2016-01-221-7/+1
| | | | CocoaPods dings this pod for not having a separate changelog.
* [ios] Polished package readmeMinh Nguyễn2016-01-221-1/+8
| | | | Omit setup instructions for package formats not included in the build output.
* [ios] Rewrote package readmeMinh Nguyễn2016-01-221-2/+61
| | | | The build output’s readme now explains in full detail the installation process, rather than linking to an online resource that may not match the current version. Also cleaned up the tag-finding code to better handle double-digit situations.
* [ios] Updated podspec for 3.1.0-pre.1 and iOS 8+Minh Nguyễn2016-01-221-4/+4
| | | | The pod now requires iOS 8 and above, since iOS 7 lacks support for dynamic frameworks. iOS 7 support can be obtained by downloading and installing the framework manually. Bumped the version number.
* [ios] Refactored build scriptsMinh Nguyễn2016-01-221-1/+1
| | | | | | package.sh now recognizes several environment variables through make that influence the build settings and targets. Info.plist variables are substituted with the correct values in both the static and dynamic frameworks. Fixes #3656.
* [ios] Strip Simulator content when archivingMinh Nguyễn2016-01-221-0/+70
| | | | | | Copied strip-frameworks.sh from realm/realm-cocoa@7cc31db631c323bb649aec1e311693a599a37f05 for realm/realm-cocoa#2759. This script, which is embedded in the dynamic framework, strips out content for invalid architectures from any embedded framework and specifically strips out Simulator content when archiving to work around an App Store bug. Rewrote the iOS setup documentation. In particular, the MAPBOX_ACCESS_TOKEN environment variable is only for use with the iosapp demo application and doesn’t work in third-party applications.
* [ios] Converted iOS SDK into dynamic frameworkMinh Nguyễn2016-01-2211-60/+178
| | | | | | | | | | make iproj now produces a target that pulls together static libraries like core and platform-ios into a real dynamic framework. iosapp is pretty much just a regular iOS application that links Mapbox.framework (except for the inclusion of default_styles.hpp). iosapp runs fine in the Simulator and on a device, and the same is true for any application linking against Mapbox.framework. The ipackage target produces both a Bitcode-disabled static framework and a Bitcode-enabled dynamic framework, eliminating the need for a separate framework.sh. It disables code signing, since that happens on copy when the framework is embedded inside the application bundle. It also merges the device and simulator builds into a single fat framework. Also bumped itest minimum deployment target to iOS 8.0, the first version that supports linking frameworks. Fixes #828.
* [ios] add telemetry debug loggingJason Wray2016-01-201-17/+42
| | | | | | You SHOULD NOT be using telemetry logging on any persons' devices who do not explicitly understand the privacy implications of handling location data.
* [ios] Make demo app's build number more realisticJason Wray2016-01-201-1/+1
| | | | [skipci]
* [ios] Add telemetry setting directly to attribution button action sheetJason Wray2016-01-094-3/+3
| | | | | - Deprecate and no-op `+[MGLAccountManager mapboxMetricsEnabledSettingShownInApp]` - Check for attribution button hiding and make sure ToS are understood
* [ios] Invalidate CADisplayLinkMinh Nguyễn2016-01-071-4/+4
| | | | | | | | | | CADisplayLink holds a strong reference to its target, forming a cycle that must be broken with -[CADisplayLink invalidate] when the animation is complete. I don’t yet have enough faith that will-change and did-change notifications are always coming from mbgl in pairs, so this change limits CADisplayLink to when MGLMapView is in the view hierarchy. It also pauses the CADisplayLink when the view is hidden or the application is in the background. Finally, -[MGLMapView invalidate] has been renamed because that term tends not to mean “redraw” in Cocoa but is rather tied to timers. Fixes #3130. [ios] Also invalidate CADisplayLink on removal from window [ios] Also shut down CADisplayLink when view is hidden
* [ios] Refined custom callout view supportMinh Nguyễn2016-01-063-15/+24
| | | | Renamed MGLCalloutView to MGLCompactCalloutView and MGLCalloutViewProtocol to MGLCalloutView to avoid an awkward workaround for a Swift name collision. Replaced individual title and subtitle properties with a single representedObject property that lets you use custom annotation properties in the custom callout view. Overrode a problematic SMCalloutView method. Added lots more documentation.
* [ios] basic custom callout view on demo appRomain Quidet2016-01-064-2/+137
|
* Happy new year!Minh Nguyễn2016-01-052-2/+2
|
* Rewrote documentationMinh Nguyễn2016-01-051-0/+1
| | | | | | | | Rewrote some copy to provide more context and link to more GL-related repos, including GL JS. Put the various SDKs in a table so we can show the various CI bot status images. Integrated target list into the relevant documents. Rewrote large portions of iOS and OS X setup documentation to guide normal developers to more friendly places. Combined some Android documentation. Moved SDK-specific documentation into platform/. Added a temporary readme in ios/ that points to the one in platform/ios/.
* [core] Merge SQLiteCache into the platform libraryJohn Firebaugh2015-12-222-2/+0
| | | | OfflineFileSource will depend on SQLite too.
* [ios, android] Add methods to remove a custom layerJohn Firebaugh2015-12-171-2/+18
|
* [ios] Fixed off-by-one error due to mergeMinh Nguyễn2015-12-161-1/+1
| | | This needs to be converted into a giant switch statement, but that wouldn’t prevent issues like this cropping up in a merge anyways.
* Revert "Revert "[ios] Custom style layer""Minh Nguyễn2015-12-161-0/+59
| | | | This reverts commit 081e4e44516937a6139fad5823dd5ec3200cc343.
* Revert "[ios] Custom style layer"John Firebaugh2015-12-161-59/+0
| | | | ec9a4cd3285da280d43c7ddd0ca96fe37d9c5278
* [ios] Custom style layerMinh Nguyễn2015-12-161-0/+59
| | | | | | Exposed Map::addCustomLayer() publicly as an undocumented, block-based API. This change avoids the terms “layer”, “initialize”, “render”, and “altitude” because they overload existing terminology in the SDK, UIKit, or MapKit. (“Layer” is qualified as “style layer”.) There are outstanding questions about ARC memory management, but this approach works in both Objective-C and Swift for pure OpenGL programming. Added a demo to iosapp that draws a green layer below any labels in Mapbox Streets.
* [ios, osx] Added flyToCamera: variation that uses default durationMinh Nguyễn2015-12-151-1/+1
|
* [ios] World tour on iOSMinh Nguyễn2015-12-151-0/+56
|
* [osx] Rewrote platform-osx and osxappMinh Nguyễn2015-12-131-3/+3
| | | | | | | | | | | | | | platform-osx now vends a real NSView subclass, MGLMapView, that is readily embedded inside a Cocoa application for OS X. MGLMapView is backed by an NSOpenGLLayer for optimal performance and integration with other layer-backed views. It supports keyboard shortcuts and several gestures and hosts attribution, zooming, and rotation controls as subviews. osxapp is now a bona fide Cocoa application that embeds MGLMapView inside a XIB. osxapp has preferences and a share button for tight integration with custom styles. Enabling asynchronous rendering would be more consistent with iOS but increases CPU usage so much, even when idle, that it isn’t worth any performance gain. The bigger issue is that VAOs aren’t being used. make xpackage creates a static library similar to the one created by make ipackage. make clean cleans additional places where build output ends up. The OS X minimum deployment target has been increased from 10.9 to 10.10. osxapp’s window has a full size content view, which requires 10.10. Lightweight generics require iOS 9+ and OS X 10.11 regardless, because it was only in that release that Foundation collection classes started adopting lightweight generics. Shuffled files around and refactored annotations so that iOS and OS X share a good chunk of the annotations code, which now takes advantage of polymorphism. MGLMapView can now display annotations but cannot yet select them. In osxapp, a long press drops a pin, and so does the map view’s context menu. Annotations have NSPopovers as callouts, and their view controllers can be customized. Annotation image alignment rects are respected for hit testing purposes and for positioning the callout anchor. Callouts in osxapp demonstrate the use of bindings to keep callouts in sync with underlying model objects.
* [ios] Silly rabbit, Cocoa bindings are for Mac developers!Minh Nguyễn2015-12-121-1/+1
| | | Reapplied 56ea347c49cfbeec9cf1dca5726b9eb322ebd1ec for #3199, which got lost in a merge.
* bring back symbols for iOS CocoaPods direct usesJustin R. Miller2015-12-071-1/+1
|
* Merge branch 'release-ios-v3.0.1'Justin R. Miller2015-12-071-9/+9
|\
| * properly point to distributed license fileJustin R. Miller2015-12-071-7/+7
| |
| * bump build for ios-v3.0.1 (no symbols)ios-v3.0.1Justin R. Miller2015-12-071-1/+1
| |
| * fixes #3181: move from vendored lib to frameworkJustin R. Miller2015-12-071-4/+3
| | | | | | | | | | | | - Add license file to framework build step to satisfy CocoaPods linting. - Log version when rolling framework (refs #3046). - fixes #1426: get rid of dummy file since we make our own framework.
| * bump iOS version to 3.0.1-pre.1ios-v3.0.1-pre.1Justin R. Miller2015-12-031-1/+1
| |
* | fixes #3181: move from vendored lib to frameworkJustin R. Miller2015-12-071-4/+3
| | | | | | | | | | | | - Add license file to framework build step to satisfy CocoaPods linting. - Log version when rolling framework (refs #3046). - fixes #1426: get rid of dummy file since we make our own framework.
* | [ios] Silly rabbit, Cocoa bindings are for Mac developers!Minh Nguyễn2015-12-042-2/+2
| | | | | | | | Replaced the term “Cocoa bindings” in documentation because this library is for iOS, not OS X.
* | move back to symbolicated iOS fetch in masterJustin R. Miller2015-11-301-1/+1
| |
* | Merge branch 'release-ios-v3.0.0'Justin R. Miller2015-11-303-2/+4
|\ \ | |/
| * bump podspec to 3.0.0 final (no symbols)ios-v3.0.0Justin R. Miller2015-11-231-1/+1
| |
| * bump iOS version to 3.0.0-rc.1ios-v3.0.0-rc.1Justin R. Miller2015-11-231-1/+1
| |
| * show current version changelog section in docs & link externally to fullJustin R. Miller2015-11-232-1/+3
| | | | | | | | | | | | This is going to fail and output nothing for -pre and -rc tags for now until #3046 is addressed. We can't yet grab those but still have final releases sort after them.
| * bump version to ios-v3.0.0-pre.10ios-v3.0.0-pre.10Justin R. Miller2015-11-201-1/+1
| |
| * bump version to ios-v3.0.0-pre.9ios-v3.0.0-pre.9Justin R. Miller2015-11-181-1/+1
| |
| * refs #2380: plop Settings.bundle inside of framework distributionJustin R. Miller2015-11-182-0/+33
| |
| * bump version to ios-v3.0.0-pre.8ios-v3.0.0-pre.8Justin R. Miller2015-11-161-1/+1
| | | | | | | | [skip ci]
| * refs #3045: implicitly link dependencies for frameworkJustin R. Miller2015-11-162-0/+9
| | | | | | | | [skip ci]
| * refs #3045: correct bundle identifier for iOS framework targetJustin R. Miller2015-11-161-1/+1
| | | | | | | | [skip ci]
| * bump version to ios-v3.0.0-pre.7ios-v3.0.0-pre.7Justin R. Miller2015-11-161-1/+1
| |
| * static framework target for iOSJustin R. Miller2015-11-163-0/+34
| |