diff --git a/docs/cookbook/available_styles.md b/docs/cookbook/available_styles.md new file mode 100644 index 0000000..7102564 --- /dev/null +++ b/docs/cookbook/available_styles.md @@ -0,0 +1,546 @@ +# A list of styler attributes for each type of view + +_I created this list with this command: `rmq.log_stylers true_` + +## UIViewStyler + +All stylers inherit UIViewStyler, so these are available in any view. + +* background_gradient=(value) +* centered=(value) +* from_right +* from_right=(value) +* right +* right=(value) +* from_bottom +* from_bottom=(value) +* bottom +* bottom=(value) +* height +* height=(value) +* width +* width=(value) +* y +* top +* top=(value) +* x +* left +* left=(value) +* user_interaction_enabled +* user_interaction_enabled=(value) +* shadow_path +* shadow_path=(value) +* shadow_opacity +* shadow_opacity=(value) +* shadow_offset +* shadow_offset=(value) +* shadow_color +* shadow_color=(value) +* alpha=(value) +* alpha +* validation_errors=(value) +* accessibility_label=(value) +* masks_to_bounds +* masks_to_bounds=(value) +* corner_radius +* corner_radius=(value) +* corner_radius=(value) +* border=(value) +* border_color +* border_color=(value) +* border_width +* border_width=(value) +* opacity +* opacity=(value) +* layer +* tint_color +* tint_color=(value) +* clips_to_bounds +* clips_to_bounds=(value) +* content_mode +* content_mode=(value) +* transform +* transform=(value) +* rotation=(value) +* scale=(value) +* enabled +* enabled=(value) +* hidden +* hidden=(value) +* opaque +* opaque=(value) +* z_position +* z_position=(value) +* background_image=(value) +* background_color +* background_color=(value) +* center_y +* center_y=(value) +* center_x +* center_x=(value) +* center +* center=(value) +* tag +* super_width +* super_height +* parent +* superview +* bounds +* bounds=(value) +* prev_view +* prev_frame +* absolute_frame=(value) +* frame +* frame=(value) +* view_has_been_styled? +* get +* view +* view=(value) +* copyWithZone + + +## UIActivityIndicatorViewStyler + +* activity_indicator_style +* activity_indicator_style=(value) +* animating? +* color +* color=(value) +* hides_when_stopped +* hides_when_stopped=(value) +* is_animating? +* start +* start_animating +* stop +* stop_animating + + +## UIButtonStyler + +* adjust_image_when_highlighted +* adjust_image_when_highlighted=(value) +* attributed_text +* attributed_text=(value) +* attributed_text_highlighted +* attributed_text_highlighted=(value) +* background_image +* background_image_highlighted +* background_image_highlighted=(value) +* background_image_normal +* background_image_normal=(value) +* background_image_selected +* background_image_selected=(value) +* color +* color=(value) +* color_highlighted +* color_highlighted=(value) +* content_horizontal_alignment +* content_horizontal_alignment=(value) +* content_vertical_alignment +* content_vertical_alignment=(value) +* font +* font=(value) +* highlighted +* highlighted=(value) +* image +* image=(value) +* image_edge_insets +* image_edge_insets=(value) +* image_highlighted +* image_highlighted=(value) +* image_normal +* image_normal=(value) +* selected +* selected=(value) +* state +* text +* text=(value) +* text_highlighted +* text_highlighted=(value) +* title_edge_insets +* title_edge_insets=(value) + + +## UIControlStyler + +* content_horizontal_alignment +* content_horizontal_alignment=(value) +* content_vertical_alignment +* content_vertical_alignment=(value) +* highlighted +* highlighted=(value) +* selected +* selected=(value) +* state + + +## UIDatePickerStyler + +* content_horizontal_alignment +* content_horizontal_alignment=(value) +* content_vertical_alignment +* content_vertical_alignment=(value) +* date_picker_mode +* date_picker_mode=(value) +* highlighted +* highlighted=(value) +* selected +* selected=(value) +* state + + +## UIImageViewStyler + +* image +* image=(value) + + +## UILabelStyler + +* adjusts_font_size +* adjusts_font_size=(value) +* adjusts_font_size_to_fit_width +* adjusts_font_size_to_fit_width=(value) +* attributed_text +* attributed_text=(value) +* color +* color=(value) +* font +* font=(value) +* line_break_mode +* line_break_mode=(value) +* number_of_lines +* number_of_lines=(value) +* resize_height_to_fit +* resize_to_fit_text +* size_to_fit +* text +* text=(value) +* text_align +* text_align=(value) +* text_alignment +* text_alignment=(value) +* text_color +* text_color=(value) + + +## UINavigationBarStyler + +* + + +## UIPageControlStyler + +* content_horizontal_alignment +* content_horizontal_alignment=(value) +* content_vertical_alignment +* content_vertical_alignment=(value) +* current_page +* current_page=(value) +* current_page_indicator_tint_color +* current_page_indicator_tint_color=(value) +* highlighted +* highlighted=(value) +* number_of_pages +* number_of_pages=(value) +* page_indicator_tint_color +* page_indicator_tint_color=(value) +* selected +* selected=(value) +* state + + +## UIProgressViewStyler + +* progress_image +* progress_image=(value) +* progress_tint_color +* progress_tint_color=(value) +* progress_view_style +* progress_view_style=(value) +* track_image +* track_image=(value) +* track_tint_color +* track_tint_color=(value) + + +## UIRefreshControlStyler + +* content_horizontal_alignment +* content_horizontal_alignment=(value) +* content_vertical_alignment +* content_vertical_alignment=(value) +* highlighted +* highlighted=(value) +* selected +* selected=(value) +* state + + +## UIScrollViewStyler + +* bounces +* bounces=(value) +* content_inset +* content_inset=(value) +* content_offset +* content_offset=(value) +* content_size +* content_size=(value) +* direction_lock +* direction_lock=(value) +* indicator_style +* indicator_style=(value) +* paging +* paging=(value) +* scroll_enabled +* scroll_enabled=(value) +* scroll_indicator_insets +* scroll_indicator_insets=(value) +* shows_horizontal_scroll_indicator +* shows_horizontal_scroll_indicator=(value) +* shows_vertical_scroll_indicator +* shows_vertical_scroll_indicator=(value) + + +## UISegmentedControlStyler + +* content_horizontal_alignment +* content_horizontal_alignment=(value) +* content_vertical_alignment +* content_vertical_alignment=(value) +* highlighted +* highlighted=(value) +* prepend_segments=(value) +* selected +* selected=(value) +* state +* unshift=(value) + + +## UISliderStyler + +* content_horizontal_alignment +* content_horizontal_alignment=(value) +* content_vertical_alignment +* content_vertical_alignment=(value) +* highlighted +* highlighted=(value) +* selected +* selected=(value) +* state + + +## UIStepperStyler + +* content_horizontal_alignment +* content_horizontal_alignment=(value) +* content_vertical_alignment +* content_vertical_alignment=(value) +* highlighted +* highlighted=(value) +* selected +* selected=(value) +* state + + +## UISwitchStyler + +* content_horizontal_alignment +* content_horizontal_alignment=(value) +* content_vertical_alignment +* content_vertical_alignment=(value) +* highlighted +* highlighted=(value) +* on +* on=(value) +* selected +* selected=(value) +* state + + +## UITabBarStyler + +* + + +## UITableViewCellStyler + +* accessory_type +* accessory_type=(value) +* accessory_view +* accessory_view=(value) +* color +* color=(value) +* detail_color +* detail_color=(value) +* detail_font +* detail_font=(value) +* detail_text_color +* detail_text_color=(value) +* font +* font=(value) +* selection_style +* selection_style=(value) +* separator_inset +* separator_inset=(value) +* text_color +* text_color=(value) + + +## UITableViewStyler + +* allows_selection +* allows_selection=(value) +* background_image +* bounces +* bounces=(value) +* content_inset +* content_inset=(value) +* content_offset +* content_offset=(value) +* content_size +* content_size=(value) +* direction_lock +* direction_lock=(value) +* indicator_style +* indicator_style=(value) +* paging +* paging=(value) +* row_height=(value) +* scroll_enabled +* scroll_enabled=(value) +* scroll_indicator_insets +* scroll_indicator_insets=(value) +* separator_color +* separator_color=(value) +* separator_inset=(value) +* separator_style +* separator_style=(value) +* shows_horizontal_scroll_indicator +* shows_horizontal_scroll_indicator=(value) +* shows_vertical_scroll_indicator +* shows_vertical_scroll_indicator=(value) + + +## UITextFieldStyler + +* adjusts_font_size +* adjusts_font_size=(value) +* adjusts_font_size_to_fit_width +* adjusts_font_size_to_fit_width=(value) +* allows_editing_text_attributes +* allows_editing_text_attributes=(value) +* attributed_placeholder +* attributed_placeholder=(value) +* attributed_text +* attributed_text=(value) +* autocapitalization_type +* autocapitalization_type=(value) +* autocorrection_type +* autocorrection_type=(value) +* background +* background=(value) +* border_style +* border_style=(value) +* clear_button_mode +* clear_button_mode=(value) +* clears_on_begin_editing +* clears_on_begin_editing=(value) +* clears_on_insertion +* clears_on_insertion=(value) +* color +* color=(value) +* content_horizontal_alignment +* content_horizontal_alignment=(value) +* content_vertical_alignment +* content_vertical_alignment=(value) +* default_text_attributes +* default_text_attributes=(value) +* disabled_background +* disabled_background=(value) +* editing +* editing=(value) +* enables_return_key_automatically +* enables_return_key_automatically=(value) +* font +* font=(value) +* highlighted +* highlighted=(value) +* keyboard_appearance +* keyboard_appearance=(value) +* keyboard_type +* keyboard_type=(value) +* left_view +* left_view=(value) +* left_view_mode +* left_view_mode=(value) +* minimum_font_size +* minimum_font_size=(value) +* placeholder +* placeholder=(value) +* return_key_type +* return_key_type=(value) +* right_view +* right_view=(value) +* right_view_mode +* right_view_mode=(value) +* secure_text_entry +* secure_text_entry=(value) +* selected +* selected=(value) +* spell_checking_type +* spell_checking_type=(value) +* state +* text +* text=(value) +* text_alignment +* text_alignment=(value) +* text_color +* text_color=(value) +* typing_attributes +* typing_attributes=(value) + + +## UITextViewStyler + +* attributed_text +* attributed_text=(value) +* bounces +* bounces=(value) +* color +* color=(value) +* content_inset +* content_inset=(value) +* content_offset +* content_offset=(value) +* content_size +* content_size=(value) +* data_detector_types +* data_detector_types=(value) +* direction_lock +* direction_lock=(value) +* editable +* editable=(value) +* font +* font=(value) +* indicator_style +* indicator_style=(value) +* paging +* paging=(value) +* scroll_enabled +* scroll_enabled=(value) +* scroll_indicator_insets +* scroll_indicator_insets=(value) +* selectable +* selectable=(value) +* shows_horizontal_scroll_indicator +* shows_horizontal_scroll_indicator=(value) +* shows_vertical_scroll_indicator +* shows_vertical_scroll_indicator=(value) +* text +* text=(value) +* text_alignment +* text_alignment=(value) +* text_color +* text_color=(value) diff --git a/mkdocs.yml b/mkdocs.yml index 3e965a7..78fb247 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -13,3 +13,4 @@ pages: - [cookbook/fonts.md, Cookbook, Fonts] - [cookbook/colors.md, Cookbook, Colors] - [cookbook/animations.md, Cookbook, Animating and animations] +- [cookbook/available_styles.md, Cookbook, Available styles]