CoreData / SQL hang on save

2009-08-25 Thread Greg Hoover
I've run into a hang in CoreData save. I'm the single coordinator, multiple object contexts threading model and a SQL store (though it seems to happen with XML as well). The hang occurs inside the NSSQLCore and seems to just loop endlessly. The SQL output supports this. Requests

[IPhone 3.0] How do I make a UITextField the first responder?

2009-08-25 Thread Brian Bruinewoud
All, I have a simple view that contains a UITextField and a UIButton. The user will most often want to type text and ignore the button. Is there some way I can make the keyboard appear immediately that view is shown? I can't find anything in IB and reading about UITextField, UIView,

Re: [IPhone 3.0] How do I make a UITextField the first responder?

2009-08-25 Thread Georg C. Brückmann
On 25.08.2009, at 12:30, Brian Bruinewoud wrote: I have a simple view that contains a UITextField and a UIButton. The user will most often want to type text and ignore the button. Is there some way I can make the keyboard appear immediately that view is shown? I can't find anything in IB

Re: [IPhone 3.0] How do I make a UITextField the first responder?

2009-08-25 Thread Brian Bruinewoud
On 25/08/2009, at 20:42 , Georg C. Brückmann wrote: On 25.08.2009, at 12:30, Brian Bruinewoud wrote: I have a simple view that contains a UITextField and a UIButton. The user will most often want to type text and ignore the button. Is there some way I can make the keyboard appear

Re: What's the purpose of the fax received action?

2009-08-25 Thread Graham Cox
On 24/08/2009, at 5:57 PM, Behrang Saeedzadeh wrote: Hi all, What's the purpose of the fax received action in NSTableView and is it documented somewhere at all? Did a quick search and couldn't find its documentation. Not sure where you're using this as it's not in my headers for

Re: [IPhone 3.0] How do I make a UITextField the first responder?

2009-08-25 Thread Andy Lee
On Aug 25, 2009, at 8:28 AM, Brian Bruinewoud wrote: On 25/08/2009, at 20:42 , Georg C. Brückmann wrote: On 25.08.2009, at 12:30, Brian Bruinewoud wrote: I have a simple view that contains a UITextField and a UIButton. The user will most often want to type text and ignore the button. Is

Re: What's the purpose of the fax received action?

2009-08-25 Thread Andy Lee
On Aug 25, 2009, at 8:29 AM, Graham Cox wrote: On 24/08/2009, at 5:57 PM, Behrang Saeedzadeh wrote: Hi all, What's the purpose of the fax received action in NSTableView and is it documented somewhere at all? Did a quick search and couldn't find its documentation. Not sure where

Re: [IPhone 3.0] How do I make a UITextField the first responder?

2009-08-25 Thread Georg C. Brückmann
___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription:

Re: [IPhone 3.0] How do I make a UITextField the first responder?

2009-08-25 Thread Andy Lee
On Aug 25, 2009, at 9:02 AM, Andy Lee wrote: On Aug 25, 2009, at 8:28 AM, Brian Bruinewoud wrote: On 25/08/2009, at 20:42 , Georg C. Brückmann wrote: On 25.08.2009, at 12:30, Brian Bruinewoud wrote: I have a simple view that contains a UITextField and a UIButton. The user will most often

Re: [IPhone 3.0] How do I make a UITextField the first responder?

2009-08-25 Thread Luke the Hiesterman
On Aug 25, 2009, at 6:33 AM, Andy Lee wrote: You seem to be right about this part -- becomeFirstResponder doesn't bring up the keyboard for me, or I'm doing something wrong. Are you sure the text field isn't nil when you're calling this? Maybe it's loaded from a nib and you forgot to wire

Re: [IPhone 3.0] How do I make a UITextField the first responder?

2009-08-25 Thread Andy Lee
On Aug 25, 2009, at 9:34 AM, Luke the Hiesterman wrote: On Aug 25, 2009, at 6:33 AM, Andy Lee wrote: You seem to be right about this part -- becomeFirstResponder doesn't bring up the keyboard for me, or I'm doing something wrong. Are you sure the text field isn't nil when you're calling

Re: [IPhone 3.0] How do I make a UITextField the first responder?

