Skip to content

some methods don't exist, should we replace them? #7

@ruanwz

Description

@ruanwz
diff --git a/lib/sweet-kit/ios/style.rb b/lib/sweet-kit/ios/style.rb
index 14fb85c..6fd7b46 100644
--- a/lib/sweet-kit/ios/style.rb
+++ b/lib/sweet-kit/ios/style.rb
@@ -5,21 +5,21 @@ module SweetKit
       font :system.uifont(17)
       numberOfLines 1
       minimumFontSize 10
-      autoshrink true
-      baseline :align_baselines
+      #autoshrink true
+      baselineAdjustment :align_baselines
       lineBreakMode :tail_truncation
-      alignment :left
-      color :black
-      opaque false
+      textAlignment :left.nstextalignment
+      text_color :black
+      #opaque false
       backgroundColor :clear
     end

     def sweetkit_input
       font :system.uifont(14)
-      color :black
-      border :rounded
-      alignment :left
-      opaque false
+      text_color :black
+      borderStyle :rounded
+      textAlignment :left.nstextalignment
+      #opaque false
       backgroundColor :clear
     end


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions