Modular iOS8 app extensions through the framework

So, referring to this answer here, Apple recommends putting all of your code into a framework for you to test.

So my questions are built-in infrastructure or can you create a separate project and put all the extension code there?

My concern is that when creating an extension, it comes with an info.plist file and a permissions file, and I'm not sure where I should put them in relation to the framework and the like.

Also, once you've created a separate or embedded framework project, how do you set up the host for your test? mine is mainly interested in the fact that the host app is photography, but says that I need the actual storyboard for the download that comes from SLComposeServiceViewController

. So would you create an application delegation target that you can set as a host and then load MainInterface.storyboard

your extension to start testing?

Update

So, I recently discovered the difference between application testing and logic testing. So, to update my question a bit, is there a way to test the application against your advanced interface? my guess would be to have the target point of the application and load the first view as a storyboard view of your extension.

+3
ios unit-testing frameworks ios8-share-extension


source to share


No one has answered this question yet

See similar questions:

17
How to unit test an application extension on Xcode 6

or similar:

830
Unit Testing C Code
768
Can I embed my own font in the iPhone app?
717
JavaScript unit test tools for TDD
681
What is Unit test, integration test, Smoke test, regression test?
646
How do I unit test threaded code?
573
Is unit testing worth the effort?
545
IOS app with broken infrastructure on device, dyld: library not loaded, Xcode 6 Beta
375
Unit test Naming Best Practices
256
What's the best strategy for unit testing database driven applications?
five
Unit testing an iOS app extension



All Articles
Loading...
X
Show
Funny
Dev
Pics