Given the fact that @rnystrom is no longer working at Instagram, I'm guessing the all-swift rewrite he was experimenting with is not going to be finished any time soon, right?
Would you accept a PR that adds Swift refinements to some of the APIs?
For example; the dequeueReusableCellOfClass:forSectionController:atIndex: could be refined in Swift to return a correctly typed cell;
func dequeueReusableCell<T: UICollectionViewCell>(
of cellClass: T.Type, withReuseIdentifier reuseIdentifier: String,
for sectionController: ListSectionController, at index: Int) -> T {
return self.__dequeueReusableCell(
of: cellClass, withReuseIdentifier: reuseIdentifier,
for: sectionController, at: index) as! T
}
Given the fact that @rnystrom is no longer working at Instagram, I'm guessing the all-swift rewrite he was experimenting with is not going to be finished any time soon, right?
Would you accept a PR that adds Swift refinements to some of the APIs?
For example; the
dequeueReusableCellOfClass:forSectionController:atIndex:
could be refined in Swift to return a correctly typed cell;