• 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
Static library and Objective C categories
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Static library and Objective C categories


  • Subject: Static library and Objective C categories
  • From: Eyal Redler <email@hidden>
  • Date: Sun, 27 Jul 2008 20:58:58 +0300

Hi,

I have an application which links with several (custom - Cocoa based) static libraries. The static libraries projects are vanilla "Cocoa Static Library" projects.
The static libraries contain c functions, objective c classes and some categories for Foundation classes (NSString, NSArray etc.). It seems that while the c functions and objects operate correctly, the categories don't. The project compiled and links correctly but the application crashes when I call one of the category method during run time.


Is it indeed impossible to define categories in a static library or is there some setting I need to make?

Thanks in advance,


Eyal Redler
------------------------------------------------------------------------------------------------
"If Uri Geller bends spoons with divine powers, then he's doing it the hard way."
--James Randi
www.eyalredler.com



_______________________________________________ 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: Static library and Objective C categories
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Open Quickly vs Subversion
  • Next by Date: Re: how to view arrays
  • Previous by thread: Re: Media Library in IB 3.x & Tiger
  • Next by thread: Re: Static library and Objective C categories
  • Index(es):
    • Date
    • Thread