Re: Trying to bind an array to a table in an NSView...
Re: Trying to bind an array to a table in an NSView...
- Subject: Re: Trying to bind an array to a table in an NSView...
- From: GMail <email@hidden>
- Date: Tue, 15 Mar 2011 20:36:25 -0700
OK, that makes sense for my demo, but not really for the real app - in that I actually call another class to pull info from a mysql db, and return it as a list of records, so my assignment to the bound array doesn't use the "set end of" command. What's even stranger - I actually hVe two tables on the real app, and the other works just fine. Strange.
Oh well, for now I seem to be able to work around it with only a few extra lines of code.
Thanks for your time / insights - and also for your book, it's been a great resource so far.
Sent from my iPad
On Mar 15, 2011, at 5:17 PM, Shane Stanley <email@hidden> wrote:
> On 16/3/11 11:13 AM, "Jeff Dyck" <email@hidden> wrote:
>
>> I'm moving ahead right now, by grabbing my data in a temp array, assigning
>> that to the bound array, then blanking the temp array... It seems to be
>> working, although that does seem like a bug to me...
>
> No, that's the way it works. Using "set end of..." is not key-value
> observable. If you don't want to make new lists, use NSMutableArray methods
> like addObject:.
>
> (Ignore my previous message; I misunderstood your problem.)
>
> --
> Shane Stanley <email@hidden>
> 'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> applescriptobjc-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden