Re: Code reuse problems
Re: Code reuse problems
- Subject: Re: Code reuse problems
- From: matt neuburg <email@hidden>
- Date: Thu, 31 Oct 2002 11:20:26 -0800
On Thu, 31 Oct 2002 01:51:27 -0500, Phillip Ulrich <email@hidden> said:
>
1. I have the original class. It's called BlogController. I like it
>
enough to use it in a second app.
>
>
2. I create the second app and get to the point where I'm ready to add
>
BlogController.
>
>
3. In Interface Builder, I create a class called BlogController. I
>
give it all the same outlets and actions as BlogController
Instead, in PB, copy BlogController.m and BlogController.h into your project, then drag BlogController.h into the IB window. All done! Now IB knows all about BlogController, and if you like you can create an instance and hook up the outlets and actions. m.
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.