iOS random integer
랜덤정수를 뽑아오자
//0~6까지의 정수 랜덤하게 추출
int emoticonType = arc4random() % 7;
반응형
'IT > iOS' 카테고리의 다른 글
tableview sectionheader 고정 막기 (0) | 2014.07.22 |
---|---|
Current View get subview (0) | 2014.06.03 |
64bit에서 컴파일시 objc_msgsend error (0) | 2014.05.15 |
[[NSUserDefaults standardUserDefaults] dictionaryRepresentation].allKeys (0) | 2014.03.04 |
iOS 7 UI Difference between Simulator and real Device (0) | 2014.02.05 |
navigation bar title color (0) | 2014.02.04 |
detailView 20pixel bug (0) | 2014.02.04 |
UITableView selected background color (0) | 2014.02.04 |