<commit_before>//
//  AppointmentViewController.swift
//  LarsonApp
//
//  Created by <NAME> on 10/25/16.
//  Copyright © 2016 <NAME>. All rights reserved.
//

import UIKit

class AppointmentViewController: BaseViewController {
    var tableview : AppointmentsTableView!
    
    override func viewDidAppear(_ animated: Bool) {
        super.viewDidAppear(animated)
        
        initNavView(title: "Appointment List")
        initUI()
    }
    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
        DataManager.shareManager.fetchAppointList(successHandler: { (obj) in
            print(obj)
            DispatchQueue.main.async {
                self.tableview.items = obj as! [AppointmentModel]
                self.tableview.reloadData()
            }
            }) { (obj) in
                print(obj)
        }
    }

    func initUI(){
        tableview = AppointmentsTableView(frame:CGRect(x: 0, y: 64, width: LCDW, height: LCDH - 64)
 , style: .plain)
        self.view.addSubview(tableview)
    }
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
}<commit_msg>add print()<commit_after>//
//  AppointmentViewController.swift
//  LarsonApp
//
//  Created by <NAME> on 10/25/16.
//  Copyright © 2016 <NAME>. All rights reserved.
//

import UIKit

class AppointmentViewController: BaseViewController {
    var tableview : AppointmentsTableView!
    
    override func viewDidAppear(_ animated: Bool) {
        super.viewDidAppear(animated)
        print()
        initNavView(title: "Appointment List")
        initUI()
    }
    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
        DataManager.shareManager.fetchAppointList(successHandler: { (obj) in
            print(obj)
            DispatchQueue.main.async {
                self.tableview.items = obj as! [AppointmentModel]
                self.tableview.reloadData()
            }
            }) { (obj) in
                print(obj)
        }
    }

    func initUI(){
        tableview = AppointmentsTableView(frame:CGRect(x: 0, y: 64, width: LCDW, height: LCDH - 64)
 , style: .plain)
        self.view.addSubview(tableview)
    }
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
}
{'fraction_non_alphanumeric': 0.10084033613445378, 'fraction_numerical': 0.012004801920768308, 'mean_word_length': 2.1486146095717884, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '139665', 'n_tokens_mistral': 771, 'n_tokens_neox': 713, 'n_words': 172}