• 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
How to call on id
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to call on id


  • Subject: How to call on id
  • From: David Blanton <email@hidden>
  • Date: Wed, 24 Feb 2010 20:31:17 -0700

I have an ivar tyoed as id as

id	m_view

at some point m_view gets set to a particular view

I would like to send messages to m_view as [m_view selector] but since it is not typed I get the message

'struct objc_object' has no member named 'selector'

How does one work with / around this issue?

-db

_______________________________________________

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: How to call on id
      • From: David Blanton <email@hidden>
    • Re: How to call on id
      • From: Graham Cox <email@hidden>
  • Prev by Date: Suppress or Fix Inverse Relationship Warnings
  • Next by Date: Re: Stop editing session of NSTextField
  • Previous by thread: Re: Suppress or Fix Inverse Relationship Warnings
  • Next by thread: Re: How to call on id
  • Index(es):
    • Date
    • Thread