Skip to content

Instantly share code, notes, and snippets.

View thatswiftguy's full-sized avatar
🎯
Focusing

Yasir thatswiftguy

🎯
Focusing
View GitHub Profile
import UIKit
enum WeatherStateImage : CaseIterable {
static let sun = UIImage(systemName: "sun.min")
static let cloud = UIImage(systemName: "cloud")
static let rainingCloud = UIImage(systemName: "cloud.drizzle")
}
@thatswiftguy
thatswiftguy / Task.swift
Created April 11, 2021 10:41
Task Model for TaskManager Application
//
// TaskModel.swift
// TaskManager
//
// Created by Mohammad Yasir on 11/04/21.
//
import Foundation
import SwiftUI
//
// TaskViewModel.swift
// TaskManager
//
// Created by Mohammad Yasir on 11/04/21.
//
import Foundation
class TaskViewModel : Identifiable , ObservableObject {
//
// TaskListView.swift
// TaskManager
//
// Created by Mohammad Yasir on 11/04/21.
//
import SwiftUI
struct TaskListView: View {
//
// SortPickerView.swift
// TaskManager
//
// Created by Mohammad Yasir on 11/04/21.
//
import SwiftUI
struct SortPickerView: View {
//
// AddTaskView.swift
// TaskManager
//
// Created by Mohammad Yasir on 11/04/21.
//
import SwiftUI
struct AddTaskView: View {
//
// TaskSearchView.swift
// TaskManager
//
// Created by Mohammad Yasir on 11/04/21.
//
import SwiftUI
struct TaskSearchView: View {
//
// MainViewModifier.swift
// TaskManager
//
// Created by Mohammad Yasir on 11/04/21.
//
import Foundation
import SwiftUI
//
// KeyBoardExtension.swift
// TaskManager
//
// Created by Mohammad Yasir on 11/04/21.
//
import Foundation
import SwiftUI
//
// ContentView.swift
// TaskManager
//
// Created by Mohammad Yasir on 11/04/21.
//
import SwiftUI
struct ContentView: View {