Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS App Extension with xib instead of storyboard

I'm writing an iOS 8 App Extension (widget) for the Today view. The default template in xcode comes with a storyboard. How can I use an xib file instead of an storyboard?

The documentation says this is possible, but I can't seem to figure out how to change the info.plist file to get the xib loaded.

like image 824
hanno Avatar asked Jul 26 '14 01:07

hanno


1 Answers

all you need to do is add "NSExtensionPrincipalClass" and the classname which you want.

like image 94
Suhaiyl Avatar answered Sep 29 '22 15:09

Suhaiyl