Class: Symbol
- Defined in:
- lib/sugarcube-unholy/ivar.rb,
lib/sugarcube-color/symbol.rb,
lib/sugarcube-uikit/symbol.rb,
lib/sugarcube-constants/symbol.rb,
lib/sugarcube-awesome/awesome_exts.rb
Overview
Adds some UI classes to the Symbol class. These methods are prefixed with ui
to make their intent clear, and to provide a little bit of "namespacing"
# alignment
:left.uialignment => UITextAlignmentLeft
# uicolors
:black.uicolor => UIColor.blackColor
:darkturquoise.uicolor => UIColor.blackColor
You can extend the defaults by adding entries:
Symbol.css_colors[:my_color] = 0x123456
:my_color.uicolor => UIColor
Class Attribute Summary collapse
-
.catimingfunction ⇒ Object
readonly
Returns the value of attribute catimingfunction.
-
.catimingfunction__deprecated ⇒ Object
readonly
Returns the value of attribute catimingfunction__deprecated.
-
.cglinecap ⇒ Object
readonly
Returns the value of attribute cglinecap.
-
.cglinejoin ⇒ Object
readonly
Returns the value of attribute cglinejoin.
-
.css_colors ⇒ Object
readonly
Returns the value of attribute css_colors.
-
.css_colors_cache ⇒ Object
readonly
Returns the value of attribute css_colors_cache.
-
.nsdatestyle ⇒ Object
readonly
Returns the value of attribute nsdatestyle.
-
.nsnumberstyle ⇒ Object
readonly
Returns the value of attribute nsnumberstyle.
-
.nsnumberstyle__deprecated ⇒ Object
readonly
Returns the value of attribute nsnumberstyle__deprecated.
-
.uiactionstyle ⇒ Object
readonly
Returns the value of attribute uiactionstyle.
-
.uiactivityindicatorstyle ⇒ Object
readonly
Returns the value of attribute uiactivityindicatorstyle.
-
.uiactivityindicatorstyle__deprecated ⇒ Object
readonly
Returns the value of attribute uiactivityindicatorstyle__deprecated.
-
.uialertstyle ⇒ Object
readonly
Returns the value of attribute uialertstyle.
-
.uianimationcurve ⇒ Object
readonly
Returns the value of attribute uianimationcurve.
-
.uiautoresizemask ⇒ Object
readonly
Returns the value of attribute uiautoresizemask.
-
.uiautoresizemask__deprecated ⇒ Object
readonly
Returns the value of attribute uiautoresizemask__deprecated.
-
.uibarbuttonitem ⇒ Object
readonly
Returns the value of attribute uibarbuttonitem.
-
.uibarbuttonitem__deprecated ⇒ Object
readonly
Returns the value of attribute uibarbuttonitem__deprecated.
-
.uibarbuttonstyle ⇒ Object
readonly
Returns the value of attribute uibarbuttonstyle.
-
.uibarmetrics ⇒ Object
readonly
Returns the value of attribute uibarmetrics.
-
.uibaselineadjustment ⇒ Object
readonly
Returns the value of attribute uibaselineadjustment.
-
.uibordertype ⇒ Object
readonly
Returns the value of attribute uibordertype.
-
.uibuttontype ⇒ Object
readonly
Returns the value of attribute uibuttontype.
-
.uicolors ⇒ Object
readonly
Returns the value of attribute uicolors.
-
.uicolors__deprecated ⇒ Object
readonly
Returns the value of attribute uicolors__deprecated.
-
.uicontentmode ⇒ Object
readonly
Returns the value of attribute uicontentmode.
-
.uicontentmode__deprecated ⇒ Object
readonly
Returns the value of attribute uicontentmode__deprecated.
-
.uicontrolevent ⇒ Object
readonly
Returns the value of attribute uicontrolevent.
-
.uicontrolevent__deprecated ⇒ Object
readonly
Returns the value of attribute uicontrolevent__deprecated.
-
.uicontrolstate ⇒ Object
readonly
Returns the value of attribute uicontrolstate.
-
.uidatepickermode ⇒ Object
readonly
Returns the value of attribute uidatepickermode.
-
.uidatepickermode__deprecated ⇒ Object
readonly
Returns the value of attribute uidatepickermode__deprecated.
-
.uidevice ⇒ Object
readonly
Returns the value of attribute uidevice.
-
.uideviceorientation ⇒ Object
readonly
Returns the value of attribute uideviceorientation.
-
.uifont ⇒ Object
readonly
Returns the value of attribute uifont.
-
.uifontsize ⇒ Object
readonly
Returns the value of attribute uifontsize.
-
.uigesturerecognizerstate ⇒ Object
readonly
Returns the value of attribute uigesturerecognizerstate.
-
.uiimagecamera ⇒ Object
readonly
Returns the value of attribute uiimagecamera.
-
.uiimagecapture ⇒ Object
readonly
Returns the value of attribute uiimagecapture.
-
.uiimagequality ⇒ Object
readonly
Returns the value of attribute uiimagequality.
-
.uiimagesource ⇒ Object
readonly
Returns the value of attribute uiimagesource.
-
.uiinterfacemask ⇒ Object
readonly
Returns the value of attribute uiinterfacemask.
-
.uiinterfaceorientation ⇒ Object
readonly
Returns the value of attribute uiinterfaceorientation.
-
.uikeyboardtype ⇒ Object
readonly
Returns the value of attribute uikeyboardtype.
-
.uikeyboardtype__deprecated ⇒ Object
readonly
Returns the value of attribute uikeyboardtype__deprecated.
-
.uilinebreakmode ⇒ Object
readonly
Returns the value of attribute uilinebreakmode.
-
.uilinebreakmode__deprecated ⇒ Object
readonly
Returns the value of attribute uilinebreakmode__deprecated.
-
.uireturnkey ⇒ Object
readonly
Returns the value of attribute uireturnkey.
-
.uireturnkey__deprecated ⇒ Object
readonly
Returns the value of attribute uireturnkey__deprecated.
-
.uisegmentedstyle ⇒ Object
readonly
Returns the value of attribute uisegmentedstyle.
-
.uistatusbarstyle ⇒ Object
readonly
Returns the value of attribute uistatusbarstyle.
-
.uitablecellaccessorytype ⇒ Object
readonly
Returns the value of attribute uitablecellaccessorytype.
-
.uitablecellaccessorytype__deprecated ⇒ Object
readonly
Returns the value of attribute uitablecellaccessorytype__deprecated.
-
.uitablecellselectionstyle ⇒ Object
readonly
Returns the value of attribute uitablecellselectionstyle.
-
.uitablecellseparatorstyle ⇒ Object
readonly
Returns the value of attribute uitablecellseparatorstyle.
-
.uitablecellseparatorstyle__deprecated ⇒ Object
readonly
Returns the value of attribute uitablecellseparatorstyle__deprecated.
-
.uitablecellstyle ⇒ Object
readonly
Returns the value of attribute uitablecellstyle.
-
.uitablerowanimation ⇒ Object
readonly
Returns the value of attribute uitablerowanimation.
-
.uitablestyle ⇒ Object
readonly
Returns the value of attribute uitablestyle.
-
.uitextalignment ⇒ Object
readonly
Returns the value of attribute uitextalignment.
Class Method Summary collapse
- .action_sheet_styles ⇒ Object
- .activityindicator_styles ⇒ Object
- .alert_view_styles ⇒ Object
- .autoresizemasks ⇒ Object
- .barbuttonitems ⇒ Object
- .barbuttonstyles ⇒ Object
- .barmetrics ⇒ Object
- .baselineadjustments ⇒ Object
- .border_types ⇒ Object
- .buttontypes ⇒ Object
- .ca_timingfunctions ⇒ Object
- .cg_linecapstyles ⇒ Object
- .cg_linejoinstyles ⇒ Object
- .control_events ⇒ Object
- .control_states ⇒ Object
- .date_styles ⇒ Object
- .datepicker_modes ⇒ Object
- .device_orientations ⇒ Object
- .devices ⇒ Object
- .font_sizes ⇒ Object
- .gesture_recognizer_states ⇒ Object
- .image_cameradevice ⇒ Object
- .image_capturemode ⇒ Object
- .image_quality ⇒ Object
- .image_sourcetypes ⇒ Object
- .interface_masks ⇒ Object
- .interface_orientations ⇒ Object
- .keyboardtypes ⇒ Object
- .linebreakmodes ⇒ Object
- .number_styles ⇒ Object
- .returnkeys ⇒ Object
- .segmented_styles ⇒ Object
- .statusbar_styles ⇒ Object
- .system_fonts ⇒ Object
- .tableview_cellaccessorytype ⇒ Object
- .tableview_cellselectionstyle ⇒ Object
- .tableview_cellseparatorstyle ⇒ Object
- .tableview_cellstyles ⇒ Object
- .tableview_rowanimation ⇒ Object
- .tableview_styles ⇒ Object
- .textalignments ⇒ Object
- .uiview_animation_curve ⇒ Object
- .uiview_content_modes ⇒ Object
Instance Method Summary collapse
- #awesome_icon(options = {}) ⇒ Object
- #catimingfunction ⇒ Object (also: #catiming)
- #cglinecap ⇒ Object (also: #cglinecapstyle)
- #cglinejoin ⇒ Object (also: #cglinejoinstyle)
- #cvar ⇒ Object
- #ivar ⇒ Object
- #nsdatestyle ⇒ Object (also: #nsdateformatterstyle)
- #nsnumberstyle ⇒ Object (also: #nsnumberformatterstyle)
- #setter ⇒ Object
- #uiactionstyle ⇒ Object (also: #uiactionsheetstyle)
- #uiactivityindicatorstyle ⇒ Object (also: #uiactivityindicatorviewstyle)
- #uialertstyle ⇒ Object (also: #uialertviewstyle)
- #uianimationcurve ⇒ Object (also: #uiviewanimationcurve)
- #uiautoresizemask ⇒ Object (also: #uiviewautoresizing, #uiautoresizingmask, #uiautoresize)
- #uibarbuttonitem ⇒ Object
- #uibarbuttonstyle ⇒ Object
- #uibarmetrics ⇒ Object
- #uibaselineadjustment ⇒ Object (also: #uibaseline)
- #uibordertype ⇒ Object (also: #uiborderstyle)
- #uibuttontype ⇒ Object
- #uicolor(alpha = nil) ⇒ Object
- #uicontentmode ⇒ Object (also: #uiviewcontentmode)
- #uicontrolevent ⇒ Object
- #uicontrolstate ⇒ Object (also: #uistate)
- #uidatepickermode ⇒ Object
- #uidevice ⇒ Object
- #uideviceorientation ⇒ Object
- #uifont(size = nil) ⇒ Object
- #uifontsize ⇒ Object
- #uigesturerecognizerstate ⇒ Object (also: #uigesturestate)
- #uiimagecamera ⇒ Object (also: #uiimagecameradevice, #uiimagedevice)
- #uiimagecapture ⇒ Object (also: #uiimagecapturemode)
- #uiimagequality ⇒ Object (also: #uiimagequalitytype)
- #uiimagesource ⇒ Object (also: #uiimagesourcetype)
- #uiinterfacemask ⇒ Object
- #uiinterfaceorientation ⇒ Object (also: #uiorientation)
- #uikeyboardtype ⇒ Object
- #uilinebreakmode ⇒ Object
- #uireturnkey ⇒ Object
- #uisegmentedstyle ⇒ Object (also: #uisegmentedcontrolstyle)
- #uistatusbarstyle ⇒ Object
- #uitablecellaccessorytype ⇒ Object (also: #uitablecellaccessory, #uitableviewcellaccessorytype)
- #uitablecellselectionstyle ⇒ Object (also: #uitableviewcellselectionstyle)
- #uitablecellseparatorstyle ⇒ Object
- #uitablecellstyle ⇒ Object (also: #uitableviewcellstyle)
- #uitablerowanimation ⇒ Object (also: #uitableviewrowanimation)
- #uitablestyle ⇒ Object (also: #uitableviewstyle)
- #uitextalignment ⇒ Object (also: #uialignment)
Class Attribute Details
.catimingfunction ⇒ Object (readonly)
Returns the value of attribute catimingfunction.
274 275 276 |
# File 'lib/sugarcube-constants/symbol.rb', line 274 def catimingfunction @catimingfunction end |
.catimingfunction__deprecated ⇒ Object (readonly)
Returns the value of attribute catimingfunction__deprecated.
275 276 277 |
# File 'lib/sugarcube-constants/symbol.rb', line 275 def catimingfunction__deprecated @catimingfunction__deprecated end |
.cglinecap ⇒ Object (readonly)
Returns the value of attribute cglinecap.
277 278 279 |
# File 'lib/sugarcube-constants/symbol.rb', line 277 def cglinecap @cglinecap end |
.cglinejoin ⇒ Object (readonly)
Returns the value of attribute cglinejoin.
278 279 280 |
# File 'lib/sugarcube-constants/symbol.rb', line 278 def cglinejoin @cglinejoin end |
.css_colors ⇒ Object (readonly)
Returns the value of attribute css_colors.
5 6 7 |
# File 'lib/sugarcube-color/symbol.rb', line 5 def css_colors @css_colors end |
.css_colors_cache ⇒ Object (readonly)
Returns the value of attribute css_colors_cache.
6 7 8 |
# File 'lib/sugarcube-color/symbol.rb', line 6 def css_colors_cache @css_colors_cache end |
.nsdatestyle ⇒ Object (readonly)
Returns the value of attribute nsdatestyle.
234 235 236 |
# File 'lib/sugarcube-constants/symbol.rb', line 234 def nsdatestyle @nsdatestyle end |
.nsnumberstyle ⇒ Object (readonly)
Returns the value of attribute nsnumberstyle.
235 236 237 |
# File 'lib/sugarcube-constants/symbol.rb', line 235 def nsnumberstyle @nsnumberstyle end |
.nsnumberstyle__deprecated ⇒ Object (readonly)
Returns the value of attribute nsnumberstyle__deprecated.
236 237 238 |
# File 'lib/sugarcube-constants/symbol.rb', line 236 def nsnumberstyle__deprecated @nsnumberstyle__deprecated end |
.uiactionstyle ⇒ Object (readonly)
Returns the value of attribute uiactionstyle.
267 268 269 |
# File 'lib/sugarcube-constants/symbol.rb', line 267 def uiactionstyle @uiactionstyle end |
.uiactivityindicatorstyle ⇒ Object (readonly)
Returns the value of attribute uiactivityindicatorstyle.
248 249 250 |
# File 'lib/sugarcube-constants/symbol.rb', line 248 def @uiactivityindicatorstyle end |
.uiactivityindicatorstyle__deprecated ⇒ Object (readonly)
Returns the value of attribute uiactivityindicatorstyle__deprecated.
249 250 251 |
# File 'lib/sugarcube-constants/symbol.rb', line 249 def @uiactivityindicatorstyle__deprecated end |
.uialertstyle ⇒ Object (readonly)
Returns the value of attribute uialertstyle.
266 267 268 |
# File 'lib/sugarcube-constants/symbol.rb', line 266 def uialertstyle @uialertstyle end |
.uianimationcurve ⇒ Object (readonly)
Returns the value of attribute uianimationcurve.
255 256 257 |
# File 'lib/sugarcube-constants/symbol.rb', line 255 def uianimationcurve @uianimationcurve end |
.uiautoresizemask ⇒ Object (readonly)
Returns the value of attribute uiautoresizemask.
222 223 224 |
# File 'lib/sugarcube-constants/symbol.rb', line 222 def uiautoresizemask @uiautoresizemask end |
.uiautoresizemask__deprecated ⇒ Object (readonly)
Returns the value of attribute uiautoresizemask__deprecated.
223 224 225 |
# File 'lib/sugarcube-constants/symbol.rb', line 223 def uiautoresizemask__deprecated @uiautoresizemask__deprecated end |
.uibarbuttonitem ⇒ Object (readonly)
Returns the value of attribute uibarbuttonitem.
240 241 242 |
# File 'lib/sugarcube-constants/symbol.rb', line 240 def @uibarbuttonitem end |
.uibarbuttonitem__deprecated ⇒ Object (readonly)
Returns the value of attribute uibarbuttonitem__deprecated.
241 242 243 |
# File 'lib/sugarcube-constants/symbol.rb', line 241 def @uibarbuttonitem__deprecated end |
.uibarbuttonstyle ⇒ Object (readonly)
Returns the value of attribute uibarbuttonstyle.
242 243 244 |
# File 'lib/sugarcube-constants/symbol.rb', line 242 def @uibarbuttonstyle end |
.uibarmetrics ⇒ Object (readonly)
Returns the value of attribute uibarmetrics.
239 240 241 |
# File 'lib/sugarcube-constants/symbol.rb', line 239 def @uibarmetrics end |
.uibaselineadjustment ⇒ Object (readonly)
Returns the value of attribute uibaselineadjustment.
232 233 234 |
# File 'lib/sugarcube-constants/symbol.rb', line 232 def uibaselineadjustment @uibaselineadjustment end |
.uibordertype ⇒ Object (readonly)
Returns the value of attribute uibordertype.
233 234 235 |
# File 'lib/sugarcube-constants/symbol.rb', line 233 def uibordertype @uibordertype end |
.uibuttontype ⇒ Object (readonly)
Returns the value of attribute uibuttontype.
244 245 246 |
# File 'lib/sugarcube-constants/symbol.rb', line 244 def @uibuttontype end |
.uicolors ⇒ Object (readonly)
Returns the value of attribute uicolors.
3 4 5 |
# File 'lib/sugarcube-color/symbol.rb', line 3 def uicolors @uicolors end |
.uicolors__deprecated ⇒ Object (readonly)
Returns the value of attribute uicolors__deprecated.
4 5 6 |
# File 'lib/sugarcube-color/symbol.rb', line 4 def uicolors__deprecated @uicolors__deprecated end |
.uicontentmode ⇒ Object (readonly)
Returns the value of attribute uicontentmode.
253 254 255 |
# File 'lib/sugarcube-constants/symbol.rb', line 253 def uicontentmode @uicontentmode end |
.uicontentmode__deprecated ⇒ Object (readonly)
Returns the value of attribute uicontentmode__deprecated.
254 255 256 |
# File 'lib/sugarcube-constants/symbol.rb', line 254 def uicontentmode__deprecated @uicontentmode__deprecated end |
.uicontrolevent ⇒ Object (readonly)
Returns the value of attribute uicontrolevent.
246 247 248 |
# File 'lib/sugarcube-constants/symbol.rb', line 246 def uicontrolevent @uicontrolevent end |
.uicontrolevent__deprecated ⇒ Object (readonly)
Returns the value of attribute uicontrolevent__deprecated.
247 248 249 |
# File 'lib/sugarcube-constants/symbol.rb', line 247 def uicontrolevent__deprecated @uicontrolevent__deprecated end |
.uicontrolstate ⇒ Object (readonly)
Returns the value of attribute uicontrolstate.
245 246 247 |
# File 'lib/sugarcube-constants/symbol.rb', line 245 def uicontrolstate @uicontrolstate end |
.uidatepickermode ⇒ Object (readonly)
Returns the value of attribute uidatepickermode.
251 252 253 |
# File 'lib/sugarcube-constants/symbol.rb', line 251 def uidatepickermode @uidatepickermode end |
.uidatepickermode__deprecated ⇒ Object (readonly)
Returns the value of attribute uidatepickermode__deprecated.
252 253 254 |
# File 'lib/sugarcube-constants/symbol.rb', line 252 def uidatepickermode__deprecated @uidatepickermode__deprecated end |
.uidevice ⇒ Object (readonly)
Returns the value of attribute uidevice.
218 219 220 |
# File 'lib/sugarcube-constants/symbol.rb', line 218 def uidevice @uidevice end |
.uideviceorientation ⇒ Object (readonly)
Returns the value of attribute uideviceorientation.
219 220 221 |
# File 'lib/sugarcube-constants/symbol.rb', line 219 def uideviceorientation @uideviceorientation end |
.uifont ⇒ Object (readonly)
Returns the value of attribute uifont.
48 49 50 |
# File 'lib/sugarcube-uikit/symbol.rb', line 48 def uifont @uifont end |
.uifontsize ⇒ Object (readonly)
Returns the value of attribute uifontsize.
49 50 51 |
# File 'lib/sugarcube-uikit/symbol.rb', line 49 def uifontsize @uifontsize end |
.uigesturerecognizerstate ⇒ Object (readonly)
Returns the value of attribute uigesturerecognizerstate.
280 281 282 |
# File 'lib/sugarcube-constants/symbol.rb', line 280 def uigesturerecognizerstate @uigesturerecognizerstate end |
.uiimagecamera ⇒ Object (readonly)
Returns the value of attribute uiimagecamera.
271 272 273 |
# File 'lib/sugarcube-constants/symbol.rb', line 271 def uiimagecamera @uiimagecamera end |
.uiimagecapture ⇒ Object (readonly)
Returns the value of attribute uiimagecapture.
270 271 272 |
# File 'lib/sugarcube-constants/symbol.rb', line 270 def uiimagecapture @uiimagecapture end |
.uiimagequality ⇒ Object (readonly)
Returns the value of attribute uiimagequality.
272 273 274 |
# File 'lib/sugarcube-constants/symbol.rb', line 272 def uiimagequality @uiimagequality end |
.uiimagesource ⇒ Object (readonly)
Returns the value of attribute uiimagesource.
269 270 271 |
# File 'lib/sugarcube-constants/symbol.rb', line 269 def uiimagesource @uiimagesource end |
.uiinterfacemask ⇒ Object (readonly)
Returns the value of attribute uiinterfacemask.
221 222 223 |
# File 'lib/sugarcube-constants/symbol.rb', line 221 def uiinterfacemask @uiinterfacemask end |
.uiinterfaceorientation ⇒ Object (readonly)
Returns the value of attribute uiinterfaceorientation.
220 221 222 |
# File 'lib/sugarcube-constants/symbol.rb', line 220 def uiinterfaceorientation @uiinterfaceorientation end |
.uikeyboardtype ⇒ Object (readonly)
Returns the value of attribute uikeyboardtype.
227 228 229 |
# File 'lib/sugarcube-constants/symbol.rb', line 227 def uikeyboardtype @uikeyboardtype end |
.uikeyboardtype__deprecated ⇒ Object (readonly)
Returns the value of attribute uikeyboardtype__deprecated.
228 229 230 |
# File 'lib/sugarcube-constants/symbol.rb', line 228 def uikeyboardtype__deprecated @uikeyboardtype__deprecated end |
.uilinebreakmode ⇒ Object (readonly)
Returns the value of attribute uilinebreakmode.
230 231 232 |
# File 'lib/sugarcube-constants/symbol.rb', line 230 def uilinebreakmode @uilinebreakmode end |
.uilinebreakmode__deprecated ⇒ Object (readonly)
Returns the value of attribute uilinebreakmode__deprecated.
231 232 233 |
# File 'lib/sugarcube-constants/symbol.rb', line 231 def uilinebreakmode__deprecated @uilinebreakmode__deprecated end |
.uireturnkey ⇒ Object (readonly)
Returns the value of attribute uireturnkey.
225 226 227 |
# File 'lib/sugarcube-constants/symbol.rb', line 225 def uireturnkey @uireturnkey end |
.uireturnkey__deprecated ⇒ Object (readonly)
Returns the value of attribute uireturnkey__deprecated.
226 227 228 |
# File 'lib/sugarcube-constants/symbol.rb', line 226 def uireturnkey__deprecated @uireturnkey__deprecated end |
.uisegmentedstyle ⇒ Object (readonly)
Returns the value of attribute uisegmentedstyle.
250 251 252 |
# File 'lib/sugarcube-constants/symbol.rb', line 250 def uisegmentedstyle @uisegmentedstyle end |
.uistatusbarstyle ⇒ Object (readonly)
Returns the value of attribute uistatusbarstyle.
238 239 240 |
# File 'lib/sugarcube-constants/symbol.rb', line 238 def @uistatusbarstyle end |
.uitablecellaccessorytype ⇒ Object (readonly)
Returns the value of attribute uitablecellaccessorytype.
260 261 262 |
# File 'lib/sugarcube-constants/symbol.rb', line 260 def uitablecellaccessorytype @uitablecellaccessorytype end |
.uitablecellaccessorytype__deprecated ⇒ Object (readonly)
Returns the value of attribute uitablecellaccessorytype__deprecated.
261 262 263 |
# File 'lib/sugarcube-constants/symbol.rb', line 261 def uitablecellaccessorytype__deprecated @uitablecellaccessorytype__deprecated end |
.uitablecellselectionstyle ⇒ Object (readonly)
Returns the value of attribute uitablecellselectionstyle.
262 263 264 |
# File 'lib/sugarcube-constants/symbol.rb', line 262 def uitablecellselectionstyle @uitablecellselectionstyle end |
.uitablecellseparatorstyle ⇒ Object (readonly)
Returns the value of attribute uitablecellseparatorstyle.
263 264 265 |
# File 'lib/sugarcube-constants/symbol.rb', line 263 def uitablecellseparatorstyle @uitablecellseparatorstyle end |
.uitablecellseparatorstyle__deprecated ⇒ Object (readonly)
Returns the value of attribute uitablecellseparatorstyle__deprecated.
264 265 266 |
# File 'lib/sugarcube-constants/symbol.rb', line 264 def uitablecellseparatorstyle__deprecated @uitablecellseparatorstyle__deprecated end |
.uitablecellstyle ⇒ Object (readonly)
Returns the value of attribute uitablecellstyle.
259 260 261 |
# File 'lib/sugarcube-constants/symbol.rb', line 259 def uitablecellstyle @uitablecellstyle end |
.uitablerowanimation ⇒ Object (readonly)
Returns the value of attribute uitablerowanimation.
258 259 260 |
# File 'lib/sugarcube-constants/symbol.rb', line 258 def uitablerowanimation @uitablerowanimation end |
.uitablestyle ⇒ Object (readonly)
Returns the value of attribute uitablestyle.
257 258 259 |
# File 'lib/sugarcube-constants/symbol.rb', line 257 def uitablestyle @uitablestyle end |
.uitextalignment ⇒ Object (readonly)
Returns the value of attribute uitextalignment.
229 230 231 |
# File 'lib/sugarcube-constants/symbol.rb', line 229 def uitextalignment @uitextalignment end |
Class Method Details
.action_sheet_styles ⇒ Object
174 175 176 177 |
# File 'lib/sugarcube-legacy/symbol.rb', line 174 def action_sheet_styles SugarCube::Legacy.log("Symbol.action_sheet_styles[] is deprecated. Use Symbol.uiactionstyle[] instead.") uiactionstyle end |
.activityindicator_styles ⇒ Object
114 115 116 117 |
# File 'lib/sugarcube-legacy/symbol.rb', line 114 def SugarCube::Legacy.log("Symbol.activityindicator_styles[] is deprecated. Use Symbol.uiactivityindicatorstyle[] instead.") end |
.alert_view_styles ⇒ Object
169 170 171 172 |
# File 'lib/sugarcube-legacy/symbol.rb', line 169 def alert_view_styles SugarCube::Legacy.log("Symbol.alert_view_styles[] is deprecated. Use Symbol.uialertstyle[] instead.") uialertstyle end |
.autoresizemasks ⇒ Object
24 25 26 27 |
# File 'lib/sugarcube-legacy/symbol.rb', line 24 def autoresizemasks SugarCube::Legacy.log("Symbol.autoresizemasks[] is deprecated. Use Symbol.uiautoresizemask[] instead.") uiautoresizemask end |
.barbuttonitems ⇒ Object
89 90 91 92 |
# File 'lib/sugarcube-legacy/symbol.rb', line 89 def SugarCube::Legacy.log("Symbol.barbuttonitems[] is deprecated. Use Symbol.uibarbuttonitem[] instead.") end |
.barbuttonstyles ⇒ Object
94 95 96 97 |
# File 'lib/sugarcube-legacy/symbol.rb', line 94 def SugarCube::Legacy.log("Symbol.barbuttonstyles[] is deprecated. Use Symbol.uibarbuttonstyle[] instead.") end |
.barmetrics ⇒ Object
84 85 86 87 |
# File 'lib/sugarcube-legacy/symbol.rb', line 84 def SugarCube::Legacy.log("Symbol.barmetrics[] is deprecated. Use Symbol.uibarmetrics[] instead.") end |
.baselineadjustments ⇒ Object
49 50 51 52 |
# File 'lib/sugarcube-legacy/symbol.rb', line 49 def baselineadjustments SugarCube::Legacy.log("Symbol.baselineadjustments[] is deprecated. Use Symbol.uibaselineadjustment[] instead.") uibaselineadjustment end |
.border_types ⇒ Object
54 55 56 57 |
# File 'lib/sugarcube-legacy/symbol.rb', line 54 def border_types SugarCube::Legacy.log("Symbol.border_types[] is deprecated. Use Symbol.uibordertype[] instead.") uibordertype end |
.buttontypes ⇒ Object
99 100 101 102 |
# File 'lib/sugarcube-legacy/symbol.rb', line 99 def SugarCube::Legacy.log("Symbol.buttontypes[] is deprecated. Use Symbol.uibuttontype[] instead.") end |
.ca_timingfunctions ⇒ Object
199 200 201 202 |
# File 'lib/sugarcube-legacy/symbol.rb', line 199 def ca_timingfunctions SugarCube::Legacy.log("Symbol.ca_timingfunctions[] is deprecated. Use Symbol.catimingfunction[] instead.") catimingfunction end |
.cg_linecapstyles ⇒ Object
204 205 206 207 |
# File 'lib/sugarcube-legacy/symbol.rb', line 204 def cg_linecapstyles SugarCube::Legacy.log("Symbol.cg_linecapstyles[] is deprecated. Use Symbol.cglinecap[] instead.") cglinecap end |
.cg_linejoinstyles ⇒ Object
209 210 211 212 |
# File 'lib/sugarcube-legacy/symbol.rb', line 209 def cg_linejoinstyles SugarCube::Legacy.log("Symbol.cg_linejoinstyles[] is deprecated. Use Symbol.cglinejoin[] instead.") cglinejoin end |
.control_events ⇒ Object
109 110 111 112 |
# File 'lib/sugarcube-legacy/symbol.rb', line 109 def control_events SugarCube::Legacy.log("Symbol.control_events[] is deprecated. Use Symbol.uicontrolevent[] instead.") uicontrolevent end |
.control_states ⇒ Object
104 105 106 107 |
# File 'lib/sugarcube-legacy/symbol.rb', line 104 def control_states SugarCube::Legacy.log("Symbol.control_states[] is deprecated. Use Symbol.uicontrolstate[] instead.") uicontrolstate end |
.date_styles ⇒ Object
59 60 61 62 |
# File 'lib/sugarcube-legacy/symbol.rb', line 59 def date_styles SugarCube::Legacy.log("Symbol.date_styles[] is deprecated. Use Symbol.nsdatestyle[] instead.") nsdatestyle end |
.datepicker_modes ⇒ Object
124 125 126 127 |
# File 'lib/sugarcube-legacy/symbol.rb', line 124 def datepicker_modes SugarCube::Legacy.log("Symbol.datepicker_modes[] is deprecated. Use Symbol.uidatepickermode[] instead.") uidatepickermode end |
.device_orientations ⇒ Object
9 10 11 12 |
# File 'lib/sugarcube-legacy/symbol.rb', line 9 def device_orientations SugarCube::Legacy.log("Symbol.device_orientations[] is deprecated. Use Symbol.uideviceorientation[] instead.") uideviceorientation end |
.devices ⇒ Object
4 5 6 7 |
# File 'lib/sugarcube-legacy/symbol.rb', line 4 def devices SugarCube::Legacy.log("Symbol.devices[] is deprecated. Use Symbol.uidevice[] instead.") uidevice end |
.font_sizes ⇒ Object
74 75 76 77 |
# File 'lib/sugarcube-legacy/symbol.rb', line 74 def font_sizes SugarCube::Legacy.log("Symbol.font_sizes[] is deprecated. Use Symbol.uifontsize[] instead.") uifontsize end |
.gesture_recognizer_states ⇒ Object
214 215 216 217 |
# File 'lib/sugarcube-legacy/symbol.rb', line 214 def gesture_recognizer_states SugarCube::Legacy.log("Symbol.gesture_recognizer_states[] is deprecated. Use Symbol.uigesturerecognizerstate[] instead.") uigesturerecognizerstate end |
.image_cameradevice ⇒ Object
189 190 191 192 |
# File 'lib/sugarcube-legacy/symbol.rb', line 189 def image_cameradevice SugarCube::Legacy.log("Symbol.image_cameradevice[] is deprecated. Use Symbol.uiimagecamera[] instead.") uiimagecamera end |
.image_capturemode ⇒ Object
184 185 186 187 |
# File 'lib/sugarcube-legacy/symbol.rb', line 184 def image_capturemode SugarCube::Legacy.log("Symbol.image_capturemode[] is deprecated. Use Symbol.uiimagecapture[] instead.") uiimagecapture end |
.image_quality ⇒ Object
194 195 196 197 |
# File 'lib/sugarcube-legacy/symbol.rb', line 194 def image_quality SugarCube::Legacy.log("Symbol.image_quality[] is deprecated. Use Symbol.uiimagequality[] instead.") uiimagequality end |
.image_sourcetypes ⇒ Object
179 180 181 182 |
# File 'lib/sugarcube-legacy/symbol.rb', line 179 def image_sourcetypes SugarCube::Legacy.log("Symbol.image_sourcetypes[] is deprecated. Use Symbol.uiimagesource[] instead.") uiimagesource end |
.interface_masks ⇒ Object
19 20 21 22 |
# File 'lib/sugarcube-legacy/symbol.rb', line 19 def interface_masks SugarCube::Legacy.log("Symbol.interface_masks[] is deprecated. Use Symbol.uiinterfacemask[] instead.") uiinterfacemask end |
.interface_orientations ⇒ Object
14 15 16 17 |
# File 'lib/sugarcube-legacy/symbol.rb', line 14 def interface_orientations SugarCube::Legacy.log("Symbol.interface_orientations[] is deprecated. Use Symbol.uiinterfaceorientation[] instead.") uiinterfaceorientation end |
.keyboardtypes ⇒ Object
34 35 36 37 |
# File 'lib/sugarcube-legacy/symbol.rb', line 34 def keyboardtypes SugarCube::Legacy.log("Symbol.keyboardtypes[] is deprecated. Use Symbol.uikeyboardtype[] instead.") uikeyboardtype end |
.linebreakmodes ⇒ Object
44 45 46 47 |
# File 'lib/sugarcube-legacy/symbol.rb', line 44 def linebreakmodes SugarCube::Legacy.log("Symbol.linebreakmodes[] is deprecated. Use Symbol.uilinebreakmode[] instead.") uilinebreakmode end |
.number_styles ⇒ Object
64 65 66 67 |
# File 'lib/sugarcube-legacy/symbol.rb', line 64 def number_styles SugarCube::Legacy.log("Symbol.number_styles[] is deprecated. Use Symbol.nsnumberstyle[] instead.") nsnumberstyle end |
.returnkeys ⇒ Object
29 30 31 32 |
# File 'lib/sugarcube-legacy/symbol.rb', line 29 def returnkeys SugarCube::Legacy.log("Symbol.returnkeys[] is deprecated. Use Symbol.uireturnkey[] instead.") uireturnkey end |
.segmented_styles ⇒ Object
119 120 121 122 |
# File 'lib/sugarcube-legacy/symbol.rb', line 119 def segmented_styles SugarCube::Legacy.log("Symbol.segmented_styles[] is deprecated. Use Symbol.uisegmentedstyle[] instead.") uisegmentedstyle end |
.statusbar_styles ⇒ Object
79 80 81 82 |
# File 'lib/sugarcube-legacy/symbol.rb', line 79 def SugarCube::Legacy.log("Symbol.statusbar_styles[] is deprecated. Use Symbol.uistatusbarstyle[] instead.") end |
.system_fonts ⇒ Object
69 70 71 72 |
# File 'lib/sugarcube-legacy/symbol.rb', line 69 def system_fonts SugarCube::Legacy.log("Symbol.system_fonts[] is deprecated. Use Symbol.uifont[] instead.") uifont end |
.tableview_cellaccessorytype ⇒ Object
154 155 156 157 |
# File 'lib/sugarcube-legacy/symbol.rb', line 154 def tableview_cellaccessorytype SugarCube::Legacy.log("Symbol.tableview_cellaccessorytype[] is deprecated. Use Symbol.uitablecellaccessorytype[] instead.") uitablecellaccessorytype end |
.tableview_cellselectionstyle ⇒ Object
159 160 161 162 |
# File 'lib/sugarcube-legacy/symbol.rb', line 159 def tableview_cellselectionstyle SugarCube::Legacy.log("Symbol.tableview_cellselectionstyle[] is deprecated. Use Symbol.uitablecellselectionstyle[] instead.") uitablecellselectionstyle end |
.tableview_cellseparatorstyle ⇒ Object
164 165 166 167 |
# File 'lib/sugarcube-legacy/symbol.rb', line 164 def tableview_cellseparatorstyle SugarCube::Legacy.log("Symbol.tableview_cellseparatorstyle[] is deprecated. Use Symbol.uitablecellseparatorstyle[] instead.") uitablecellseparatorstyle end |
.tableview_cellstyles ⇒ Object
149 150 151 152 |
# File 'lib/sugarcube-legacy/symbol.rb', line 149 def tableview_cellstyles SugarCube::Legacy.log("Symbol.tableview_cellstyles[] is deprecated. Use Symbol.uitablecellstyle[] instead.") uitablecellstyle end |
.tableview_rowanimation ⇒ Object
144 145 146 147 |
# File 'lib/sugarcube-legacy/symbol.rb', line 144 def tableview_rowanimation SugarCube::Legacy.log("Symbol.tableview_rowanimation[] is deprecated. Use Symbol.uitablerowanimation[] instead.") uitablerowanimation end |
.tableview_styles ⇒ Object
139 140 141 142 |
# File 'lib/sugarcube-legacy/symbol.rb', line 139 def tableview_styles SugarCube::Legacy.log("Symbol.tableview_styles[] is deprecated. Use Symbol.uitablestyle[] instead.") uitablestyle end |
.textalignments ⇒ Object
39 40 41 42 |
# File 'lib/sugarcube-legacy/symbol.rb', line 39 def textalignments SugarCube::Legacy.log("Symbol.textalignments[] is deprecated. Use Symbol.uitextalignment[] instead.") uitextalignment end |
Instance Method Details
#awesome_icon(options = {}) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/sugarcube-awesome/awesome_exts.rb', line 3 def awesome_icon(={}) raise "the MotionAwesome gem is required to use sugarcube-awesome" unless defined? MotionAwesome text = MotionAwesome.hex_for_icon( MotionAwesome.xform_icon(self) ) if .key?(:size) font_size = [:size] font_size = font_size.uifontsize if font_size.respond_to?(:uifontsize) else font_size = UIFont.systemFontSize end awesome_attrs = {NSFontAttributeName => MotionAwesome.font(font_size)} if .key?(:color) awesome_attrs[NSForegroundColorAttributeName] = [:color].uicolor end NSAttributedString.alloc.initWithString(text, attributes: awesome_attrs ) end |
#catimingfunction ⇒ Object Also known as: catiming
197 198 199 |
# File 'lib/sugarcube-constants/symbol.rb', line 197 def catimingfunction SugarCube.look_in(self, Symbol.catimingfunction, Symbol.catimingfunction__deprecated) end |
#cglinecap ⇒ Object Also known as: cglinecapstyle
202 203 204 |
# File 'lib/sugarcube-constants/symbol.rb', line 202 def cglinecap SugarCube.look_in(self, Symbol.cglinecap) end |
#cglinejoin ⇒ Object Also known as: cglinejoinstyle
207 208 209 |
# File 'lib/sugarcube-constants/symbol.rb', line 207 def cglinejoin SugarCube.look_in(self, Symbol.cglinejoin) end |
#cvar ⇒ Object
12 13 14 |
# File 'lib/sugarcube-unholy/ivar.rb', line 12 def cvar self.to_s.cvar end |
#ivar ⇒ Object
4 5 6 |
# File 'lib/sugarcube-unholy/ivar.rb', line 4 def ivar self.to_s.ivar end |
#nsdatestyle ⇒ Object Also known as: nsdateformatterstyle
72 73 74 |
# File 'lib/sugarcube-constants/symbol.rb', line 72 def nsdatestyle SugarCube.look_in(self, Symbol.nsdatestyle) end |
#nsnumberstyle ⇒ Object Also known as: nsnumberformatterstyle
77 78 79 |
# File 'lib/sugarcube-constants/symbol.rb', line 77 def nsnumberstyle SugarCube.look_in(self, Symbol.nsnumberstyle, Symbol.nsnumberstyle__deprecated) end |
#setter ⇒ Object
8 9 10 |
# File 'lib/sugarcube-unholy/ivar.rb', line 8 def setter self.to_s.setter end |
#uiactionstyle ⇒ Object Also known as: uiactionsheetstyle
171 172 173 |
# File 'lib/sugarcube-constants/symbol.rb', line 171 def uiactionstyle SugarCube.look_in(self, Symbol.uiactionstyle) end |
#uiactivityindicatorstyle ⇒ Object Also known as: uiactivityindicatorviewstyle
112 113 114 |
# File 'lib/sugarcube-constants/symbol.rb', line 112 def SugarCube.look_in(self, Symbol., Symbol.) end |
#uialertstyle ⇒ Object Also known as: uialertviewstyle
166 167 168 |
# File 'lib/sugarcube-constants/symbol.rb', line 166 def uialertstyle SugarCube.look_in(self, Symbol.uialertstyle) end |
#uianimationcurve ⇒ Object Also known as: uiviewanimationcurve
131 132 133 |
# File 'lib/sugarcube-constants/symbol.rb', line 131 def uianimationcurve SugarCube.look_in(self, Symbol.uianimationcurve) end |
#uiautoresizemask ⇒ Object Also known as: uiviewautoresizing, uiautoresizingmask, uiautoresize
38 39 40 |
# File 'lib/sugarcube-constants/symbol.rb', line 38 def uiautoresizemask SugarCube.look_in(self, Symbol.uiautoresizemask, Symbol.uiautoresizemask__deprecated) end |
#uibarbuttonitem ⇒ Object
90 91 92 |
# File 'lib/sugarcube-constants/symbol.rb', line 90 def SugarCube.look_in(self, Symbol., Symbol.) end |
#uibarbuttonstyle ⇒ Object
94 95 96 |
# File 'lib/sugarcube-constants/symbol.rb', line 94 def SugarCube.look_in(self, Symbol.) end |
#uibarmetrics ⇒ Object
86 87 88 |
# File 'lib/sugarcube-constants/symbol.rb', line 86 def SugarCube.look_in(self, Symbol.) end |
#uibaselineadjustment ⇒ Object Also known as: uibaseline
62 63 64 |
# File 'lib/sugarcube-constants/symbol.rb', line 62 def uibaselineadjustment SugarCube.look_in(self, Symbol.uibaselineadjustment) end |
#uibordertype ⇒ Object Also known as: uiborderstyle
67 68 69 |
# File 'lib/sugarcube-constants/symbol.rb', line 67 def uibordertype SugarCube.look_in(self, Symbol.uibordertype) end |
#uibuttontype ⇒ Object
98 99 100 |
# File 'lib/sugarcube-constants/symbol.rb', line 98 def SugarCube.look_in(self, Symbol.) end |
#uicolor(alpha = nil) ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/sugarcube-color/symbol.rb', line 9 def uicolor(alpha=nil) if Symbol.uicolors.has_key? self # iOS colors color = UIColor.send(SugarCube.look_in(self, Symbol.uicolors, Symbol.uicolors__deprecated)) if not alpha.nil? color = color.colorWithAlphaComponent(alpha.to_f) end elsif Symbol.css_colors_cache.has_key? self color = Symbol.css_colors_cache[self] else # css colors color = SugarCube.look_in(self, Symbol.css_colors).uicolor Symbol.css_colors_cache[self] = color end if alpha color = color.uicolor(alpha) end color end |
#uicontentmode ⇒ Object Also known as: uiviewcontentmode
126 127 128 |
# File 'lib/sugarcube-constants/symbol.rb', line 126 def uicontentmode SugarCube.look_in(self, Symbol.uicontentmode, Symbol.uicontentmode__deprecated) end |
#uicontrolevent ⇒ Object
108 109 110 |
# File 'lib/sugarcube-constants/symbol.rb', line 108 def uicontrolevent SugarCube.look_in(self, Symbol.uicontrolevent, Symbol.uicontrolevent__deprecated) end |
#uicontrolstate ⇒ Object Also known as: uistate
102 103 104 |
# File 'lib/sugarcube-constants/symbol.rb', line 102 def uicontrolstate SugarCube.look_in(self, Symbol.uicontrolstate) end |
#uidatepickermode ⇒ Object
122 123 124 |
# File 'lib/sugarcube-constants/symbol.rb', line 122 def uidatepickermode SugarCube.look_in(self, Symbol.uidatepickermode, Symbol.uidatepickermode__deprecated) end |
#uidevice ⇒ Object
21 22 23 |
# File 'lib/sugarcube-constants/symbol.rb', line 21 def uidevice SugarCube.look_in(self, Symbol.uidevice) end |
#uideviceorientation ⇒ Object
25 26 27 |
# File 'lib/sugarcube-constants/symbol.rb', line 25 def uideviceorientation SugarCube.look_in(self, Symbol.uideviceorientation) end |
#uifont(size = nil) ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/sugarcube-uikit/symbol.rb', line 17 def uifont(size=nil) size ||= UIFont.systemFontSize # system fonts if Symbol.uifont.has_key? self font = SugarCube.look_in(self, Symbol.uifont) if size.is_a?(Symbol) size = size.uifontsize end if font.is_a?(Symbol) return UIFont.send(font, size) else return font.uifont(size) end else if size.is_a?(Symbol) size = size.uifontsize end return UIFont.systemFontOfSize(size) end end |
#uifontsize ⇒ Object
39 40 41 42 43 44 45 |
# File 'lib/sugarcube-uikit/symbol.rb', line 39 def uifontsize size = SugarCube.look_in(self, Symbol.uifontsize) if size.is_a?(Symbol) return UIFont.send(size) end return size.to_f end |
#uigesturerecognizerstate ⇒ Object Also known as: uigesturestate
212 213 214 |
# File 'lib/sugarcube-constants/symbol.rb', line 212 def uigesturerecognizerstate SugarCube.look_in(self, Symbol.uigesturerecognizerstate) end |
#uiimagecamera ⇒ Object Also known as: uiimagecameradevice, uiimagedevice
186 187 188 |
# File 'lib/sugarcube-constants/symbol.rb', line 186 def uiimagecamera SugarCube.look_in(self, Symbol.uiimagecamera) end |
#uiimagecapture ⇒ Object Also known as: uiimagecapturemode
181 182 183 |
# File 'lib/sugarcube-constants/symbol.rb', line 181 def uiimagecapture SugarCube.look_in(self, Symbol.uiimagecapture) end |
#uiimagequality ⇒ Object Also known as: uiimagequalitytype
192 193 194 |
# File 'lib/sugarcube-constants/symbol.rb', line 192 def uiimagequality SugarCube.look_in(self, Symbol.uiimagequality) end |
#uiimagesource ⇒ Object Also known as: uiimagesourcetype
176 177 178 |
# File 'lib/sugarcube-constants/symbol.rb', line 176 def uiimagesource SugarCube.look_in(self, Symbol.uiimagesource) end |
#uiinterfacemask ⇒ Object
34 35 36 |
# File 'lib/sugarcube-constants/symbol.rb', line 34 def uiinterfacemask SugarCube.look_in(self, Symbol.uiinterfacemask) end |
#uiinterfaceorientation ⇒ Object Also known as: uiorientation
29 30 31 |
# File 'lib/sugarcube-constants/symbol.rb', line 29 def uiinterfaceorientation SugarCube.look_in(self, Symbol.uiinterfaceorientation) end |
#uikeyboardtype ⇒ Object
49 50 51 |
# File 'lib/sugarcube-constants/symbol.rb', line 49 def uikeyboardtype SugarCube.look_in(self, Symbol.uikeyboardtype, Symbol.uikeyboardtype__deprecated) end |
#uilinebreakmode ⇒ Object
58 59 60 |
# File 'lib/sugarcube-constants/symbol.rb', line 58 def uilinebreakmode SugarCube.look_in(self, Symbol.uilinebreakmode, Symbol.uilinebreakmode__deprecated) end |
#uireturnkey ⇒ Object
45 46 47 |
# File 'lib/sugarcube-constants/symbol.rb', line 45 def uireturnkey SugarCube.look_in(self, Symbol.uireturnkey, Symbol.uireturnkey__deprecated) end |
#uisegmentedstyle ⇒ Object Also known as: uisegmentedcontrolstyle
117 118 119 |
# File 'lib/sugarcube-constants/symbol.rb', line 117 def uisegmentedstyle SugarCube.look_in(self, Symbol.uisegmentedstyle) end |
#uistatusbarstyle ⇒ Object
82 83 84 |
# File 'lib/sugarcube-constants/symbol.rb', line 82 def SugarCube.look_in(self, Symbol.) end |
#uitablecellaccessorytype ⇒ Object Also known as: uitablecellaccessory, uitableviewcellaccessorytype
151 152 153 |
# File 'lib/sugarcube-constants/symbol.rb', line 151 def uitablecellaccessorytype SugarCube.look_in(self, Symbol.uitablecellaccessorytype, Symbol.uitablecellaccessorytype__deprecated) end |
#uitablecellselectionstyle ⇒ Object Also known as: uitableviewcellselectionstyle
157 158 159 |
# File 'lib/sugarcube-constants/symbol.rb', line 157 def uitablecellselectionstyle SugarCube.look_in(self, Symbol.uitablecellselectionstyle) end |
#uitablecellseparatorstyle ⇒ Object
162 163 164 |
# File 'lib/sugarcube-constants/symbol.rb', line 162 def uitablecellseparatorstyle SugarCube.look_in(self, Symbol.uitablecellseparatorstyle, Symbol.uitablecellseparatorstyle__deprecated) end |
#uitablecellstyle ⇒ Object Also known as: uitableviewcellstyle
146 147 148 |
# File 'lib/sugarcube-constants/symbol.rb', line 146 def uitablecellstyle SugarCube.look_in(self, Symbol.uitablecellstyle) end |
#uitablerowanimation ⇒ Object Also known as: uitableviewrowanimation
141 142 143 |
# File 'lib/sugarcube-constants/symbol.rb', line 141 def uitablerowanimation SugarCube.look_in(self, Symbol.uitablerowanimation) end |
#uitablestyle ⇒ Object Also known as: uitableviewstyle
136 137 138 |
# File 'lib/sugarcube-constants/symbol.rb', line 136 def uitablestyle SugarCube.look_in(self, Symbol.uitablestyle) end |
#uitextalignment ⇒ Object Also known as: uialignment
53 54 55 |
# File 'lib/sugarcube-constants/symbol.rb', line 53 def uitextalignment SugarCube.look_in(self, Symbol.uitextalignment) end |