• 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: Fwd: NSArray and Objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: NSArray and Objects


  • Subject: Re: Fwd: NSArray and Objects
  • From: Matt Neuburg <email@hidden>
  • Date: Mon, 19 Aug 2002 09:56:36 -0700

On Mon, 19 Aug 2002 00:35:20 -0700, malcom <email@hidden> said:

>>I have created an NSArray with NSColor objects.
>>Now i would to set a color with an element of this array, but the
>>compiler said to me:
>>"incompatible types" (method ObjectAtIndex -> return an Object).
>>How can i solve the problem?

Cast or assign to an NSColor. m.
--

matt neuburg, phd = email@hidden, http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
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.

  • Prev by Date: Re: Problem with defining an opaque structure
  • Next by Date: Re: NSWindow's title
  • Previous by thread: Fwd: NSArray and Objects
  • Next by thread: WindowController never gets dealloc'ed
  • Index(es):
    • Date
    • Thread