2 down vote favorite
Original StackOverflow post:
https://stackoverflow.com/questions/46620311/overloading-methods-where-only-difference-is-optional-vs-non-optional-type
I was under the impression that swift can have overloaded methods that differ
only in the type of object that the methods return
Original StackOverflow post:
https://stackoverflow.com/questions/46924554/redundant-superclass-constraint-in-swift-4
I'm getting a Redundant superclass constraint... warning in swift4: (paste in a
playground)
import CoreData
class Item : NSManagedObject {}
protocol DataSourceProtocol {
asso