Commit Graph

13022 Commits

Author SHA1 Message Date
Michael Schneider
973630adc6 [ASCellNode] New way to measure ASCellNode's if layout was invalidated (#3099)
* New way to informing interaction delegate if ASCellNode get’s a setNeedsLayout call

* Remove nodeDidGetNeedsLayout as optional and better check if cell updates need to happen

* Differentiate between letting a normal display node and a cell node know that the size could have changed

* Check for _interactionDelegate is nil

* Add nullability to out pointer

* Adress comments and some renaming
2017-02-27 17:19:01 -08:00
Adlai Holler
8b08b706b2 Make ASCellNode Visibility Accesses Thread-Safe (#3100)
* Make ASCellNode visibility accessing thread-safe

* Strong types!
2017-02-27 17:03:08 -08:00
Adlai Holler
25bc97c5c8 Fix Issues Repopulating Supplementary Elements (#3098)
* Fix issues repopulating supplementary elements

* Remove unrelated change

* Update comments
2017-02-27 16:06:06 -08:00
Peter
bfe71c295e Merge commit 'b041f2cee9bde8c5b8490f9b2fa4de0516ab2652' 2017-02-28 03:50:55 +04:00
Peter
3862bf4cb1 no message 2017-02-28 03:50:47 +04:00
Brandon Withrow
57d26396fa Merge pull request #138 from airbnb/btw/osximport
Fix import bug for osx
2017-02-27 15:38:21 -08:00
Brandon Withrow
91bb32c9b4 Fix import bug for osx 2017-02-27 15:37:48 -08:00
Brandon Withrow
f49c8834b6 Merge pull request #137 from airbnb/btw/imagebug
Fixed Anchor and Rotation bug with Image Layers
2017-02-27 15:30:07 -08:00
Brandon Withrow
6d6f46483e Fixed Anchor and Rotation bug with Image Layers 2017-02-27 15:27:12 -08:00
Adlai Holler
774f3ffa9e Remove declaration of ASPhotosFrameworkImageRequest.isEqual (#3097) 2017-02-27 14:32:42 -08:00
Marvin Nazari
a9a3e8e40c [IGListKit] Search example (#3047)
* Search example with IGListKit

* Cleanup

* updated to use new class methods [ASIGListSectionControllerMethods]
2017-02-27 12:52:48 -08:00
Andy Madan
c7888672c8 Fix cell selection state issues (#3081)
Resolves #3037

This is a do-over of c85aa11, with the following differences:
- Fixed `_ASTableViewCell` properties **always** being mutated to match corresponding `ASCellNode` passthrough properties, even when the hosted `ASCellNode` is currently `nil`. Now only inheriting passthrough properties when there’s an actual instance of `ASCellNode` to read them from.
- Corrected spelling of `ASCellNode`’s `separatorInset` property.
- Reverted `_ASCollectionViewCell` inheriting the hosted cell node’s `backgroundColor` & `clipsToBounds` properties. This seems to be surprising and unwanted behavior to some, as seen in #3053 and #3044.
- Moved passthrough of `UITableViewCell`’s `selectedBackgroundView` into `_ASTableViewCell`’s `-setNode:` for consistency.
2017-02-27 12:02:14 -08:00
Brandon Withrow
2af7eda07d Update README.md 2017-02-27 11:19:53 -08:00
Brandon Withrow
d4e90c4dd0 Merge pull request #128 from fabionuno/master
Fixes the addSublayer method name in LOTCompositionLayer implementation file
2017-02-27 11:16:10 -08:00
Adlai Holler
7763356b8a Replace IGListKit Method Macros with Actual Methods (#3094)
* Replace IGListKit macros with methods

* Remove docs in impl

* Update example
2017-02-27 11:08:39 -08:00
overtake
f71b55f748 Merge branch 'master' of https://github.com/peter-iakovlev/Postbox 2017-02-27 20:13:42 +02:00
overtake
f5b7e6ddb1 -peerView dispose bugfix 2017-02-27 20:13:34 +02:00
overtake
b041f2cee9 Merge branch 'master' of https://github.com/peter-iakovlev/TelegramCore 2017-02-27 20:12:26 +02:00
overtake
5833b88f95 - dismiss report (TODO) // remove in fufure 2017-02-27 20:05:00 +02:00
Peter
bbfe6045e9 no message 2017-02-27 21:26:03 +04:00
Peter
dc37be486d no message 2017-02-27 21:25:40 +04:00
Huy Nguyen
9876875d4f Allow users to set (primary) child directly on overlay and background specs (#3092) 2017-02-27 09:16:34 -08:00
Huy Nguyen
421a896713 Clean up snapshot test cases (#3091)
* Clean up snapshot test cases:
- Drop 32bit snapshots
- Update iOS 9 snapshots and move some others to the correct directory
- Remove `setUp` overrides in subclasses of `ASLayoutSpecSnapshotTestCase` that set `recordMode` flag. Doing so in multiple places make it difficult to enable/dis
able the flag for all layout spec test cases. It can always be overridden locally if need
to.
- Fix BUCK build

* Fix testThatOnDidLoadThrowsIfCalledOnLoadedOffMain of ASDisplayNodeTests
2017-02-27 09:14:40 -08:00
Huy Nguyen
dc23aca30d Fix crashes in ASElementMap and ASMutableElementMap (#3090)
* Fix crashes in ASElementMap and ASMutableElementMap

* testInitialRangeBounds to have a 10% maximum difference
2017-02-27 09:07:23 -08:00
Adlai Holler
73ca6ab514 Shuffle & Cleanup Stuff (#3080) 2017-02-26 18:14:13 -08:00
Huy Nguyen
e48edef4e7 [ASStackLayoutSpec] Implement flex wrap (#2914)
* Implement flex wrap

* Add tests for content alignments

* Revert unnecessary changes

* More flex wrap tests

* Define FB_REFERENCE_IMAGE_DIR in scheme

* Clean up ASStackPositionedLayout
2017-02-26 11:48:32 -08:00
Peter
cd7fb9d2e7 Merge commit '672cc0a3fe53dd515718bb6dd1fe21e454a786de' 2017-02-26 20:23:20 +04:00
Peter
8fec8c5398 no message 2017-02-26 20:03:34 +04:00
overtake
672cc0a3fe - renamed param 2017-02-26 16:44:30 +01:00
overtake
658ab3dd4f - update pinned messages
- load cloud messages if necessary
2017-02-26 16:42:13 +01:00
overtake
3f75e3e9f7 - update pinned
- load messages from cloud if necessary
2017-02-26 16:37:33 +01:00
appleguy
61cab6f643 [ASCollectionView] Allow mixing supplementaryViews and Nodes by relaxing assertions. (#3079)
These changed recently with the addition of the ability to provide nodeBlocks.

It might be more strict to assert that nil can't be provided unless the datasource supports
inter-op, but I think it is also pretty reasonable to just use an empty ASCellNode in this case.

Either way, I'm really amazed / surprised to see all the improvements that appeared in ASDataController!
2017-02-25 14:51:36 -08:00
overtake
f57475685f Merge branch 'master' of https://github.com/peter-iakovlev/TelegramCore 2017-02-25 22:20:59 +01:00
overtake
51cc24b3d2 - automaticFloodwait in auth 2017-02-25 22:20:53 +01:00
Peter
28dbbddea2 no message 2017-02-25 20:33:35 +03:00
Fabio Nuno
4005ca6e89 Fixes the addSublayer method name in LOTCompositionLayer implementation file
The class LOTCompositionLayer.m implements a method called
addSubview:toLayerNamed: but in the interface file it’s defined as
addSublayer:toLayerNamed:
2017-02-25 14:16:02 -03:00
Adlai Holler
2fd487b447 Add collectionNode:nodeBlockForSupplementaryElementOfKind:atIndexPath: (#3078)
* Add optional support for nodeBlockForSupplementaryElementOfKind:

* Update example

* Update harder
2017-02-24 18:47:01 -08:00
Adlai Holler
9c82ae9284 Add ASRectTable (#3077) 2017-02-24 16:38:17 -08:00
Brandon Withrow
ca839b8c13 Merge pull request #127 from airbnb/btw/1.5.0
Updating to 1.5.0
2017-02-24 15:43:48 -08:00
Brandon Withrow
b110718aa0 Merge pull request #126 from xinsight/add-warnings
Add warnings
2017-02-24 15:43:17 -08:00
Brandon Withrow
cdd612e007 Merge pull request #102 from romainbiard/tvos-support
Update lottie-ios.podspec
2017-02-24 15:42:01 -08:00
Brandon Withrow
97dd527385 Updating to 1.5.0 2017-02-24 15:40:38 -08:00
Jay Moore
9df722d6a2 add warnings for gradients, star 2017-02-24 17:21:39 -05:00
Jay Moore
0f622e4dc2 rm version check 2017-02-24 17:11:05 -05:00
Jay Moore
9d28648b3c rm newline 2017-02-24 17:05:28 -05:00
Jay Moore
c06b8694c9 rm test json file 2017-02-24 16:53:08 -05:00
Jay Moore
a6e745df59 Merge branch 'master' of github.com:airbnb/lottie-ios into add-warnings 2017-02-24 16:38:48 -05:00
Jay Moore
b0be357c13 add more parser warnings 2017-02-24 16:28:08 -05:00
Adlai Holler
1775bf29f5 ASDataController: Adopt ASElementMap (#3073)
* Build ASElementMap and use it

* Keep building!

* Clean up

* Restrict ASDataController subclassing

* Clean up more

* More rearranging

* Dear lord it's time for bed

* Make things clearer

* Sadly remove subclassing restriction for ASDataController

* Remove dead initializer
2017-02-24 13:23:29 -08:00
Jay Moore
4f1e778593 add more descriptions 2017-02-24 15:42:28 -05:00