fix NSProxy init

Summary:
`NSProxy` doesn't define `init` because it's abstract.

designated init requires a call to super designated init (which doesn't exist for NSProxy)

sweet
Closes https://github.com/Instagram/IGListKit/pull/667

Differential Revision: D4908034

Pulled By: jessesquires

fbshipit-source-id: c223e05f49ab74d69affe8fdf37e0625e587c8b0
This commit is contained in:
Jesse Squires 2017-04-18 12:50:01 -07:00 committed by Facebook Github Bot
parent ae11d6af53
commit 693cb8a523

View file

@ -33,7 +33,7 @@ IGLK_SUBCLASSING_RESTRICTED
*/
- (instancetype)initWithCollectionViewTarget:(nullable id<UICollectionViewDelegate>)collectionViewTarget
scrollViewTarget:(nullable id<UIScrollViewDelegate>)scrollViewTarget
interceptor:(IGListAdapter *)interceptor NS_DESIGNATED_INITIALIZER;
interceptor:(IGListAdapter *)interceptor;
/**
:nodoc: