Iván

@ivancr
114 Followers
217 Following
185 Posts
iOS Engineer at  | Founder of Swift Miami
Websiteivancr.com
Wrote a swift package this weekend! Here’s how to create a great app data layer: https://github.com/ChrisLaganiere/MoreData
GitHub - ChrisLaganiere/MoreData: Helpers for integrating Core Data with a modern app, using Swift enums, Combine publishers, and structured concurrency.

Helpers for integrating Core Data with a modern app, using Swift enums, Combine publishers, and structured concurrency. - ChrisLaganiere/MoreData

GitHub

Sometimes you need a random value in a range but with some sort of bias; for example you might want values near the range's bounds to be picked more often.

If you combine some standard library stuff with SwiftUI's `UnitCurve`, you don't even need math :)

#iOSdev #SwiftLang #SwiftUI

I don't know who designed this, but I love you
What's new in SwiftUI for iOS 18? I've written articles covering all the changes, big and small, and there's 30+ new Xcode projects of sample code ready to try! https://www.hackingwithswift.com/articles/270/whats-new-in-swiftui-for-ios-18
What’s new in SwiftUI for iOS 18

We got new API for colors and gradients, more scrollview improvements, tab improvements, and more.

Hacking with Swift
One more thing conference has been a big disappointment in many ways. I regret buying the $500 ticket.
Nice easter egg on Phil’s cockpit dash… well done.
Let’s do this! #wwdc
While a quick fix would be to apply a combination of the .plain Button Style and the .tint Foreground Style, I recommend implementing a custom ButtonStyle that responds to the .accessibilityShowButtonShapes Environment Value as needed.
Fun fact about the M4 iPad Pro: it’s the first device to support and use Apple's new Secure Indicator Light (SIL) mechanism. When using the microphone or camera, the corresponding indicator dot is effectively rendered in hardware (using the display), making it a lot less likely that any malware or user space app would be able to access those sensors without the user’s knowledge.