• 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: Message from view to viewController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Message from view to viewController
      • From: WT <email@hidden>
References: 
 >Re: Message from view to viewController (From: Pierre Berloquin <email@hidden>)
 >Re: Message from view to viewController (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: How to draw background image in my app window
  • Next by Date: [SOLVED} Help needed with setting autoresizing masks
  • Previous by thread: Re: Message from view to viewController
  • Next by thread: Re: Message from view to viewController
  • Index(es):
    • Date
    • Thread