Show newer

Did ya'll know that much of the original iPhone design came from Apples knock off of Konfabulator?

At this point I'm convinced Yahoo’s mail servers are stuffed in a cupboard somewhere, untouched from the 90s.

Show thread

I made my first YouTube short, and I'd love to hear what you think! A #SwiftUI tip everyone needs to know: youtube.com/shorts/EDd6Hr_F99o

Babe are you okay? You've barely touched your monolithic if statement

A short story. We once submitted Untitled Goose Game to the Mac App Store. It was rejected by the reviewer because they thought you couldn’t skip the credits. (?!?) We explained that you could skip the credits by holding space. It was then rejected for something else and at that point we just gave up and never bothered to resubmit. Fin

Day 112. With accessibilityRepresentation(representation:), you can create a custom component and it can be perceived by assistive technologies as the view you pass as representation. No need to manually configure accessibility attributes.

It is one of the most interesting additions to SwiftUI to help you develop accessible UI components. If your custom component behaves similarly to a native one, this is the way to go.

developer.apple.com/documentat

#365DaysIOSAccessibility

#accessibility #iOSDev

While talking to developers we get a lot of questions on how to initialize a @StateObject with external values.

Today we update our docs by greatly expanding around all our data flow primitives with special attention to StateObject. You'll find better explanations on how to initialize StateObject with external data and few words around what to pay attention when doing so (developer.apple.com/documentat)

We hope this helps everyone get more clarity and understanding on how to work with SwiftUI.

The final part of the effect is to get the toolbar and page to move together as one. SwiftUI toolbars are anchored to their parent NavigationStack, so are unaffected by any page movements.

The trick here was to implement my own replica toolbar, and embed it in the safe area of the page.

Show thread

Instead, our new PageView container requests views one by one, only as they're needed.

Sometimes an imperative API is what you want 😅

PageView then has platform specific implementations using UIPageViewController and NSPageController, respectively.

You can take a look at the full code here: gist.github.com/phillipcaudell

Show thread

If you're familiar with SwiftUI, you might think it’s a TabView with a page style, but it's not.

TabView needs to know all your views upfront, which if you have lots of messages, is very expensive.

In this example, TabView reevaluates all 1,000 items on each and every swipe 🥴

Show thread

A new interaction in Big Mail is swiping between messages. The message background extends into the UI chrome, and when combined with the device-matched corner radius, creates the illusion of pushing the whole display – satisfying!

🧵 Here's how it's built, along with some code

Hello!

I still need to post an introduction, so here it goes.

I'm Phill, one of those designer/developer types. I quit my VC job a couple of years back to bootstrap my own business, The Not So Big Company (@updates).

I'm working on a fast and modern new mail client called Big Mail. The whole thing is written in Swift and SwiftUI, which has been an experience. 🤓

Launching very soon. In the meantime, enjoy some screenshots!

"In SwiftUI how do I create an angular progress indicator view that animates on change?"

The code straight up compiles when pasted into Xcode. Pretty remarkable.

Show thread
Show older
The Not So Big Company

The home of The Not So Big Company on Mastodon.