Testing in iOS - Part 8: Red Green Refactor | Ray Wenderlich

There are many strategies for writing unit tests and one of them is called the Red Green Refactor. This video walks you through it.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/3530-testing-in-ios/lessons/8

What is mean of Private (set) ?

Thatโ€™s how you define a read-only property - you can access the value of the property fine from other classes, but you canโ€™t set the value of the property from other classes. You can only set the value of the property from within the class which owns the property.