• 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: error: request for member `filenames' in something not a structure or union
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error: request for member `filenames' in something not a structure or union


  • Subject: Re: error: request for member `filenames' in something not a structure or union
  • From: j o a r <email@hidden>
  • Date: Sun, 21 Sep 2003 15:01:56 +0200

What is this?

sheet.filenames.objectAtIndex(0)

The source code you included indicated that you were using Objective-C, in which case you cannot use the dot notation for sending messages to objects. Try:

[[sheet filenames] objectAtIndex: 0]

j o a r
_______________________________________________
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: error: request for member `filenames' in something not a structure or union
      • From: "M. Uli Kusterer" <email@hidden>
References: 
 >error: request for member `filenames' in something not a structure or union (From: Matis Schotte <email@hidden>)

  • Prev by Date: Re: error: request for member `filenames' in something not a structure or union
  • Next by Date: Re: error: request for member `filenames' in something not a structure or union
  • Previous by thread: Re: error: request for member `filenames' in something not a structure or union
  • Next by thread: Re: error: request for member `filenames' in something not a structure or union
  • Index(es):
    • Date
    • Thread