Category: Uncategorized
-
NSScrollView and Autolayout
So, you’ve got an NSScrollView, and you want to add some content that is sized via auto layout constraints. Perhaps you found the “Auto Layout by Example” documentation in the Mac developer library, and discovered that though it contains a section titled Using Scroll Views with Auto Layout, the example is actually for UIScrollView, not NSScrollView.…
-
Mormon Questions: Temples
A couple weeks ago, my brother was married in the temple in Bountiful, Utah. Temples are an important part of my beliefs as a member of the Church of Jesus Christ of Latter-Day Saints, so I thought I’d take some time to explain what they’re about and answer some common questions. First, though, a brief…
-
WWDC 2014 Wishlist
WWDC 2014 starts one week from today, so I guess that means it’s time for some predictions. It’s almost certain Apple will be introducing OS X 10.10 and iOS 8, which means new features, new APIs, and lots and lots of “To Be Announced” sessions. Last year, 64 of 97 sessions (65%) were marked “To…
-
Mormon Questions: Mistaken Revelation
Mormons1 believe that we learn truth not only through scripture, but also through direct personal revelation from God. This is essential to our religion. Missionaries invite the people to seek divine confirmation that their message is true from the very first meeting. We teach the importance of personal revelation in Sunday School and in youth…
-
Death and Resurrection
Today is Easter. Let’s talk about it. Nearly a year ago, my grandfather passed away. It was not unexpected—he’d been in pain and mostly unable to move out of his chair for months. He frequently said that he was ready to die, but just didn’t know how. When the time finally came, we were relieved…
-
Mormon Questions: Why THIS church?
I’m a member of the Church of Jesus Christ of Latter-Day Saints. That’s a long name, so in the interest of efficient communication most people just call us Mormons1. Last weekend was the church’s semi-annual General Conference. It consists of five 2-hour sessions, each broadcast to church meetinghouses worldwide and streamed live on the internet. Speakers…
-
Will code for Obduction pledges
Cyan, the company behind Myst and Riven, is creating a new game. It’s in the same style as their previous games, but in a new world, with a new storyline, and in full 3D. It’s called Obduction, and it looks amazing. I want this game. I grew up playing the original Myst series, and I’d…
-
Anticipating WWDC 2013
WWDC 2013 is a little over a week away. We already know a few things; iOS 7 and OS X 10.9 will be unveiled, and iOS will be getting a visual overhaul. Here’s what I’m anticipating. iOS 7 Updated design. Better inter-app integration. This will probably be based on the Remote View Controller technology used…
-
What AppleTV could be
People have been hoping for an App Store for AppleTV for a while. Every year before WWDC, we hear rumors of what might be happening on that platform. I want to talk about what it could be. Rumors about a Apple TV set talk about an app store for the platform. But if the new TV…
-
Javascript variable capture for Objective-C developers
I’ve been doing a lot of work with Javascript in web views lately. I’m a total Javascript beginner, but something just clicked, so I thought I’d share. In Javascript, you’ll often see things like this: for (var i=0; i<5; ++i) { var someString = strings[i]; button.onclick = (function (str) { return function (event) { alert(str);…