본문 바로가기

iOS7

UIKit Dynamics iOS7부터 물리엔진처럼 UI를 애니메이션 효과를 줄 수 있는 라이브러리가 추가 되었다. 앞으로 많이 활용해보면 좋을 듯하다. 사이트로 이동하기 더보기
App 아이콘을 만들어주는 사이트 1024 * 1024 사이즈 이미지를 넣으면 자동으로 아이콘을 알맞는 크기 및 이름으로 변경해준다. (iOS7으로 따로 항목을 지원해주시기 때문에 까다로운 사이즈에 편하게 적용할 수 있다.) http://makeappicon.com 더보기
iOS에 Google Analytics 설치하기 1. https://developers.google.com/analytics/devguides/collection/ios/resources 이동해서 iOS SDK를 받자~!(V3이다.) ( 자세한 설치 방법은 여기에서 볼 수 있다.) 2. 압축을 풀어서 보면 아래와 같이 파일이 구성이 되어있다. 3. 거기서 GoogleAnalytics -> Library 폴더와 libGoogleAnalyticsServices.a 파일을 프로젝트에 추가하자~! 4. 그리고 아래의 라이브러리를 추가해준다.CoreData.frameworkSystemConfiguration.frameworklibz.dylib5. AppDelegate에서 기본적인 설정을 해준다. 물론 #import "GAI.h" 하고나서이다.- (BOOL)ap.. 더보기
NSFileManager - the operation couldn t be completed cocoa error 4 the operation couldn t be completed cocoa error 4 에러와 함께 복사가 되지 않았다. 원인은 파일 경로 상에서 폴더가 있는데 그 폴더를 생성하지 않는 것이 원인이였다. NSString *databasePath = [[NSBundle mainBundle] pathForResource:databaseName ofType:@"sqlite"]; [fileManger copyItemAtPath:databasePath toPath:dbFilePath error:&error]; 아래와 같이 폴더를 생성해주는 코드가 필요하다.~! if ([fileManger fileExistsAtPath:[self getDatabaseFolder]]) { [fileManger createDirec.. 더보기
iCarousel 라이브러리에서 iCarouselTypeWheel 모드일 때 선택된 View 앞으로 보이게 하기 1. iCarousel.m 코드를 보면 2. - (CATransform3D)transformForItemViewWithOffset:(CGFloat)offset 가 있다.3. 여기서 Switch 문에서 아래의 항목을 찾자 case iCarouselTypeWheel: case iCarouselTypeInvertedWheel: 4. return CATransform3DTranslate(transform, 0.0f, -radius, offset * 0.01f);코드를 아래와 같이 바꾼다.return CATransform3DTranslate(transform, 0.0f, -radius, 0.01f); 더보기
[IOS Library] SSZipArchive Objective C에서 Zip관련 라이브러리리 이다. SSZipArchiveSSZipArchive is a simple utility class for zipping and unzipping files. Features:Unzipping zip filesUnzipping password protected zip filesCreating zip filesAppending to zip filesZipping filesZipping NSData with a filenameWorks in ARC and non-ARC projects 이동하기 더보기
[iOS] PBJVision iOS에서 카메라를 커스텀하여 사용할 경우 아주 유용한 라이브러리이다. VisionVision is an iOS camera engine that supports touch-to-record video, slow motion video (120 fps for supporting hardware, which is currently only iPhone 5S), and photo capture. It is compatible with both iOS 6 and iOS 7 and supports 64-bit. Pause and resume video capture is also possible without having to use a touch gesture as the sample project provi.. 더보기
[iOS] UITextField Padding 값주기 헤더@interface UITextField (Padding) {}//end Variables -(void) setLeftPadding:(int) paddingValue;-(void) setRightPadding:(int) paddingValue; @end 구현 부@implementation UITextField (Padding) -(void) setLeftPadding:(int) paddingValue { UIView *paddingView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, paddingValue, self.frame.size.height)]; self.leftView = paddingView; self.leftViewMode = UITextFiel.. 더보기
[IOS Library] 이미지 Blur 처리해주는 라이브러리 PurposeFXBlurView is a UIView subclass that replicates the iOS 7 realtime background blur effect, but works on iOS 5 and above. It is designed to be as fast and as simple to use as possible. FXBlurView offers two modes of operation: static, where the view is rendered only once when it is added to a superview (though it can be updated by calling setNeedsDisplay or updateAsynchronously:completion:.. 더보기
[iOS] iOS 7 status bar에서 hidden이 되지 않을때~!! iOS 에서 status bar가 사라지지 않을때~!! info에서 다음 항목을 추가하자 View controller-based status bar appearance 를 No 항목으로 입력하면 잘된다.~! 더보기