iOS - How to pass information from the VIEW to the Controller?

Posted by user1720503 on Stack Overflow See other posts from Stack Overflow or by user1720503
Published on 2012-10-04T15:22:30Z Indexed on 2012/10/04 15:37 UTC
Read the original article Hit count: 95

Filed under:
|
|

I am fairly new to programming in general, and have been following the CS193p videos on iTunesU. I am currently doing assignment 3, and am having trouble getting a bit of information from the View sent to the View Controller.

I believe I have set up the whole delegation thing correctly, so the question really is to how to get my View Controller to see a bit of information (such as self.bounds.size.width), which is a property that only the View has. Would this involve using self.dataSource? And if so, through what means could I pass this bit of information?

Thanks!!

© Stack Overflow or respective owner

Related posts about ios

Related posts about cocoa-touch