• 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: Linking framework to PreferencesPane
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking framework to PreferencesPane


  • Subject: Re: Linking framework to PreferencesPane
  • From: Andrei Tchijov <email@hidden>
  • Date: Thu, 22 Dec 2005 08:50:33 -0500

malcolm,
It looks like your problem is that you are trying to link framework build for one CPU type with application (pref pane) with different cputype (warning message in the middle pane).
Once you have this sorted out, you will run into different kind of problems. Are you planing to install RARiX framework in "standard" place as a part of installation process for you pref pane? If you don't, then your will have difficulties with locating framework. If you wont your pref pane to run on Tiger only, then you can use "@loader_path" variable to refer to frameworks packaged inside your pref pane bundle ( look here and search for loader_path ). Also this thread on cocoa-dev talks about using embeded frameworks with Dashboard plug-ins which present the same problem as Pref Panes. Alternatively, you can package your framework as static library and avoid the whole issue of looking for it at the run time.

Andrei


On Dec 22, 2005, at 8:08 AM, malcom wrote:

Hello,
I've created a framework and an associated PreferencesPane. Then I've
imported my framework inside the prefpane. Now I need to use a class
inside that framework (it contains all "+" methods).
Unfortunatly when I try to call a function with [myClassInFramework
thatFunction:] I still receive a compilation error.
You can see it here:
http://img386.imageshack.us/img386/8298/immagine16sk.jpg

What's the problem? Can pref pane link a framework?!?
Thanks
malcom
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >Linking framework to PreferencesPane (From: malcom <email@hidden>)

  • Prev by Date: Linking framework to PreferencesPane
  • Next by Date: Overwriting NSTableHeaderCell to get context menus
  • Previous by thread: Linking framework to PreferencesPane
  • Next by thread: Overwriting NSTableHeaderCell to get context menus
  • Index(es):
    • Date
    • Thread