Sha256: 1d5165c196f1220206ed0691a6603c96c6700b913877a1dba956c84b09e0cc80

Contents?: true

Size: 213 Bytes

Versions: 40

Compression:

Stored size: 213 Bytes

Contents

class UIFont
  def uifont(font_size=nil)
    if font_size.nil?
      self
    else
      font_size = font_size.uifontsize if font_size.respond_to?(:uifontsize)
      self.fontWithSize(font_size)
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
sugarcube-3.0.4 lib/ios/sugarcube-ui/uifont.rb
sugarcube-3.0.3 lib/ios/sugarcube-ui/uifont.rb
sugarcube-3.0.2 lib/ios/sugarcube-ui/uifont.rb
sugarcube-3.0.1 lib/ios/sugarcube-ui/uifont.rb
sugarcube-3.0.0 lib/ios/sugarcube-uikit/uifont.rb
sugarcube-2.12.3 lib/ios/sugarcube-uikit/uifont.rb
sugarcube-2.12.2 lib/ios/sugarcube-uikit/uifont.rb
sugarcube-2.12.1 lib/ios/sugarcube-uikit/uifont.rb
sugarcube-2.12.0 lib/ios/sugarcube-uikit/uifont.rb
sugarcube-2.11.1 lib/ios/sugarcube-uikit/uifont.rb
sugarcube-2.11.0 lib/ios/sugarcube-uikit/uifont.rb
sugarcube-2.10.0 lib/ios/sugarcube-uikit/uifont.rb
sugarcube-2.9.1 lib/ios/sugarcube-uikit/uifont.rb
sugarcube-2.8.2 lib/ios/sugarcube-uikit/uifont.rb
sugarcube-2.8.1 lib/ios/sugarcube-uikit/uifont.rb
sugarcube-2.8.0 lib/ios/sugarcube-uikit/uifont.rb
sugarcube-2.7.1 lib/ios/sugarcube-uikit/uifont.rb
sugarcube-2.7.0 lib/ios/sugarcube-uikit/uifont.rb
sugarcube-2.6.0 lib/ios/sugarcube-uikit/uifont.rb
sugarcube-2.5.0 lib/ios/sugarcube-uikit/uifont.rb