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! While you're at it, check out some resources Treehouse students have shared here.

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

iOS

Building upon "Build a Simple iPhone App with Swift"

If I wanted to build upon this app and have users add their own "Fun Facts". Would I need to add core data functionality? or is there a way to have the user just add to the array? Which direction would I need to look towards next?

Thanks for any help you can give me!

2 Answers

I would suggest you look towards signing up with (https://www.parse.com) with that you can use their db and framework to create a user based application for your app....on there they have how to's...it's free also by the way, but they have everything in place for users. I would make the fun fact a mutable array and create a instance variable that takes in information and stores data in the fun facts array.

You can check out my version called Fez Factsi added speech and random graphics if you wanted the user to add their own facts maybe use core data or a database but maybe my version may inspire you