URL:
  <http://savannah.gnu.org/bugs/?24339>

                 Summary: Initializers and waste of resources
                 Project: GNUstep
            Submitted by: juanmabc
            Submitted on: Mon 22 Sep 2008 12:28:36 AM GMT
                Category: Gui/AppKit
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

hello, I have API problems, two examples: create a scrollview with the
clipview flipped, and create a textview with a subclass of textstorage.

In the scrollview problem I ended using setContentView, so the default
clipview loaded is a waste of resources.

In the texview problem I ended using replaceTextStorage, so the default
textstorage loaded is another waste of resources.

So I think that I don't know the proper way to do it right or that the API
needs initializers like initWithFrame:contentView: (scrollview),
initWithFrame:textStorage: (textview) or another elegant way to not waste
resources.

Maybe it makes the API bigger but in my opinion not for nothing.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?24339>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to