• 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
Newb: KATI Sample Code - What's This Called?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newb: KATI Sample Code - What's This Called?


  • Subject: Newb: KATI Sample Code - What's This Called?
  • From: Brad Gibbs <email@hidden>
  • Date: Thu, 02 Oct 2008 14:43:12 -0700

I'm working through the XSViewController example project from KATIDev and I came across this line:

[(ColorView*)[self view] setBackgroundColor:[[NSColor greenColor] colorWithAlphaComponent:.5]];

and realized I don't understand (ColorView*). It looks like it's declaring a pointer to an object, but it's followed by a method. Could somebody tell me the name of the function (ColorView*) is performing so I can look it up and figure it out?

Thanks.

Brad
_______________________________________________

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:
    • Re: Newb: KATI Sample Code - What's This Called?
      • From: Rob Keniger <email@hidden>
    • Re: Newb: KATI Sample Code - What's This Called?
      • From: Randall Meadows <email@hidden>
    • Re: Newb: KATI Sample Code - What's This Called?
      • From: Bill Bumgarner <email@hidden>
  • Prev by Date: Code Data: Re-inserting deleted objects
  • Next by Date: Re: Newb: KATI Sample Code - What's This Called?
  • Previous by thread: re: Code Data: Re-inserting deleted objects
  • Next by thread: Re: Newb: KATI Sample Code - What's This Called?
  • Index(es):
    • Date
    • Thread