SamSuka
kavsoft
kavsoft

patreon


SwiftUI 3.0 - Task Management App UI - Complex UI - MVVM - Xcode 13 - SwiftUI Tutorials

Source Code For SwiftUI 3.0 - Task Management App UI - Complex UI - MVVM - Xcode 13 - SwiftUI Tutorials.


Download Code 👇

SwiftUI 3.0 - Task Management App UI - Complex UI - MVVM - Xcode 13 - SwiftUI Tutorials

Comments

How many screens does this have?

Basleal Ayinalem

Replace with this, [ Task(taskTitle: "Meeting", taskDescription: "Discuss team task for the day", taskDate: .now), Task(taskTitle: "Icon set", taskDescription: "Edit icons for team task for next week", taskDate: .now), Task(taskTitle: "Prototype", taskDescription: "Make and send prototype", taskDate: .now), Task(taskTitle: "Check asset", taskDescription: "Start checking the assets", taskDate: .now), Task(taskTitle: "Team party", taskDescription: "Make fun with team mates", taskDate: .now), Task(taskTitle: "Client Meeting", taskDescription: "Explain project to clinet", taskDate: .now), Task(taskTitle: "Next Project", taskDescription: "Discuss next project with team", taskDate: .now), Task(taskTitle: "App Proposal", taskDescription: "Meet client for next App Proposal", taskDate: .now), ]

Kavsoft

Josh Tobias

Then this project is fine, since you’re looking for a design. Simply replace all times to .now and you’re good to go!

Kavsoft

what is core data... im just trying to get layout for a timeline in my own project but idk how to do that i dont reallu need times for my thing, but i think i just want the design...

Josh Tobias

I just ran that project and it’s working as intended!

Kavsoft

If you want to change the date simply replace THIS -> .init(timeIntervalSince1970: 1641645497) TO: .now

Kavsoft

i just did bro... it's not working

Josh Tobias

Please check this videos code which is a complete version of this project, https://youtu.be/iAJbK3VgzLQ?si=nuysLmKvW3TC4YNS

Kavsoft

how do i make it where i dont have to manually update the code (i.e., "1701216000") each new day?

Josh Tobias

can you put the code here? whatever you gave me, the .zip file literally wont even pop up the iphone also can you put your responses in plain english, im new to this srtuff

Josh Tobias

That’s because the task date had the timestamp of 2022 date, please update the time to today’s date, also check this complete version of code which is completely integrated with Core Data. https://www.patreon.com/posts/early-access-3-0-61080749

Kavsoft

Below is what i got for taskviewmodel... i bought your subscription but it still doesnt work for your code... pls help // Sample Tasks @Published var storedTasks: [Task] = [ Task (taskTitle: "Meeting", taskDescription: "Discuss team task for the day", taskDate: .init(timeIntervalSince1970: 1701216000)), Task (taskTitle: "Icon set", taskDescription: "Edit icons for team task for next week", taskDate: .init(timeIntervalSince1970: 1701216000)), Task (taskTitle: "Prototype", taskDescription: "Make and send prototype", taskDate: .init(timeIntervalSince1970: 1701216000)), Task (taskTitle: "Check asset", taskDescription: "Start checking the assets", taskDate: .init(timeIntervalSince1970: 1701216000)), Task (taskTitle: "Team party", taskDescription: "Make fund with team mates", taskDate: .init(timeIntervalSince1970: 1701216000)), Task (taskTitle: "Client Meeting", taskDescription: "Explain project to clinet", taskDate: .init(timeIntervalSince1970: 1701216000)), Task (taskTitle: "Next Project", taskDescription: "Discuss next project with team", taskDate: .init(timeIntervalSince1970: 1701216000)), Task (taskTitle: "App Proposal", taskDescription: "Meet client for next App Proposal", taskDate: .init(timeIntervalSince1970: 1701216000)), ]

Josh Tobias

when u clicj through everything it just says the following: "No tasks found!!!" pls fix

Josh Tobias

the dates aren't working? like in the video you made the project jan 8, 2022 and jan 9, 2022... but my dates are nov 28, 2023 what do i do pls help

Josh Tobias

I like it. Will be an awesome template for my own timeline view I need.

Tobias

Cool, it's working now

Norman Jimenez

Verify whether the build the set for iOS and not macOS

Kavsoft

I tried to run the project, it tells me that home() can't be racheded, any thoughts on that

Norman Jimenez

Again sorry for confusing you and thanks for your great work!

Pascal

You are right. It was the deployment target which set to iOS 15.2.

Pascal

I think you may have Older Xcode, Since in My latest Videos I will be using Xcode 13(SwiftUI 3.0), Simply download Latest Xcode or if you have Xcode 13 go to General and set the Minimum iOS version to base iOS 15.0

Kavsoft

Alright, call me either stupid or drunk. How couldn't I see that the View folder was collapsed? Thanks! I'm really sorry. Any idea why there is no iOS simulator? Some of your source codes do have them, some don't...

Pascal

I just now checked the source is perfectly fine and working well It’s my way of coding putting all the content inside the Home() Just command + click on Home() it will navigate to the Home() Or in the project navigator go to View folder And you can find a option right next to Play button which will be (macOS) just select and click (iOS)

Kavsoft

Seems true for most source codes I've checked. All call an empty Home() but nothing more.

Pascal

If you don't mind: The source code only contains the ViewModel but no UI. Also, as Elderson Laborit already pointed out, we can't select any iOS Simulator. Could you please check that? Same btw. goes for the CoreData version. Came here for these and it's not working...

Pascal

How to do streaks for tasks like the App Streak?

KLA

And if I would like to generate those today dates in swift ?

Tomasz Zając

Use this link https://timestamp.online/ and modify the date you want to add✌️

Kavsoft

:) Ok thanks. One more question - could you give me a hint how can I generate today date in format that will be ok for .init(timeIntervalSince1970: ?)

Tomasz Zając

Please select the target to iOS and build it again it will work✌️✌️✌️

Kavsoft

It’s automatically highlights the current hour tasks Since in the App I used sample model which is previous dates so it won’t highlight If you want to highlight means just update the date in the sample model✌️✌️✌️

Kavsoft

Hey, I can't get the black background on the task row ,persons icons and checkmark to show :( Any advice ?

Tomasz Zając

nice but i don't know why can't emulate in device, just show mac and can't select device. is just me?

Elderson Laborit

Excellent...

Andrej


More Creators