Home
Categories
EXPLORE
True Crime
Comedy
Society & Culture
Business
Sports
Technology
News
About Us
Contact Us
Copyright
© 2024 PodJoint
Podjoint Logo
US
00:00 / 00:00
Sign in

or

Don't have an account?
Sign up
Forgot password
https://is1-ssl.mzstatic.com/image/thumb/Podcasts115/v4/81/1a/f8/811af848-e8a2-a16f-7140-1390ba4f999a/mza_4037948398361091679.png/600x600bb.jpg
The iOS Dev Diary
Jay Versluis
36 episodes
1 month ago
Join your friendly next-door hacker Jay Versluis for tips and tricks on iOS and macOS Development with Xcode and Objective-C.
Show more...
Technology
RSS
All content for The iOS Dev Diary is the property of Jay Versluis and is served directly from their servers with no modification, redirects, or rehosting. The podcast is not affiliated with or endorsed by Podjoint in any way.
Join your friendly next-door hacker Jay Versluis for tips and tricks on iOS and macOS Development with Xcode and Objective-C.
Show more...
Technology
http://pinkstone.co.uk/wp-content/uploads/powerpress/iOS-Podcast-Icon-2014.png
Building a Day Counter on iOS – Part 1
The iOS Dev Diary
19 minutes 18 seconds
7 years ago
Building a Day Counter on iOS – Part 1

In this series I’ll show you how to create a simple Day Counter on iOS, using Objective-C and Xcode 9. The idea is to set a date in a settings screen, and then see how many days have elapsed on the main screen right after launching the app.
This is a 3-Part Mini-Series:

* Part 1 is all about building the interface in Interface Builder
* Part 2 is about coding the NSDate subtraction methods, using NSCalendar and loading/saving data using NSUserDefaults
* Part 3 will introduce Key/Value Observing to update the first view controller as soon as the date is changed in the settings and deals with how to normalise an NSDate object.

You can find the full code on GitHub:

* https://github.com/versluis/Day-Counter/

Happy Hacking!
Watch the full course in one convenient playlist:Catch this episode on my iOS Dev Diary Podcast:
The iOS Dev Diary
Join your friendly next-door hacker Jay Versluis for tips and tricks on iOS and macOS Development with Xcode and Objective-C.