[tvOS] Implement a default behaviour of ASImageNode, trying to match the behaviour of UIImageView. Still need to add shine.

This commit is contained in:
Aaron Schubert
2016-02-24 13:58:11 +00:00
parent d9cde1f08c
commit 3d6f6766e9
2 changed files with 153 additions and 1 deletions

View File

@@ -122,7 +122,12 @@ typedef NS_OPTIONS(NSUInteger, ASControlState) {
@param event The event which triggered these control actions. May be nil.
*/
- (void)sendActionsForControlEvents:(ASControlNodeEvent)controlEvents withEvent:(nullable UIEvent *)event;
#if TARGET_OS_TV
/**
@abstract How the node looks when it isn't focused. Exposed here so that subclasses can override.
*/
- (void)setDefaultState;
#endif
@end
NS_ASSUME_NONNULL_END