You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, when you add an observer to a signal, the callback returns self as type id in Objective-C and AnyObject in Swift. If we could make this a parameterized type, that would be very useful for Swift. Perhaps we could leverage Swift's ability to do generic functions?
The text was updated successfully, but these errors were encountered:
Right now, when you add an observer to a signal, the callback returns self as type
id
in Objective-C andAnyObject
in Swift. If we could make this a parameterized type, that would be very useful for Swift. Perhaps we could leverage Swift's ability to do generic functions?The text was updated successfully, but these errors were encountered: