• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSString and NSMutableString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSString and NSMutableString


  • Subject: Re: NSString and NSMutableString
  • From: Nat Lanza <email@hidden>
  • Date: Sat, 14 Apr 2007 21:35:09 -0400

Carmin Politano wrote:
What is your error?

This is a good point -- if your problem is that code crashes, it's really useful to be very specific about exactly *how* it's crashing and what you've done to try to debug it.


How about using an init routine for searchQuery? (setString: isnot an init)
NSString is an abstract class and needs an init.

To be extra-pedantic, what's missing here is both an allocation and an initialization. Any Obj-C object is going to need both -- 'abstract' classes aren't the issue here.



--nat

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


References: 
 >NSString and NSMutableString (From: Michael Novak <email@hidden>)
 >Re: NSString and NSMutableString (From: "Philip Q" <email@hidden>)
 >Re: NSString and NSMutableString (From: Michael Novak <email@hidden>)
 >Re: NSString and NSMutableString (From: Carmin Politano <email@hidden>)

  • Prev by Date: Re: NSString and NSMutableString
  • Next by Date: Re: NSString and NSMutableString
  • Previous by thread: Re: NSString and NSMutableString
  • Next by thread: Re: NSString and NSMutableString
  • Index(es):
    • Date
    • Thread