The past month or so I’ve reviewed a lot of code, and one issue is cropping up all the time: too much use of @property
Suppose we have the class AlbumViewController that extends UIViewController, and is used to display information about a music album. In the view, we want to display a title, and some artwork. So we make our storyboard, and ...
Dear Friends, Followers, and random people of the internet,
Christina and I are expecting, and we just found out yesterday: it's going to be a boy! The doctors think he'll arrive December 27th, we expect him to be a bit early.
We've been through all ...
My camera marks HDR images quite clearly: They are a sequence of images, where the first second one and third one are equally many stops removed from the first one, and they're usually within a couple of seconds from one-another, with all other settings the same. That sounds like something that should be easy to stack in the import-process, right? ...
Today I needed to work with an alertview, so here are two steps for pressing them:
`Given /^I press alert button (\d+)$/ do |index|
touch("view:'UIAlertButton'")[index]
end
Given /^I press alert button named "([^"]*)"$/ do |text|
touch("view:'UIAlertButton' label text:'#{text}'")
end
`
As promised, here are my reusable Calabash steps. Now, some of these are probably more inspirational than reusable (or ignorable, if you like ), but this is ALL the steps I use SO FAR apart from the standard steps. Like I said before, there are so many great steps ...