14914 Commits

Author SHA1 Message Date
appleguy
40cee777a4 Merge pull request #111 from kylehickinson/master
Text node highlights fully fade in before fading out
2014-11-16 15:10:49 -08:00
Kyle Hickinson
7d7e4262ae Text node highlights fully fade in before fading out 2014-11-16 11:58:01 -05:00
Peter Iakovlev
9e6b71b2a0 InvokeWithLayer optimization 2014-11-16 03:08:10 +03:00
Nadine Salter
0653f7387a Merge pull request #102 from aleclarson/patch-1
[ASDisplayNode convertRect:fromNode:] patch
2014-11-14 13:39:39 -08:00
Nadine Salter
2c7129f36a Merge pull request #103 from aleclarson/facebook
Add ASDisplayNode.cornerRadius
2014-11-14 13:19:13 -08:00
Andreas Linde
a236351d6e Store anonUUID in background thread to keychain
We got a (single) report that storing the anonymous UUID to the keychain can take multiple seconds causing the launch process to be locked and causing iOS to kill the app.

Storing in a background thread doesn't do any harm in our case, and if it fails, it would simply cause the next app start to produce another UUID which is fine.
2014-11-14 15:43:28 +01:00
aleclarsoniv
c3cda17941 Add ASDisplayNode.cornerRadius 2014-11-13 17:56:05 -08:00
Alec Larson
73073215c6 [ASDisplayNode convertRect:fromNode:] hotfix
`_calculateTransformFromReferenceToTarget()` was being called incorrectly! 👍
2014-11-13 16:43:45 -08:00
Huy Nguyen
1f8b446b9c Add CollectionViewSample.
Update sample for more items.
2014-11-12 21:32:01 +02:00
Huy Nguyen
0eb7e5fc39 Update ASRangeController to support ASCollectionView and no longer assume vertical scrolling when calculates working range. 2014-11-12 21:27:26 +02:00
Huy Nguyen
a3bc21f29f Make constrained size for nodes adapt to ASCollectionView's scrolling direction. 2014-11-12 21:27:25 +02:00
Huy Nguyen
c42d41fb4c Provide ASCollectionView::calculatedSizeForNodeAtIndexPath:, to be used in custom UICollectionViewLayouts. 2014-11-12 21:27:25 +02:00
Huy Nguyen
3642d5773a Fix ASCollectionView::rangeControllerVisibleNodeIndexPaths: to return a sorted array. 2014-11-12 21:27:04 +02:00
Huy Nguyen
1df67c42b9 Implement ASCollectionView. Horizontal scrolling is not supported yet. 2014-11-12 21:25:56 +02:00
Andreas Linde
3d8800b89a Merge pull request #124 from PhilipKram/fixSupportForiOS6
Changed the containsString to rangeOfString.
2014-11-11 00:36:35 +01:00
Philip Kramarov
5f43886974 Changed the containsString to rangeOfString.
containsString is supported from iOS 8 only.
2014-11-10 23:49:54 +02:00
Huy Nguyen
8e0c49a909 Define ASCollectionView interface, ASCollectionViewDataSource and ASCollectionViewDelegate protocols. 2014-11-10 22:56:21 +02:00
Nadine Salter
6c9e499875 Minor ASRangeController improvements (fixes #81). 2014-11-07 15:51:55 -08:00
Nadine Salter
189a8ac70a Merge pull request #92 from ocrickard/master
Fix untappable link in kittens example
2014-11-05 13:55:10 -08:00
Oliver Clark Rickard
5197e2490b Fix untappable link in kittens example 2014-11-05 16:28:12 -05:00
Nadine Salter
a3e78d1cee Support background colour and selection style on ASCellNodes.
Most UITableViewCell properties aren't useful in conjunction with
ASCellNode -- the system's UIView properties are unsupported for
performance reasons, and properties that configure them (e.g., content
indentation) don't affect custom node hierarchies.  This patch adds
support to _ASTableViewCell for the properties that *are* useful.

r=scottg
2014-11-03 17:45:40 -08:00
appleguy
687b79eede Merge pull request #82 from mrh-is/patch-1
Use full method signatures in docs
2014-11-03 10:51:14 -08:00
appleguy
8da4858c79 Merge pull request #75 from davbeck/master
Added tintColor convenience methods
2014-11-03 10:47:52 -08:00
appleguy
dee25b3177 Merge pull request #84 from bcunning/highlight-origin-fix
Fix text highlighting in UIScrollView
2014-11-03 10:42:02 -08:00
appleguy
a1f1ef7c10 Merge pull request #85 from bcunning/text-tap-delegate
Add point parameter to ASTextNode delegate methods
2014-11-03 10:40:52 -08:00
appleguy
55169ba045 Merge pull request #87 from raphaelmor/enum-update
Changed ASControlNodeEvent enum to NS_OPTIONS so that it can be used in swift
2014-11-03 10:39:56 -08:00
Andreas Linde
ef82814471 Improve app binary detection in crash reports
- Fix iOS 8 issue with not remove part of a path when using `stringByStandardizingPath` (removed leading `/private`)
- Exclude iOS swift libraries from being detect as app specific
2014-11-03 15:45:37 +01:00
Raphaël MOR
3485541d01 Changed ASControlNodeEvent enum to NS_OPTIONS so that it can be used in swift 2014-11-03 10:22:45 +01:00
Andreas Linde
1b2dad78d9 Encapsulate app name in CDATA when sending crash
In case an app name looks like an XML tag, this ensures that it can be processed correctly on the server by the XML reader
2014-10-31 15:36:31 +01:00
Ben Cunningham
32d005dc0b Add point parameter to ASTextNode delegate methods
Outfit ASTextNodeDelegate shouldHighlight and shouldLongPress methods
with a point parameter that describes the location of the relevant
touch.
2014-10-27 16:53:44 -07:00
Ben Cunningham
9d866f63e3 Fix text highlighting in UIScrollView
Highlight target layers with non-zero bounds.origin exhibited broken
text highlighting behavior. Highlights would appear offset by the
layer’s bounds.origin, and would not align with their target text. This
most often appeared in UIScrollView, where highlights would appear
incorrectly offset once the scroll view was scrolled. Fix by accounting
for bounds.origin in the calculations of the text overlay highlight
rects.
2014-10-27 16:46:01 -07:00
Michael Helmbrecht
e14ee4aaa8 Expand touch handling methods 2014-10-26 15:02:40 -07:00
Michael Helmbrecht
890e181ede Expand more method signatures 2014-10-26 15:00:06 -07:00
Michael Helmbrecht
89a6f04800 Use full method signatures in docs 2014-10-26 14:57:18 -07:00
David Beck
4ed2120cfa Added tintColor convenience methods
tintColor is now forwarded to the underlying view, and much more importantly, the node is notified when the tintColor changes on the view.
2014-10-23 19:51:10 -07:00
Andreas Linde
3356b1df1f Added new delegate for update process before exit
New delegate `updateManagerWillExitApp` for `BITUpdateManager` that is invoked right before the app wil exit to allow app update to start (>= iOS 8 only)
2014-10-24 01:23:34 +02:00
Nadine Salter
bd30f975ab 1.0.1. 2014-10-22 15:59:09 -07:00
Nadine Salter
0a78dfe43c Merge pull request #71 from rainypixels/row-animation
Fix #67
2014-10-22 14:59:58 -07:00
Nadine Salter
66dab5b594 Update landing page. 2014-10-22 14:57:06 -07:00
Nadine Salter
613acb789c Static library support (fixes #54). 2014-10-22 14:55:49 -07:00
Nishant Kothary
1010224007 Fix #67 2014-10-22 13:59:22 -07:00
Nadine Salter
d0b7a015e8 Improve ASRangeController dealloc-safety.
(1) We can't size nodes without a delegate, and if our owning controller
has been deallocated, our delegate will be nil.  Handle this more
gracefully.

(2) Our teardown code needs to be executed on the main thread, but it's
conceivable that we might hit refcount 0 on a background queue.  Force
deallocation to occur on the main thread.

Closes #27.
2014-10-22 13:50:24 -07:00
Nadine Salter
72f9cb9d73 Remove ASImageNode thread affinity asserts (#57). 2014-10-22 13:50:02 -07:00
Nadine Salter
367b6da116 Use ASDisplayNodeScreenScale().
ASImageNode and ASHighlightOverlayLayer were both using
[[UIScreen mainScreen] scale] directly.  Bad.  No cookie.  Use
ASDisplayNodeScreenScale() instead.

(Also, regenerate Xcode project with Xcode 6 and current CocoaPods.)
2014-10-22 13:36:40 -07:00
Nadine Salter
d01fb5f418 Fix ASDisplayNodeScreenScale() warning. 2014-10-20 14:12:49 -07:00
Nadine Salter
2d26249cb0 Add -didExitHierarchy internal hook. 2014-10-20 13:47:31 -07:00
Nadine Salter
77412a2612 [appledoc] Fix hierarchy / memory docblocks. 2014-10-20 13:27:59 -07:00
Nadine Salter
47d70d39cd Add REQUIRES_SUPER annotations.
Closes #51.
2014-10-20 13:23:23 -07:00
Nadine Salter
4ce6820efb [appledoc] Document ASCellNode. 2014-10-17 15:53:11 -07:00
Nadine Salter
9225309c9a [appledoc] Fix all appledoc warnings. (#65) 2014-10-17 15:41:25 -07:00