Creating outlets in storyboard

59 views
Skip to first unread message

Szymon Nowak

unread,
Sep 10, 2012, 9:51:41 AM9/10/12
to rubym...@googlegroups.com
Hi,

I've read few storyboard posts/tutorials and they all say that I need to create a header file to be able to create an outlet. Is it still the only solution? Can RubyMotion generate a header file for me, or do I have to create one manually?

Is using storyboard actually a good idea? I've created some views programmatically and positioning them was rather annoying, however, I might be simply doing it wrong :) Is there some concept of layout in iOS so that I don't have to explicitly set frame of every subview manually?

Cheers,
Szymon

malkomalko

unread,
Sep 10, 2012, 11:05:03 AM9/10/12
to rubym...@googlegroups.com
check out https://github.com/yury/ib

works like a charm

Szymon Nowak

unread,
Sep 10, 2012, 12:53:08 PM9/10/12
to rubym...@googlegroups.com
On Monday, 10 September 2012 17:05:03 UTC+2, malkomalko wrote:
check out https://github.com/yury/ib

works like a charm

Thanks! I figured out that I can access a view in controller via view.viewWithTag method, but this gem looks much better. 
Reply all
Reply to author
Forward
0 new messages