Search code examples
objective-cautomatic-ref-countingios5mbprogresshud

iOS : MBProgressHUD and Automatic Reference Counting (ARC)


In xCode 4.2 & iOS 5 SDK , Automatic Reference Counting (ARC) is introduced. However, it made many third party libraries failed to compile, e.g. MBProgressHUD.

Is there any way to avoid those compile errors (only for those 3rd party libraries)? Or should I disable ARC ?


Solution

  • You can enable/disable on a per-file basis.

    Disable Automatic Reference Counting for Some Files