The video captures a relatable 'aha' moment for developers, creating a sense of shared discovery and technical curiosity that resonates with the target audience.
Summary
A developer discovers built-in Calendar functions in Swift while reviewing code. He expresses surprise at finding pre-existing methods that simplify his current task.
Structure
1Developer notices a function in his code
2He reads the documentation for the function
3He expresses surprise at the function's existence
4He discovers another related function
On-screen text
isDateInToday
Returns a Boolean value indicating whether the given date is within today.
IsDateInYesterday
Transcript
Hmmmm... isDateInToday. Well, that's interesting. Returns a boolean value indicating whether the given date is within today. Intere... What? We literally have these two things that I would need? Since when? What? Calendar... That's funny. IsDateInYesterday.
Original caption
Did you know Calendar had these functions? #indiedeveloper #iosdeveloper #gamedeveloper #gamedevelopment #developer
More from @martinlasek
Their other posts in the index, biggest breakout first.