2009-08-25 Thread Luke the Hiesterman
Obvious question is, then, where are you calling it? Luke On Aug 25, 2009, at 6:37 AM, Andy Lee wrote: On Aug 25, 2009, at 9:34 AM, Luke the Hiesterman wrote: On Aug 25, 2009, at 6:33 AM, Andy Lee wrote: You seem to be right about this part -- becomeFirstResponder doesn't bring up the

NSImage with multiple representation sizes

2009-08-25 Thread Benjamin Rister
The core question: Is it still the best practice to have conceptually same images of different sizes in different files, e.g. Foo9x9.tiff, Foo32x32.tiff? icns isn't an option because they aren't all the standard icns sizes, and several places in the docs seem to discourage lumping them

Re: need help about the touch event

2009-08-25 Thread Randall Meadows
On Aug 24, 2009, at 4:42 PM, Gill Bates wrote: Hi All, currently we have three kinds of touch event: - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { NSLog(@touchesBegan); } - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event { NSLog(@touchesMoved); } -

Re: Core Data dog-slow when using first time after boot

2009-08-25 Thread Ruotger Skupin
Am 24.08.2009 um 23:13 schrieb Ben Trumbull: When I use setRelationshipKeyPathsForPrefetching the fetch throws: -[NSSQLAttribute inverseRelationship]: unrecognized selector sent to instance 0x10ee150 Can you provide the entire stack trace at this point ? gdb use future-break

How to keep the last tree item of NSOutlineView in the most bottom of a Sidebar?

2009-08-25 Thread Vadim Shpakovski
Hi, I'd like to have the same behavior of special items as it's done in the Things application. I mean Logbook and Trash items on the picture placed under this link: http://tinyurl.com/lhctza Please advise any way to implement the same functionality in the sidebar tree. I feel that

How is Open Recent identified and populated?

2009-08-25 Thread Jerry Krinock
Today I wanted to add a menu item with a submenu similar to Open Recent. For example, Xcode has: ... Open Recent File - Open Recent Document - ... For convenience, I copy/paste/duplicated the Open Recent menu item, connected everything, wrote my code, but then found that my new

Re: NSTableView and programmatic changing of contextual menu

2009-08-25 Thread Jason Foreman
On Aug 24, 2009, at 7:44 PM, Kyle Sluder wrote: On Mon, Aug 24, 2009 at 5:39 PM, Jack Carbaughintrn...@aol.com wrote: My question is how do i change the contextual menu when the user right clicks. Override -menuForEvent:. Another way is to implement the -

Re: How is Open Recent identified and populated?

2009-08-25 Thread I. Savant
On Aug 25, 2009, at 11:33 AM, Jerry Krinock wrote: Is there some magic under the covers? How does Cocoa know which menu item is Open Recent? What about its title? :-) It's possible it looks for it by name (and also possible it only cares about the first one it finds). In what order

Re: NSTableView and programmatic changing of contextual menu

2009-08-25 Thread Corbin Dunn
On Aug 25, 2009, at 8:35 AM, Jason Foreman wrote: On Aug 24, 2009, at 7:44 PM, Kyle Sluder wrote: On Mon, Aug 24, 2009 at 5:39 PM, Jack Carbaughintrn...@aol.com wrote: My question is how do i change the contextual menu when the user right clicks. Override -menuForEvent:. Another

Re: applicationWillTerminate: issue

2009-08-25 Thread Jason Foreman
On Aug 24, 2009, at 10:26 PM, Michael de Haan wrote: -applicationWillTerminate: doesn't magically get called. NSApplication posts this notification to the default notification center. NSApplication also automatically signs its delegate up for this notification. Kyle, from the Cocoa

Re: NSTableView and programmatic changing of contextual menu

2009-08-25 Thread Kyle Sluder
On Tue, Aug 25, 2009 at 8:35 AM, Jason Foremanja...@threeve.org wrote: Another way is to implement the -tableView:willDisplayCell:forTableColumn:row: delegate method and assign the cell's menu there. Table views reuse their cells. You can't do a per-row menu by setting the cell menu, because

Re: NSTableView and programmatic changing of contextual menu

2009-08-25 Thread Kyle Sluder
On Tue, Aug 25, 2009 at 8:41 AM, Corbin Dunncorb...@apple.com wrote: Or, populate the menu dynamically. This is probably the best idea. No subclassing of NSTableView required. --Kyle Sluder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Re: applicationWillTerminate: issue

