Swift How-To: Setting up a Table View
Read OriginalThis article is a step-by-step screencast tutorial for iOS developers, demonstrating how to set up a table view in Swift using Xcode 6.3.1 and Swift 1.2. It covers dragging a table view onto a Storyboard scene, wiring up dataSource and delegate properties, creating an IBOutlet, conforming to UITableViewDataSource and UITableViewDelegate protocols, and implementing required methods with dummy data. The tutorial also shows how to use a cheat sheet for protocol methods and adjust view hierarchy in the document outline. It serves as a beginner-friendly 'Hello World' for table view setup.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser