App for iPhone OS Utility - reverse view and main view

I am currently working on an iPhone 2.1 application. I am new to Objective-C based on the Java background.

My application has a Utility application template available in Xcode with the iPhone SDK. I currently have some controls, such as a UISlidertext box, in FlipsideView. UISlideralready has a method that is called when the value changes, using targets and selectors. However, I would also like to read from the MainViewcurrent (or last) value of UISliderand textbox.

Keep in mind that I'm new to Mac development and would appreciate any advice on where I should look for such information, whether with the help of delegates or perhaps I am missing something obvious in the structure of the template.

UPDATE: I look at the structure and get a few details: UISlidercreated in FlipsideView.m. I noticed that the "Finish" button is created from RootViewController.mand probably I need to move the code UISlider. I can use it incorrectly Viewto save code that will be more appropriate in the controller.

+3
source share
2 answers

. , - . , , , , . - "" , . "" . Cocoa iPhone .

+5

: iphone, Mac, , .

(http://www.bestechvideos.com/2008/11/13/writing-iphone-app-free-episode), , flipsideviewcontroller. ( - , Nib ... View.m ?)

Wisequark , . :  - , ?  - , -?  - , , ?

(BTW - , ?)

0

Source: https://habr.com/ru/post/1699133/


All Articles