Michael Schneider
736e200407
Fix warning for ASLayout method override for the designated initializer of the superclass '-init' not found #trivial ( #1036 )
...
* Fix warning for ASLayout method override for the designated initializer of the superclass '-init' not found
* Move unavailable init into header
2018-07-18 02:57:35 -07:00
Adlai Holler
db0f515812
Revert unreleased layout debug method name change from #1030 #trivial ( #1039 )
...
* Revert unreleased layout debugging method name change from #1030 #trivial
* Eh make less changes
2018-07-17 21:08:29 -07:00
Adlai Holler
0b9f12716e
Remove NSMutableArray for retaining sublayout elements ( #1030 )
...
* Remove NSMutableArray for retaining sublayout elements
* Kick the CI
* Kick the CI again
* Smash that CI button
* Murder the CI
2018-07-15 18:41:23 -07:00
Adlai Holler
dbe469a94a
Standardize "extern" decls on AS_EXTERN ( #972 )
...
* Standardize "extern" decls on AS_EXTERN
* Rebase & remove from implementation files
2018-06-18 15:53:34 -07:00
Adlai Holler
cac14e0bce
Standardize Property Declaration Style in Core Classes ( #870 )
...
* Audit property attributes for core classes
* Update style guide
* Go crazy
* Update changelog
2018-05-24 14:42:43 -07:00
Adlai Holler
2b12654810
Use NS_RETURNS_RETAINED macro to save time ( #843 )
...
* Use NS_RETURNS_RETAINED macro to save time
* Update changelog and do the thing with the license headers
2018-03-21 08:13:09 -07:00
Huy Nguyen
4ba6f451f6
[Cleanup] Remove deprecated APIs ( #529 )
...
* Remove preferredFrameSize
* Remove -measure:
* Remove -measureWithSizeRange:
* Remove ASLayoutable
* Remove .name
* Remove deprecated style forwardings
That includes following properties that are declared on ASDisplayNode and ASLayoutSpec: spacingBefore, spacingAfter, flexGrow, flexShrink, flexBasis, alignSelf, ascender, descender, sizeRange and layoutPosition.
* Remove usesImplicitHierarchyManagement
* Remove deprecated range update callbacks:
-visibilityDidChange:
-visibleStateDidChange:
-displayStateDidChange:
-loadStateDidChange:
* Remove -clearFetchedData
* Remove -cancelLayoutTransitionsInProgress
* Remve ASDisplayNode+Deprecated.h
* Remove ASLayoutRangeTypeRender and ASLayoutRangeTypeFetchData
* Remove -[ASTableView clearContents]
* Remove reloadDataImmediately
* Remove ASStaticLayoutSpec
* Remove ASDimensionDeprecated
* Remove optional -pagerNode:constrainedSizeForNodeAtIndex: delegate method in ASPagerDelegate
* Remove suppressesInvalidCollectionUpdateExceptions
* Remove -[ASCollectionViewLayoutInspector initWithCollectionView]
* Remove ASVideoPlayerNode.loadAssetWhenNodeBecomesVisible
* Update CHANGELOG
* Update license of ASLayoutSpecTests.m
* Update examples/PagerNode
* Remove ASEnvironmentTraitCollection
* Remove -ASViewController.nodeConstrainedSize
* More on removing ASLayoutable
2017-09-07 19:25:42 +01:00
Adlai Holler
8ec4b312cf
Overhaul our logging, add activity tracing support. ( #399 )
...
* Improve the os_log and os_activity integration
* Address feedback from Scott and Huy
2017-07-03 19:03:26 -07:00
Huy Nguyen
c603ef0ef2
[ASLayout] Revisit the flattening algorithm ( #395 )
...
* Implement tests for the layout flattening process
* Refactor the flattening algorithm
- Remove flattened flag
- No more self check
- Stop traversing a layout tree branch when hits a displaynode node.
- Reuse as many existing ASLayout objects as possible
* Update changelog
* Ceil position values before comparing
* Explain why sublayout elements must be retained
2017-06-29 18:39:04 +01:00
Huy Nguyen
05e9bdd092
Small changes required by the coming layout debugger ( #337 )
...
* Small changes required by the layout debugger
- `ASDisplayNode` can be told to not flatten its layout immediately but later on. The unflattened layout is also stored in a separate property. It's needed for inspecting not only display nodes but also layout specs used to compute a layout tree.
- `ASLayout` can be told to always retain its sublayout elements. This is needed especially for layout specs since they are usually not retained after an ASLayout was computed.
* Update CHANGELOG
* Address comments
2017-06-08 10:47:50 -07:00
appleguy
32c036f440
[CGPointNull] Rename globally exported C function to avoid collisions #trivial ( #62 )
...
* [CGPointNull] Rename globally exported C function to avoid collisions.
Some other frameworks also declare this. Let's try to minimize collisions
without making the name too ugly.
* Fix build errors
2017-04-26 17:21:01 -07:00
Garrett Moon
8013e25524
Update license v2 ( #67 )
...
* Fixed license
* Update all licenses
* Update Dangerfile for new license
* Update already updated licenses
* Closer…
* Closer…
* Closer…
* Closer…
* Closer…
* Closer…
* Closer…
* Closer…
* Closer…
* Closer…
* Closer…
2017-04-24 16:59:57 -07:00
Adlai Holler
0de270fdfb
Revert "Improve designated initializer usage ( #3132 )"
...
This reverts commit eaa875c7f2e08afa8b597c653be6b7c45cfff66d.
2017-03-03 15:31:28 -08:00
Michael Schneider
eaa875c7f2
Improve designated initializer usage ( #3132 )
...
* Improve designated initializer usage
* Some more changes
* Add some whitespace
* Fix some warning
2017-03-03 14:49:34 -08:00
Adlai Holler
73ca6ab514
Shuffle & Cleanup Stuff ( #3080 )
2017-02-26 18:14:13 -08:00