Skip to content

Commit

Permalink
added awakeFromNib with NSCalendar date
Browse files Browse the repository at this point in the history
  • Loading branch information
drnic committed Dec 29, 2008
1 parent 90d3933 commit e4d3c81
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
@@ -1,3 +1,4 @@
build
*.mode1v3
*.pbxuser
*.pbxuser
.DS_Store
5 changes: 5 additions & 0 deletions RandomApp/Classes/Foo.rb
Expand Up @@ -17,4 +17,9 @@ def seed(sender)
def generate(sender)
textField.StringValue = (rand(100) + 1)
end

def awakeFromNib
textField.ObjectValue = NSCalendarDate.calendarDate
end

end

0 comments on commit e4d3c81

Please sign in to comment.