Results 1 to 3 of 3
Discuss How do I talk from one view to another? at the iPhone Developer Exchange - Hackint0sh.org; Here's my set-up: Code: MainView | +---ViewOne +---ViewTwo I can get a message from ViewOne ...
  1. #1
    Newbie Array

    Join Date
    Jul 2008
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default How do I talk from one view to another?

    Here's my set-up:

    Code:
    MainView
      |
      +---ViewOne
      +---ViewTwo
    I can get a message from ViewOne to MainView, but how do I get a message from ViewOne to ViewTwo? I guess I can make a class file for MainView (I'm currently createing it at runtime) and hold instance variables for the two subviews, but I don't really need a class file for MainView - is there an easier way?



  2. #2
    Rookie Array

    Join Date
    Jul 2008
    Posts
    25
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    what type of subclassing is each view?

    is it like this?

    Code:
    MainView : UIViewController
      |
      +---ViewOne : UIViewController
      +---ViewTwo : UIViewController
    or this

    Code:
    MainView : UIViewController
      |
      +---ViewOne : UIView
      +---ViewTwo : UIView

  3. #3
    Newbie Array

    Join Date
    Jul 2008
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    The latter, UIViews - I don't have any UIViewControllers in this case.

 

 

Similar Threads

  1. View to View NSUserDefault - Source code included
    By jjgraz in forum iPhone Developer Exchange
    Replies: 0
    Last Post: 03-07-2009, 10:54 PM
  2. 25C3 Talk: Anyone see?
    By az1324 in forum General
    Replies: 1
    Last Post: 12-27-2008, 11:53 PM
  3. Replies: 1
    Last Post: 07-25-2008, 02:12 PM
  4. Talk about trying to keep customers...
    By Scape-Server in forum Turbo-, Supersim and Simcloning Solution
    Replies: 5
    Last Post: 04-03-2008, 11:20 AM
  5. We need to talk...
    By thecompkid in forum General
    Replies: 35
    Last Post: 09-24-2007, 10:01 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 04:30 PM.
twitter, follow us!