mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Revert "Improve designated initializer usage (#3132)"
This reverts commit eaa875c7f2.
This commit is contained in:
@@ -21,6 +21,8 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
AS_SUBCLASSING_RESTRICTED
|
||||
@interface ASMutableElementMap : NSObject <NSCopying>
|
||||
|
||||
- (instancetype)init __unavailable;
|
||||
|
||||
- (instancetype)initWithSections:(NSArray<ASSection *> *)sections items:(ASCollectionElementTwoDimensionalArray *)items supplementaryElements:(ASSupplementaryElementDictionary *)supplementaryElements;
|
||||
|
||||
- (void)insertSection:(ASSection *)section atIndex:(NSInteger)index;
|
||||
@@ -47,10 +49,4 @@ AS_SUBCLASSING_RESTRICTED
|
||||
@interface ASElementMap (MutableCopying) <NSMutableCopying>
|
||||
@end
|
||||
|
||||
@interface ASMutableElementMap (Unavailable)
|
||||
|
||||
- (instancetype)init NS_UNAVAILABLE;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
Reference in New Issue
Block a user