본문 바로가기

IOS

[IOS Library] MPFoldTransition Flip 과 Fold 효과를 쓸수 있는 라이브러리 이다.이동하기 FeaturesConvenience methods to extend UIViewController to present/dismiss a view controller modally using fold/flip transitionsConvenience methods to extend UINavigationController to push/pop view controllers onto the navigation stack using fold/flip transitionsConvenience methods to transition between any 2 UIViewControllers or UIViews3 Custom UIStoryboardSeg.. 더보기
[IOS Library] Slide-Menu 정말 슬라이드 되는 메뉴기능만 필요할떄 유용하다.~! iOS-Slide-MenuSetupSwitch ViewControllerEnable/Disable Left/Right MenuPublic PropertiesPublic MethodsCustom Animations 더보기
iOS 파일 관련 정리 File이 있는지 체크하기NSFileManager *filemgr; filemgr = [NSFileManager defaultManager]; if ([filemgr fileExistsAtPath: @"/tmp/myfile.txt" ] == YES) NSLog (@"File exists"); else NSLog (@"File not found");File 옮기기NSFileManager *filemgr; filemgr = [NSFileManager defaultManager]; if ([filemgr moveItemAtPath: @"/tmp/myfile.txt" toPath: @"/tmp/newfile.txt" error: NULL] == YES) NSLog (@"Move successful"); else.. 더보기
[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 이동하기 더보기
Objective C Handler iOS에서도 Event Handling 과 같은 기법을 사용 할 수 있다.~! 나온지는 조금 지났지만 문법을 정리하자면.. 아래와 같이 선언 후 객체처럼 사용하면 된다.typedef void (^progressHandler)(float percentProgress);-(void) addCalculationProgressHandler:(progressHandler)handler; handler(111); 또 다른 방법 - (NSURLConnection *) requestPostUrl:(NSString *)urlStr Body:(id)body Handle:(void (^)(NSData *result)) handleBlock; NSDictionary에 넣고 쓸 때는 아래와 같이 쓰면 된다. void(^hand.. 더보기
[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] UITableView HeaderView Frame Animation UITableView에서 HeaderView에 Frame 애니메이션을 적용하는 방법이다. [UIView animateWithDuration:FOLD_ANIMATION_DURATION animations:^{[self.headerView setFrame:rect];[self.tableView setTableHeaderView:self.headerView];}]; 더보기
[IOS Library] UltraVisual 스타일 CollectionView RPSlidingMenu 이동하기 더보기
[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:.. 더보기