//NSData NSString *urlString = @"http://domain.com/filename"; NSURL *url = [NSURL URLWithString:urlString]; NSData *data = [NSData dataWithContentsOfURL:url]; //NSString NSString *urlString = @"http://domain.com/filename"; NSURL *url = [NSURL URLWithString:urlString]; NSString *string = [NSString stringWithContentsOfURL:url encoding:NSUTF8StringEncoding error:nil];
example.h -(void)keyboardWillShow:(NSNotification *)notice; example.m - (BOOL)textFieldShouldReturn:(UITextField *)textField { if (textfield instance == textField) { [nameTextField resignFirstResponder]; [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:0.3]; CGRect rect = self.view.frame; rect.origin.y += 100; rect.size.height -=100; self.view.frame = rect; [UIView commitA..
- Total
- Today
- Yesterday
- MAC
- 한빛비즈
- 1일 1포스팅
- 사진
- server
- windows
- linux
- Canon 40D
- 잡담
- mysql
- ruby
- Apple Store
- ROR
- Objective C
- HTML
- IIS
- photo
- 리뷰
- html5
- it
- Java
- 하늘
- review
- ipod touch
- iPhone
- jQuery
- 보안
- 한빛리더스
- cassandra
- 석양
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |