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


Quick Scheduling app question

Hey guys, I'm trying to make an employee scheduling app where the employees schedule is on the calendar. I was wondering if anyone had any ideas in the right direction on where I should go with this or how to send information like that. Any help is appreciated thanks! :)

3 Answers

NSDate is your friend in this case. NSDateFormatter has methods that allow you to format dates in various ways and/or convert them to strings to save to a DB then convert them back when needed (for instance to show on a calendar). I've used the CVCalendar pod before and it's wonderful for a quick month or week solution to show the events. I'm sure there are other pods and whatnot too to do what you need with the NSDate data.

Ian Han , that'll allow me to send schedules out to my employees?


Not in and of itself. It'll allow you to create a calendar and add dates and times to it. You could have it be open to ll your employees to view if you would like, even send out push notifications to notify of new schedule additions. If you wanted to, lets say, create a PDF or something then email that out - that's a whole different thing - I would suggest maybe tapping into the Google Calendar API for something like that . Were you looking to allow employees to sign up for their own shifts or more of a top down structure where you would assign for them?

Ian Han Something simple right now. I wanted to create an app that each employee could download, be able to send each user their schedule, and then they would open up the app and view their schedule.