Skip to main content
Santanu Karar
Known Participant
Apr 16, 2014 9:16 AM UTC
Question

Is XIB not supported in static library (for creating Native Extension)?

Hello,

These day I'm trying to build a static library in XCode to build a Native Extension. The original project from which I'm creating a static library is runs well on device. But when I creates a static library project along with one XIB file within, and port it to the Adobe AIR, the expected XIB view never opens up.

Somewhere some gentleman mentioned that static library can not include XIB, graphics file etc. Is that true (http://stackoverflow.com/questions/2797214/trouble-using-xib-files-in-libraries)? Can't I bundle an ANE with XIB support?

Thanks.

Santanu

This topic is closed to new replies. Start a new post to keep the conversation going.

5 replies

User Unknow
Legend
Apr 16, 2014 5:59 PM UTC

Also want to know this Current project may require loading xib over Adobe Air. I suggest to start from here http://stackoverflow.com/questions/7814928/how-to-load-a-xib-file-in-a-uiview and this http://forums.adobe.com/message/4621408

Let me know if this works and would be gr8 if you can share your solution as opensource

Translate
Santanu Karar
Known Participant
Apr 17, 2014 7:57 AM UTC

Hei Anton,

Thanks for your reply.

I finally managed to package my XIB to ANE! I required to compile the XIB to do this. Just create a BUNDLE in ObjectiveC, reference the bundle in your static library project, loads the XIB.

I am trying to create a GitHub project as open source for my Moodstocks (http://moodstocks.com) ANE sooner possible.

Cheers!

Translate
User Unknow
Legend
Apr 17, 2014 8:14 AM UTC

Santanu ) Thanks also! Looking forward to see Git project!

Translate