Reputation: 2171
I have nearly completed development on my app. The app is quitting at random points and the user interface freezes/loads very slowly. The app was made without ARC and I am just getting started with using Xcode Instruments to fix memory issues. I am considering moving the entire project to ARC, but don't know if that will help. Also, many of the processes that Instruments Allocations is picking up don't appear to be taking up too much memory.
I need to figure out the best way of improving the efficiency of my app. I have little knowledge in the area and have read a variety of tutorials on how to do certain things to improve efficiency, I just don't know where to start. Should I convert to ARC? Should I focus on using the Allocations/Leaks/Profile Instruments from within Xcode? I know its probably specific to my app, I just don't know where to begin. Any general advice would be great! Thank you all!
Upvotes: 0
Views: 120
Reputation: 9040
If your app is not something very large, I advice you to move the project to ARC. Using ARC solves lots of developer mistakes in terms of memory.
When we have ARC, why not use it?
And the other thing is, if there are time taking processes. Perform them in a background thread.
Upvotes: 0
Reputation: 11026
Changing to ARC is not got to help you, instead of this focus on Allocations/Leaks. Also try to optimize you code if doing something again and again. Also if you are using synchronous web-service call it also freezes the app.
Upvotes: 1