Re: How to get music list?

2008-08-03 Thread Bob Warwick
you started if you decide to go that route. You can find it here: http://codehackers.net/blog/?p=65 - Bob Warwick ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

Re: Array help!

2008-07-17 Thread Bob Warwick
From a quick glance, I'd say you've connected your tableview outlet to the scrollview in Interface Builder, not the tableview. Tableviews are contained within scrollviews. You can confirm by checking what the outlet's connected to under the 'outlets' tab of the i

Re: how to save keyboard shortcuts?

2008-06-25 Thread Bob Warwick
em in my program and save/restore that on every launch? Thant doesn't make sense, so there must be an easier way. Thanks, Hank Hello - Have you considered setting your keyboard shortcuts in IB? Just select your menu item in IB and change the "Key Equiv.

Re: Table View/Array Troubles

2008-06-12 Thread Bob Warwick
On 13-Jun-08, at 2:21 AM, Kyle Sluder wrote: On Thu, Jun 12, 2008 at 2:00 AM, Bob Warwick <[EMAIL PROTECTED]> wrote: Calling the NSMutableArray convenience method array will return an autoreleased object. You should do this instead: - (id) init { [supe

Re: Table View/Array Troubles

2008-06-11 Thread Bob Warwick
r both of those and set the content of the string when setTitle: or setContent: is called. -Bob Warwick ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Conta

Re: noob q: adding a button to a window programmatically

2008-06-09 Thread Bob Warwick
to hold a reference to the window (my controller object is instantiated in the Nib). Again, I know I must be overlooking something fundamental, so would appreciate some guidance on the mechanics of instantiating controls programmatically. TIA. Use initWithFrame: instead of init. The

Re: Regular Expressions?

2008-06-06 Thread Bob Warwick
stringWithString:@"The quick brown fox"]; [someString replaceOccurrencesOfString:@"quick" withString:@"slow" options:NSCaseInsensitiveSearch range:NSMakeRange(0, [someString length])]; -Bob Warwick [EMAIL PROTECTED] On 6-Jun-08, at 4:54 AM, Cemil Browne wrote

Re: Regular Expressions?

2008-06-06 Thread Bob Warwick
find this in the NSString documentation. It creates a new string with the substring replaced. -Bob Warwick [EMAIL PROTECTED] ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Co

Re: Best Practice for Returning Immutable Objects?

2008-06-03 Thread Bob Warwick - Codehackers
o return what you're actually claiming to return. -Bob Warwick [EMAIL PROTECTED] ___ 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