Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom frameworks with references to Application and Session



On Sep 23, 2004, at 6:59 PM, Marek Wawrzyczny wrote:

The scenario is, I have several (different) applications that use the same controller class base (and other helper classes). Obviously I want to move these classes into a framework I can share. Some of these classes refer to custom Application or Session methods.

I have already defined Application and Session interface classes (that define these methods),

What has worked well for me is to define WOApplication and WOSession subclasses (something other than "Application" and "Session") in my framework. In these classes I implement all methods that are referenced in the framework. Then my Application and Session classes derive from these framework WOApplication and WOSession subclasses.


Aloha,
Art

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden
References: 
 >Custom frameworks with references to Application and Session (From: Marek Wawrzyczny <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.