Nadine Salter
a53bc08eaf
Merge pull request #127 from facebook/manual-display
...
Add -[ASDisplayNode display].
2014-12-02 17:49:55 -08:00
Ryan Nystrom
531be46dfd
Cleaning up manual display per @secretiverhyme
2014-12-02 16:53:17 -08:00
Ryan Nystrom
8b0dbf7288
Manually display nodes
...
Added a sample project that will demonstrate how to manually display nodes. Removed the UIWindow hack that coupled display of nodes with Core Animation transactions.
2014-12-02 09:34:24 -08:00
Nadine Salter
5fc5adbb65
Merge pull request #117 from facebook/image-downloader
...
Simple, drop-in image downloader.
2014-12-01 14:49:44 -08:00
Nadine Salter
ab46377af2
Merge pull request #118 from nguyenhuy/custom_working_range_calculation
...
Support custom working-range logic for ASRangeController
2014-12-01 14:40:14 -08:00
Huy Nguyen
230520fe7e
Support custom working-range logic.
2014-11-25 12:31:20 +02:00
Nadine Salter
8e2a207373
[travis] Only run tests on master; ./build.sh.
...
Don't consider the build broken if a feature branch is broken.
Move the actual build command to a separate script -- easier to read,
easier to maintain, and easier to run by hand.
2014-11-21 18:46:22 -08:00
Nadine Salter
8ecebcfe70
Convert Kittens sample project to ASNetworkImageNode.
...
Working-range-driven image loading.
(Note that ASNetworkImageNode and ASMultiplexImageNode haven't yet been
updated to work with the new `-reclaimMemory`-based working range
system, so this doesn't quite behave correctly yet.)
2014-11-21 18:40:18 -08:00
Nadine Salter
3c690bf9e5
ASBasicImageDownloader.
...
This is a simplistic, NSURLSession-based downloader object that
implements ASImageDownloaderProtocol and can be used with
ASMultiplexImageNode and ASNetworkImageNode.
(Closes #115 . NSURLSession should suffice for most usecases, and this
code should provide a good jumping-off point for a more-complex
implementation.)
2014-11-21 18:40:18 -08:00
Nadine Salter
18d52949e6
Missed a spot!
2014-11-21 17:48:29 -08:00
Nadine Salter
03156dceb6
ASNetworkImageNode ARC fixes.
2014-11-21 17:05:24 -08:00
Nadine Salter
964d109be6
ASImageNodeRoundBorderModificationBlock().
2014-11-20 11:38:47 -08:00
Nadine Salter
1e929c3ead
[travis] Drop iOS 8.0 tests.
2014-11-20 11:38:36 -08:00
Nadine Salter
5470b4cb74
[travis] Update build scripts for Xcode 6.1.
2014-11-20 11:34:07 -08:00
Nadine Salter
460b3582c9
Update umbrella header.
2014-11-18 18:21:41 -08:00
Nadine Salter
1eda1834e6
ASNetworkImageNode.
...
Initial open-source release of ASNetworkImageNode, a simple counterpart
to ASMultiplexImageNode.
2014-11-18 18:07:31 -08:00
Nadine Salter
38f8e63b01
Support fractional tuning parameters ( fixes #112 ).
2014-11-18 14:15:01 -08:00
Nadine Salter
ee3aec42a2
Tidy ASCollectionView sample project.
2014-11-18 14:14:28 -08:00
appleguy
3f7dc75bb1
Merge pull request #101 from nguyenhuy/collection_view
...
Add ASCollectionView
2014-11-17 19:03:59 -08:00
Nadine Salter
f25bb07c6b
Tweak ASMultiplexImageNode example assets.
2014-11-17 17:31:38 -08:00
Nadine Salter
18cb359ad0
ASMultiplexImageNode example project.
2014-11-17 17:25:46 -08:00
Nadine Salter
f0ad2accc6
Image assets for ASMultiplexImageNode example.
2014-11-17 16:55:30 -08:00
Nadine Salter
3c8d4e9517
ASMultiplexImageNode.
...
Initial open-source release of ASMultiplexImageNode. Documentation and
example code forthcoming.
Note: ASMultiplexImageNode requires Xcode 6 to compile. Tests are now
compiled against the iOS 8 SDK and run on iOS 7.1 and iOS 8.
2014-11-17 15:02:17 -08:00
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
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
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
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
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
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