Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


I need recommend from developer on Swift language

I do not ask anyone help me on code but I need recommend please

First Thing: I have create app on Swift language, this app is photo lock. Now my app which I create it is very slow on operations, when the collection view displaying images and when scrolling through the collectionView, when move images, when delete images and when export images to photo library all these operations is very slow, is this problem because I use procedural programming without OOP? If I use the OOP the speed operations app will increase? the performance memory is increase? is the OOP make the app Smoothy?

Second Thing: I save my images in document directory using NSFileManager, is this best way for saving images in this app?

Third Thing: when I get the images from document directory for displaying it for users, which way is best for get all images for displaying images on collectionView cells for the user? Get images ON URL or on NSData(contentOfString:path)? to increase performance and memory of app?

Thank you very much advance