Home
search
Collections
Sign in or create an account
×
Upload an optional image.
Medium site navigation
Upload an optional image.
Sarun W.
Code & design iOS app.
artwork.th@gmail.com
Following
73
Followers
60
Elsewhere
Follow
Most recommended
Where is my getter/setter Swift?
a missing Objective-C piece
This question came to my mind while reading the new language Swift, a new programming language Apple introduced in WWDC 2014, back in my old Objective-C day there are times when I need to write a custom setter/getter for my @property. It is very frustrating at first that I can’t do this anymore, then I ask myself what is the reason of using setter/getter and how I use it. Normally I use it when the change made on property affects other parts of the class and I usually write it this way.
Sarun W.
2 min read
Latest
Where is my getter/setter Swift?
a missing Objective-C piece
Sarun W.
2 min read
Recommended by Sarun W.
Design by Apple
Apple’s Reminder to Designers
Jad Limcaco
1 min read
Embed Videos, Tweets, Code, Music, and More into Your Medium Stories
We’re excited to announce that you can easily embed videos, Tweets, Vines, and music from Rdio into Medium posts.
Luke Esterkyn
1 min read
Swift & Cocoapods
How to integrate Cocoapods into a vanilla Swift project
Ullrich Schäfer
2 min read
More