Hey guys,
I just noticed I get a lot of redondant code from one class to another in my project (like menus or buttons) ;)
Is there any way to optimize it ?
Thank you !
Gotye.
Hey guys,
I just noticed I get a lot of redondant code from one class to another in my project (like menus or buttons) ;)
Is there any way to optimize it ?
Thank you !
Gotye.
Use classes for common code. Or refactor and base several classes on an abstract superclass. Or use regular C functions. Or use categories to add methods to library functions.