cocoa bindings - NSArrayController bind it to sort descriptor using the nib -
i'm trying figure go set sort descriptor in binding nsarraycontroller have not able find example of how it.
i have nsarraycontroller bind core data , want sort data. question how can using bindings:
i think mean want enter sort descriptor directly in nib. can't that.
bindings allow connect array controller's sortdescriptors
property property of other controller object stay in sync. is, need object implement property indexed collection (like array) of nssortdescriptor
object. window or view controller. then, bind array controller's sort descriptors binding object key path naming property.
that doesn't let set sort descriptors in nib.
Comments
Post a Comment