Re: Message from view to viewController
Re: Message from view to viewController
- Subject: Re: Message from view to viewController
- From: Pierre Berloquin <email@hidden>
- Date: Sat, 30 May 2009 16:40:19 +0200
I kept working on it and reached THE solution with the help of a fellow
programmer, Nicolas :I treat the controller as an object and define
UIViewController *theViewController;
with a regular setViewController function
The viewController sends its identity to the view through that function when
it creates the view.
Then the view knows where to send its messages.
[theViewController vagTouchesBegan:self];
QED
There's still a warning that the view controller may not respond. But it
works seamlessly.
Can I get rid of the warning?
2009/5/29 Scott Ribe <email@hidden>
> > No I'm not that innocent. I do import the .h . My program is already
> complex,
> > with several classes working together ok. Only this message problem
> blocks me.
>
> Well then, my second guess would be one of those frustrating typos that you
> don't see even though you've looked at the identifiers several times.
>
>
> --
> Scott Ribe
> email@hidden
> http://www.killerbytes.com/
> (303) 722-0567 voice
>
>
>
--
Blogs : http://bibliobs.nouvelobs.com/blog/jeux-litteraires
http://pierre-berloquin.blogspot.com/
Développement durable des neurones par le jeu de réflexion
www.crealude.net
Sustainable development of neurones through mind games
www.crealude.net/us
Que fait-on pour les mal-codants ?
_______________________________________________
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