Commit Graph

25012 Commits

Author SHA1 Message Date
brandon_withrow
4e7a0a6673 Added interactive gesture support 2017-08-29 18:34:15 -07:00
brandon_withrow
4c23c50907 Added interactive gesture support 2017-08-29 18:32:44 -07:00
brandon_withrow
80da652f33 Added Accessibility to LOTAnimatedControl 2017-08-29 16:59:58 -07:00
brandon_withrow
6b2c7603f5 Version Bump 2017-08-29 15:48:28 -07:00
Brandon Withrow
7cdb48cce7 Merge pull request #395 from airbnb/btw/presentationCrash
Fix for ios 8.1 and presentation layer crash
2017-08-29 12:05:24 -07:00
brandon_withrow
72035acf2a Fix for ios 8.1 and presentation layer crash 2017-08-29 12:01:45 -07:00
overtake
f2edf323c8 Merge branch 'master' of https://github.com/peter-iakovlev/TelegramCore 2017-08-29 17:21:11 +03:00
overtake
b3376cb619 no message 2017-08-29 17:21:04 +03:00
Peter
8fd5b0f7cc no message 2017-08-29 17:20:33 +03:00
Peter
cef4c95ace no message 2017-08-29 17:20:16 +03:00
brandon_withrow
1c815ddc14 Version Bump 2017-08-28 15:25:42 -07:00
brandon_withrow
7c3ccace59 More Readme 2017-08-28 15:23:47 -07:00
brandon_withrow
0151778787 Update Readme 2017-08-28 15:23:05 -07:00
brandon_withrow
1ab27f870b Readme Update 2017-08-28 15:21:18 -07:00
brandon_withrow
5ae458fd70 Update documentation and examples 2017-08-28 15:19:06 -07:00
brandon_withrow
4038d3a7c3 Updated example 2017-08-28 14:57:31 -07:00
Brandon Withrow
b0ddddac01 Merge pull request #394 from airbnb/btw/animatedcontrols
Added animated controls and switches
2017-08-28 14:42:40 -07:00
brandon_withrow
adc7b9a661 Added animated controls and switches 2017-08-28 14:39:42 -07:00
Yan S
19a9d29aa8 SEP-491 prerequisite: add textViewShouldBeginEditing: to ASEditableTextNodeDelegate (#535)
* SEP-491 prerequisite: add textViewShouldBeginEditing: to ASEditableTextNodeDelegate

* - added entry to CHANGELOG.md, addressed nit
2017-08-28 19:49:41 +01:00
Brandon Withrow
3ee585614b Merge pull request #391 from airbnb/btw/compconvenience
Moved convenience intializers to LOTComposition
2017-08-25 13:31:10 -07:00
brandon_withrow
9edf5689f4 Moved convenience intializers to LOTComposition 2017-08-25 13:28:01 -07:00
Brandon Withrow
8069d2301a Merge pull request #389 from airbnb/btw/subviewFix
Btw/subview fix
2017-08-24 17:03:53 -07:00
brandon_withrow
2fc468c802 More Fixes 2017-08-24 17:02:07 -07:00
brandon_withrow
40b51de5fe Fix add subviews coordinate bug 2017-08-24 14:47:05 -07:00
Ilya Laktyushin
a505338491 no message 2017-08-24 08:08:47 +03:00
Brandon Withrow
85f1fa9602 Update issue_template.md 2017-08-23 13:02:20 -07:00
brandon_withrow
40cd431d14 Version Bump 2017-08-23 11:47:00 -07:00
brandon_withrow
bda0f82330 Crash Fix 2017-08-23 11:45:57 -07:00
appleguy
ccc5786032 [ASCollectionNode] Add -isProcessingUpdates and -onDidFinishProcessingUpdates: APIs. (#522)
* [ASCollectionNode] Add -isProcessingUpdates and -onDidFinishProcessingUpdates: APIs.

Over time, there have actually been a lot of legitimate uses for an API like this.
In fact, I'm not quite sure what has held us back from adding one!

I believe that at least some portion of -wait calls (even if less than 50%) could be
replaced with -onDidFinishProcessingUpdates:, which could potentially improve the
performance of applications using -wait by a significant amount.

Please take a close look at implementation correctness. Although I'm in a bit of a
rush, I'm aiming to make this properly documented and added a basic test -- but it
could certainly use some more detailed testing as a followup.

* [ASCollectionNode] Improvements to the implementation of -isProcessingUpdates and -onDidFinishProcessingUpdates:

* Add lock to ASMainSerialQueue count method.

* [ASTableNode] Implement -isProcessingUpdates and -onDidFinishProcessingUpdates:. Rename -waitUntil to consistent naming.
2017-08-23 11:16:21 +01:00
Adlai Holler
16ce3c9a33 Add a function to disable all logging at runtime (#528)
* Implement a runtime disable for all logging

* Update the changelog

* Inline the function

* Flip the scrip
2017-08-22 14:48:42 -07:00
Huy Nguyen
884a4f56f1 [Table and collection views] Consider content inset when calculating (default) element size range (#525)
* Table and collection views to consider their content inset when calculating element size range

* Update CHANGELOG

* Address comments

* -[ASPagerNode currentPageIndex] to use pageSize instead of bounds

* Update documentation in ASPagerNode

* Minor change
2017-08-22 14:14:01 -07:00
Ilya Laktyushin
e3364a6e33 no message 2017-08-22 23:32:28 +03:00
Ilya Laktyushin
37be648e6c Merge branch 'master' of bitbucket.org:iakovlevpeterp/legacycomponents 2017-08-22 02:01:09 +03:00
Ilya Laktyushin
39d403790b no message 2017-08-22 02:00:31 +03:00
Peter
83b9d54bb0 no message 2017-08-22 01:14:50 +03:00
Grishka
47c46ab29a OSX project fix 2017-08-21 23:40:55 +03:00
Peter
d8200615c5 Merge commit '5114f12d9a3f04f2b2e770bebf5ccb2234fa776f' 2017-08-21 23:29:06 +03:00
Peter
d02b75a0c5 no message 2017-08-21 23:28:37 +03:00
Peter
8a39139b19 no message 2017-08-21 23:28:20 +03:00
Grishka
6e840a6992 fix 2017-08-21 19:31:04 +03:00
Grishka
dc913a843a Added signal bars & fixed OSX project 2017-08-21 19:02:37 +03:00
Ilya Laktyushin
c8214d24a9 no message 2017-08-21 15:56:37 +03:00
Phil Larson
359b5f0b5b ASImageNode+AnimatedImage playbackReadyCallback retain cycle (#520)
* ASImageNode+AnimatedImage playbackReadyCallback causes strong retain cycle

* Add CHANGELOG entry for #520
2017-08-21 12:49:11 +01:00
appleguy
5cf05f3c17 [Accessibility] Add .isAccessibilityContainer property, allowing automatic aggregation of children's a11y labels. (#468)
After consulting Apple documentation and working with some a11y experts,
we've found that aggregating objects that have a11y labels but are not
themselves interactable is significantly preferred for these users.

It makes it much quicker to navigate scrolling content if VoiceOver only
stops to select entire cells, and then allows drilling down into the cell
to select individual components. This implementation achieves that behavior.

We should consider enabling isAccessibilityContainer by default on ASCellNode.
This would be an improvement for 95% of a11y use cases. Aggregation can be
enabled or disabled on any node.
2017-08-20 13:17:05 -07:00
Ilya Laktyushin
ae22b45db3 Merge branch 'master' of bitbucket.org:iakovlevpeterp/legacycomponents 2017-08-20 15:27:11 +03:00
Ilya Laktyushin
c0a1a7f406 no message 2017-08-20 15:26:25 +03:00
appleguy
65fabf49d7 [ASImageNode] Enable .clipsToBounds by default (fix .cornerRadius, GIFs overflow). (#466)
* [ASImageNode] Enable .clipsToBounds by default (fix .cornerRadius, GIFs overflow).

We've seen a number of bugs reported over time that .cornerRadius didn't work on
ASNetworkImageNode. This wasn't much of a concern because cornerRadius is very
inefficient anyway, and there are better ways to round corners, but it should
certainly work.

It turns out that clipsToBounds has been off for images, and this ultimately
was behind another issue recently seen wehre decoded GIFs would spill outside
the bounds area to overlap nearby content.

Although there is some risk of behavior change from this, I think the risk
is fairly small, and in most cases it will probably fix behaviors in a way
that doesn't cause problems for the app.

We should consider if this property should be on for all ASDisplayNodes,
but for now it would be a great step to be confident it's on for all
ASImageNodes.

* Update changelog for ImageNode Clipping.
2017-08-20 03:17:46 -07:00
Ofer Morag
1204737330 Update corner-rounding.md (#482)
* Update corner-rounding.md

If I understand right, both Precomposited corners techniques uses `[path clip]`, right? If so, I think it will be better to move it to the general description of the section, as currently it seems as only the second option uses `[path clip]`.

* Update corner-rounding.md

Improved positioning.

* Update corner-rounding.md

Syntax consistency: Changed `off-screen` to `offscreen`, as both syntaxes currently appears in the text.
2017-08-20 01:46:02 -07:00
Peter
c670712a9f no message 2017-08-19 10:58:25 +03:00
Peter
3a27d899d1 Merge commit '4ab66414245294436451c9749096de47f5df26b6' 2017-08-18 19:48:26 +03:00