Surround each case itself with braces {}
. That should fix the issue (it did for me in one of my projects).
More Related Contents:
- How can I disable ARC for a single file in a project?
- Retain Cycle in ARC
- Custom dealloc and ARC (Objective-C)
- How do I set up NSZombieEnabled in Xcode 4?
- Hidden Features of Xcode
- Does ARC support dispatch queues?
- Should I refer to self.property in the init method with ARC?
- Store data in MKAnnotation?
- capturing self strongly in this block is likely to lead to a retain cycle
- Private Methods in Objective-C, in Xcode 4.3 I no longer need to declare them in my implementation file ?
- NSArray of weak references (__unsafe_unretained) to objects under ARC
- How to create variable argument methods in Objective-C
- ARC – The meaning of __unsafe_unretained?
- Dynamic forwarding: suppress Incomplete Implementation warning
- Embed font in a mac bundle
- NSBundle pathForResource is NULL
- error: writable atomic property cannot pair a synthesized setter/getter with a user defined setter/getter
- Dismiss modal view form sheet controller on outside tap
- Adding unknown number of rows to ‘Static Cells’ UITableView
- Heart Rate data on apple Watch
- Objective-C #import loop
- Send notification to Mountain lion notification center
- Xcode: Getting warning “implicit conversion from enumeration type UIDeviceOrientation”
- disable autorotate on a single UIViewController in iOS6
- How can I get rid of an “unused variable” warning in Xcode?
- Converting NSString to NSDictionary / JSON
- UIActivityViewController for Facebook not Showing Default Text
- Why is self allowed in static context in objective c
- Objective C – getting line number or full stack trace from debugger error?
- “Initializer element is not a compile-time constant” why?