Archive for the ‘iPhone/iPad/iOS’ Category

Xcode 7 UI Testing: A Little Adventure

Sunday, October 4th, 2015

One of the big features announced for developers at this year’s WWDC event was automated UI testing. This is something I think all developers should be doing in some capacity, whether with Apple’s tool or something else.

In iOS land, we’ve been able to do this for a while with the Automation instrument. But the tests were in JavaScript (not Objective-C or Swift), and had to be executed separately from normal unit tests.

I was excited to see that Xcode 7 would include a test recorder that could generate test code in the same language as my app. I just got done kicking the tires (better late than never), and the results were… mixed. I want to record my results here while they’re fresh in my mind in case anybody else runs into the same issues I did (including my future self). (more…)

Holy crap, iOS 5 finally lets you customize sounds!

Monday, October 17th, 2011

I used to customize all the sounds on my Windows Mobile phone (I feel dirty just saying I had one of those) back around ~2006, and I’ve always wished the iPhone would let me do it. It took a few years, but it finally happened. I’m surprised I haven’t seen this new feature mentioned anywhere.

There has always been an option to customize sounds, but it’s always sucked… until now. iOS 4 and below only let you turn a lot of the alert sounds on and off, but iOS 5 lets you customize each sound:

iOS 4: Lame

iOS 5: Yaaaaaay!

And on top of that, you’re not limited to the built-in alert sounds! You can finally use any ringtone for any alert sound, whether you purchased it from iTunes or made it yourself for free.  For example, I’m using a Saw ringtone to celebrate Halloween.

If you’ll excuse me, I’m off to download some free video game ringtones.

(Edit: I almost forgot to mention you can edit any contact and set their individual text sound as well.)

iPhone fixes

Monday, October 17th, 2011

Over the weekend, I upgraded from an iPhone 4 on AT&T to an iPhone 4S on Verizon.  For the most part, I’ve been happy with it.  But I did have to fix a couple problems.  Here are the problems I had, and the solutions I found.

(more…)