[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #24339] Initializers and waste of resources
From: |
Juan Manuel Borges Caño |
Subject: |
[bug #24339] Initializers and waste of resources |
Date: |
Mon, 22 Sep 2008 00:28:39 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071615 Fedora/3.0.1-1.fc9 Firefox/3.0.1 |
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 #24339] Initializers and waste of resources,
Juan Manuel Borges Caño <=