objective c - Binding a selector to the target of a NSButtonCell -


I am using the following code to add a target binding to the NSButtonCell control:

 [Code] [Datacell Bind: @ "Target" object: EventsDesire with PayPath: @ "Selection Self." Option: [NSDiction Dictionary with Object Ends: @ "BeckettTicket:", nsseter nanbanking option, zero]];  

eventDatesArray is connected to an NSArrayController by the interface builder. I have established that it has been done correctly using the following functional code:

  [dataCell bind: @ "title" toObject: eventDatesArray withKeyPath: @ "selection.dateTime" option : Zero];  

The "selection .self" map for a specific NSManagedObject which is a method sale: (NSNumber *) maxTickets. Incidentally, I am also setting the compulsory argument:

  [Datacel tie: @ "logic" toObject: eventsArray withKeyPath: @ "selection.venueCapacity" option: zero];  

Event is another NSArrayController.

Where have I gone wrong with the target binding? It does not trigger the selector

Answering your question, it seems that your goal And NSTableColumn's argument is required to bind NSButtonCell

all sorted


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -