Open subdigital opened 3 years ago
originally written by Tomáš Slíž on 01/22/2016 22:14:56
Why don't you use UITableViewHeaderFooterView for table sections headers? It allows you to reuse sections headers like table view cells.
originally written by subdigital on 01/22/2016 22:49:14
That's a good suggestion. I wasn't thinking about reuse because I knew I only had 3 sections.
originally written by Ariel Pollack on 02/05/2016 17:19:19
Few comments:
1. For apps still supporting iOS 7-, you need to check if it respond to the selector of "layoutMargin" since it has been added in iOS 8.
2. As for the font/colors enum, I personally prefer using structs with static values so it doesn't need to create multiple instances of the same type each time.
example attached.
if there's a particular reason for choosing enums, please let me know :)
originally written by subdigital on 02/05/2016 17:23:09
Both good suggestions, thanks!
originally written by sumitpaul on 03/26/2016 01:49:06
So glad I signed up for NSScreencast! Really loved the part about setting up a "theme". I began with iOS development very recently and working with fonts, and colors in interface builder becomes a problem very quickly. Hope to see these code organization tips sprinkled in videos in the future as well.
originally written by subdigital on 03/26/2016 13:34:27
Thanks Sumit!
originally written by Denis on 05/30/2016 01:12:17
Really great. I learn so much from these screencast! Worth every penny. :)
Can you tell me how to change the highlight color (you mention that you might change that at the very end of the video and in my color scheme I would like to change that). Also, how do you change the disclosure indicator?
Thanks!
Written on 01/25/2016 13:34:10
URL: https://nsscreencast.com/episodes/205-tableview-customization