• 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: (id) issue, passing different types during initWith:(id)type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (id) issue, passing different types during initWith:(id)type


  • Subject: Re: (id) issue, passing different types during initWith:(id)type
  • From: Scott Ribe <email@hidden>
  • Date: Sat, 29 Jan 2011 09:25:03 -0700

On Jan 29, 2011, at 8:29 AM, Travis Kirton wrote:

> warning: incompatible Objective-C types 'struct CFAString *', expected 'struct NSString *' when passing argument 1 of 'initWithString:' from distinct Objective-C type

The frameworks contain plenty of initWithString: (NSString*) declarations. You might want to use a name that is more specific.


--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice




_______________________________________________

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

  • Follow-Ups:
    • Re: (id) issue, passing different types during initWith:(id)type
      • From: Conrad Shultz <email@hidden>
References: 
 >(id) issue, passing different types during initWith:(id)type (From: Travis Kirton <email@hidden>)

  • Prev by Date: Re: readInBackgroundAndNotify and rsync output
  • Next by Date: Re: (id) issue, passing different types during initWith:(id)type
  • Previous by thread: (id) issue, passing different types during initWith:(id)type
  • Next by thread: Re: (id) issue, passing different types during initWith:(id)type
  • Index(es):
    • Date
    • Thread