Testing in iOS - Part 2: Getting Started | Ray Wenderlich

In this video tutorial, you'll learn the basics of adding unit tests to an already existing project.


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

I’m getting the error message when I write the code “let txt1 = vc.txtInfo.text” -> ‘txtInfo’ is inaccessible due to ‘private’ protection level
What’s wrong?

@lucaramos Does the error occur in the sample project too?