Re: NSString may not respond to a method in documentation?

2009-04-26 Thread Mr. Gecko
Oh ok, thanks. On Apr 26, 2009, at 8:08 AM, Dave Geering wrote: I think this is weird because componentsSeparatedByCharactersInSet is in the documentation for NSString It still works, but I don't know why xcode would give me this warning. This method was added in Mac OS 10.5, so if you're

Re: NSString may not respond to a method in documentation?

2009-04-26 Thread Dave Geering
> I think this is weird because componentsSeparatedByCharactersInSet is in the > documentation for NSString It still works, but I don't know why xcode would > give me this warning. This method was added in Mac OS 10.5, so if you're using the Cocoa framework from the 10.4 SDK you will get that warn

NSString may not respond to a method in documentation?

2009-04-26 Thread Mr. Gecko
= [string componentsSeparatedByCharactersInSet: [NSCharacterSet characterSetWithCharactersInString:@"\r\n"]]; And this is the warning. warning: 'NSString' may not respond to '- componentsSeparatedByCharactersInSet:' I think this is weird because componentsSeparatedByCharactersInSet is in

Re: [SOLVED] - Re: NSString may not respond.... -and What is this invisible character?

2008-03-19 Thread J. Todd Slack
Hi Randall, > On Mar 19, 2008, at 12:37 PM, J. Todd Slack wrote: >> But one note, you mentioned stopping coding...if I did that, I would >> not >> have dug to solve the problem...Is there not something to be said >> for those >> that ³try and try again² until they get it right or maybe ³Practice >

Re: [SOLVED] - Re: NSString may not respond.... -and What is this invisible character?

2008-03-19 Thread Randall Meadows
On Mar 19, 2008, at 12:37 PM, J. Todd Slack wrote: But one note, you mentioned stopping coding...if I did that, I would not have dug to solve the problem...Is there not something to be said for those that “try and try again” until they get it right or maybe “Practice makes perfect”? I int

[SOLVED] - Re: NSString may not respond.... -and What is this invisible character?

2008-03-19 Thread J. Todd Slack
Hi Stephen and all, >> Can anyone explain what I am doing wrong because as far as I can see this should be valid? > There are many serious problems with that code. Ignoring the warning, I see: > 1) That is not the proper way to find the user's documents folder.

Re: NSString may not respond....

2008-03-19 Thread stephen joseph butler
On Wed, Mar 19, 2008 at 12:10 PM, J. Todd Slack < [EMAIL PROTECTED]> wrote: > Hi All, > > Continuing my quest to get back into Cocoa/Objective-C, I am getting the > following error stating that NSString may not respond to certain calls. > > Here is a screenshot: > >

Re: NSString may not respond....

2008-03-19 Thread J. Todd Slack
oa/Objective-C, I am getting >> the >> following error stating that NSString may not respond to certain >> calls. >> >> Here is a screenshot: >> >> http://jasonslack.biz/pic3.png >> >> Can anyone explain what I am doing wrong because as far as I

Re: NSString may not respond....

2008-03-19 Thread J. Todd Slack
Hi Nick, I am using 10.4U. -Jason On 3/19/08 10:16 AM, "Nick Zitzmann" <[EMAIL PROTECTED]> wrote: > > On Mar 19, 2008, at 11:10 AM, J. Todd Slack wrote: > >> Can anyone explain what I am doing wrong because as far as I can see >> this >> should be valid? > > What SDK are you using? -cString

Re: NSString may not respond....

2008-03-19 Thread David Duncan
On Mar 19, 2008, at 10:10 AM, J. Todd Slack wrote: Continuing my quest to get back into Cocoa/Objective-C, I am getting the following error stating that NSString may not respond to certain calls. Here is a screenshot: http://jasonslack.biz/pic3.png Can anyone explain what I am doing

Re: NSString may not respond....

2008-03-19 Thread Nick Zitzmann
On Mar 19, 2008, at 11:10 AM, J. Todd Slack wrote: Can anyone explain what I am doing wrong because as far as I can see this should be valid? What SDK are you using? -cStringUsingEncoding: wasn't present until the 10.4 SDK. Nick Zitzmann ___

NSString may not respond....

2008-03-19 Thread J. Todd Slack
Hi All, Continuing my quest to get back into Cocoa/Objective-C, I am getting the following error stating that NSString may not respond to certain calls. Here is a screenshot: http://jasonslack.biz/pic3.png Can anyone explain what I am doing wrong because as far as I can see this should be