Reputation: 3240
I want to check Internet connection in my app. So i use Apple's Reachability sample code.
But because of using ARC there are some errors. I correct some of them but other errors still in my code.
How should i solve this problems? Any ideas?
Thnx.
Upvotes: 6
Views: 3893
Reputation: 185811
You can disable ARC on a per-file basis.
-fno-objc-arc
Now ARC is disabled for that one file.
Upvotes: 22
Reputation: 1622
Try using this for your ARC version code -> Reachability (iOS) ARCified
Upvotes: 1