15805 Commits

Author SHA1 Message Date
Nadine Salter
1103f82a5c .preventOrCancelDisplay -> .displaySuspended.
Rename the ASDisplayNode property to match its _ASDisplayLayer
counterpart -- `displaySuspended` is more succinct and is a more
plausible name for a Cocoa BOOL property.
2014-12-02 18:06:11 -08:00
Nadine Salter
51f3073c33 ASDisplayNode.inWindow -> .inHierarchy.
This is a remnant from before `willAppear` and `didDisappear` were
renamed to better reflect their hierarchy-change status (being added to
the hierarchy != being visible).  May be useful for turians.
2014-12-02 18:06:11 -08:00
Nadine Salter
a30c087616 Clean up ASDisplayNode internal flags.
* Reorganise and rename `_flags` for clarity and consistency.
* Remove ambiguity between `implementsDisplay` and `hasClassDisplay`.
* Delete useless `hasWillDisplayAsyncLayer` check -- make it a simple
  subclass override point, as with `didDisplayAsyncLayer:`.
* Minor comment cleanup.
2014-12-02 18:06:11 -08:00
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
Peter Iakovlev
dafe2f1365 Password support 2014-11-29 23:27:00 +03:00
Andreas Linde
6e87975b41 Further improved image type detection
Fixes a few more issues with detecting the image type in crash reports
2014-11-27 17:12:05 +01:00
Andreas Linde
f018440021 Add private header statement to podspec 2014-11-25 17:15:58 +01:00
Andreas Linde
336c2c6a23 Merge branch 'release/3.6.2' 2014-11-25 16:34:45 +01:00
Andreas Linde
b7494ceb8d Merge tag '3.6.2' into develop
Version 3.6.2
2014-11-25 16:34:45 +01:00
Andreas Linde
de7a7c599d 3.6.2 release and documentation updates 2014-11-25 16:29:08 +01:00
Andreas Linde
71e9adc50b Add missing parameter documentation 2014-11-25 16:25:35 +01:00
Andreas Linde
7219105b90 Fix a compile error 2014-11-25 16:24:44 +01:00
Huy Nguyen
230520fe7e Support custom working-range logic. 2014-11-25 12:31:20 +02:00
Andreas Linde
5debc62190 Fix creation of anonymous UUID 2014-11-24 15:17:46 +01:00
Andreas Linde
1f6cc3f84a Fix a few compiler warnings
This fixes a few compiler warnings when compiling using iOS 8 as deployment target. Default is still iOS 6!
2014-11-24 15:14:08 +01:00
Peter Iakovlev
377b9560bc Some password stuff 2014-11-23 17:30:31 +03: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
Andreas Linde
5258cdff36 Fix modulemap warning
This fixes an error when integration the crash only framework build
2014-11-21 02:49:38 +01: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
Stefan Haubold
ef892581d6 Create Licenses.txt 2014-11-19 11:53:31 +01: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
Andreas Linde
5b33121ebe Fix documentation for screenshot trigger
BITFeedbackObservationModeThreeFingerTap is triggering immediately, and not after a 3s long tap only.
2014-11-17 18:48:24 +01:00
Andreas Linde
d7904e2985 Fix a bug if setting feedback trigger twice
If the user set the `feedbackObservationMode` twice, this caused a crash. Should have been a rarely rare issue.
2014-11-17 18:35:29 +01: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
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