mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-07 13:09:49 +00:00
Remove deprecated selected and highlighted methods (#1909)
This commit is contained in:
parent
464fa12a00
commit
e30c76c5ad
@ -124,16 +124,6 @@ typedef NS_ENUM(NSUInteger, ASCellNodeVisibilityEvent) {
|
||||
|
||||
@end
|
||||
|
||||
@interface ASCellNode (Deprecated)
|
||||
|
||||
/**
|
||||
* Previous versions of ASDK did not include "is" in the name of the getter for these properties.
|
||||
* These older accessor methods don't match UIKit naming, and will be removed in a future version.
|
||||
*/
|
||||
- (BOOL)selected ASDISPLAYNODE_DEPRECATED;
|
||||
- (BOOL)highlighted ASDISPLAYNODE_DEPRECATED;
|
||||
|
||||
@end
|
||||
|
||||
/**
|
||||
* Simple label-style cell node. Read its source for an example of custom <ASCellNode>s.
|
||||
|
@ -215,16 +215,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
- (BOOL)selected
|
||||
{
|
||||
return self.isSelected;
|
||||
}
|
||||
|
||||
- (BOOL)highlighted
|
||||
{
|
||||
return self.isSelected;
|
||||
}
|
||||
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wobjc-missing-super-calls"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user