Re: Master Detail

2011-03-17 Thread Georg Seifert
No, I meant the detail view changes the value according to the switch. And in my case it is actually a array in the person class and the switch determines if it is the first, the second or the third value to display. in the TableView I can do that with the datasource methods. Thanks g On

Re: about keystrokes out of the window

2011-03-17 Thread Andy Lee
Yes. Check out Dave DeLong's DDHotKey, which provides a convenient Cocoa wrapper: https://github.com/davedelong/DDHotKey If you want users to be able to select their own hotkey, check out Jesper's Shortcut Recorder, which provides a convenient Cocoa control for this purpose:

Re: about keystrokes out of the window

2011-03-17 Thread Jonathan Chacón Barbero
Hello Andy, thanks a lot for this information. it's great! Regards Jonathan Chacón Barbero Accessibility, usability and new technologies consultant Phone: +34 679953948 e-Mail: jonathan.cha...@telefonica.net Blog: http://www.programaraciegas.es Twitter:

Remove characters from string

2011-03-17 Thread Heizer, Charles
Hello, I would like to know how to remove certain characters from a NSString. The characters are ©. I thought I could just use encodings and convert the string using NSASCIIStringEncoding but that did not work and I'm not sure what the car codes are for these as well. Thanks, Charles

Re: Remove characters from string

2011-03-17 Thread Conrad Shultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/17/11 7:03 AM, Heizer, Charles wrote: Hello, I would like to know how to remove certain characters from a NSString. The characters are ©. I thought I could just use encodings and convert the string using NSASCIIStringEncoding but that did

Re: Cocoa-dev Digest, Vol 8, Issue 190

2011-03-17 Thread alfredo laghi
Grès;3.z,...2,..;//9º,,=.==.]{ Inviato da iPhone Il giorno 16/mar/2011, alle ore 18:24, cocoa-dev-requ...@lists.apple.comh]a scritto: Send Cocoa-dev mailing list submissions to cocoa-dev@lists.apple.com To subscribe or unsubscribe via the World Wide Web, visit

Sorting NSTableView + CoreData - odd behaviour

2011-03-17 Thread Darren Wheatley
Hi, I have an NSTableView bound to a core data-backed NSArrayController. The columns are numbers, strings, and BOOLs. The application works fine, but sorting is broken. I assumed that sorting worked out of the box but when I click a column header in the table the rows are reorganised but in a

Re: Remove characters from string

2011-03-17 Thread Heizer, Charles
I really don¹t want to search though the entire string to find a replace. The © is just an example of the characters I would like to remove. I guess my real question is how do I remove all Unicode characters from a string? Thanks, Charles On 3/17/11 7:31 AM, Conrad Shultz

Re: Remove characters from string

2011-03-17 Thread David Duncan
On Mar 17, 2011, at 10:47 AM, Heizer, Charles wrote: I really don¹t want to search though the entire string to find a replace. The © is just an example of the characters I would like to remove. I guess my real question is how do I remove all Unicode characters from a string? I think in

Re: Remove characters from string

2011-03-17 Thread Dave Carrigan
On Mar 17, 2011, at 10:47 AM, Heizer, Charles wrote: I really don¹t want to search though the entire string to find a replace. The © is just an example of the characters I would like to remove. I guess my real question is how do I remove all Unicode characters from a string? Given that

Re: Remove characters from string

2011-03-17 Thread Gary L. Wade
Is it possible you're assuming text being given to you is in ASCII format but is actually in UTF-8 or some other encoding? Try looking at the text you have in other encodings before trying to remove characters. On 03/17/2011 6:03 AM, Heizer, Charles heiz...@llnl.gov wrote: Hello, I would like

iOS Core Data complex predicate.

2011-03-17 Thread Sandro Noël
Greetings! I am facing a problem with a complicated predicate I'm building. it keeps returning multiple instances of the same records. if every predicate used alone works as a charm, problems occur when they are combined together. my model is constructed as so

DVDInitialize() and Program exited with status value:45

2011-03-17 Thread P Teeson
Environment: SL 10.6.6, Xcode 3.2.4 This sample project, built for SDK 10.5, runs in release mode. But in debug mode the call to DVDInitialize(), results in a Program exited with status value:45. From the searches I've made this seems to be because of DRM issues. This is usually attributed to

Re: iOS Core Data complex predicate.

2011-03-17 Thread Andreas Grosam
On Mar 17, 2011, at 8:15 PM, Sandro Noël wrote: Greetings! I am facing a problem with a complicated predicate I'm building. ... then this predicate is fed to a fetch Request which in turn is fed to a fetched Result Controller. the fetch is configured to[fetchRequest

LSUIElement making custom windows non-visible.

2011-03-17 Thread Kevin Muldoon
Writing a small app which completes a task, displays info in a custom semi-transparent NSPanel (based on http://mattgemmell.com/2006/03/12/hudwindow) and, after a few seconds, the NSPanel fades away and the program terminates. Works great but looking to get a more GROWL-like behavior by

Another bindings conundrum (editing a to-many relationship through an NSArrayController)

2011-03-17 Thread Luke Evans
After a hiatus from Cocoa bindings, I'm back trying to create the following kind of UI on top of a Core Data model: - A master table of SalesRep entities, which have a name, manager and importantly a to-many relationship to Territories - An NSTextFieldCell subclass for this Territories property

Re: Another bindings conundrum (editing a to-many relationship through an NSArrayController)

2011-03-17 Thread Quincey Morris
On Mar 17, 2011, at 11:01, Luke Evans wrote: The column for Territories in the master SalesRep table is bound so that cell values should be the relationship set. I'm not sure I can nail the problem down exactly, since your setup is fairly complex, but I'm pretty sure the above is the cause of

Re: Another bindings conundrum (editing a to-many relationship through an NSArrayController)

2011-03-17 Thread Luke Evans
OK I have fix, and now want to properly understand the difference between the working and non-working cases. In my original code, my picker window was initialised with its own NSArrayController driving the 'selected items' list (a single column NSTableView) in the following way: [selectedItems

Re: Another bindings conundrum (editing a to-many relationship through an NSArrayController)

2011-03-17 Thread Quincey Morris
On Mar 17, 2011, at 22:25, Luke Evans wrote: In my original code, my picker window was initialised with its own NSArrayController driving the 'selected items' list (a single column NSTableView) in the following way: [selectedItems bind:@contentSet toObject:multiPickerCell withKeyPath:

Re: Another bindings conundrum (editing a to-many relationship through an NSArrayController)

2011-03-17 Thread Luke Evans
Appreciate the comprehensive reply there Quincey. My new post 'crossed over' with my receipt of your response, so I didn't have a change to read your notes before I posted my update - but the long and the short of it is that I've now fixed my problem but was still fishing for the 'why'. I infer