swift2 (1) 썸네일형 리스트형 핵심만 골라배우는 iOS9 프로그래밍 - swift2 에서 변경된 문법 메모 1. deprecated 된 함수 CGRectMake(0,0,200,200) --> CGRect.init(x:0, y:0, width:200, height:200) CGAffineTransformMakeRotation(3.14) --> CGAffineTransform.init(rotationAngle: 3.14) 2. 접근방법 변경 UIColor.whiteColor() -> UIColor.white 3. 호출변경 UIView.animateWithDuration(5.0, animations: { -> UIView.animate( withDuration: 5.0 , animations: () -> Void ) 4. 모듈변경 import XCPlayground --> import PlaygroundSuppor.. 이전 1 다음