James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


James Montemagno

Live, Love, Bike, and Code.


Long-running Operations on macOS and iOS with NSProcessInfo

One issue that sometimes comes up in app development is keeping your app alive and running during long running processes. In my case with My Stream Timer [https://www.mystreamtimer.com], when the user starts a timer, it needs to keep running no matter what. My first solution was to simply turn on Screen Saver mode. var appDelegate = ((AppDelegate)NSApplication.SharedApplication.Delegate); appDelegate.MainWindow.Level = NSWindowLevel.ScreenSaver; This solution "works" but has the side effect…

James Montemagno James Montemagno

5 Years of Merge Conflict

It feels like just yesterday that Frank [https://twitter.com/praeclarum]and I were sitting at a bar in Redmond enjoying a nice craft cocktail and talking about the best way to store settings in shared preferences. After chatting with someone for 2 hours about isolated storage how could you not become best friends and start a podcast [https://montemagno.com/so-we-started-a-podcast-merge-conflict/], record 266 episodes, and have such amazing listeners that they have downloaded our podcasts over 1.…

James Montemagno James Montemagno

Setting Up an M1 Mac for Xamarin Development

Who just upgraded their MacBook after 8 years?!?! This guy!!! Let's set it up for mobile development with Xamarin for iOS & Android development in C#. That is right, I finally decided to go all in on an M1 MacBook Air (8-Core GPU, 512GB SSD, 16GB RAM) thanks to the $500 "credit" from participating in the DTK program.  Not only was it time for an upgrade since my machine was 8 years old, but also because this new generation of machines marks a pivotal transition for macOS devices moving to ARM64…

James Montemagno James Montemagno

Code Generation from XAML in Visual Studio is Mind-blowing Awesome

The more and IDE or code editor can do for you the better I say. Visual Studio has been crushing it with new refactorings, IntelliSense, and IntelliCode [https://visualstudio.microsoft.com/services/intellicode/], one of my favorite features ever. One thing that I have always been hoping for as a XAML developer is deeper connectivity between the XAML and the View-Model. We have seen increased IntelliSense in this area, but with the release of Visual Studio 2019 v16.9 [https://devblogs.microsoft.c…

James Montemagno James Montemagno

Cross-Platform In-App Purchases for Xamarin.Mac Apps!

This week, one of my best friends Frank Krueger released his brilliant app iCircuit 3D [https://apps.apple.com/us/app/icircuit-3d/id1539977373] for macOS (he also wrote an awesome blog [https://praeclarum.org/2021/02/08/tech-of-icircuit3d.html] on how it was made). While I know that catalyst support for Xamarin (and .NET MAUI) is coming soon, I still think there are great opportunities to monetize macOS apps written in C# today (see iCircuit 3D!). I released my In-App Billing Plugin [https://gi…

James Montemagno James Montemagno

How-to Integrate Helpful Support Emails in Mobile Apps with Insightful Data & Logs

In the mad rush to finish my most recent app, My Cadence [https://montemagno.com/introducing-my-cadence-for-ios-a-simple-cadence-sensor-display/], I forgot to integrate an essential feature. A feature that enables my users to easily get a hold of me to report issues or request features, which is of course email support. Both Google Play and the App Store enable you to supply a support website and email, however this is a very lack luster experience for both you and your users. For your users the…

James Montemagno James Montemagno

Introducing My Cadence for Arduino, a DIY Cadence Display for Indoor Cycling

It is official, my holiday hacking is officially complete! This past week I started and  launched a brand new app called My Cadence [https://www.mycadence.app] for both iOS [https://montemagno.com/introducing-my-cadence-for-ios-a-simple-cadence-sensor-display/] & Android [https://montemagno.com/my-cadence-now-available-on-android/]. This simple cadence display app is a perfect pair for my recent $400 DIY spin bike [https://montemagno.com/building-an-at-home-diy-spin-bike-for-peloton-apple-fitne…

James Montemagno James Montemagno

Asking for app reviews really works! It just takes 1 line of code!

Last week I launched a new app called My Cadence [https://mycadence.app] for both iOS [https://montemagno.com/introducing-my-cadence-for-ios-a-simple-cadence-sensor-display/] and Android [https://montemagno.com/my-cadence-now-available-on-android/]. Even though it was a quick app that only took me a week or so to build and ship [https://montemagno.com/building-testing-shipping-my-cadence-for-ios-in-less-than-a-week/] , I still followed my checklist of best practices to ensure as much success as…

James Montemagno James Montemagno

I crush code and share it, publish NuGet packages, speak at conferences, upload videos, pretend I am good at playing video games, tweet up a storm, drink gallons of coffee, and ride my bike. Checkout my monthly newsletter that you should subscribe to!