Re: Xcode hanging compiling storyboard
Re: Xcode hanging compiling storyboard
- Subject: Re: Xcode hanging compiling storyboard
- From: Rick Mann <email@hidden>
- Date: Fri, 21 Nov 2014 00:44:28 -0800
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@hidden> 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@hidden> 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@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden