Properties are Amazing
I wrote about properties before but I got a sense most people didn’t understand how amazing they truly are. In this post I would like to show you something they can do that’s incredibly cool and practical for your every day usage.
To recap properties are high level attributes of an object that expose a mutable getter/setter which we can observe/introspect. I discussed these terms in the previous article so you can check there for a deeper recap. In this article I’ll show a cool demo and make it cooler with every stage!
Lets assume I have an object called
Contacts
which includes contact information of contact e.g.:
0 komentar
Posting Komentar
Catatan: Hanya anggota dari blog ini yang dapat mengirim komentar.