• 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
Typing class parameters.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Typing class parameters.


  • Subject: Typing class parameters.
  • From: Tommy Nordgren <email@hidden>
  • Date: Sat, 8 Jan 2005 20:47:05 +0100

The initializer for a custom view I've written takes a parameter of type "class". Is there any way to declare that it should be limited to classes that either:
a) Is derived from a specific base class, or
b) Implements a specific protocol.


Tommy Nordgren

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Typing class parameters.
      • From: Brendan Younger <email@hidden>
  • Prev by Date: Variadic arguments to methods in Objective-C - How ?
  • Next by Date: Re: Typing class parameters.
  • Previous by thread: Re: Variadic arguments to methods in Objective-C - How ?
  • Next by thread: Re: Typing class parameters.
  • Index(es):
    • Date
    • Thread