2009-08-25 Thread Michael de Haan
On Aug 25, 2009, at 8:46 AM, Jason Foreman wrote: On Aug 24, 2009, at 10:26 PM, Michael de Haan wrote: -applicationWillTerminate: doesn't magically get called. NSApplication posts this notification to the default notification center. NSApplication also automatically signs its delegate up

Re: NSTableView and programmatic changing of contextual menu

2009-08-25 Thread Corbin Dunn
On Aug 25, 2009, at 8:58 AM, Kyle Sluder wrote: On Tue, Aug 25, 2009 at 8:35 AM, Jason Foremanja...@threeve.org wrote: Another way is to implement the -tableView:willDisplayCell:forTableColumn:row: delegate method and assign the cell's menu there. Table views reuse their cells. You

Re: NSTableView and programmatic changing of contextual menu

2009-08-25 Thread Kyle Sluder
On Tue, Aug 25, 2009 at 9:11 AM, Corbin Dunncorb...@apple.com wrote: However, it will work (and it is a recommended way to solve this problem), since the tableView will first acquire a preparedCellAtColumn:row:, which calls tableView:willDisplayCell:. So, any menu you have set there will

Re: NSTableView and programmatic changing of contextual menu

2009-08-25 Thread Corbin Dunn
On Aug 25, 2009, at 9:30 AM, Kyle Sluder wrote: On Tue, Aug 25, 2009 at 9:11 AM, Corbin Dunncorb...@apple.com wrote: However, it will work (and it is a recommended way to solve this problem), since the tableView will first acquire a preparedCellAtColumn:row:, which calls

Stop automatic editing of NSTextField

2009-08-25 Thread bryscomat
Hey all. Quick question: How do I prevent a window from initially making an NSTextField the firstResponder? I do not want any controls to automatically begin editing. Thanks. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not

Re: What's the purpose of the fax received action?

2009-08-25 Thread Andrew Merenbach
On Aug 24, 2009, at 12:57 AM, Behrang Saeedzadeh wrote: Hi all, What's the purpose of the fax received action in NSTableView and is it documented somewhere at all? Did a quick search and couldn't find its documentation. Best regards, Behrang Saeedzadeh I asked essentially this question

Stop automatic editing of NSTextField

2009-08-25 Thread bryscomat
Nevermind. It's the [NSWindow setInitialFirstResponder:] method. Duh. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at

Re: applicationWillTerminate: issue

2009-08-25 Thread Michael de Haan
On Aug 24, 2009, at 6:02 PM, Graham Cox wrote: On 25/08/2009, at 10:33 AM, Michael de Haan wrote: So, 2 quick questions. 1) Is what I am seeing expected behavior or am I doing something wrong. 2) Although not strictly speaking a cocoa question, would better design be to collect all

Normalize an NSAttributedString

2009-08-25 Thread Ross Carter
NSString has methods for normalizing the content using Normalization Forms D, KD, C, and KC. NSAttributedString does not. Is there any way to normalize an NSAttributedString? I need to archive an NSAttributedString by extracting its string, attributes, and the attribute ranges. This is easy

Re: Normalize an NSAttributedString

2009-08-25 Thread Dave DeLong
What's wrong with just archiving it and unarchiving it? NSAttributedString conforms to the NSCoding protocol, so you shouldn't need to do any custom archiving yourself. Just use an NSKeyed(Un) Archiver. Dave On Aug 25, 2009, at 11:02 AM, Ross Carter wrote: NSString has methods for

Re: Stop automatic editing of NSTextField

2009-08-25 Thread Jean-Daniel Dupas
Note that it can also be defined in Interface Builder. Le 25 août 2009 à 18:50, bryscomat a écrit : Nevermind. It's the [NSWindow setInitialFirstResponder:] method. Duh. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: Normalize an NSAttributedString

2009-08-25 Thread Ross Carter
I need to archive it as xml. On Aug 25, 2009, at 1:06 PM, Dave DeLong wrote: What's wrong with just archiving it and unarchiving it? NSAttributedString conforms to the NSCoding protocol, so you shouldn't need to do any custom archiving yourself. Just use an NSKeyed(Un)Archiver. Dave

NSTreeController setSelectionIndexPath depends on sort order

