• 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 problem since moving from ppc to intel macbook
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking problem since moving from ppc to intel macbook


  • Subject: Re: Linking problem since moving from ppc to intel macbook
  • From: Fritz Anderson <email@hidden>
  • Date: Wed, 12 Apr 2006 16:02:15 -0500

Could you clear up some confusions I have?

"This problem" appears to be an inability to link a ppc-only framework into an Intel application. How is this "widespread," and how does adding your category change the link-time behavior?

Second, the NSObject _protocol_, adopted by NSObject and all descendants, already has a self method that is identical to the one you supply. Why was that not satisfactory?

Third, you seem to mean to create a "self" KVO property. I had thought that so long as the set accessor was never used, supplying the get accessor sufficed. Have you found things to be otherwise?

-- F

On 12 Apr 2006, at 2:59 PM, Todd Blanchard wrote:

BTW, this problem is so widespread that I also implemented the following category on NSObject

@implementation NSObject (KBSelf)
-(id)self 
{ 
    return self; 
}
-(void)setSelf:(id)obj 
{  
}
@end

On Apr 12, 2006, at 12:54 PM, Todd Blanchard wrote:
Found it - older project had Architecture set to ppc



 --
Fritz Anderson -- http://www.manoverboard.org/
Consulting Programmer -- http://resume.manoverboard.org/
Step into Xcode, Now Available -- http://six.manoverboard.org/


 _______________________________________________
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

References: 
 >Linking problem since moving from ppc to intel macbook (From: Todd Blanchard <email@hidden>)
 >Re: Linking problem since moving from ppc to intel macbook (From: Todd Blanchard <email@hidden>)
 >Re: Linking problem since moving from ppc to intel macbook (From: Todd Blanchard <email@hidden>)

  • Prev by Date: Re: Linking problem since moving from ppc to intel macbook
  • Next by Date: Re: Seeking advice on debugging "real time" programs.
  • Previous by thread: Re: Linking problem since moving from ppc to intel macbook
  • Next by thread: [Off topic] Corrupted disk image
  • Index(es):
    • Date
    • Thread