r/macosprogramming • u/embirico • Jun 22 '23
r/macosprogramming • u/Literator22 • Jun 07 '23
macOS Sonoma 14 Beta Release Notes and API changes
r/macosprogramming • u/ternaryop • Apr 29 '23
Which technology (XIB, Storyboard, SwiftUI) use for my next app?
Finally I can switch from Objective-C + XIB to some new technology, the legacy macOS app I maintained has been stopped
Swift obviously is the chosen language but I need to study how to build UI, is SwiftUI for Mac apps a valid option? Should I stay on XIB and constraint layout, I really hate Auto layout!!
The new app I will write will use tabs and every tab will contain three NSOutlineView side by side
I'm familiar with the term NSOutlineView, I don't know how it's called on SwiftUI or Storyboard
Any hints?
r/macosprogramming • u/zugbo_interactive • Apr 08 '23
MAC OS - System related programming
Hi All,We have a couple of Desktop softwares that were written in Win32 C++ that we are planning to port to a native Mac OS desktop application. We have a clients requesting for it so there is a need.The thing is, these software kind of accessed things beyond or outside its own application and deals with the actual OS interface itself.Imagine a windows application, running in the background with an icon in the system tray, but for some time it wakes up and clicks some buttons on a separate window and also clicks on a text box and "types" items to it.We did it easily in windows as using their native Win32 exposed a lot of things like I can control the mouse and can sendkeys to the OS itself.
Is this possible in Mac OS and if so, what things do we need to check/study to get this, what are the key words we need to search to point us to the right direction? Thank you in advance.
PS. We are aware of the security risk of this, that is why we ask if its possible in Mac OS (as it can be done in Windows), and these software we have needs to be provided the right access to run.
r/macosprogramming • u/haribou • Mar 15 '23
XPC Services: How and when to use them in your app
r/macosprogramming • u/[deleted] • Jul 28 '22
Trying to add HomeKit capabilities to a new macOS app only to realize there are only three options in the list now? Where'd everything go?
r/macosprogramming • u/Junior-Arm6219 • Apr 13 '22
Issues with Mac M1 C library
Hi everyone, I have a little problem
I trying to install a software what need to use the mathematical library "libm.a", but the problem here is that the libm.a is not found. Here's my output when y use find in the terminal:
"% find libm.a
find: libm.a: No such file or directory"
I have a Mac M1, but I don't know if my Mac version is the problem. I want to install this library manually but I don't know neither
r/macosprogramming • u/techberg_ • Sep 29 '21
Apple Releases New macOS 12 Monterey Public Beta
r/macosprogramming • u/DavidGamingHDR • Sep 26 '21
Anyone experiencing annoying delays from the App Review process?
self.iosprogrammingr/macosprogramming • u/Literator22 • Aug 25 '21
Apple now letting developers submit Mac beta apps with Xcode 13 ahead of TestFlight for macOS
r/macosprogramming • u/gabevirnig • Dec 15 '20
Retrieve Available Disk Storage
I had this idea for creating a Big Sur widget that simply displays the amount of disk storage I have on my MacBook. I'm very new to programming in SwiftUI, but I've created a widget that displays correctly based off a preset "available storage" value that I enter manually.
What I need to do is somehow retrieve the available disk storage from my mac and assign that to a variable, which I can use to influence the widget. Any ideas on how to do this?

