Closed vadim-fueled closed 9 years ago
Did this not result in a warning at https://github.com/soffes/sspulltorefresh/blob/3ee6473e1f35c8c1eab8c28c933592141a8a9759/SSPullToRefresh/SSPullToRefreshView.m#L161 which is my original complaint? The thing is I can't subclass SSPullToRefreshView in Swift without overriding init(frame:) which is odd.
Fixed that in 68ac0ee1febdf1e514b128f2c6cd05848fa66828
Since
initWithScrollView:delegate:
is a de-facto designated initializer it should call designated initializer of superclass withsuper
, notself
Explicitly stating that it's a designated initializer with NS_DESIGNATED_INITIALIZER would be nice.