Am 22.09.2008 um 02:28 schrieb Juan Manuel Borges Caño:
In the scrollview problem I ended using setContentView, so the default clipview loaded is a waste of resources.
A few bytes for data/variables, yes. The code is re-used for the second instance, of course.
Maybe it makes the API bigger but in my opinion not for nothing.
Well, a bigger API means more use of resources. More computer resources as well as more demands to the developer's brain. GNUstep's/ Cocoa's slim API is usually considered as a strength, additional "convenience methods" rarely make things easier to code.
That said, categories allow you to extend any class to whatever fits your needs best.
MarKus - - - - - - - - - - - - - - - - - - - Dipl. Ing. Markus Hitter http://www.jump-ing.de/ _______________________________________________ Bug-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnustep
