This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyViewController < UIViewController | |
include ViewTags | |
#by convention, these views will have tags that correspond to the order you specify them in | |
# :date_label:1, :name_label:2 | |
has_view :date_label, :name_label | |
def loadView | |
views = NSBundle.mainBundle.loadNibNamed "myview", owner:self, options:nil | |
self.view = views[0] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import code; code.interact(local=dict(globals(), **locals())) |