I have been attempting to add an existing swift playground as a source file to another playground on the ipad for the sake of working with classes and subclasses. I am attempting to do all of this natively on my ipad pro.
I cannot get the main file to work properly with auxillary source files. For instance, when trying to declare a new variable of a class type (contained in file as an auxillary source) I end up getting the error 'use of unresolved identifier'.
Steps I have taken:
- Declared class and all members are public
- Added the class playground as a file in a new playground.
- Select 'Use' for the class file in the add menu.
I managed to get source files working in a playground properly on my mac. I exported the working playground along with source files to my ipad. The source files will not work on the ipad, but they will on my mac. I am still having the issue of 'use of unresolved identifier' when attempting to create an instance of a class object.
What is it that I may doing improperly? Is this a bug maybe?