Sabitlenmiş Tweet
Max Gorobets
213 posts

Max Gorobets
@killlilwinters
Junior iOS Developer at You are launched! Kharkiv, Ukraine 🇺🇦 Watch me learn #iosdev!
Katılım Eylül 2023
43 Takip Edilen18 Takipçiler

This is one of those moments when I think "I wish I knew about this when I was just starting out"...
Found this website where you can visually see different SwiftUI concepts in action - all in your browser!
...it blew my mind today:
swiftuifieldguide.com
#SwiftUI #iOSDev #UI
English

If you ever use Apple's Screen Time API, you'll want to save this tweet.
Error: You can't set intervals < 15 minutes - intervalTooShort.
Solution: I wrote a guide with workarounds, since I couldn't find any online.
Link🔗: killlilwinters.medium.com/overcoming-mon…
#iOSDev #Swift #ScreenTimeAPI

English

🗓️ A few months ago I discovered Swift’s hidden gem: pattern matching with if case & guard case.
💡 It’s now my go-to for enums when a full switch is overkill - shorter, cleaner, more focused code.
#Swift #iOSDev #SwiftLang #CodeTips #MobileDev



English

Swift tip ⚡️
Mixing lazy with @Observable? You’ll hit:
❌'lazy' cannot be used on a computed property
👉 Fix: mark it with @ObservationIgnored.
Your lazy stays lazy.
#Swift #iOSDev #SwiftUI

English

Need a notification SwiftData doesn’t offer?
Sometimes you can use the CoreData equivalent.
✅ NSPersistentStoreRemoteChange.
⚠️ NSManagedObjectContextObjectsDidChange (infinite loop).
Always prefer ModelContext.willSave / ModelContext.didSave.
#SwiftData #SwiftLang #iOSDev #dev

English

💥SwiftData looks simple — until your UI hangs.
I dove into @ModelActor, concurrency, NSManagedObjectContext, and why most tutorials don’t scale.
Compiled what I found into a single post 👇
📝 killlilwinters.medium.com/taking-swiftda…
#SwiftData #iOSDev #SwiftUI #SwiftConcurrency #SwiftLang
English

I came across this one recently...
SwiftUI TabView beyond safeArea causing layout bugs?
Observed fix:
A subtle background (e.g., .red.opacity(0.001)) can help keep elements in place.
Color.clear didn't work in tests.
Forum: #840153022" target="_blank" rel="nofollow noopener">developer.apple.com/forums/thread/…
#SwiftUI #iOSDev #SwiftLang

English

For people just starting in #100DaysOfSwiftUI:
It is crazy to think how not that long ago I was taking my first steps in #iOSDevelopment with Paul's #tutorials — and today I’ve just made my first open-source #contribution to his latest #app!
JUST KEEP ON #LEARNING!!!

English

Turns out you can actually attach the .animation modifier to a Binding value directly in #SwiftUI!
Definitely haven't seen that before.
We usually expect such modifiers to be available on Views.
And it also works everywhere, on any Binding!
#iosdev #SwiftLang #iOSProgramming

English

The code in the screenshot is overly simplified, the full code can be found here:
github.com/killlilwinters…
English

NO, this is better than AttributedString!
Custom HighlightedText in #SwiftUI, and it even supports animations!
Already implemented this in my TextSummarizer
For anyone interested:
View:
github.com/killlilwinters…
Summarizer:
github.com/killlilwinters…
#iosdev #Design #SwiftLang

English

Fine, it won't hurt to start dipping my toes into #algorithms, today is the Binary Search day!
Something I might not need in the future, but you never know...
#LeetCode #SwiftLang

English

My first Hard #LeetCode problem (Text Justification), but it felt like Easy++
I work with #documents daily, so this #challenge had real value—and made it 1000× more fun!
Still I am no guru, I tend to skip on algorithms, since learning frameworks is more valuable to me right now

English

Dynamic Island-inspired alert in #SwiftUI
Been working on it for the past days
It taught me that understanding of GCD or asynchronous programming in general is not only for big and complex tasks
Code if anyone is interested:
github.com/killlilwinters…
#iosdev #SwiftLang #Design
English

Not going to lie, even though this question is marked as "easy" I am incredibly proud to be able to come up with a solution that looks sooo Swiftly.
So happy it does not nest tens of if-statements to account for the edge cases!
True art...
#LeetCode #SwiftLang #iosdev

English

Starting to understand the #Combine #framework and #ReactiveProgramming in general...
Yesterday I updated #StorifyQR to feature reactive #updates upon the #database's CRUD operations.
So today I made a separate feature-project to showcase this approach.
github.com/killlilwinters…
English

I'm designing my future #Memoria app in #Figma while testing #UI components separately in a SwiftUI prototype project. 📲
I feel like this separation is an effective way to handle workflow for now. Lets me focus on UI with no ties to logic.
#iOSDevelopment #SwiftUI #SwiftLang
English



