• 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: How to load my framework programatically ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to load my framework programatically ?


  • Subject: Re: How to load my framework programatically ?
  • From: Jonathon Mah <email@hidden>
  • Date: Thu, 25 May 2006 23:03:25 +0930

Hi Rohit,

On 2006-05-25, at 16:37, rohit dhamija wrote:

As now of now, i load my framework using

 "gcc myUserApplication.c  -F. -framework myFramework.framework"

Can I load my framework inside my userapplication code ?

///////////////////////////////////////
example: myUserApp.c
int main(){
printf("Hello APPLE!!!");
[ LoadMyFramework] =====>contains function func()
// now since i loaded my framework, i use this function
func();
return 0;
}

You don't need to load anything; just #include the header file from your framework and call the function. Specifying -framework will make it all link together.



Jonathon Mah email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: How to load my framework programatically ?
      • From: "rohit dhamija" <email@hidden>
References: 
 >How to load my framework programatically ? (From: "rohit dhamija" <email@hidden>)

  • Prev by Date: XCConfig file stoped working
  • Next by Date: Re: How to load my framework programatically ?
  • Previous by thread: How to load my framework programatically ?
  • Next by thread: Re: How to load my framework programatically ?
  • Index(es):
    • Date
    • Thread