기본 이미지 데이터와 출력 [UIImage imageNamed:] 라는 클래스 메소드를 사용하면 아래와 같은 장점이 있다. - 앱의 기본번들에 대한 경로를 지정하지 않아도 mainBundle 로부터 이미지를 찾아 로드한다.- 파일 확장자를 이용하지 않아도 PNG 이미지를 자동으로 로드한다.- 이미지를 로드할 때 화면의 크기를 고려한다. (scale - @2x, device - ~iphone, ~ipad)- 메모리 캐시 기능을 사용한다. 같은 이미지를 이미 로드한 상태에서 로드 요청을 받으면 기존에 로드한 이미지를 리턴한다. [UIImage imageWithContentsOfFile:] mainBundle 에 없는 이미지를 로드할 경우 사용된다.이때 확장자까지 모두 붙어야 로드가 가능하다. [UIImage..
UIImage, CIImage, CGImage UIImage 이 객체는 이미지 데이터를 보여주기 위한 high-level 수단을 제공한다.파일이나 Quartz 이미지 객체나 raw image 데이터로부터 이미지들을 생성할 수 있다.UIImage 클래스는 이미지 객체를 current graphics context에 그리기 위한 여러가지 옵션을 제공한다. 옵션으로는 blend model나 opacity value를 조정할 수 있다. UIImage 는 다양한 이미지 포맷을 지원한다. 이름 확장자 PNG (Portable Network Graphic) .png TIFF (Tagged Image File Format) .tiff, .tif JPEG (Joint Photographic Experts Group) ...
UIViewContentMode Type typedef enum { UIViewContentModeScaleToFill, UIViewContentModeScaleAspectFit, UIViewContentModeScaleAspectFill, UIViewContentModeRedraw, UIViewContentModeCenter, UIViewContentModeTop, UIViewContentModeBottom, UIViewContentModeLeft, UIViewContentModeRight, UIViewContentModeTopLeft, UIViewContentModeTopRight, UIViewContentModeBottomLeft, UIViewContentModeBottomRight,} UIView..
- Total
- Today
- Yesterday
- ios
- Swift
- NSManagedObjectModel
- thread
- EffectiveObjectiveC
- Arc
- dictionary
- docker
- AWS
- RunLoop
- Swfit
- applicationWillResignActive
- workerThread
- Block
- Swift 3
- optional
- coredata
- Swift3
- set
- 읽기 좋은 코드가 좋은 코드다
- string
- HTTP
- CGImage
- Swift 3.0
- delegate
- 꺼내먹어요
- CIImage
- NSManagedObjectContext
- NSManagedObject
- UIView
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |