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
marco gulbrandsen
Courses Plus Student 420 PointsDaily quotes app Xcode swift
Daily quotes app Xcode swift
need help to create a array and each day my label changes to a string that each stored in my array the label i want to change each day to a quote like in the app bible since i am creating a bibel app
2 Answers
jon kelson
5,149 PointsHi Marco , I'm not sure how much swift code you know So I'm not sure if this will help or not , but if you have a look build a simple iPhone app (facts array) in swift 2 . That will give you an idea of the arrays and how to generate a random quote . ( you can insert your own quotes into the array instead of the fact array . And change the text in the button to what you want . So just have a play around with that if you like . I know it's not a daily quote but this will give you an insight into how to start and then build on that .
Hope this helps a bit . ? Jon
marco gulbrandsen
Courses Plus Student 420 Pointsi have aleredy made one like that but i need one the code that says after 24 hours go to the next string in the array something like that
jon kelson
5,149 PointsAh ok sorry Marco .