bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #10649] It is not possible to subclass NSBundle


From: Stefan Urbanek
Subject: [bugs #10649] It is not possible to subclass NSBundle
Date: Wed, 13 Oct 2004 14:31:13 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040804

This mail is an automated notification from the bugs tracker
 of the project: GNUstep.

/**************************************************************************/
[bugs #10649] Latest Modifications:

Changes by: 
                Stefan Urbanek <stefan@agentfarms.net>
'Date: 
                Wed 10/13/2004 at 18:12 (Europe/Bratislava)

------------------ Additional Follow-up Comments ----------------------------
So how can I subclass NSBundle and make sure that I get the right class for 
requred bundle?






/**************************************************************************/
[bugs #10649] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10649>
Project: GNUstep
Submitted by: Stefan Urbanek
On: Tue 10/12/2004 at 15:28

Category:  Base/Foundation
Severity:  3 - Ordinary
Item Group:  Bug
Resolution:  Invalid
Privacy:  Public
Assigned to:  None
Status:  Open


Summary:  It is not possible to subclass NSBundle

Original Submission:  bundleWithPath: for any NSBundle subclass will return 
NSBundle  instance instead of subclass instance. It should return 
MyNSBundleSubclass instance instead.

Follow-up Comments
------------------


-------------------------------------------------------
Date: Wed 10/13/2004 at 18:12       By: Stefan Urbanek <stefanu>
So how can I subclass NSBundle and make sure that I get the right class for 
requred bundle?

-------------------------------------------------------
Date: Tue 10/12/2004 at 16:01       By: Richard Frith-Macdonald <CaS>
In the first place, +bundleWithPath: will return instances of subclasses.

In the second place, there is no requirement that bundleWithPath: should return 
an instance of any particular class as it is explicitly documented (MacOS-X) as 
being free to return a cached NSBundle.













For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=10649>

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







reply via email to

[Prev in Thread] Current Thread [Next in Thread]