개발도구 썸네일형 리스트형 [아이폰] storyboard turorial http://www.raywenderlich.com/5138/beginning-storyboards-in-ios-5-part-1http://www.raywenderlich.com/5191/beginning-storyboards-in-ios-5-part-2 탭, 네비 사용 http://diveis.tistory.com/22기능정리 http://pinkyroman.tistory.com/4 더보기 [아이폰] 기본 기능 function *************************************************************************1. 초기화/제목달기************************************************************************* - (id)init{ self = [super init]; if(self != nil) { // initialize } return self;} - (id)initWithCoder:(NSCoder *)aDecoder{ if(self == [super initWithCoder:aDecoder]) { self.title = @"첫번째 ^^"; } return self;} *********************************.. 더보기 [아이폰] 그래프 graph 원그래프 chart 차트 SimplePieChart.zip PieChartView *_pieChart; CGRect rect = CGRectMake(33.0f, 180.0f, 250, 250); _pieChart = [[PieChartView alloc] initWithFrame:rect]; [self.view addSubview:_pieChart]; [_pieChart clearItems]; [_pieChart setGradientFillStart:0.3 andEnd:1.0]; [_pieChart setGradientFillColor:PieChartItemColorMake(0.0, 0.0, 0.0, 0.7)]; [_pieChart addItemValue:0.4 withColor:PieChartItemColorMake(1.0, .. 더보기 [아이폰] how to use JSON in your app how to use JSON in your app. (click the images to enlarge)1.) Download the latest version (currently 2.2.1) fromhttp://code.google.com/p/json-framework/downloads/list2.) Open the dmg, and drag the JSON folder into your project in Xcode. Check “Copy items into destination group’s folder (if needed)” when prompted.3.) Once the source is embedded into your project, you need to import the framework .. 더보기 [아이폰] UIImage : 웹 그림 표시 아래의 설명에 따라 작성해 보았습니다.인터페이스 빌더에 userImageView을 IBOutlet 으로 설정후 아래와 같이 했습니다. NSString *string1 = @"https://graph.facebook.com/"; NSString *string2 = @"/picture"; NSString *string3 = [string1 stringByAppendingString:self.feedPostId]; NSString *string4 = [string3 stringByAppendingString:string2]; // 문자열 합치기 // 이미지를 읽어올 주소 NSURL *url = [NSURL URLWithString:string4]; NSData *data = [NSData dataWithCon.. 더보기 [아이폰] 페이스북 앱 만들기 설정 _ hackbook iOS Bundle ID : xcode에서 appname-Info.plist 파일에 있는 com.company.appname 형식을 입력( 아이튠즈커넥트에 등록되엉 ㅣㅆ는 번들아이디를 말한다) iphone/ipad app store id : 입력하면 어플이 설치되어 있지 않을 시 앱스토어로 연결 / 애플 개발자 페이지에서 확인 ( 앱스토어 링크 주소로 확인가능 >> 링크의 id이후의 숫자), 등록을 무조건 해야 등록이 가능하다 url scheme suffix : facebook app id를 공유하는 앱이 두 개 이상일 경우(예를 들어 테스트버전?), suffix 를 두어 구별할 수 있음 Configured for iOS SSO 항목은 enabled로 선택하면 페이스북에서의 설정 끝!! 또 설정해줘야 할.. 더보기 [아이폰]Error starting Executable - Error launching remote program: No such file or directory Error starting Executable - Error launching remote program: No such file or directory 맥북을 새로 사서 작업했던 것을 새 맥북에 기기실행으로 실행해 보았다xcode에서 Error starting Executable - Error launching remote program: No such file or directory이러한 에러 메세지가 나오게 되어 찾아 보니 1) 아이폰의 기존 개발 어플 존재 가능성2) 기존 소스의 기존 맥북 디렉토리 와 새 맥북 디렉토리의 헷갈림 가능성.. 혹시 1번일수 있으니 기존 어플 삭제한 뒤에클린을 하여 주었다.그리고 액스코드 메모리에 올라간것 모두 종료... (xcode 완전종료를 해야 한다.)그리고 다시.. 더보기 [아이폰] 문자열에 관한 정리 자르기, 붙이기, 연결, 비교, 합치기 퍼옴 : http://woosa7.tistory.com/194NSString *str1 = @"Hello";NSString *str2 = [NSString stringWithString:@"Hello"];NSUInteger len = [str1 length];// 동적 문자열 클래스NSMutableString *str3 = [NSMutableString stringWithString:@"Hello"];// 서식. // %d : 정수. %f : 실수. %4d : 4자리 정수. %04d : 4자리 정수, 4자리 미만은 0 삽입.// 객체는 @ 사용.NSUInteger iValue = 22;NSString *str4 = [NSString stringWithFormat:@"%d point", iValue]; .. 더보기 [아이폰] 날짜 계산, 문자열 자르기 러퍼런스 블로그 http://soooprmx.com/wp/archives/2335 /* 01 Jan 02 Feb 03 Mar 04 Apr 05 May 06 Jun 07 Jul 08 Aug 09 Sep 10 Oct 11 Nov 12 Dec*///NSMakeRange 특정 길이부터 길이까지 자르기 NSString *tempStr = [tempCre substringWithRange:NSMakeRange(3,10)]; NSString *month = [tempCre substringWithRange:NSMakeRange(4,3)]; if ([month isEqualToString:@"Jan"] ) { month = @"01"; }else if ( [month isEqualToString:@"Feb"] ) { .. 더보기 [아이폰] trim 글자 자르기 NSString *str = @"abcdefg"; NSString *tempStr = [str substringWithRange:NSMakeRange(0,2)]; 결과 값 : abc NSMakeRange(시작인덱스, 길이) 로 스크립트 언어의 trim 과 같은 기능을 합니다. 더보기 이전 1 ··· 12 13 14 15 16 17 18 ··· 45 다음