This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ContentView.swift | |
// ToDo_UI | |
// | |
// Created by Shubham on 11/11/24. | |
// | |
import SwiftUI | |
struct MainView: View { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// TaskAddingView.swift | |
// ToDo_UI | |
// | |
// Created by Shubham on 12/11/24. | |
// | |
import SwiftUI | |
struct TaskAddingView: View { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// TaskListView.swift | |
// ToDo_UI | |
// | |
// Created by Shubham on 13/11/24. | |
// | |
import SwiftUI | |
struct TaskListView: View { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// TopBarView.swift | |
// ToDo_UI | |
// | |
// Created by Shubham on 12/11/24. | |
// | |
import SwiftUI | |
struct TopBarView: View { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
struct Tick: Shape { | |
func path(in rect: CGRect) -> Path { | |
let cX = rect.midX | |
let cY = rect.midY | |
var path = Path() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// TaskRowView.swift | |
// ToDo_UI | |
// | |
// Created by Shubham on 12/11/24. | |
// | |
import SwiftUI | |
struct TaskRowView: View { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
import OSLog | |
enum LogType { | |
case info | |
case notice | |
case warning | |
case fault | |
// case debug |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { | |
self.registerForAppTrackingTransparency(launchOptions) | |
return true | |
} | |
private func registerForAppTrackingTransparency(_ launchOptions: [UIApplication.LaunchOptionsKey: Any]?) { | |
if #available(iOS 14, *) { | |
ATTrackingManager.requestTrackingAuthorization { (status) in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
class Box<T> { | |
typealias Listener = (T) -> () | |
// MARK:- variables | |
var value: T { | |
didSet { | |
listener?(value) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<key>UIAppFonts</key> | |
<array> | |
<string>Code Pro Bold LC.otf</string> | |
<string>Code Pro LC.otf</string> | |
<string>Montserrat-Bold.ttf</string> | |
<string>Montserrat-Italic.ttf</string> | |
<string>Montserrat-Medium.ttf</string> | |
<string>Montserrat-MediumItalic.ttf</string> | |
<string>Montserrat-Regular.ttf</string> | |
<string>Montserrat-SemiBold.ttf</string> |
NewerOlder