-
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);…
-
Hiding the inputAccessoryView of a UIWebView
UIWebView is a workhorse of a view. You can use it to display web pages, of course, but you can also use it to display locally-generated rich content. I was recently using UIWebView and the contentEditable attribute to implement a text field that allows inline images, etc. The fact that I’m using a web view,…
-
Detecting backspace in a UITextField
I recently had need for a token field for iOS while implementing a “To:” field like the one in Mail.app. I ran into a problem, though. The token field consists of a label, some number of tokens, and a borderless UITextField at the end where the user can enter text for the next token. It looks…