NSLevelIndicator

2008-05-17 Thread Philip Bridson
Hi there, I have an NSLevelIndicator in a utility window that does the standard stuff, but I have just noticed that if I click on the indicator I can manually select the level. I have read the chapter about indicators but cannot find info about how to disable this functionality. Can any

Fwd: [SOLVED] NSLevelIndicator

2008-05-17 Thread Philip Bridson
or programatically with [[indicator cell] setEditable:NO]. On May 17, 2008, at 4:41 PM, Philip Bridson wrote: I have an NSLevelIndicator in a utility window that does the standard stuff, but I have just noticed that if I click on the indicator I can manually select the level. I have read

NSWindow Centering Problem

2008-05-07 Thread Philip Bridson
Hi there, Can anyone tell me why when I use [MyWindow center] the window ends up about an inch from the top of the screen? I thought this method is meant to center the window. Is there something I am doing wrong? Many thanks, Phil. ___

Re: NSWindow Centering Problem

2008-05-07 Thread Philip Bridson
if you cannot construct a helpful sentence then don't reply. Phil. On 7 May 2008, at 20:31, Sean McBride wrote: On 5/7/08 3:06 PM, Andy Lee said: On May 7, 2008, at 2:59 PM, Philip Bridson wrote: Can anyone tell me why when I use [MyWindow center] the window ends up about an inch from the top

Re: NSWindow Centering Problem

2008-05-07 Thread Philip Bridson
think that a simple The answer can be found at URL in the docs can easily convey the same message without sarcasm. However, I do not wish to start a debate and so I apologise, and recognize that the mistake was my own. Many thanks, Phil. On 7 May 2008, at 20:42, Philip Bridson wrote: Ok

Re: NSWindow With IB

2008-05-01 Thread Philip Bridson
at 4:53 PM, Philip Bridson [EMAIL PROTECTED] wrote: I don't mind manipulating it with code if I have to. Subclass NSWindow and override -initWithContentRect:styleMask:backing:defer to pass your custom window mask to super's implementation. Then in the identity pane of IB, set the class

NSTextField with NSLevelIndicator

2008-04-28 Thread Philip Bridson
Hi there, I want to create a password analysis tool that updates an NSLevelIndicator with each character entered into a NSSecureTextField. I know how to update the NSLevelIndicator once the user has finished entering text but how do i update it per character? To give you a bit more info:

Re: NSTextField with NSLevelIndicator

2008-04-28 Thread Philip Bridson
, 2008, at 3:17 PM, Philip Bridson wrote: Hi there, I want to create a password analysis tool that updates an NSLevelIndicator with each character entered into a NSSecureTextField. I know how to update the NSLevelIndicator once the user has finished entering text but how do i update it per

Core Data Client/Server Application

2008-03-30 Thread Philip Bridson
Hi there, Can core data be used to create a Client/Server type application? I heard that there are a few problems when accessing the persistent store via multiple clients. Many thanks, Phil. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

NSLocalizedStringFromTable

2008-02-28 Thread Philip Bridson
Hi there, Just a short question. I'm working with localizations and I get the whole concept of strings files etc but do I have to create a file with english values in it? For instance my french one is: Yes = Oui But do I have to create a english one with: Yes = Yes or will cocoa

Re: Cannot Debug

2008-02-28 Thread Philip Bridson
I can't tell you why it happened but it happened to me a few weeks ago using XC 2.4.1 on Tiger 10.4.11. I couldn't solve it so I uninstalled the entire Developer folder Tools then re-installed and now it works fine. Phil. On 29 Feb 2008, at 00:31, Steve Cronin wrote: Folks; This is

Re: Cannot Debug

2008-02-28 Thread Philip Bridson
, at 7:26 PM, Philip Bridson wrote: I can't tell you why it happened but it happened to me a few weeks ago using XC 2.4.1 on Tiger 10.4.11. I couldn't solve it so I uninstalled the entire Developer folder Tools then re-installed and now it works fine. Phil. On 29 Feb 2008, at 00:31, Steve

Event Logging

2008-02-26 Thread Philip Bridson
Is event logging really as easy as just declaring the location of the application log directory and then passing the relevant event string to NSLog which will know where to write the event? I can't find much about it in the documentation but what I have found is a little vague. Many

Re: Can CoreData return only unique results of an attribute

2008-02-26 Thread Philip Bridson
Yeah there is. From the documentation: You can set a predicate for an array controller to filter the content array. You can set the predicate in code (using setFilterPredicate:). You can also bind the array controller's filterPredicate binding to a method that returns an NSPredicate

Re: Can CoreData return only unique results of an attribute

2008-02-26 Thread Philip Bridson
OK, I think I understand what you want to do now. You want to retrieve the one set of values and then filter them based on their individual values. Am I understanding right now? If this is what you want to do then I am afraid you cannot do this in interface builder. You would need to do this