• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Class ?> Framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Class ?> Framework


  • Subject: Re: Class ?> Framework
  • From: Phillip Morelock <email@hidden>
  • Date: Tue, 28 May 2002 14:03:09 -0700

I don't know if it's right but this is what I think I did:

Make a Cocoa Framework from the project builder template. (File-->New
Project...)

Then in your project that needs to use this framework, go to "project-->add
frameworks") and add the built framework (source only doesn't work for me --
you have to add the ".framework" file). This means you must have first
built your file as a framework using this framework project template.

This may not be the "Right" way but I __believe__ this is how I did it. I
have a (not-updated-in-it's-been-too-long) framework project available at
http://www.phillipmorelock.com/examples/cocoadata/

You can look at that to get more answers if you like.

cheers
fillup

P.S. I know you are frustrated (and I feel your pain as a co-newbie), but
please try not to use all caps, it's generally considered rude and
unconstructive. Good luck and feel free to email me off-list if my answer
is unclear or wrong, and I'll post any conclusions back to the list unless a
better answer has appeared by then.


On 5/28/02 1:45 PM, "Mamdouh" <email@hidden> wrote:

> Hi all...
>
> I4m (still) trying to turn a class i have into a framework, so it can be
> "recycled" and used in other apps... The problem is i dont know how to
> make it so i can use it as we use the Cocoa frameworks when we type:
>
> [yada doYada:withYada];
>
> I tryed just typing:
>
> [nameOfMyClass nameOfMyMethodInThatClass:nil];
>
> but this didnet work because the compiler needs some kind of factory
> method (which i dont understand how to make, or even what to do)!
> What i4m looking for is a Cocoa torurial or sample code of a framwork!
> The only framework example from Apple is Carbon and not very good
> (actually it mostly explains the use of frameworks in PB)!
>
> Could anybody help me??? JUST ANY KIND OF HELP!!!!
>
> TIA
> Mamdouh
> Student/Programmer
> Denmark
> _______________________________________________
> 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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Class ?> Framework
      • From: Phillip Morelock <email@hidden>
References: 
 >Class —> Framework (From: Mamdouh <email@hidden>)

  • Prev by Date: Re: Loading external code
  • Next by Date: Re: dealing with NSURLPasteboardType
  • Previous by thread: Class —> Framework
  • Next by thread: Re: Class ?> Framework
  • Index(es):
    • Date
    • Thread