I misspoke earlier.

What I want to do is access an an ivar in m_view such as m_cpp wher m_cpp is an instance of a C++ class and then call functions on m_cpp such as

m_view->m_cpp.Function()

but I get 'struct objc_object' has no member named 'm_cppr'

My apologies for not being precise earlier !




On Feb 24, 2010, at 8:31 PM, David Blanton wrote:

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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/airedale%40tularosa.net

This email sent to aired...@tularosa.net




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to