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
Since Xcode 7.3, it is now possible to use @NSManaged with methods as well as properties.
So, instead of generating custom methods for KVC to-many accessors, it is now possible to let the compiler do the hard work:
Feature Request
Since Xcode 7.3, it is now possible to use @NSManaged with methods as well as properties.
So, instead of generating custom methods for KVC to-many accessors, it is now possible to let the compiler do the hard work:
@NSManaged var employees: NSSet
@NSManaged func addEmployeesObject(employee: Employee)
@NSManaged func removeEmployeesObject(employee: Employee)
@NSManaged func addEmployees(employees: NSSet)
@NSManaged func removeEmployees(employees: NSSet)
Using that new feature, it should be possible to simplify the swift2 generated code.
The text was updated successfully, but these errors were encountered: