inheritance - Multiple superclasses in Objective-C? -


can inherit multiple classes in objective-c? (if yes, how so?)

as others have said, objective-c single-inheritance. however, protocols provide handy ways around type of situation might have wanted multiple inheritance , allow avoid pitfalls multiple inheritance creates such the diamond problem.

edit: changes interface protocol. sorry, getting java , obj-c mixed up.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -