Emptying Caches When macOS Reports Memory Pressure
NSCache evicts entries on its own when memory gets tight, but a plain Swift dictionary keeps everything until you clear it. Read more of Emptying Caches When macOS Reports Memory Pressure →
My name is Jake Marsh. Inventor 💡 Founder 👨🏻💻 Creator 👨🎤 Writer ✍🏻 Lifeform 👽
Apple news, events, the App Store and guesses about what Apple does next. 36 posts.
NSCache evicts entries on its own when memory gets tight, but a plain Swift dictionary keeps everything until you clear it. Read more of Emptying Caches When macOS Reports Memory Pressure →
Postage, my Mac email client, keeps two SQLite databases. emails.db is a cache of mail that can always be downloaded again, and rules.db holds data that exists nowhere else. Read more of SQLite's synchronous = NORMAL, And When Not To Use It →
Every Mac app I sell from my own site goes out the same way. It’s signed with Developer ID, notarized, stapled, put in a DMG, and then the DMG gets signed, notarized and stapled too. The steps are well known. The order is where people get bitten, along with which file each step applies to. Read more of Notarizing And Stapling A Mac App For Direct Download →
Battery health on a Mac lives in the AppleSmartBattery entry in the I/O Registry. System Information shows numbers from it, and so does the battery meter in Multimeter, which is where I ran into this. Read more of Reading Mac Battery Health From IOKit →
Most of my Mac apps live in the menu bar. Shake It On, Multimeter and Refrain all set LSUIElement to YES in their Info.plist, so there’s no Dock icon and no app menu, only a status item. Read more of Menu Bar App Windows That Open Behind Everything →
Multimeter can show your Mac’s fan speed. There’s no public API for that, so it asks the System Management Controller through IOKit: open the AppleSMC service, then call IOConnectCallStructMethod with a struct going in and the same kind of struct coming back. Read more of Swift Tuples Drop Their Tail Padding →
Multimeter puts one status item in the menu bar for each meter you add. In its Settings window you can drag meters into whatever order you like, and the menu bar is supposed to follow. That turned out to need a small trick, because AppKit gives you no way to move a status item once it exists. Read more of Ordering Menu Bar Status Items When AppKit Won't Let You →
As I write this, you can’t pick up an iPhone Duo at any of the 12 Apple Stores nearest New York, Dallas or San Francisco. Every one of the eight configurations says “Currently unavailable” at every store. When units do turn up, the trick is noticing before they’re gone. Read more of Let Your Agent Watch Apple Store Pickup For You →
Right now, in the top right corner of my Mac, there’s a little cream-colored panel meter with a needle bouncing along with my CPU. Read more of Multimeter, Live Meters For Anything In The Mac Menu Bar →
Every Mac app I make now ships two ways from the same code. There’s a direct build that I sell on the app’s own website, signed with Developer ID, notarized, packed in a DMG and kept up to date with Sparkle. There’s also a Mac App Store build. Read more of Selling A Mac App Directly And On The Mac App Store →
Every few days the music on my Mac starts crackling. Pops, little dropouts, sometimes a robotic buzz over everything. The fix has always been the same: open Terminal, type sudo killall coreaudiod, type my password, and wait a second for sound to come back. Read more of AudioKick, One Click To Fix Crackling Mac Audio →
I type a lot of the same things over and over. My mailing address, a “thanks, got it, I’ll take a look” reply for support email, the git command I can never remember for undoing the last commit, a meeting link, a prompt I like for proofreading. Read more of Refrain, A Snippets App For The Mac →
The cursor motion in Shake It On is one of those details I’m probably a little too proud of. Most mouse jigglers move the pointer a few pixels one way, then back. It works, but it looks like a glitch, and if you’re looking at the screen when it happens it’s a little jarring. Read more of How Shake It On Moves Your Cursor →
I made a little Mac app called Shake It On. It lives in your menu bar and keeps your Mac awake by giving the cursor a tiny, gentle shake every so often, the same way you’d nudge the mouse with your hand. That sounds like a solved problem, and in a lot of ways it is. Read more of Shake It On →
Today on Twitter, some clever sleuths discovered some interesting info tucked away in the latest WebKit source code. Specifically, references to iOS 9 and OS X 10.11 were found. Read more of Some Interesting Hints About iOS 9 →
Looks like it’s finally happening. The subscription will allegedly cost $30-$40 month, which is a tad pricer than Sling TV’s core $20 package. Read more of Apple TV Service Coming in June →
Today’s release of WatchKit definitely had a few developers scratching their heads. While on the one hand, many of us weren’t expecting as many different integrations points as we got in this first release, the APIs that were announced certainly leave a bit to be desired. Read more of Confirmed: Apple Watch Runs iOS →
Apple: WatchKit apps have two parts: A WatchKit extension that runs on iPhone and a set of user interface resources that are installed on Apple Watch. Read more of Apple Releases First Beta of WatchKit →
Chris Lattner on the Apple Dev Forums: We care a lot about the pain that is affecting you now, and Xcode 6.1.1 available now as a GM Seed should address the worst of the SourceKit, DerivedData and module cache issues (among other bugs). Read more of Apple Releases Xcode 6.1.1 GM →
Sarah Perez at TechCrunch: But now we’re hearing that Apple is changing its course. The PCalc app and widget will remain in the App Store, and all calculator-type widgets will be allowed as well, an Apple spokesperson has confirmed to us. Well, that was fast. Read more of Apple No Longer Rejecting Calculator Widgets From The App Store →
Federico Viticci at MacStories: Curious app rejections aren’t new to the App Store, but being forced to remove a feature that was approved, featured by the App Store team, and appreciated by thousands of users is a different story. Read more of Apple Asks PCalc Developer to Remove iOS 8 Widget →
Today Apple’s App Store support page updated to reflect the latest iOS 8 adoption numbers: After 41 days in the wild, iOS 8 adoption has slowed a bit and is now sitting between 52-54%. As of today, Apple says 52%, and Mixpanel has it at about 54%. Last year, iOS 7 was at around 75% by this time. Read more of How Can Apple Improve iOS 8 Adoption? →
Nilay Patel at The Verge: This is a wonky legal tweak — Wheeler just wants to expand the definition of “multichannel video programming distributor” so that it’s not specifically tied to cable and satellite companies — but it will have huge effects. Read more of "Multichannel Video Programming Distributors" →
I’ve been a proud owner of the new iPhone 6 Plus for over month now. I love it. It’s easily my favorite device I’ve ever owned. 1 One of my favorite parts about the 6 Plus is the improved landscape support. Read more of Holding it Wrong: A Landscape Lock Screen →
We’ve been driving towards a contact-less payment system for decades. Almost everyone in our industry has taken a run at it and most all have come up short, until now. Read more of CVS Disables Apple Pay →
The hype is at an all time high the night before this event. This is a quick post to round up and list off what I’m expecting to see tomorrow morning. Read more of Apple Fall 2014 Event Predictions →
I’ve compiled some thoughts about both what I’d like to see out of next week’s WWDC keynote, as well as what I think is plausible, likely, and definite. TestFlight + Apple In our fast-paced world, this seems like it happened a long time ago. Read more of WWDC 2014 Wishlist and Predictions →
Finally. Read more of Apple Buys Testflight →
I have a theory (truthfully a wish) for the explanation behind why Apple’s iOS 6 beta seems to be excluding support for browsing and downloading podcasts within the built-in iTunes Store app. Read more of The Case of Missing Podcasts in iOS 6 →
Zach Holman does a great job of succinctly describing something that I’ve been having trouble quantifying into words for a while now. Apple commands their words exceedingly well. They aren’t the originator — or even the owner — of their particular voice, but they are the most visible. Read more of The Apple Voice →
Yet another example of details that 99.9% of users would never notice but use constantly. The iPad’s split keyboard has phantom buttons. If you’re used to typing Y with your left hand, you can. Read more of Phantom Buttons on the iPad's Split Keyboard →
This one is sort of a given these days, but appears we now have even stronger evidence that the almost-certainly forthcoming iPad 3 will have a Retina class screen. Read more of iPad Retina Images Found in iTunes U and iBooks 2 Files →
I always find it fun to try to spot all the tiny design differences in Apple’s user interfaces whenever a new update comes out. A blog called Design Archive has put together some comparison shots of iOS 4 and iOS 5 highlighting some of the more fun differences. Read more of Subtle Design Changes in iOS 5 →
Delight is in the details. Subtle hints, humor, metaphor, animation, and beautiful visuals are some of the tools we use give our app character. Fantastic article on the things Apple Design Awards apps do to become so great. Read more of 7 Keys to Unlock an Apple Design Award →
Love seeing stuff like this, really helps illustrate how far the web has come. Read more of How the CSS Animations on Apple's iPhone 4S Page Work →
Let me just say that I’m still rather undecided as to whether or not Apple will in fact bring their own television set to market. I did, however, find it a really fun challenge to try to imagine what a true Apple TV might be a like. Take from it what you will. First off let’s assume a few things. Read more of What If Apple Made a TV? →