Reputation: 229
I am developing an iOS framework. My question is how do I test it in a dummy app. Ideally in the same project window
Upvotes: 1
Views: 1762
Reputation: 1127
Technically you have to split into two scenarios.
Your framework contains functionality only.
In that case I suggest to add a unit test target and test your framework by writing unit tests.
Your framework contains a ui component.
In that case I suggest to add an application target and name it ExampleApp or something like that. In that app you can implement a visual example.
Both scenarios are used in open source GitHub repositories.
Upvotes: 1