mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-01 20:28:05 +00:00
Changed ASControlNodeEvent enum to NS_OPTIONS so that it can be used in swift
This commit is contained in:
parent
bd30f975ab
commit
3485541d01
@ -12,7 +12,7 @@
|
||||
@abstract Kinds of events possible for control nodes.
|
||||
@discussion These events are identical to their UIControl counterparts.
|
||||
*/
|
||||
enum _ASControlNodeEvent
|
||||
typedef NS_OPTIONS(NSUInteger, ASControlNodeEvent)
|
||||
{
|
||||
ASControlNodeEventTouchDown = 1 << 0,
|
||||
ASControlNodeEventTouchDownRepeat = 1 << 1,
|
||||
@ -24,7 +24,7 @@ enum _ASControlNodeEvent
|
||||
|
||||
ASControlNodeEventAllEvents = 0xFFFFFFFF
|
||||
};
|
||||
typedef NSUInteger ASControlNodeEvent;
|
||||
|
||||
|
||||
/**
|
||||
@abstract ASControlNode is the base class for control nodes (such as buttons), or nodes that track touches to invoke targets with action messages.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user