Contents

Develop
2016.06.27 22:29

[ios][swift] 초간단 TableView 샘플

Views 868 Comment 0
Atachment
Attachment '2'
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print

초간단 TableView 샘플 코드

https://github.com/picomax/TableViewSwift

아래 배열을 출력하는 테이블 뷰 var items: [String] = ["Egg Benedict", "Mushroom Risotto", "Full Breakfast", "Hamburger", "Ham and Egg Sandwich", "Creme Brelee", "White Chocolate Donut", "Starbucks Coffee", "Vegetable Curry", "Instant Noodle with Egg", "Noodle with BBQ Pork", "Japanese Noodle with Pork", "Green Tea", "Thai Shrimp Cake", "Angry Birds Cake", "Ham and Cheese Panini"]

TestTableView1

ViewController 내부에 Delegate, DataSource 관련 코드 작성한 방식

class ViewController: UIViewController, UITableViewDelegate, UITableViewDataSource

TestTableView2

ViewController 외부 Delegate, DataSource 관련 코드 작성한 방식

extension ViewController: UITableViewDataSource extension ViewController: UITableViewDelegate

tableview.png
TAG •

?

  1. [ios][swift] 초간단 TableView 샘플

  2. [ios] 여러 버전의 Xcode 사용하기

  3. [ios] Crashlytics, Fabfic 설치/설정

  4. [swift] 실행시간 측정하기

  5. 정리할 자료.

  6. [ios] 앱에서 설정화면 호출하기

  7. [Javascript][Ajax] 자바스크립트 강의 산출물

  8. [ios] WWDC 2015 샘플 소스 코드 통합파일

  9. [ios] 비디오,네트워크,소셜로그인 테스트

  10. [js] Text 값을 클립보드에 복사하기

  11. [matlab] 정보은닉 스테가노그래피(Steganography) 수업

  12. [ios] VIN Scanner (VIN barcode) 스캐너

Board Pagination Prev 1 ... 62 63 64 65 66 67 68 69 70 71 Next
/ 71