relocate instruction in comments

This commit is contained in:
Chris Lerum
2015-03-04 14:23:13 -05:00
parent 00c24970ad
commit 167da5d460
2 changed files with 4 additions and 4 deletions

View File

@@ -54,8 +54,6 @@ class <%= @name_camel_case %>Screen < UITableViewController
cell
end
# Remove the following if you're only using portrait
# You don't have to reapply styles to all UIViews, if you want to optimize, another way to do it
# is tag the views you need to restyle in your stylesheet, then only reapply the tagged views, like so:
# def logo(st)
@@ -67,6 +65,8 @@ class <%= @name_camel_case %>Screen < UITableViewController
#
# Then in will_animate_rotate
# find(:reapply_style).reapply_styles#
# Remove the following if you're only using portrait
def will_animate_rotate(orientation, duration)
reapply_styles
end

View File

@@ -10,8 +10,6 @@ class <%= @name_camel_case %>Screen < PM::<%= @screen_base %>
end
<% end %>
# Remove the following if you're only using portrait
# You don't have to reapply styles to all UIViews, if you want to optimize, another way to do it
# is tag the views you need to restyle in your stylesheet, then only reapply the tagged views, like so:
# def logo(st)
@@ -23,6 +21,8 @@ class <%= @name_camel_case %>Screen < PM::<%= @screen_base %>
#
# Then in will_animate_rotate
# find(:reapply_style).reapply_styles#
# Remove the following if you're only using portrait
def will_animate_rotate(orientation, duration)
reapply_styles
end