구글 날씨 api (1) 리스트형 21. 구글 날씨 API 사용하기 구글 API를 이용해서 날씨를 출력하고자 하는 경우 http://www.google.co.kr/ig/api?weather=도시명 을 이용하면 xml 형태로 리턴되어 옵니다. GoogleWeatherViewController.h #import // xml 파싱을 위해서 NSXMLParserDelegate를 반드시 참조해줘야 합니다. @interface GoogleWeatherViewController : UIViewController { NSMutableData *receiveData; // xml을 받을 데이터 NSURLConnection *urlConnection; // 커넥션 NSString *condition; // 오늘의 날씨를 받을 스트링 } @property (nonatomic, retain).. 이전 1 다음