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:

enter image description here i'll appreciate if

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

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -