Cross-platform Cordova App Development with Merges is a good primer on using the merge feature in the Cordova CLI.
If your apps are using a version of Cordova iOS less than 4.0, you’ll want to pay attention to this, and upgrade as appropriate: CVE announcements for Cordova iOS.
Cascading Style Sheets
- A List Apart just published an interesting article entitled “Meaningful CSS: Style like you mean it“. One of the takeaways is using attributes in selectors. As great as this may be (I quite like it), it’s also important to mention that attribute selectors aren’t exactly fast. On desktop machines, that’s no big deal, but on slower mobile devices, it might become a very large deal. Real-life example: an app was taking ~100ms to do style calculations on a (slower) Android tablet. The CSS selectors were full of attributes. By switching to classes, however, that same tablet could do the style calculation in 25 to 50 milliseconds, or between a 2-4x speed-up. Note that just because this was so on my app doesn’t mean it would be so on your app. A lot of other optimizations can be applied before worrying about CSS selectors.
Fontea is a new plugin for Photoshop that provides access to Google’s collection of web fonts. Free to use, and Sketch support is said to be coming. I’m definitely downloading this!
Speaking of fonts and typography, Tim Brown has released the Pocket Guide to Combining Typefaces as a free download. Go get!
Mac OS X
- Today I learned: you can customize your Mac’s hard drive icons. How cool is that?
- Apropos given my upcoming flight to Amsterdam: I fly 747s for a living. Here are the amazing things I see every day. (via The Loop. I don’t much like the parts of flying that involve airports, but once in the air, I’m in awe of our planet.