iOS UI Automation Cheatsheet

I have just learned about Apple's UI Automation testing framework. Unfortunately, I don't have an iOS project to work on at the moment, so I am probably going to forget all about it. This is my cheatsheet. It may not help you at all.




  • Use the Tuneup library:
  • Assign an accessibilityIdentifier to each UI element.
  • Set UIATarget.onAlert to handle externally generated alerts.
  • Use UIAElement.logElementTree() to figure out how to navigate the visual hierarchy.
  • If a value doesn't change when expected, try adding UIATarget.delay(1);

Node.js Cheatsheet

I am learning about node.js. This is my cheatsheet. It may not be useful to you at all.

Also see My JavaScript Cheatsheet.

Entity Framework Cheatsheet

This is my cheatsheet for using Microsoft's Entity Framework API.

(The existence of this page should not be taken as an endorsement of Entity Framework. It's not something you should learn more about if you don't have to. It's just another complicated ORM framework with its own quirks and annoyances.)

Bash Scripting Cheatsheet

These are the half-dozen-or-so things I need to re-learn whenever I have to write a Bash script.

(And yes, I do know that the cool kids use zsh or fish instead of bash. You don't need to point that out to me.)

Good Online Resources


My Python Cheatsheet

Here's another programming-language cheatsheet. It's been a couple of years since I've done any Python programming, and now I'm taking the online CS373: Programming a Robotic Car course, which uses Python for quizzes and homework assignments, so I have to get back up to speed.

As always, this is the information I've found useful in reacquainting myself with a programming language. It may not help you at all.

My Android Development Cheatsheet

If I had my druthers, I'd spend all my time developing mobile apps. I've always been fascinated with pocket-sized computers, and have owned many through the years. Unfortunately, for most of my life such devices have been little more than toys, and so I've had to focus my expertise on writing code for "real computers".

This is true even now, during the explosion of smartphone and tablet usage. I'm one of those dinosaurs who knows how to use C, C++, MFC, ATL, CORBA, UNIX, and other ancient magic, so there are sometimes a few months of old-school development between mobile-development gigs. I write iOS stuff for fun, so I keep those skills sharp, but Android is something I touch only when I'm being paid to do so. Thus, I have to find a way to quickly get back up to speed when the Android work does come.

This is my little refresher for when I arrive back in Android-land. It may not help you at all.

My JavaScript Cheatsheet

A couple of times per year, I have to work on something that requires me to write some JavaScript. Because I do it so rarely, I always have to reacquaint myself with the language by skimming through JavaScript: The Good Parts and finding some good online reference documentation.

In an effort to reduce the time needed to do this next time, I'm recording the little things that I ran across that I didn't remember or wished I could have found faster. So this is my own personal refresher for JavaScript. It may not help you at all.

Also see my Node.js Cheatsheet.

Reference Links

Syndicate content