Xcode 4 – clang error

Apparently, you’ve set custom compiler flags for the include paths. Go to your target’s build settings and check this option: Other C flags If you have something in it, you may replace it by the -iquote version. Otherwise, still in the build settings, check the value of the following options: Header Search Paths User Header … Read more

How to visually create and use static cells in a UITableView embedded in a UIViewController

You can achieve this in Xcode 4.5 and later versions, assuming your app is targeted at iOS 6+. In the Storyboard simply create a UIViewController with a View Container inside it’s main view. Then hook up that View Container to a UITableViewController that contains static cells. Just like this: You don’t need a single line … Read more

Deep copy of dictionaries gives Analyze error in Xcode 4.2

Presumably, it is because deepCopy does not begin with the prefix copy. So you may want to change to something like copyWithDeepCopiedValues (or something like that), and then see if the analyzer flags that. Update As Alexsander noted, you can use attributes to denote reference counting intent. This should (IMO) be the exception to the … Read more