//
//  Category.swift
//  TeamProject
//
//  Created by Nayeon Kim on 2021/01/14.
//

import Foundation

//색깔 몇가지? 어떻게 정할지?
//기본 - 0: 보라색 1: 빨간색 2: 초록색 3:
class Category {

    static let shared = Category()
    
    var categories: [CategoryItem] = [
        CategoryItem(categoryName: "📓과제", categoryColor: .blue),
        CategoryItem(categoryName: "📝시험", categoryColor: .red),
        CategoryItem(categoryName: "👥대외활동", categoryColor: .green)

    ]

    func getCategoryItems(completion: ([CategoryItem]) -> Void){
        completion(self.categories)
    }

}


