Hannah Troisi
c857e809f4
Clean up header comments (for consistent Facebook licensing info) ( #1741 )
...
[Licensing] Clean up header comments (for consistent Facebook licensing info)
2016-06-11 23:31:39 -07:00
Adlai Holler
646797e335
[ASMapNode: Snapshotting] Cancel on dealloc, avoid retaining self
2016-05-04 18:25:22 -07:00
appleguy
be6c3ed88c
Merge pull request #1543 from aaronschubert0/ASMapNode-Remove-Red-Herring
...
[ASMapNode] Remove assertion that checks calculatedSize rather than options.size.
2016-04-19 16:47:33 -07:00
Hannah Troisi
1ff07b2233
Changed comment for clarity.
2016-04-17 21:53:01 -07:00
Hannah Troisi
354b972e73
Renamed instance variable & improved comment per request
2016-04-17 20:45:50 -07:00
Aaron Schubert
5897c1e1b4
[ASMapNode] Remove false assert. This handles #1534
2016-04-16 13:19:07 +01:00
Hannah Troisi
c981aeb09d
[ASMapNode] snapshot can be triggered before layout and cause exception (e.g. setAnnotations)
2016-04-14 23:05:35 -07:00
Scott Goodson
678c201dbc
[ASLayout] Add additional validation step to intercept incorrect values in production and safely zero them out.
...
These conditions already had assertions, but at runtime, an insufficiently tested and incorrect ASLayoutSpec could
generate values that cause UIKit to enter an infinite loop (e.g. inside of UICollectionView layout validation).
2016-04-10 16:42:22 -07:00
Adlai Holler
fd159aa196
[ASMapNode] Never set invalid snapshot dimensions into MapKit
2016-04-04 16:42:51 -07:00
Scott Goodson
7bb48d266c
[ASMapNode] Reduce number of MapKit calls to -cancel by using the .isLoading property.
2016-03-18 23:31:33 -07:00
Eric Jensen
17aebcbaba
Add a space between the ? and : in ternarys
2016-03-17 10:38:51 -07:00
Adlai Holler
60f5ba2d17
Simplify ASMapNode.setAnnotations
2016-02-25 10:40:38 -08:00
Adlai Holler
2fbc7b0942
Make ASMapNode vend its annotations
2016-02-25 10:32:13 -08:00
Scott Goodson
792db0061b
[ASMapNode] Perform MKMapSnapshotter callback off the main thread to eliminate UIImage handling overhead.
2016-02-24 17:02:22 -08:00
Adlai Holler
de46701ff7
[ASMapNode] Remove live map on clearFetchedData, not clearContents
2016-02-24 15:20:02 -08:00
Scott Goodson
82f7956bf9
[ASMapNode] Some improvements to layout logic and snapshot triggering.
2016-01-23 20:12:45 -08:00
Scott Goodson
28618f7238
Re-add .region property for API compatibility and convenience, using options object internally.
2016-01-23 16:52:39 -08:00
appleguy
eb7caa3ba6
Merge pull request #1036 from aaronschubert0/ASMapNode
...
[ASMapNode] now supports MKMapSnapshotOptions to specify map parameters
2016-01-23 12:37:51 -08:00
Aaron Schubert
cc4f604ea3
[tvOS] Initial commit to make build run.
2016-01-12 14:43:30 +00:00
Aaron Schubert
e8f5f61e3b
[ASMapNode] Defer creation of default options till they are needed.
2016-01-11 19:42:34 +00:00
Aaron Schubert
45fa36eba5
ASMapNode now supports MKMapSnapshotOptions as opposed to just a region property.
2016-01-05 13:44:41 +00:00
Scott Goodson
a2cf2a88e6
Overhaul header files / includes to eliminate circular references that Xcode 7 is angry about.
2015-12-25 19:22:00 -08:00
Aaron Schubert
e35697d162
Greatly improve the internal logic of ASMapNode. Also fixes bug #971
2015-12-23 10:19:05 +00:00
Aaron Schubert
4ceab33038
Further clean up for ASDK 2.0
2015-12-16 10:20:13 +00:00
Aaron Schubert
50f652a5b3
Fix indendation
2015-12-14 10:22:37 +00:00
Aaron Schubert
1dfb8fac67
Changed init method, as well as further clean up to get ASMapNode ready for 2.0
2015-12-08 10:37:00 +00:00
Aaron Schubert
79b4c95749
Substantially improved ASMapNode and made it a lot clearer and less complex internally.
2015-12-03 11:22:05 +00:00
Aaron Schubert
863156b2dc
Changed hasLiveMap to liveMap/isLiveMap. Removed internal action handler. Renamed ASDisplayNode liveMap to mapView to avoid naming confusion.
2015-11-16 13:48:21 +00:00
Aaron Schubert
46bf49cae7
Fix indentation
2015-11-12 12:18:09 +00:00
Aaron Schubert
fe06f211ca
Added an ASMapNode to AsyncDisplayKit
2015-11-12 12:13:42 +00:00