<commit_before>//  github: https://github.com/MakeZL/MLSwiftBasic
//  author: @email <<EMAIL>>
//
//  ViewController.swift
//  MLSwiftBasic
//
//  Created by 张磊 on 15/7/6.
//  Copyright (c) 2015年 MakeZL. All rights reserved.
//

import UIKit

class MBExampleGroup: NSObject {
    var groupName:String?
    var examples:Array<MBExample>?
}

class MBExample: NSObject {
    var title:String!
    var vc:UIViewController?
}

class ViewController: MBBaseViewController,UITableViewDataSource,UITableViewDelegate {
    
    /// example list
    lazy var lists:Array<MBExampleGroup> = {
        
        // Group1 : <Navigation 导航栏>
        var groupItem00:MBExample = MBExample()
        groupItem00.title = "Demo1 (导航栏.标题/图片.设置按钮宽度等)"
        groupItem00.vc = Demo1ViewController()
        // create Group
        var group0 = MBExampleGroup()
        group0.groupName = "导航栏"
        group0.examples = [groupItem00]
        
        // Group2 : <Photo Picker 相册多选>
        var groupItem10:MBExample = MBExample()
        groupItem10.title = "Demo2 (相册多选1/简单效果)"
        groupItem10.vc = Demo2ViewController()
        var groupItem11:MBExample = MBExample()
        groupItem11.title = "Demo3 (相册多选2/复杂效果)"
        groupItem11.vc = Demo3ViewController()
        // create Group
        var group1 = MBExampleGroup()
        group1.groupName = "相册多选"
        group1.examples = [groupItem10,groupItem11]
        
        // Group3 : <Visual 导航栏>
        var groupItem20:MBExample = MBExample()
        groupItem20.title = "Demo4 (导航视觉效果1)"
        groupItem20.vc = Demo4ViewController()
        var groupItem21:MBExample = MBExample()
        groupItem21.title = "Demo5 (导航视觉效果2)"
        groupItem21.vc = Demo5ViewController()
        // create Group
        var group2 = MBExampleGroup()
        group2.groupName = "导航视觉效果"
        group2.examples = [groupItem20,groupItem21]
        
        // Group4 : <Refresh 下拉刷新>
        var groupItem30:MBExample = MBExample()
        groupItem30.title = "Demo6 (下拉刷新/加载更多 效果1)"
        groupItem30.vc = Demo6ViewController()
        var groupItem31:MBExample = MBExample()
        groupItem31.title = "Demo7 (下拉刷新/加载更多 效果2)"
        groupItem31.vc = Demo7ViewController()
        var groupItem32:MBExample = MBExample()
        groupItem32.title = "Demo8 (下拉刷新/加载更多 自定义动画)"
        groupItem32.vc = Demo8ViewController()
        // create Group
        var group3 = MBExampleGroup()
        group3.groupName = "下拉刷新"
        group3.examples = [groupItem20,groupItem21]
        
        return [
            group0,group1,group2,group3
        ]
    }()
    <commit_msg>Modify RootViewController ListModel data.<commit_after>//  github: https://github.com/MakeZL/MLSwiftBasic
//  author: @email <<EMAIL>>
//
//  ViewController.swift
//  MLSwiftBasic
//
//  Created by 张磊 on 15/7/6.
//  Copyright (c) 2015年 MakeZL. All rights reserved.
//

import UIKit

class MBExampleGroup: NSObject {
    var groupName:String?
    var examples:Array<MBExample>?
}

class MBExample: NSObject {
    var title:String!
    var vc:UIViewController?
}

class ViewController: MBBaseViewController,UITableViewDataSource,UITableViewDelegate {
    
    /// example list
    lazy var lists:Array<MBExampleGroup> = {
        
        // Group1 : <Navigation 导航栏>
        var groupItem00:MBExample = MBExample()
        groupItem00.title = "Demo1 (导航栏.标题/图片.设置按钮宽度等)"
        groupItem00.vc = Demo1ViewController()
        // create Group
        var group0 = MBExampleGroup()
        group0.groupName = "导航栏"
        group0.examples = [groupItem00]
        
        // Group2 : <Photo Picker 相册多选>
        var groupItem10:MBExample = MBExample()
        groupItem10.title = "Demo2 (相册多选1/简单效果)"
        groupItem10.vc = Demo2ViewController()
        var groupItem11:MBExample = MBExample()
        groupItem11.title = "Demo3 (相册多选2/复杂效果)"
        groupItem11.vc = Demo3ViewController()
        // create Group
        var group1 = MBExampleGroup()
        group1.groupName = "相册多选"
        group1.examples = [groupItem10,groupItem11]
        
        // Group3 : <Visual 导航栏>
        var groupItem20:MBExample = MBExample()
        groupItem20.title = "Demo4 (导航视觉效果1)"
        groupItem20.vc = Demo4ViewController()
        var groupItem21:MBExample = MBExample()
        groupItem21.title = "Demo5 (导航视觉效果2)"
        groupItem21.vc = Demo5ViewController()
        // create Group
        var group2 = MBExampleGroup()
        group2.groupName = "导航视觉效果"
        group2.examples = [groupItem20,groupItem21]
        
        // Group4 : <Refresh 下拉刷新>
        var groupItem30:MBExample = MBExample()
        groupItem30.title = "Demo6 (下拉刷新/加载更多 效果1)"
        groupItem30.vc = Demo6ViewController()
        var groupItem31:MBExample = MBExample()
        groupItem31.title = "Demo7 (下拉刷新/加载更多 效果2)"
        groupItem31.vc = Demo7ViewController()
        var groupItem32:MBExample = MBExample()
        groupItem32.title = "Demo8 (下拉刷新/加载更多 自定义动画)"
        groupItem32.vc = Demo8ViewController()
        // create Group
        var group3 = MBExampleGroup()
        group3.groupName = "下拉刷新"
        group3.examples = [groupItem30,groupItem31,groupItem32]
        
        return [
            group0,group1,group2,group3
        ]
    }()
    
{'fraction_non_alphanumeric': 0.10434120335110435, 'fraction_numerical': 0.043031226199543034, 'mean_word_length': 2.3522654754307593, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 2, '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': '3000630', 'n_tokens_mistral': 1875, 'n_tokens_neox': 1856, 'n_words': 327}