Created
September 30, 2015 22:15
-
-
Save buffpojken/987b7baab8b3d178d12a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def find_button(st) | |
st.frame = {l: 20, t: 116, w: (device.width-40), h: 32} | |
find(st.view).children(:navigation_button_label).data("Find") | |
find(st.view).children(:navigation_button_icon).data(UIImage.imageNamed('shared/find_icon.png')) | |
end | |
def collection_button(st) | |
st.frame = {l: 20, t: 187, w: (device.width-40), h: 32} | |
find(st.view).children(:navigation_button_label).data("Monkey") | |
find(st.view).children(:navigation_button_icon).data(UIImage.imageNamed('shared/collection_icon.png')) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment