The following article provides an introduction to reading the flame graph in Instruments:
https://swiftdevjournal.com/posts/instruments-flame-graph-intro/
#Xcode
@swiftdevjournal.mastodon.world.ap.brid.gy
I develop Mac and iOS apps (Phel, Bartleby, AM Pages, Rija) in Swift using SwiftUI and AppKit. I also write about app development in Swift at Swift Dev […] [bridged from https://mastodon.world/@swiftdevjournal on the fediverse by https://fed.brid.gy/ ]
The following article provides an introduction to reading the flame graph in Instruments:
https://swiftdevjournal.com/posts/instruments-flame-graph-intro/
#Xcode
Most of the article covers using localizable strings in SwiftUI apps. https://mastodon.social/@jordanmorgan/115424000732860208
23.10.2025 18:36 — 👍 1 🔁 0 💬 0 📌 0The following article provides a nice introduction to Swift enums:
https://bugfender.com/blog/swift-enums/
#Swift
The following article provides some nice examples of creating toolbars in SwiftUI Mac apps:
https://ohanaware.com/swift/macOSToolbarExamples.html
#SwiftUI #MacDev
The following article provides an introduction on supporting rich text editing with SwiftU's TextEditor view:
https://www.createwithswift.com/using-rich-text-in-the-texteditor-with-swiftui/
#SwiftUI
If you're wondering where to find the Library in Xcode 26 so you can access code snippets and storyboard UI elements, choose View > Show Library in Xcode or press Cmd-Shift-L.
#Xcode
Contextmenu https://wesleydegroot.nl/blog/contextmenu #SwiftUI# Contextmenu
14.10.2025 06:00 — 👍 0 🔁 1 💬 0 📌 0The following article shows how to use Instruments to find the slow spots in your app's code:
https://swiftdevjournal.com/posts/cpu-profiler/
#Xcode
The following article shows how to run a command-line program from inside a Mac GUI app:
https://swiftdevjournal.com/running-a-command-line-program-from-a-mac-app/
#MacDev
The following article shows how to support search in a SwiftUI app that uses SwiftData:
https://www.createwithswift.com/performing-search-with-swiftdata-in-a-swiftui-app/
#SwiftData #SwiftUI
Time Profiler instrument tip: click the Self Weight column heading to bring the functions where your app spends the most time to the top of the call tree view.
If you want to learn more about Instruments, check out my book Profiling Swift Apps. You can learn more about the book at the following […]
The following article shows how to open document-like windows using SwiftUI's WindowGroup:
https://swiftdevjournal.com/posts/swiftui-window-group/
#SwiftUI
Are you not sure how to use the flame graph in Instruments? The following article should help you get started with the flame graph:
https://swiftdevjournal.com/posts/instruments-flame-graph-intro/
#Xcode
This looks like an interesting way to make apps for non-Apple platforms using SwiftUI-like syntax. https://techhub.social/@mvniekerk/115286188495170439
29.09.2025 19:44 — 👍 1 🔁 0 💬 0 📌 0The following article shows how to use drag and drop in SwiftUI apps:
https://www.createwithswift.com/implementing-drag-and-drop-with-the-swiftui-modifiers/
#SwiftUI
The following article covers how to show an alert from a menu item in a SwiftUI Mac app:
https://swiftdevjournal.com/posts/show-swiftui-alert-from-mac-menu/
#SwiftUI #MacDev
If you don’t have the time or money for the Swift Virtuoso course, my new book, Profiling Swift Apps, will show you how to use Instruments. Learn more about the book at the following link:
https://swiftdevjournal.com/instruments-book/
#Xcode https://mastodon.social/@jamesdempsey/115265908536970962
I have made my Cocoa intro book free to download. If you ever wanted to make Mac apps with AppKit, this book can help you get started. Download the book at the following link:
https://swiftdevjournal.com/swift-dev-journal-intro-to-cocoa/
#MacDev
@helge The following gist without specifying the maxWidth makes the starting position of the labels depend on the length of the label text:
https://gist.github.com/SwiftDevJournal/265612aff3465baae4808cd3a20f0f69
TIL in SwiftUI: to get text labels in a VStack left-aligned, you have to set the stack's maximum width to infinity. Otherwise the starting position depends on the amount of text shown.
.frame(maxWidth: .infinity, alignment: .leading)
#SwiftUI
If the new SwiftUI instrument in Xcode 26 doesn't show any data after profiling, make sure you stop profiling from Instruments. When I stopped profiling by quitting the app, the SwiftUI instrument showed no data. When I clicked the Stop button in Instruments, the instrument showed data.
#Xcode
Instruments tip: to find your app's largest memory allocations, press Cmd-3 to open the allocations list. Sort the table by size to bring the largest allocations to the top of the table.
If you want to learn more about Instruments, check out my book Profiling Swift Apps. You can learn more […]
The following article shows how to highlight text in a SwiftUI app:
https://alexanderweiss.dev/blog/2024-06-24-using-textrenderer-to-create-highlighted-text
#SwiftUI
The following article shows how to create custom SwiftUI layouts:
https://www.createwithswift.com/creating-custom-layouts-with-swiftui/
#SwiftUI
The following article introduces SwiftUI lazy VStacks:
https://www.createwithswift.com/lazy-loading-views-with-lazyvstack-in-swiftui/
#SwiftUI
The following article talks about a developer's experience making an iOS and Mac app with SwiftUI:
https://elegantchaos.com/2025/09/09/swiftui-action-abstraction.html
#SwiftUI
The following article provides a nice introduction to Swift error handling:
https://bugfender.com/blog/swift-error-handling/
#Swift
This is a reminder that today is the last day the Profiling Swift Apps book launch sale. The sale ends at 11:59 PM (23:59) Eastern time.
Buy book link: https://payhip.com/b/6Z4LG
#Xcode
Just submitted the final beta for LifePace, my new habit tracker.
TestFlight, details & video: https://cdf1982.com/lifepace/lifepace-presskit.html
Really proud of this one: juggling 4 platforms (iPhone, iPad, Mac & Watch) with Shortcuts, Widgets, Complications, Liquid Glass, FoundationModels […]
The following article shows how to use the CPU Profiler instrument to find the slow spots in your app code:
https://swiftdevjournal.com/posts/cpu-profiler/
#Xcode #iOSDev #MacDev