Before reading this article, please go through the following article
Introduction
This is the second article on table view. In this article, we will see that if we have two arrays with different names and categories how we can set separate in the table view and how we categorize it.
Declare Two Different Arrays
This is the second article on table view. In this article, we will see that if we have two arrays with different names and categories how we can set separate in the table view and how we categorize it.
Declare Two Different Arrays
- Now, we create two constant arrays where one array is devcourses and webcourses, but if you see with open eyes, you see that in one array value, we assign two strings- one is course name and another is course author name because for course author name, we will use a subtitle.
- let devCourses = [
- ("iOS App Dev with Swift Essential Training","Khawar Islam"),
- ("iOS 8 SDK New Features","Khawar Islam"),
- ("Data Visualization with D3.js","Khawar Islam"),
- ("Swift Essential Training","Khawar Islam"),
- ("Up and Running with AngularJS","Khawar Islam"),
- ("MySQL Essential Training","Khawar Islam"),
- ("Building Adaptive Android Apps with Fragments","Khawar Islam"),
- ("Advanced Unity 3D Game Programming","Khawar Islam"),
- ("Up and Running with Ubuntu Desktop Linux","Khawar Islam"),
- ("Up and Running with C","Khawar Islam") ]
- let webCourses = [
- ("HTML Essential Training","Khawar Islam"),
- ("Building a Responsive Single-Page Design","Khawar Islam"),
- ("Muse Essential Training","Khawar Islam"),
- ("WordPress Essential Training","Khawar Islam"),
- ("Installing and Running Joomla! 3: Local and Web-Hosted Sites","Khawar Islam"),
- ("Managing Records in SharePoint","Khawar Islam"),
- ("Design the Web: SVG Rollovers with CSS","Khawar Islam"),
- ("Up and Running with Ember.js","Khawar Islam"),
- ("HTML5 Game Development with Phaser","Khawar Islam"),
- ("Responsive Media","Khawar Islam") ]



Shobana JPosted Jul 7, 2016, 7:25 AM
Nice explanation
Santhakumar MunuswamyPosted Jun 25, 2016, 3:18 AM
Nice share
Kuppurasu NagarajPosted Jun 14, 2016, 1:19 PM
Nice Sharing..
Vignesh ManiPosted Jun 11, 2016, 4:32 PM
nice
Debasis SahaPosted Jun 11, 2016, 2:15 AM
Good One..
RajaPosted Jun 11, 2016, 1:57 AM
Good one...