r/macosprogramming • u/danklord1998 • Nov 27 '20
Audio Processing
Hi everyone. I am currently looking to create an equaliser app for macOS. What I want it to do is to become the main sounds source through which all of the computer's audio is passed through. The app does some filtering of the sound and then plays it.
I'm currently lost as to where to look and which frameworks or kits to use to achieve this sort of thing. Any advice is much appreciated.
r/macosprogramming • u/Hamediggity • Nov 14 '20
Big Sur - OAuth flow opening two instances of Safari, anyone else?
r/macosprogramming • u/Literator22 • Nov 06 '20
Xcode 12.2 and macOS Big Sur 11.0.1 Release Candidates are now available to download
r/macosprogramming • u/Alexis-Bridoux • Oct 05 '20
Working with "Swifty" NSNotification
r/macosprogramming • u/CoolAppz • Aug 29 '19
What is the blessed way to create a trial app?
I am trying to create a trial app for macOS.
As far as I have researched, they say that I have to create a subscription mode macOS app and for that matter I have to create an inApp purchase, subscription type, with a period of free use.
Ok, I do that. I create, for example, an inapp purchase of type subscription with a 7 day free period, that will charge users after that, but this is the problem.
The user downloads the app from the app store and does not click to subscribe. What do I do?
It appears strange to me to block the app, as soon as it is downloaded, with the message "click here to purchase the subscription and start the trial period".
What is the correct way to do that for apps distributed through the App Store?
r/macosprogramming • u/asquidfarts • May 16 '19
Code::Blocks needs mac programmers.
Code::Blocks 17.12 for Mac is currently not available due to the lack of Mac developers, or developers that own a Mac. We could use an extra Mac developer (or two) to work on Mac compatibility issues.
Here is the link if you are interested in helping Code::Blocks.
r/macosprogramming • u/tzippy84 • Oct 10 '18
Photos "Extension" programming?
hello!
I was wondering if the Photos.app in macOS allows for "extension" development?
I'm thinking of a special kind of extension that allows me to select a bunch of photos of which some have GPS tags and some have not. Then it goes through all of the photos that don't have GPS info and searches for a photo with GPS info that's taken within a 30 minutes timeframe around the first photo. The GPS info is then copied to the first photo.
Its for when I take photos with my DSLR (that doesn't have GPS) and my iPhone. And specifically its for all the old photos in my library that I don't want to tag manually.
I'm not even sure if "extension" is the right term. I was just wondering if the photos app offers such an API.
Thanks!
r/macosprogramming • u/matenek • 9d ago
StarPulse – native SwiftUI menu bar monitor for Starlink (free, open source, 2.2 MB)
Hi all. I'm the developer of StarPulse, a native macOS (Swift/SwiftUI) menu bar app for Starlink. It reads your dish and router over your local network.
It's inspired by and partly ported from Dishylink by DaveyHert (MIT), an Electron/React app for macOS, Windows and browsers. I rebuilt it fully in Swift (2.2 MB, no third-party dependencies) and added:
Content filtering like the Starlink app (No filtering / Malware / Malware and adult), switchable from the menu bar
3D alignment view with "turn X° clockwise / tilt toward the sky" steps
Peak and average throughput for today, 7 days, this month, 30 days
Speed test that says whether it actually ran over Starlink, plus a bufferbloat grade
WAN IPv4/IPv6, device pause and resume, schedules and DNS rules, 3D obstruction dome with time-lapse, live satellites
Monitoring needs no account; pause, filters and rules need your Starlink sign-in. It's unofficial, not affiliated with SpaceX, and not notarized yet (the README explains how to open it). Feedback is welcome, especially from people with other kits:
https://github.com/paulo-amaral/starlink-macos-menubar
r/macosprogramming • u/smcroissant • 12d ago
[Open Source] Puerto — A tiny macOS menu bar app to see and close processes using your ports
Hey everyone!

I vibe coded Puerto, a small native macOS menu bar utility that lets you see which TCP ports are currently listening on your machine and close the processes using them with a single click.
As a developer, I often have multiple local servers running (Node.js, Vite, Docker, databases, etc.). Sometimes I forget to stop one, and the next time I start a server, I run into the classic EADDRINUSE error.
I wanted a simpler way to manage this without constantly switching to the terminal.
What it does
Shows your open TCP listening ports directly in the macOS menu bar.
Shows the process name and port for each entry.
Lets you close a process directly from the menu.
Automatically refreshes port information.
Filters out many common macOS system processes.
Supports launching automatically at login.
Includes an in-app update checker.
Safety
Puerto only manages processes owned by your user account. When closing a process, it sends SIGTERM first and escalates to SIGKILL if needed.
Built with
It's a native macOS app written in Swift, using lsof to discover listening ports and Apple's native menu bar APIs.
It's open source under the MIT license.
GitHub: https://github.com/croissantsam/puerto
Install with Homebrew:
brew tap croissantsam/tap
brew trust --cask croissantsam/tap/puerto
brew install --cask puertor/macosprogramming • u/Shoddy-Budget-491 • 15d ago
SmoothWheel: open-source mouse-wheel smoothing in Swift and AppKit
New in 0.4.0: saved scrolling presets. You can save scroll speed, smoothing, and wheel direction under a name, then switch between setups from the preset picker. Release notes
I’m the developer of SmoothWheel, a free, MIT-licensed menu-bar utility for smoothing third-party mouse wheels on macOS. I started it because I wanted my Razer mouse to feel more comfortable on a Mac.
It supports vertical and horizontal scrolling, three presets, separate speed and smoothing controls, reverse direction, per-app exclusions, and holding Option to bypass smoothing. Continuous trackpad events pass through unchanged. There’s a built-in playground for trying the settings.
The app is built with Swift and AppKit, with no third-party runtime dependencies, account, app analytics, or network requests.
Version 0.3.17 improved scrolling behavior and app exclusions.
Website: https://smoothwheel.vercel.app/
Source: https://github.com/AntonMazur/SmoothWheel
The current download is for Apple Silicon and targets macOS 13+. Accessibility permission is required.
I’d welcome feedback on the scrolling experience and reports from other mouse models.
r/macosprogramming • u/aref9 • Oct 28 '26
NTFS on mac
created an app to make ntfs work on mac, without any GUI and anything extra, just the ntfs on your files like it was always there!
it's free and open-source and built on C
r/macosprogramming • u/AgitatedCondition386 • Oct 11 '26
KezboardSwitcher - Automatic keyboard layout switching for macOS
For the past three months, I’ve been offering my KezboardSwitcher for sale on my website. Interest was virtually non-existent :)—which is totally fine by me; it’s a very specific use case, and the price might have been a bit too high for such a simple app.
That’s why I decided to release the source code. I’ve been using the app myself for nearly three years now. At first, it was nothing more than a few lines of Swift code with all my keyboards and layouts hard-coded.
Then, about six months ago, I decided to give it a shot and turn it into a proper app with a UI and everything, allowing anyone to configure keyboards and layouts directly via a simple interface. And so, here comes the AI disclaimer: Yep, I built this using Claude Code.
But what does it actually do, and why did I need it?
I regularly use various keyboards, depending on where and what I work and do. I got tired of manually switching the system-wide keyboard layout every time I switched from a German keyboard to a US one. Likewise, I prefer the US layout for coding, but when writing—especially in German—I prefer the German layout;
I actually switch physical keyboards for this (using the internal German keyboard on my Mac and usually an external US one).
That’s exactly where KeyboardSwitcher helps me out: as soon as I use a keyboard, it applies the layout configured for that specific keyboard.
The app is still for sale on my website, and the entire license key handling logic remains in the code—and will stay there. However, anyone who wants to can simply strip that out and build the app themselves or just buy it from me. :)
Link to repo: https://github.com/SteVio89/KezboardSwitcher