• 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: "weak link" framework refs for 10.1 compatibility?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "weak link" framework refs for 10.1 compatibility?


  • Subject: Re: "weak link" framework refs for 10.1 compatibility?
  • From: Ondra Cada <email@hidden>
  • Date: Mon, 11 Nov 2002 14:52:52 +0100

On Monday, November 11, 2002, at 12:23 , Bill Cheeseman wrote:

Wow -- you sure? With the method it is just natural, but with constants it
should not work, so far as I understand how the linker behaves :-O :-O

These are enumeration constants in a typedef.

Ah. I havent checked -- I live in 10.1, so to speak ;), and had no 10.2 at hand at the moment. Also, I did never suppose that such an experienced programmer as Marco is would use such a self-evidently nonsensical example as using a constant from a header... Sigh.

I thought the issue with dyld was just external constants

Of course (that includes classes, too, but the problem can be worked around by using NSClassFromString). What I was puzzled at was whether there is not some dirty trick like to default unknown externals to NULL and letting the app still run: it would be quite dangerous, but convenient.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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: "weak link" framework refs for 10.1 compatibility?
      • From: Marco Scheurer <email@hidden>
References: 
 >Re: "weak link" framework refs for 10.1 compatibility? (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: GCC not doing the correct thing?
  • Next by Date: Re: How to show wrapped text in table view
  • Previous by thread: Re: "weak link" framework refs for 10.1 compatibility?
  • Next by thread: Re: "weak link" framework refs for 10.1 compatibility?
  • Index(es):
    • Date
    • Thread