KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have just started to create my own framework regrouping some usefull helper, utils, tools etc. Everything works fine, I just wondered if it was possible to import my categories directly in my main headers framework file. For exemple, my framework is named myFramework. I put a class name myFramework.h in public headers within I wrote all of my imports : #import "MyCategory+Helper.h" #import "MyOtherCategory+Helper.h" #import "AClass.h" ... Then I build my framework and distribute it to my team developers. What I expect is that other developers just have to import to access of all of my framework's categories. It's ok when I subclass instead of using categories but it isn't what I expect. For the while, I use LoadableCategory.h to make my categories work in my framework and specify to my developers that they should use -ObjC flag in "Other Linker flags" settings and import each category like this : #import <myFramework/MyCategory+Helper.h> #import <myFramework/MyOtherCategory+Helper.h> ... May be it isn't possible but I wonder why ? I miss something :) Thank you ! Pebie PS : Sorry for my english...
Tags (comma-separated)
Save Edits
Cancel