Loading...

Creating a TableView Programmatically with multiple cell in swift

As I am creating a TableView programmatically with multiple cell and in each cell having UICollectionView, UITableView, UITableView.... but I am not able to find the error and every time when I run the program it Shows " Command failed due to signal: Segmentation fault: 11".

Has any one created this type of UI using coding.

New in Swift so forgive for errors.

// ViewController.swift
// Json Parsing in Swift

import UIKit
import Alamofire
import SwiftyJSON

class ViewController: UITableViewController {

var dataArray = Array<JSON>()

override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.