* Deprecations should be re-enabled. If there are specific deprecations we'd like to hold off on, we should address those specifically.
* Fix decleration
* Move select to undeprecated
* Fix deprecations
This reverts commit 1165628905.
I wanted to catch dimension issues early, we should move the assert to setting
width and height. The former was correct for here.
* Initial commit for ASStackLayoutSpec improvements
* Remove the lock in ASStackLayoutSpec and make the ASStackLayoutSpecStyle const
I think we don't need lock here as the style already has a lock while we set the value
* Add ASStackLayoutSpecItem that replaces layout specific items
* Prevent baseline pass if not needed
* Update comments
* added control node test
* fix tests
* target action pair
* go back to class
* move ASControlTargetAction to Private
* added ASControlTarget to cimpole sources
* add ASControlTargetAction to framework target as well
* init local variables with nil
* removed comment with private Apple class name
* isEqual implementation for ASControlTargetAction
* eliminate retain cycle
* use ASControlTargetAction isEqual
* change to NSMutableOrderedSet
* Use OrderedSet and isEqual
* Use that NSMutableOrderedSet stored the same object only once
* Moving back to NSMutableArray
* minor improvements
* Only trigger table view height requery if row-node height changed
* Make ASTableView handle the section index bar better
* Remove outdated comment
* Add a main thread assertion
* Deprecated indexPath methods in ASTableView and ASTableNode and added several indexPath methods to ASTableNode and ASCollectionNode.
* Fixed incorrect doc.
Removed unnecessary __kindof.
* Check in ASLayout if size is valid for sizing instead of valid for layout
* Return constrainedSize from calculateSizeThatFits:
Remove invalid constrainedSize check within ASNetworkImageNode. Furthermore as ASDisplayNode does not return CGSizeZero anymore we have to give the display nodes we use in tests and are involving a stack spec an intrinsic content size.
* Remove extra constrainedSize handling in ASNetworkImageNode handling
* Change test to use FLT_MAX
* Added Playground-Swift with two example pages.
* Added PhotoWithOutsetIconOverlay example.
* Added an extra tip in swift playground.
* Added HorizontalStackWithSpacer to the swift playground.
* Added fileprivate for some global variables.
* Added private to the setupNodes functions
* Added solutions to common issues.
* [ASCellNode] Added indexPath property.
* [ASCellNode] Cached the type of scrollView we're using in the node, and placed that logic in setScrollView.
* [ASCellNode] Removed table and collection view from indexPath, since they return the index paths from the view-space.
* Changed the logic for getting indexPath so that it works even when the cell is not displayed.
* [VerticalWithinHorizontalScrolling] Explicitally synthesized indexPath property.
* Add test case for TextKit truncation style
* Add fast path for text node measurement with default truncation
* Use fast path more often
* Reverse options order
* Simplify implementation – no functional change
* Share "isScaled" variable
* Intersect with constrained rect
* Add a failing test case for fast-path truncation
* Add some more truncation tests, using slow path as reference image
* Update the tests
* In ASTextKitRenderer, intersect bounds with constrained rect
* Add test case for TextKit truncation style
* Add fast path for text node measurement with default truncation
* Use fast path more often
* Reverse options order
* Simplify implementation – no functional change
* Share "isScaled" variable
* Intersect with constrained rect
* Add a failing test case for fast-path truncation
* Add some more truncation tests, using slow path as reference image
* Update the tests
* In ASTextKitRenderer, intersect bounds with constrained rect
* Use maximumNumberOfLines property in text kit fast path
Add reference images
Disable fast-path for max-one-line case
* Remove unneeded snapshot files
* expose ASTableView's -visibleNodes getter at the ASTableNode level
* add safegaurds
* make visibleNodes a read only property for ASTableNode
* make collectionNode .visibleNodes property
* Added selection API to ASTableNode and ASCollectionNode (#2450)
* Updated test case to use collectionNode instead of collectionView for the selection tests.
* Fixed typos.
Added asserts for main thread.
Updated ASCollectionViewTests for multiple selections for nodes.
* Added assigns to the different properties.
Beta 4 added a PINCache subspec which was required for ASDK. However,
Beta 5 reverted this in an attempt to fix automatically updated versions
of ASDK. So this patch sets the specific version to beta 5 until we're
ready to launch.
* Refactor example & test Layout API
* fix layoutSpecThatFits:
* remove test code
* address @appleguy's comments
* remove project file
* remove workspace
* Fix Uncalled Collection Delegate Methods (#2433)
* Fix batch fetching
* Fix not calling constrainedSizeForItemAtIndexPath:
* Fix constrainedSizeForItemAtIndexPath: not being called
* Add preferredSize as getter to ASLayoutElementStyle (#2427)
* [2.0] add helpful deprecation messages (#2437)
[2.0] add helpful deprecation messages
* fix macro (#2439)
* Macro still needs to be defined even if we're skipping. (#2441)
* Remove block copying (#2438)
* Make flow layout inspector call the new constrainedSize method (#2444)
* Update exception test for new constrainedSize method (#2445)
* Fix asdk again (#2446)
* Man whoever is maintaining PINRemoteImage really needs to get theirselves together!
* Learning from previous mistakes, we should set a specific version on this.
* Refactor example & test Layout API
* fix layoutSpecThatFits:
* remove test code
* address @appleguy's comments
* remove project file
* remove workspace