summaryrefslogtreecommitdiff
path: root/platform/ios/DEVELOPING.md
Commit message (Collapse)AuthorAgeFilesLines
* [ios] Update docs for iOS 8 deployment targetJason Wray2017-02-211-2/+2
|
* [ios, macos] Enable localizations in iosapp & macosappJason Wray2017-02-201-0/+1
|
* [ios, macos] Automated pulling translations from TransifexMinh Nguyễn2017-02-031-4/+16
|
* Merge branch 'release-ios-v3.4.0' into 1ec5-release-ios-v3.4.0-beta.7Minh Nguyễn2017-01-161-1/+17
|\
| * [ios] Require Xcode 8 to build iosappMinh Nguyễn2017-01-111-1/+1
| | | | | | Fixes #6873.
| * [ios, macos] Insert example code in original headers (#7569)Minh Nguyễn2017-01-041-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Removed extraneous code fences * [ios] Streamlined example delimiters Use test method names as names of example blocks and test method documentation comments as front matter for examples. Set off example blocks using a syntax similar to playground markup syntax. Avoid hard-coding indentation levels. Trigger Xcode build error when an error occurs in the script. * [ios] Removed platform-specific code from examples * [ios] Fixed logic error The comment said 200 while the code said 1,500. * [ios] Formalize build phase input * [ios] Insert examples into original source documentation Rewrote the example code insertion script to work on the original source files and overwrite any existing code examples on the same symbols. The script uses SourceKitten to find the documentation comment for the symbol named by the test method. Replaced the Run Script build phase that runs the example code insertion script with a make rule that runs the same script. Inlined skeleton examples minus the contents of the code blocks. * [ios] Fixed syntax error * [ios] Ran ios-add-examples-to-docs * [ios] Avoid touching unchanged headers * [ios] Refactored example insertion script * [ios] Point jazzy at original sources * [ios] Invoke SourceKitten only once * [ios] Look for methods as well as properties * [ios] Thoroughly search for code blocks in doc comments Refactored the example code insertion script to index test methods by their names, then recursively search the SourceKitten output for documentation comments that contain Swift code blocks, replacing each code block with the associated test method body. * [ios, macos] Enabled example insertion for macOS The example code insertion script is now platform-agnostic. * [ios, macos] Fixed documentation example tests Set the map view’s style to a minimal local JSON file. Wait for the style to finish loading before running each test. Corrected CGVector type. * [ios, macos] Dry run mode The output of this mode isn’t a good indicator of whether any files would’ve needed to be changed, because the presence of a conditional compilation block in one of the test methods means this script would always change and revert the corresponding comment. * [ios] Fixed test failure The iOS implementation of MGLMapView tries to show the Streets style by default even if no access token has been set. Avoid a race condition and frequent test failure by specifying the minimal style on initialization. * [ios, macos] Ensure SourceKitten is installed before inserting example code * [ios, macos] Tear down map view after each test Keep map views from previous tests from hanging around, potentially obscuring the result of a subsequent test. Set the access token to a bogus token upfront for all style layer tests. Unified MGLStyle usage within MGLStyleTests. * [ios, macos] Reinsert examples after generating runtime styling headers
* | [docs] Add note about MGL_EXPORT to macOS documentationKonstantin Käfer2017-01-041-0/+1
|/
* [ios, macos] Documented localization workflowMinh Nguyễn2016-11-181-0/+9
|
* [ios][build] Generate debug symbols for all buildsJason Wray2016-09-301-1/+1
| | | | | | | Fixes the issue where our stripped dynamic build did not have a valid dSYM. Disabling GCC_GENERATE_DEBUGGING_SYMBOLS for SYMBOLS=NO builds meant that those builds had no debug symbols to strip or add to a dSYM.
* [ios, macos] Make Xcode 7.3 the minimum required versionJason Wray2016-08-181-0/+3
| | | | | | | | | - Removes nullability shims for Xcode 6. - Removes MGLTypes.h from files where it was only being used for nullability support. - Accepts that `NS_SWIFT_NAME` is not fully supported by Xcode 7.2 and lower. - Adds documentation about Xcode 7.3 requirement.
* [build] unify naming of Makefile targetsKonstantin Käfer2016-08-051-1/+1
| | | | | `make foo` just builds `make run-foo` builds and runs
* [ios, macos] Document adding new symbolsMinh Nguyễn2016-07-081-0/+15
|
* [macos] Renamed OS X SDK to macOS SDKMinh Nguyễn2016-06-141-5/+5
| | | | Also renamed as many references to OS X as possible to macOS in documentation.
* [docs] Reorganize and update development instructions (#5233)Jason Wray2016-06-071-14/+28
| | | | | | | | | | iOS - Add section headers. - Add more detail to `make` packaging commands and emphasize that Debug is the default build type. - Manually checking out git submodules is no longer necessary. Core - Add 'Keeping up to date' section that mentions submodules.
* [docs] Remove references to manual submodule initializationJohn Firebaugh2016-06-031-7/+0
|
* [ios] Default to Debug BUILDTYPE, but explicitly set Release for deploysJason Wray2016-06-011-0/+1
|
* [ios] KIF tests require submodulesMinh Nguyễn2016-05-251-2/+9
| | | Documented the submodule step for running KIF-based SDK UI tests. This happened as part of installing core dependencies until #5122.
* [ios, osx] Document common workflowsMinh Nguyễn2016-04-241-6/+45
| | | | We have a lot of targets now, and it isn’t always clear to new contributors where files end up. Hopefully this brief guide to adding files will help.
* [ios, osx] Copyedited installation documentationMinh Nguyễn2016-04-211-8/+19
| | | | Copyedited installation documentation to make sense to less experienced Xcode users, ensure consistency, remove redundant language, and reflect recent build changes.
* [ios] Removed mention of MAPBOX_ACCESS_TOKENMinh Nguyễn2016-04-181-7/+1
|
* [ios] Updated contributor documentationMinh Nguyễn2016-04-161-8/+11
|
* [ios] Added Xcode project for iosapp, ios-bench; workspace for ios-testsMinh Nguyễn2016-04-161-1/+1
| | | | | | | | | | ios.xcodeproj is an ordinary Xcode project with ordinary Xcode targets for iosapp and ios-bench, all contained in an ordinary Xcode workspace that happens to also reference the gyp-generated platform.xcodeproj. The iosapp target links to and embeds Mapbox.framework, which is a product of the gyp-generated platform.xcodeproj. ios-tests.xcodeproj is also in the workspace, enabling simultaneous debugging of KIF tests, the SDK, and core code. Moved storyboards into Base.lproj and image assets into an asset catalog. Removed iOS 6 assets from the iosapp asset catalog. Moved the original ios-bench application icon SVG into a non-project location. Removed app/Settings.bundle, which is identical to framework/Settings.bundle. Removed a broken reference to an unused header from the ios-tests project.
* [ios] Clarified schemes and destinationsMinh Nguyễn2016-02-261-1/+1
|
* [ios, osx] Consolidate remaining files in platform/{ios,osx}John Firebaugh2016-02-121-1/+1
|
* [ios] Documented make targetsMinh Nguyễn2016-01-221-0/+14
|
* [ios] Strip Simulator content when archivingMinh Nguyễn2016-01-221-1/+1
| | | | | | 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.
* Rewrote documentationMinh Nguyễn2016-01-051-0/+47
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/.