• 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: NSMutableCharacterSet bug in Mavericks?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMutableCharacterSet bug in Mavericks?


  • Subject: Re: NSMutableCharacterSet bug in Mavericks?
  • From: Graham Cox <email@hidden>
  • Date: Sun, 27 Oct 2013 17:56:36 +0100

On 27/10/2013, at 4:57 PM, Michael McLaughlin <email@hidden> wrote:

> NSMutableCharacterSet *charSet = [NSCharacterSet alphanumericCharacterSet];

> Is this a bug or am I doing something wrong?


If this is literally your code, then it's wrong: You are assigning a NSCharacterSet to a NSMutableCharacterSet. The -formUnionWithCharacterSet should cause an unrecognized selector exception.

--Graham


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


References: 
 >NSMutableCharacterSet bug in Mavericks? (From: Michael McLaughlin <email@hidden>)

  • Prev by Date: NSMutableCharacterSet bug in Mavericks?
  • Next by Date: NSCopying vs NSMutableCopying for custom object
  • Previous by thread: NSMutableCharacterSet bug in Mavericks?
  • Next by thread: NSCopying vs NSMutableCopying for custom object
  • Index(es):
    • Date
    • Thread