Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


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