모달 자식에서 부모창 Object 제어방법
- 부모 뷰 컨트롤러 : ParentViewController - 자식 뷰 컨트롤러 : ChildViewController 로 정의하고 시작. 부모에 delegate @protocol 선언 자식에서 같은 @protocol 코딩 자식에서 부모에서 선언한 delegate 따른다고 선언 자식에서 해당 delegate를 통하여 부모의 object 제어 ParentViewController.h : #import @protocol ParentViewDelegate - (void)didReceiveMesssge:(NSString *)message; @end @interface ParentViewController : UIViewController @property (nonatomic, retain) IBOutlet ..
모바일/iOS
2012. 1. 30. 11:17
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- Mac
- iphone
- 한글
- sencha touch
- CSS
- nginx
- Docker
- Prototype
- API
- javascript
- IOS
- classic asp
- PHP
- JQuery
- Wordpress
- nodejs
- JSON
- Linux
- Debug
- iis
- IE
- laravel
- 워드프레스
- macos
- ASP
- Android
- git
- mssql
- 안드로이드
- centos
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
글 보관함