2009-08-25 Thread Konrad Windszus
I have a NSTreeController which is connected to a NSOutlineView. I wish to have links to specific entries in the NSTreeController. With these links I want to select those items. I therefore use the NSIndexPath. Unfortunately the NSIndexPath becomes invalid if the sort order is changed by

kTISPropertyUnicodeKeyLayoutData Returns NULL

2009-08-25 Thread Joe Turner
Hey, So, to translate from a string to a keycode, I've been using the UCKeyboardLayout. But, on some keyboard layouts (only Japanese so far), I get a NULL pointer for the layout, and then the app crashes. Here's the code: TISInputSourceRef currentKeyboard =

Synchronizing NSWindow updates with threads

2009-08-25 Thread McLaughlin, Michael P.
I have an NSOperation app (simulation) executing one timestep at a time. The threads are working fairly well but the running output is supposed to be drawn as a color-coded map every 10 timesteps. It seems that a window update is a low priority task because my threads are running and continually

Binding exception on Tiger

2009-08-25 Thread James Walker
When my app ran on Tiger, there was an NSInvalidArgumentException with the reason: -observeValueForKeyPath:ofObject:change:context: only defined for abstract class. Define -[NSCFString observeValueForKeyPath:ofObject:change:context:]! That seemed to happen when I had 2 enabled bindings on

Re: Normalize an NSAttributedString

2009-08-25 Thread Alastair Houghton
On 25 Aug 2009, at 18:02, Ross Carter wrote: I'd love to do this: Archiving: 1. Normalize the source attributed string. 2. Archive its string content and its attribute information. Unarchiving: 3. Create a new string from the archived data and normalize it. 4. Created a new attributed string

Re: Synchronizing NSWindow updates with threads

2009-08-25 Thread Alastair Houghton
On 25 Aug 2009, at 19:50, McLaughlin, Michael P. wrote: I have an NSOperation app (simulation) executing one timestep at a time. The threads are working fairly well but the running output is supposed to be drawn as a color-coded map every 10 timesteps. How fast is this in Hertz? If

Re: [IPhone 3.0] How do I make a UITextField the first responder?

2009-08-25 Thread David Duncan
On Aug 25, 2009, at 6:37 AM, Andy Lee wrote: First thing I checked. :) A quick look on StackOverflow suggests the code should go into viewDidAppear:animated:. Itching to try this but I have to run to work... -viewDidLoad only means that the view controller's view was loaded, it does

Re: What's the purpose of the fax received action?

2009-08-25 Thread Behrang Saeedzadeh
Thanks everybody. And yes I saw it in IB. Best, Behrang Saeedzadeh --- http://my.opera.com/behrangsa http://twitter.com/behrangsa On Wed, Aug 26, 2009 at 2:48 AM, Andrew Merenbach merenb...@ucla.eduwrote: On Aug 24, 2009, at 12:57 AM, Behrang Saeedzadeh wrote:

Selection highlight in NSTextFieldCell

2009-08-25 Thread bryscomat
How do I change the selection highlight color for an NSTextFieldCell being edited? I'm using a transparent window and would like to change the highlight to a light gray instead of the default light blue, ___ Cocoa-dev mailing list

Re: CoreData / SQL hang on save

2009-08-25 Thread Melissa J. Turner
On Aug 25, 2009, at 02:19, Greg Hoover wrote: I've run into a hang in CoreData save. I'm the single coordinator, multiple object contexts threading model and a SQL store (though it seems to happen with XML as well). The hang occurs inside the NSSQLCore and seems to just loop endlessly.

Re: CoreData / SQL hang on save

