• 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: Toll-free bridge type at runtime
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Toll-free bridge type at runtime


  • Subject: Re: Toll-free bridge type at runtime
  • From: Michael Ash <email@hidden>
  • Date: Sat, 4 Apr 2009 14:28:33 -0400

On Sat, Apr 4, 2009 at 2:21 PM, Marcel Weiher <email@hidden> wrote:
>> But clearly that is not correct, since you keep saying that it is
>> trivial to distinguish them. So, please fill out the following
>> function:
>>
>> NSString *IsNSOrCFArray(id foo) // returns @"NSArray" or @"CFArray"
>> {
>>   ....
>> }
>>
>> And also please indicate what this function should return for
>> IsNSOrCFArray([NSArray array]).
>
> As I've repeated multiple times now:   it is impossible to distinguish a
> CFArray from an NSCFArray because they are the same thing.  It is trivial to
> distinguish other NSArrays.

So fill in the code.

This isn't some abstract arena of ideas. It's programming. We build
real things here. Since you claim to be able to differentiate between
them, show us the code. You say it's possible, prove it. Fill out the
function template I provided above and demonstrate what you're talking
about.

Mike
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • [Moderator] Re: Toll-free bridge type at runtime
      • From: Scott Anguish <email@hidden>
References: 
 >Toll-free bridge type at runtime (From: Ryan Joseph <email@hidden>)
 >Re: Toll-free bridge type at runtime (From: Marcel Weiher <email@hidden>)
 >Re: Toll-free bridge type at runtime (From: Michael Ash <email@hidden>)
 >Re: Toll-free bridge type at runtime (From: Marcel Weiher <email@hidden>)
 >Re: Toll-free bridge type at runtime (From: Michael Ash <email@hidden>)
 >Re: Toll-free bridge type at runtime (From: Marcel Weiher <email@hidden>)
 >Re: Toll-free bridge type at runtime (From: Michael Ash <email@hidden>)
 >Re: Toll-free bridge type at runtime (From: Marcel Weiher <email@hidden>)
 >Re: Toll-free bridge type at runtime (From: Michael Ash <email@hidden>)

  • Prev by Date: Re: Need localization-proof method of transporting dates.
  • Next by Date: RE: Error: mutating method sent to immutable object
  • Previous by thread: Re: Toll-free bridge type at runtime
  • Next by thread: [Moderator] Re: Toll-free bridge type at runtime
  • Index(es):
    • Date
    • Thread