• 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: sortedArrayUsingFunction:context: why context is of type void?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sortedArrayUsingFunction:context: why context is of type void?


  • Subject: Re: sortedArrayUsingFunction:context: why context is of type void?
  • From: Sherm Pendley <email@hidden>
  • Date: Sun, 20 Jun 2004 16:31:31 -0400

On Jun 20, 2004, at 4:20 PM, Sherm Pendley wrote:

Use a typecast:

[someObject doSomething: (NSString*)context];

You can also, of course, typecast the recipient of a message:

[(NSString*)context someStringMethod];

sherm--
_______________________________________________
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: sortedArrayUsingFunction:context: why context is of type void?
      • From: "b.bum" <email@hidden>
References: 
 >sortedArrayUsingFunction:context: why context is of type void? (From: Marco Michieli <email@hidden>)
 >Re: sortedArrayUsingFunction:context: why context is of type void? (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: Redirect stderr to NSTextView
  • Next by Date: Re: App launch problem
  • Previous by thread: Re: sortedArrayUsingFunction:context: why context is of type void?
  • Next by thread: Re: sortedArrayUsingFunction:context: why context is of type void?
  • Index(es):
    • Date
    • Thread