2009-08-25 Thread Greg Hoover
Hi Melissa, Thanks for you response. The problem actually just started showing up in 10.6 (wasn't a problem in 10.4 or 10.5). :-/ The hang stopped for a few launches and reverted to its previous output: binding not implemented for SQLType 7. But then it happened again... The SQL file

Beware: trivially reproducible NSPersistentDocument crash when saving

2009-08-25 Thread Sean McBride
Hi all, A warning to NSPersistentDocument users Let's say you have an NSPersistentDocument-based app-- you do some work and you save successfully. Now let's say the app has a bug where its UI allows the user to set a value outside the allowable range of one of your NSManagedObjects. When

Re: Beware: trivially reproducible NSPersistentDocument crash when saving

2009-08-25 Thread Kyle Sluder
On Tue, Aug 25, 2009 at 2:37 PM, Sean McBrides...@rogue-research.com wrote: Let's say you have an NSPersistentDocument-based app-- you do some work and you save successfully.  Now let's say the app has a bug where its UI allows the user to set a value outside the allowable range of one of your

Re: Beware: trivially reproducible NSPersistentDocument crash when saving

2009-08-25 Thread Sean McBride
On 8/25/09 2:44 PM, Kyle Sluder said: Let's say you have an NSPersistentDocument-based app-- you do some work and you save successfully.  Now let's say the app has a bug where its UI allows the user to set a value outside the allowable range of one of your NSManagedObjects.  When you try to

Re: CoreData / SQL hang on save

2009-08-25 Thread Melissa J. Turner
Could you try running with -com.apple.CoreData.SQLDebug 3? I'm curious as to what's trying to bind that's causing this: binding not implemented for this SQLType 7 Cheers, +Melissa On Aug 25, 2009, at 14:12, Greg Hoover wrote: Hi Melissa, Thanks for you response. The problem actually

Re: Core Data dog-slow when using first time after boot

2009-08-25 Thread Ben Trumbull
On Aug 25, 2009, at 7:19 AM, Ruotger Skupin wrote: Am 24.08.2009 um 23:13 schrieb Ben Trumbull: When I use setRelationshipKeyPathsForPrefetching the fetch throws: -[NSSQLAttribute inverseRelationship]: unrecognized selector sent to instance 0x10ee150 Can you provide the entire stack

Re: How is Open Recent identified and populated?

2009-08-25 Thread Jerry Krinock
On 2009 Aug 25, at 08:38, I. Savant wrote: On Aug 25, 2009, at 11:33 AM, Jerry Krinock wrote: Is there some magic under the covers? How does Cocoa know which menu item is Open Recent? What about its title? :-) No, that can't be, because a title has to be localized. Actually,

Re: Normalize an NSAttributedString

2009-08-25 Thread Martin Wierschin
NSString has methods for normalizing the content using Normalization Forms D, KD, C, and KC. NSAttributedString does not. Is there any way to normalize an NSAttributedString? I haven't tried it, but this should work: NSAttributedString* original = whatever;

Re: Normalize an NSAttributedString

2009-08-25 Thread Ross Carter
I haven't tried it, but this should work: NSAttributedString* original = whatever; NSMutableAttributedString* normalized = [[original mutableCopy] autorelease]; CFMutableStringRef str = (CFMutableStringRef)[original mutableString]; CFStringNormalize(str,

Re: How is Open Recent identified and populated?

2009-08-25 Thread Jeff Johnson
On Aug 25, 2009, at 6:23 PM, Jerry Krinock wrote: On 2009 Aug 25, at 08:38, I. Savant wrote: On Aug 25, 2009, at 11:33 AM, Jerry Krinock wrote: Is there some magic under the covers? How does Cocoa know which menu item is Open Recent? What about its title? :-) No, that can't be,

Re: How is Open Recent identified and populated?

2009-08-25 Thread Kyle Sluder
On Tue, Aug 25, 2009 at 4:23 PM, Jerry Krinockje...@ieee.org wrote: Can anyone explain the mystery, or is it indeed magic under the covers? It might look for a menu item that's wired to -openDocument:. Or it might be one of those special private NSMenuItem subclasses that I've seen floating

Re: Normalize an NSAttributedString

2009-08-25 Thread Martin Wierschin
Note that there is an issue with this approach, which is that attribute runs that start in the middle of a grapheme cluster might result in odd behaviour wrt normalisation. However, it generally doesn't make sense to have such an attribute run (it's the equivalent of asking for e.g. a

Re: How to keep the last tree item of NSOutlineView in the most bottom of a Sidebar?

2009-08-25 Thread Graham Cox
On 26/08/2009, at 1:02 AM, Vadim Shpakovski wrote: I'd like to have the same behavior of special items as it's done in the Things application. I mean Logbook and Trash items on the picture placed under this link: http://tinyurl.com/lhctza Please advise any way to implement the same

NSScanner is stripping leading spaces?

2009-08-25 Thread Timothy Reaves
I have a character set; I've tried both NSCharacterSet *newlineSet = [NSCharacterSet characterSetWithCharactersInString:@\n]; and NSCharacterSet *newlineSet = [NSCharacterSet newlineCharacterSet]; I use this to read lines from a file, like so: while ([scanner

