label = UILabel.alloc.initWithFrame([[50, 100], [100, 30]])
color = UIColor.alloc.initWithRed(0.5, green: 0.5, blue: 0.5, alpha: 0.9)
label = UILabel.new(frame: [[50, 100], [100, 30]])
color = UIColor.new(red:0.5, green: 0.5, blue: 0.5, alpha: 0.9)
--
You received this message because you are subscribed to the Google Groups "RubyMotion - Ruby for iOS, OS X, and Android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubymotion+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubymotion/baeddcfa-6452-44dd-bcb4-7d6630ffa85d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
label = UILabel.with(frame: [[50, 100], [100, 30]])
color = UIColor.with(red:0.5, green: 0.5, blue: 0.5, alpha: 0.9)
--
You received this message because you are subscribed to the Google Groups "RubyMotion - Ruby for iOS, OS X, and Android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubymotion+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubymotion/fbccf75c-9931-4c8a-92bc-3097a19f0cc8%40googlegroups.com.
UIColor.with(red: 0.5, green: 0.5, blue: 0.5, alpha: 0.9)
UIColor.alloc.send('initWithRed:green:blue:alpha:’, *[0.5, 0.5, 0.5, 0.9])
Objective-C stub for message `initWithRed:green:blue:alpha:' type `@@:dddd' not precompiled. Make sure you properly link with the framework or library that defines this message.
label = UILabel.alloc.initWithFrame([[50, 100], [100, 30]])
label = UILabel.new(frame: [[50, 100], [100, 30]])
class DummyStubs
def initWithRed(_, green: _, blue: _, alpha: _)
abort "Don't call this, it's just for RM"
end
end
--
You received this message because you are subscribed to a topic in the Google Groups "RubyMotion - Ruby for iOS, OS X, and Android" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubymotion/UVgxewAiKJ0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rubymotion+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubymotion/d97a33ac-b425-4e93-beaf-83f534130382%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "RubyMotion - Ruby for iOS, OS X, and Android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubymotion+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubymotion/CAD0Vak%2Btrq1uVcVW20p%2ByPCXzEFQQCKcDtiM-EzG60FbGkwQ-A%40mail.gmail.com.