Posts

Showing posts from July, 2015

How to use TableView using iOS Swift and display some data?

Image
Introduction A TableView is a very nice implementation in iOS to show a list of data. There are a lot of articles on the web but some are simple and many are quite complex. Lets try and make this a simple exercise so that you can implement it in your project very easily. Below are the steps to follow to get a tableview working in your iOS Swift Application Step 1.  Open XCode and create a new Project of the type "Single View Application" Step 2.  Give a name for your project (for eg: TryTableView) and choose Swift as the language Step 3.  After clicking finish you will see some files generated on the left side project navigation bar Step 4.  Search for Main.Storyboard and Click on it once (do not double click as it will open in a new window) Step 5.  Once the Storyboard is loaded in the center of the screen, look to the right side bottom of the screen where you will see "Object Library" Step 6.  In the Object Library find the "Table V