Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |
Tags
- 페이백
- 샘플
- setting
- UIView
- 공략
- 스마트폰
- afterdelay
- simulator
- LG유플러스
- Xcode
- Example
- 포켓몬 GO
- 해몽
- error
- GCD
- 신도림 테크노마트
- 앱스토어
- 얻는법
- 포켓볼
- push
- Check
- UITableView
- 아이폰7
- IOS
- 보라카이
- swift
- loop
- Bitcode
- 신도림
- swift3
Archives
- Today
- Total
목록JSON (1)
도래울
swift3 json 파일 읽기
data에서 json은 SwiftyJSon 라이브러리를 이용. filename : test.json if let path = Bundle.main.path(forResource: "test", ofType: "json") { do { let data = try? Data(contentsOf: URL(fileURLWithPath: path), options: NSData.ReadingOptions.mappedIfSafe) let jsonObj = JSON(data: data!) if jsonObj != JSON.null { print(jsonObj.arrayObject) } else { print("could not get json from file, make sure that file contains v..
카테고리 없음
2017. 7. 12. 16:24