모달 자식에서 부모창 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
- centos
- JQuery
- PHP
- Debug
- JSON
- Mac
- git
- ASP
- iis
- nginx
- IOS
- mssql
- classic asp
- 안드로이드
- javascript
- API
- macos
- nodejs
- Wordpress
- Docker
- IE
- 워드프레스
- Prototype
- 한글
- CSS
- iphone
- laravel
- Linux
- Android
- sencha touch
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함