Revert "Improve designated initializer usage (#3132)"

This reverts commit eaa875c7f2.
This commit is contained in:
Adlai Holler
2017-03-03 15:31:28 -08:00
parent eaa875c7f2
commit 0de270fdfb
19 changed files with 26 additions and 76 deletions

View File

@@ -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