• 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: iOS/RestKit/XCode 4.6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS/RestKit/XCode 4.6


  • Subject: Re: iOS/RestKit/XCode 4.6
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 06 Mar 2013 08:57:45 -0800


On Mar 6, 2013, at 5:06 AM, Dave <email@hidden> wrote:

For this reason I always make sure that at the minimum you can just drag and drop a folder hierarchy into the XCode project, and maybe update the .pch file and/or edit a default file.

Nowadays with ARC, this is likely not to be enough — you may also have to go into the target editor and manually add the “-fobjc-noarc” (sp?) flag or its opposite to each of the source files you added, if their ARC support doesn’t match your target settings.

(Or the library source code could go out of its way to compile with or without ARC, which involves zillions of #ifdefs around anything that might need an explicit retain/release/autorelease call. I have seen at least one library that does this, and it’s awful.)

—Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: iOS/RestKit/XCode 4.6 (From: Dave <email@hidden>)

  • Prev by Date: Re: XCode Debug Exception problem
  • Next by Date: Xcode option
  • Previous by thread: Re: iOS/RestKit/XCode 4.6
  • Next by thread: XCode Debug Exception problem
  • Index(es):
    • Date
    • Thread