QuickTime Animation Rendering

2009-08-25 Thread Christopher J Kemsley
Hi all, I have a project where I will be drawing nothing more than simple circles with lines connecting them. At some point, I will be animating these lines and circles to move them to another position. I would like to: (1) Display these, animated, on the screen; and (2) Render the

Re: NSScanner is stripping leading spaces?

2009-08-25 Thread Graham Cox
On 26/08/2009, at 11:00 AM, Timothy Reaves wrote: Does anyone have any idea why this is going on? The trailing spaces are being counted correctly. [scanner setCharactersToBeSkipped:nil]; By default the scanner skips spaces - sounds like you don't want it to do that. --Graham

Re: Selection highlight in NSTextFieldCell

2009-08-25 Thread Graham Cox
On 26/08/2009, at 6:23 AM, bryscomat wrote: How do I change the selection highlight color for an NSTextFieldCell being edited? I'm using a transparent window and would like to change the highlight to a light gray instead of the default light blue, I'd suggest you don't. The colour is

Re: Selection highlight in NSTextFieldCell

2009-08-25 Thread Kyle Sluder
On Aug 25, 2009, at 6:28 PM, Graham Cox graham@bigpond.com wrote: I'd suggest you don't. The colour is set by the user in their System Preferences. Encountering a different colour leads to confusion because sometimes unusual colours have specific meanings. In your case it doesn't, so

Re: Drawing text into a UiView

2009-08-25 Thread Henry McGilton (Boulevardier)
On Aug 23, 2009, at 10:57 PM, J J wrote: I'm trying to write an app that will page through text .. I'm trying to grab the text, find out how much with fit on a page, write the text to a view (page), then perhaps paginate the pages around it onto other views to be ready as needed. Anyone

Re: Possible reasons why no help is available?

2009-08-25 Thread Matt Neuburg
On Fri, 21 Aug 2009 18:19:32 -0500, Brant Sears br...@mac.com said: Hi. I'm trying to get a Help Book to open for my application. This problem is nearly always caused by DNFD (Did Not Follow Directions). Apple has provided the directions. Follow them! Follow them very, very exactly. I've made a

Re: How is Open Recent identified and populated?

2009-08-25 Thread Jerry Krinock
On 2009 Aug 25, at 16:43, Jeff Johnson wrote: http://lapcatsoftware.com/blog/2007/07/10/working-without-a-nib-part-5-open-recent-menu/ So, maybe Interface Builder sends _setMenuName:@NSRecentDocumentsMenu to the submenu of its Open Recent menu item. Good work figuring it out, Jeff. I

Why I have to load nib file?

2009-08-25 Thread Agha Khan
HI: Reading iPhone Developer's Cookbook I realized we do not need a nib file. The author was developing all applications without nib files. It worked fine with OS 2.2. Toady I complied his first program and got this error message. 2009-08-25 21:32:56.428 HelloWorld[2770:20b] Failed to load

Re: Why I have to load nib file?

2009-08-25 Thread Roland King
Do you ever try reading any documentation before you post your random questions to the list? go read this http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIKitFunctionReference/Reference/reference.html#//apple_ref/c/func/UIApplicationMain and that

Re: Why I have to load nib file?

2009-08-25 Thread Kyle Sluder
On Aug 25, 2009, at 9:41 PM, Agha Khan agha.k...@me.com wrote: HI: Reading iPhone Developer's Cookbook I realized we do not need a nib file. You should use nib files unless it doesn't make sense to do so. For OpenGL apps in particular, nibs can just be a nuisance. But IB is the Cocoa

Re: Selection highlight in NSTextFieldCell

2009-08-25 Thread bryscomat
I appreciate the responses, and I think Kyle nailed it. It just doesn't work on a black background. I wasn't looking to change the user's preferences, just the way the selection was handled in this particular part of the app. I dug a little further, and it looks like you're right Graham.

Re: Why I have to load nib file?

2009-08-25 Thread Agha Khan
Dear Roland King: I admit I am new to iPhone and did read that book. which I mentioned. In future I will try not to ask before googling. Best regards Agha On Aug 25, 2009, at 9:51 PM, Roland King wrote: Do you ever try reading any documentation before you post your random questions to the