summaryrefslogtreecommitdiff
path: root/platform/darwin/test/MGLStyleValueTests.swift
Commit message (Collapse)AuthorAgeFilesLines
* [ios] Work around Swift -> ObjC dictionary bridge issuesJesse Bounds2017-10-031-9/+56
|
* [ios] Various Xcode 9 fixesFredrik Karlsson2017-10-031-7/+25
|
* [ios, macos] Rename MGLStyleConstantValue to MGLConstantStyleValueJesse Bounds2017-03-031-12/+12
|
* Refactor: use conversion system to convert MGLStyleFunction to mbgl core ↵Anand Thakker2017-02-151-134/+146
| | | | | types (#8026) This leverages the work already happening in `mbgl::style::conversion` to convert style functions from style-spec definitions into `mbgl::style::{Camera,Source,Composite}Function`s. In particular, this allows the conversions system to handle the differing typing requirements based on whether the output type of the style function is interpolatable or non-interpolatable.
* [ios, macos] Fixed runtime styling deprecation warningsMinh Nguyễn2017-02-081-91/+0
|
* Add back MGLStyleFunction and re-document MGLStyleValue (#7943)Jesse Bounds2017-02-081-0/+70
| | | | [ios, macos] Add back MGLStyleFunction and re-document MGLStyleValue
* [ios, macos] Implement default value for identity functionsJesse Bounds2017-02-031-1/+1
|
* [ios, macos] Add support for data-driven property functionsJesse Bounds2017-02-021-9/+277
|
* [ios, macos] Renamed text-field, text-font, text-font-size, circle-pitch-scaleMinh Nguyễn2017-01-071-2/+2
| | | | Reduced the likelihood that the developer might attempt to set textField to an NSTextField or UITextField, or textFont to an NSFont or UIFont, or textSize to a CGSize or NSSize, or circlePitchScale to a number (given iconScale).
* [ios, macos] Rename base to interpolationBase (#7486)Jesse Bounds2016-12-191-2/+2
|
* Use appropriate part of speech for properties (#7457)Minh Nguyễn2016-12-161-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Use appropriate part of speech for properties Fixed overridden property references in requirements lists. Boolean-typed properties can now have getters beginning with “is”. Renamed a number of layout properties according to the following rules: Boolean-typed properties should include a verb; other properties must be noun phrases; all properties must be grammatical. * [ios, macos] Added style spec names as unavailable aliases Renamed properties now have aliases based on their style specification names, marked unavailable, for wayfinding purposes. * [ios, macos] Fixed autosynthesis warnings * [ios, macos] Moved style layer test template to test folder * [ios, macos] Customized iconOptional getter * [ios, macos] Avoid autosynthesis of aliases * [ios, macos] Test that property names are grammatical Run property getter names through a basic battery of tests to see if they’re grammatical. Most part-of-speech tagging tests are guarded by a compile-time flag, off by default, because NSLinguisticTagger does a poor job of telling nouns from verbs, and we’ve intentionally kept many words in property names that could be read as either verbs or nouns (like “transform” or “scale”).
* [ios, macos] Expanded source documentationMinh Nguyễn2016-12-101-2/+2
| | | | Also fixed a few stray references to GeoJSON sources.
* [ios, macos] Rename MGLGeoJSONSource to MGLShapeSource (#7334)Jesse Bounds2016-12-091-3/+3
|
* Prevent stopless functions (#7309)Fredrik Karlsson2016-12-071-2/+4
| | | | | | * [ios, macos] prevent stopless functions * [ios, macos] removed unused bridging header and fixed naming
* [ios, macos] MGLGeoJSONSource can now be initialized with any shapeFredrik Karlsson2016-12-061-2/+2
|
* [ios, macos] Added Swift MGLStyleValue testsMinh Nguyễn2016-10-261-0/+36
Added tests of MGLStyleValue written in Swift, along with bridging headers just in case they become needed in the future.