Dave Rahardja · @drahardja
1229 followers · 5686 posts · Server sfba.social

Here it is: A comprehensive look at `NSItemProvider`: what it does, how it works, and how to use it properly. I want this to be a one-stop-shop reference for anyone using this class in their projects.

NSItemProvider is a key class in iOS and Mac Catalyst, used in everything from Drag and Drop, to Pasteboard, share sheet, and beyond. Understanding how this class works will help you make better apps and gain insight into what the system does for you.

Please read the post, and send me feedback. Share it with your iOS developer friends. Let me know what you think!

humancode.us/2023/07/08/all-ab

#ios #iosdev #macos #maccatalyst #apple #xcode #swift #objectivec #UIKit #AppKit #programming

Last updated 1 year ago

Nikhil Nigade · @nikhil
166 followers · 1133 posts · Server social.dezinezync.com

Why is the `NSUbiquitousKeyValueStore.didChangeExternallyNotification ` notification only available from `macCatalyst 13.1`?

This makes no sense! That’s one way to sabotage your own technology.

It seems Apple adds/enable new stuff to as the demand rises in their own apps, and break things along the way for other apps, as long as it works correctly for their own 🤦🏽‍♂️

developer.apple.com/documentat

#maccatalyst

Last updated 1 year ago

Dave Rahardja · @drahardja
906 followers · 4277 posts · Server sfba.social

I am so overjoyed that not one, but TWO clients are now available on the , running on .

I worked a TON on Mac Catalyst for over five years until I left last year, in the sincere hope that it would make it easier for authors to write great iOS apps that can also be polished into excellent apps for the Mac. It pleases me to no end that both @ivory and @MonaApp used Catalyst to port their fantastic clients to the Mac, allowing the Mac to become first-class peers of their iOS products.

Congratulations to both apps for achieving this! As an ex-Catalyst plumber, I’m grinning from ear to ear.

#mastodon #mac #maccatalyst #apple

Last updated 1 year ago

Nikhil Nigade · @nikhil
166 followers · 1120 posts · Server social.dezinezync.com

One of the best things about (over ): keyboard navigation comes for free (if you implement things correctly) unlike UIKit which requires me to handle a gazllion things before it can even do half of it correctly

social.dezinezync.com/@elytra/

#appkit #maccatalyst

Last updated 1 year ago

Dave Rahardja · @drahardja
895 followers · 4179 posts · Server sfba.social

Hey devs, did you know YOU TOO can use HelpBooks in your apps, and make your app feel more Mac-ass than ever? It’s true.

HelpBooks are basically web pages that are shown in HelpViewer and integrates with the rest of the Mac help system. While creating HTML pages to populate the HelpBook is easy, packaging them and programmatically jumping to anchors in your book is not.

That’s why I wrote this minimal demo app to show you how to do it. There’s even a convenience class that lets you jump to anchors programmatically.

Now go make your Catalyst apps even more Mac-like!

github.com/dave-humancode/Help

Credit to @marioguzman for documenting the format. Apple’s documentation is really quite poor. You can read his article here: marioaguzman.wordpress.com/202

#maccatalyst

Last updated 1 year ago

Dave Rahardja · @drahardja
852 followers · 4132 posts · Server sfba.social

Have you ever noticed that when you build an iOS app for Mac Catalyst, $PLATFORM_NAME is set to `macosx`?

When Catalyst was being hashed out, there was quite a bit of discussion around whether we were building against the *iOS* SDK on the Mac, or against a *Mac* SDK that happened to know about iOS. As use can guess, the latter worldview prevailed—the iOS SDK is a “variant” of the Mac SDK. This made our builder tools folks happy as well, because the Catalyst SDK would now be built alongside the Mac one, and naturally packaged together, and Catalyst apps and daemons bundled with macOS can now be built together with the rest of the OS.

Xcode, however, seems to continue to insist in its UI that Catalyst apps are actually *iOS* apps that happen to support the Mac.

Which worldview you choose to believe is up to you! I know which one I prefer.

#xcode #maccatalyst #ios #macos #developers #lore

Last updated 1 year ago

NS MIDI Player · @nsmidiplayer
6 followers · 4 posts · Server indieapps.space

NS MIDI Player 2.3.7 is out! This update includes important bug fixes and performance improvements.

apps.nitinseshadri.com/midipla

#iOS #ipados #macos #midi #midiplayer #NSMIDIPlayer #maccatalyst

Last updated 1 year ago

WildCat · @WildCat
164 followers · 291 posts · Server mastodon.world

Apple does not even use for their money-making app

#maccatalyst #AppleMusic

Last updated 2 years ago

WildCat · @WildCat
154 followers · 220 posts · Server mastodon.world
WildCat · @WildCat
154 followers · 213 posts · Server mastodon.world

is pretty a dead technique.

To workaround the Rust build failure due to unknown llvm (Xcode) changes, I have to virtualize an old macOS.

It is like a joke.

#maccatalyst

Last updated 2 years ago

luosheng · @luosheng
229 followers · 176 posts · Server mas.to

Sneak peek of the compose window.

I've always wanted to create a completion window like that and finally I'd say I'm on the way. It's a mixture of AppKit, UIKit and SwiftUI and now I don't want to touch that code again...

#udon #swiftui #maccatalyst

Last updated 2 years ago

WildCat · @WildCat
149 followers · 190 posts · Server mastodon.world

I decided to give up development, totally.

The next Mac app will be Mac native.

github.com/rust-lang/rust/issu

#maccatalyst

Last updated 2 years ago

NS MIDI Player · @nsmidiplayer
3 followers · 2 posts · Server indieapps.space

NS MIDI Player 2.3.6 is available to test! This update includes accessibility improvements and the ability to change the volume of connected MIDI devices. Please note that your MIDI device must support the Master Volume universal system exclusive message for volume control to work.

testflight.apple.com/join/zqAH

If you use VoiceOver, Switch Control, etc., I would appreciate your feedback. Thank you!

#iOS #ipados #macos #midi #midiplayer #NSMIDIPlayer #maccatalyst #a11y #accessibility #swiftui

Last updated 2 years ago

Marquis Kurt · @ubunturox104
18 followers · 239 posts · Server social.vivaldi.net

This is partially why I didn't make a Mac version of yet, even though the original project had a Mac client. Not very Mac-assed.

I'm not considering for this, either, as I've learned it doesn't play that nicely with .

#fedigardens #maccatalyst #swiftui

Last updated 2 years ago

NS MIDI Player · @nsmidiplayer
1 followers · 1 posts · Server indieapps.space

Hello Mastodon world! 🐘

NS MIDI Player is a simple MIDI player for iOS and macOS. Get it today at apps.nitinseshadri.com/midipla

#iOS #macos #midi #smf #midiplayer #soundfont #maccatalyst

Last updated 2 years ago