Possible Duplicate:
What is the best way to solve an Objective-C namespace collision?
I was using 2 open source projects in an application with different use --- the issue was that both project had same class name with different implementations.
As per my understanding objective C don't have namespace option to handle scope --- as of now I am renaming the one of the class and its usage to make it work in my project.
Is there any alternative solution then renaming? I feel like objective C is missing namespace.
Renaming is the correct way. There is a reason why Apple recommends to prefix your classes with some uppercase letters. This should prevent exactly this situation. Same for method names in class extension, or "private" methods.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With