I realized what I was trying to do wasn't correct. Xcode still shouldn't hang, but I changed the things I was binding (table view Content to the array controller's arrangedObjects, and column to the table view's objectValue.property). This is how Apple's docs said I should do it (although not how I've ever done it before that I can recall).
This the compiler accepted, and it seems to be working. > On Nov 21, 2014, at 00:41 , M Pulis <[email protected]> wrote: > > One way: > > - where your element is an NSTableColumn > - Assign an identifier to each column > - knowing the NSTable, use columnWithIdentifier to get an index into > NSTable's array "tableColumns" of NSTableColumn > > There may be better ways.... this way should work even if the order of > columns changes. > > Gary > > On Nov 21, 2014, at 1:12 AM, Rick Mann wrote: > >> >>> On Nov 21, 2014, at 00:03 , M Pulis <[email protected]> wrote: >>> >>> Set the binding programmatically in app did finish launching? >>> Just a guess at what I would try. >> >> Good idea, but I'm not sure how to do that. How do I get at the element >> within the table view? >> >> TIA, >> Rick >> > -- Rick Mann [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to [email protected]
