Structures 101 in swift

Structures is not another type in swift. If you have background in C or objective C you will be impressed with the functionality of structs in swift. Structures have initialisers, methods, comfort to protocols have extensions…convinced? Well, if start thinking that are like classes you are right but…only similar. Major difference is that structures are

Continue reading Structures 101 in swift

In objective-c we declare only as property without instance variable?

I’m reading about core data and I noticed (again) in application delegate file: where the we have only the decleration of properties without the instance variables. By googling around I found that: In Objective-C 2.0 on either of the modern runtimes (ie, Intel 64bit and ARM) properties can be added to classes ‘dynamically’ (that is,

Continue reading In objective-c we declare only as property without instance variable?