FROM : Christiaan Hofman
DATE : Sat Jan 19 00:34:06 2008
You probably bind something else, probably to the selection or
something. See the NSIsControllerMarker function. You get a state
marker when a bound value is invalid, like nil or a multiple value.
You should take care that your app handles this correctly when using
a bound value.
Christiaan
On 19 Jan 2008, at 12:22 AM, Nick Toumpelis wrote:
> Hi all,
>
> I would appreciate any help you can give me on this - I spent ages
> trying to solve it and looked everywhere for anything that might help.
>
> I have an NSTableView which is bound to an NSArrayController, which
> manages a set of Core Data entities. I also have Add and Remove
> buttons, which are connected to the add: and remove: actions of the
> controller - a typical use of Core Data and Bindings.
>
> When I add the first entity by clicking the Add button or when
> saveAction: is called (and in other circumstances), I often get
> this error:
>
> 2008-01-18 12:25:33.304 blogosphere[10865:10b] *** -[_NSStateMarker
> intValue]: unrecognized selector sent to instance 0x10ba60
>
> This error, in some cases, is not apparent to the user. In other
> cases, it stops the execution of the running method.
>
> I would be grateful if you could help me with this or point me to
> the right direction.
>
>
> Kind regards,
>
> Nick
>
>
>
> ____________________________________________________________
> Nick Toumpelis email: <email_removed>
> BEng (Wales), MSc (Manchester)
> Software Developer
> Thessaloniki, Greece
>
>
>
>
>
>
> ____________________________________________________________
> Nick Toumpelis email: <email_removed>
> BEng (Wales), MSc (Manchester)
> Software Developer
> Thessaloniki, Greece
>
>
>
>
>
>
> _______________________________________________
> MacOSX-dev mailing list
> <email_removed>
> http://www.omnigroup.com/mailman/listinfo/macosx-dev
DATE : Sat Jan 19 00:34:06 2008
You probably bind something else, probably to the selection or
something. See the NSIsControllerMarker function. You get a state
marker when a bound value is invalid, like nil or a multiple value.
You should take care that your app handles this correctly when using
a bound value.
Christiaan
On 19 Jan 2008, at 12:22 AM, Nick Toumpelis wrote:
> Hi all,
>
> I would appreciate any help you can give me on this - I spent ages
> trying to solve it and looked everywhere for anything that might help.
>
> I have an NSTableView which is bound to an NSArrayController, which
> manages a set of Core Data entities. I also have Add and Remove
> buttons, which are connected to the add: and remove: actions of the
> controller - a typical use of Core Data and Bindings.
>
> When I add the first entity by clicking the Add button or when
> saveAction: is called (and in other circumstances), I often get
> this error:
>
> 2008-01-18 12:25:33.304 blogosphere[10865:10b] *** -[_NSStateMarker
> intValue]: unrecognized selector sent to instance 0x10ba60
>
> This error, in some cases, is not apparent to the user. In other
> cases, it stops the execution of the running method.
>
> I would be grateful if you could help me with this or point me to
> the right direction.
>
>
> Kind regards,
>
> Nick
>
>
>
> ____________________________________________________________
> Nick Toumpelis email: <email_removed>
> BEng (Wales), MSc (Manchester)
> Software Developer
> Thessaloniki, Greece
>
>
>
>
>
>
> ____________________________________________________________
> Nick Toumpelis email: <email_removed>
> BEng (Wales), MSc (Manchester)
> Software Developer
> Thessaloniki, Greece
>
>
>
>
>
>
> _______________________________________________
> MacOSX-dev mailing list
> <email_removed>
> http://www.omnigroup.com/mailman/listinfo/macosx-dev
| Related mails | Author | Date |
|---|---|---|
| Nick Toumpelis | Jan 19, 00:22 | |
| Christiaan Hofman | Jan 19, 00:34 | |
| Nick Toumpelis | Jan 19, 15:12 |






Cocoa mail archive

