Hello Balaji! My name is Gleb and I want to thank you for sharing your knowledge. You make videos that are simple and easy to follow. I started with zero knowledge of Swift, but by watching your tutorials I managed to learn a lot and build an app for my brother in three months. He is happy and so am I. The app is built on the basis of your custom date picker and other features that you show in your tutorials. Thanks again and keep posting!
Love it! Did the whole walkthough. Maybe in the future if there were an explanation on what calendar is and such would be handy! None the less I think this is great!
Great idea for elegant calendar and some really good pointers for SwiftUI coders. Minor issues: "Remainder' should be 'Reminder' obviously and the current date should only be highlighted if user is in current month. As others have noted, Locale() date could determine day labels, week start date etc. Thanks for an awesome video.
in extraDate(), change the `let date` part to `let date = formatter.string(from: getCurrentMonth())`, instead of `from: currentDate`. If you use currentDate here, onChange, your binding var will change to which ever month the user navigates to, and whichever day the user clicks.
Thank you) You are good at it! Great calendar! Tell me how to make the calendar scroll a month ahead or a month back without using the buttons above. Ie to scroll with your hands to the left or to the right)
Hello, how would I replace the offset value to something that would be set to specific dates? for example the reminder event "football with harry" is set on the 25th march, rather than having an offset of 2 (2days from the current date) ? as this date constantly moves as the current date moves. Any help here would be appreciated! Thanks
I have a problem that when I print my selected `Current Date` to the console (let's say I select February 8), the console gives an output date of February 7. is there a solution regarding this?
It crashes when showing Januray 2023, because of index out of range in func extractDate() Solution: [...] var firstWeekday = calendar.component(.weekday, from: days.first?.date ?? Date()) if firstWeekday == 1 { firstWeekday = 8 // Sunday is represented by 1, so we set it to 8 to make it the last day of the week } for _ in 0..
Hey, have you checked cred app on iOS? It has one of the elegant onboarding screen at the start, I hope if you could create of video of building such onboarding. Your work is amazing
I am not very good at coding but I would assume: VStack(spacing: 35) { let days: [String] = ["Sun","Mon","Tue","Wed","Thu","Fri","Sat"] Change to: VStack(spacing: 35) { let days: [String] = ["Mon","Tue","Wed","Thu","Fri","Sat","Sun"] and: for _ in 0..
I noticed that the "Add Task" and "Add Reminder" buttons don't have any actions assigned to them so they don't do anything. Anyone have the code to complete the Date Picker
I built this and I'm having buildtime issues. I corrected my code but I have 3 issues left in the Swift files to finish the app. Do you have a email so I can screenshot the issue and send you the code. I followed along with tutorial and would like to get this aspect of the app finished. It has to do with the CustomDatePicker and the Home page. With the CustomDatePicker, It says the 'extension Date' declaration is only valid at file scope. & 'HStack in the DayView' has error code Type () cannot conform to View With Home.swift it says the VStack containing the CustomDatePicker has error code Generic parameter 'Content' could not be inferred. Looking forward to your reply.
Very nice! Swipe gesture in addition to buttons please :)
Hello Balaji!
My name is Gleb and I want to thank you for sharing your knowledge. You make videos that are simple and easy to follow.
I started with zero knowledge of Swift, but by watching your tutorials I managed to learn a lot and build an app for my brother in three months. He is happy and so am I. The app is built on the basis of your custom date picker and other features that you show in your tutorials. Thanks again and keep posting!
❤️
здарова, Глеб!
Love it! Did the whole walkthough. Maybe in the future if there were an explanation on what calendar is and such would be handy! None the less I think this is great!
This is amazing bro. Thank you for this! I've been looking for a tutorial for a Calendar, all i can find is frameworks. Thank you for this!
Great idea for elegant calendar and some really good pointers for SwiftUI coders. Minor issues: "Remainder' should be 'Reminder' obviously and the current date should only be highlighted if user is in current month. As others have noted, Locale() date could determine day labels, week start date etc. Thanks for an awesome video.
Tks for the video!! It helped me a lot on my personal project!!
in extraDate(), change the `let date` part to `let date = formatter.string(from: getCurrentMonth())`, instead of `from: currentDate`. If you use currentDate here, onChange, your binding var will change to which ever month the user navigates to, and whichever day the user clicks.
That didnt fix it for me either… it still auto selects the same date from every month when I switch
Kavsoft, the SwiftUI goat
Thank you so much!!!
Super amazing!!! Always thanks! 😍
Love it, is amazing, please build in other video an custom view neomorphist
YAAAAAASSS KING KAVSOFT, bless us with ur knowledge
So... amazing Job
Thank you) You are good at it! Great calendar! Tell me how to make the calendar scroll a month ahead or a month back without using the buttons above. Ie to scroll with your hands to the left or to the right)
TabView + Style = PageTabViewStyle ?
@@Who-ps7bc how does it work? Could you explain how this is done?
Have you found a solution?
Hello, how would I replace the offset value to something that would be set to specific dates? for example the reminder event "football with harry" is set on the 25th march, rather than having an offset of 2 (2days from the current date) ? as this date constantly moves as the current date moves. Any help here would be appreciated! Thanks
Did you ever find out how to do this?
Thanks for inspiring my app 😍😍😍
I have a problem that when I print my selected `Current Date` to the console (let's say I select February 8), the console gives an output date of February 7. is there a solution regarding this?
Same problem
Test the date with .formatted()!
Could you so a Video with deep links? Keep the Great work!
It crashes when showing Januray 2023, because of index out of range in func extractDate()
Solution:
[...]
var firstWeekday = calendar.component(.weekday, from: days.first?.date ?? Date())
if firstWeekday == 1 {
firstWeekday = 8 // Sunday is represented by 1, so we set it to 8 to make it the last day of the week
}
for _ in 0..
Tysm bro
How do we get as good as you? Pls guide us
Hey, have you checked cred app on iOS? It has one of the elegant onboarding screen at the start, I hope if you could create of video of building such onboarding. Your work is amazing
Share any recordings to
reply@kavsoft.Dev
I will give it a try✌️✌️✌️
Can't wait
awesome
How to set Monday for first of week? Please answer!!!
I am not very good at coding but I would assume:
VStack(spacing: 35) {
let days: [String] =
["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]
Change to:
VStack(spacing: 35) {
let days: [String] =
["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]
and:
for _ in 0..
@@carlflegg It will crash when you go to the month that starts from Sunday
@@dmitryfeudorov3967 Hi, did you figure it out?
@@wanjingchen4409 Yes, change this: let firstWeekday = calendar.component(.weekday, from: days[6].date)
@@dmitryfeudorov3967 thank you so much!
very very nice
lol, he wrote his own datepicker in 17 mins
Amazing
I have all of the same code as you but for some reason I can't use Calendar.current
Do you have "Calendar" defined anywhere else in your code? That was my issue
хорошая работа.
someone tell me I can learn this no problem.... I am begging you.
I noticed that the "Add Task" and "Add Reminder" buttons don't have any actions assigned to them so they don't do anything. Anyone have the code to complete the Date Picker
Have you found a solution?
@@mickele-bu9fp I found a different solution to what I planned on doing.
@@shaunnhenderson6272 care to share?
How can I change the code so the weekdays start on Mon?
find solution ?
I built this and I'm having buildtime issues. I corrected my code but I have 3 issues left in the Swift files to finish the app. Do you have a email so I can screenshot the issue and send you the code. I followed along with tutorial and would like to get this aspect of the app finished.
It has to do with the CustomDatePicker and the Home page.
With the CustomDatePicker,
It says the 'extension Date' declaration is only valid at file scope.
& 'HStack in the DayView' has error code Type () cannot conform to View
With Home.swift it says the VStack containing the CustomDatePicker has error code Generic parameter 'Content' could not be inferred.
Looking forward to your reply.
No answer?