Skip to content

Commit

Permalink
Fix edit controller
Browse files Browse the repository at this point in the history
  • Loading branch information
imurchie committed Sep 19, 2014
1 parent e714ec0 commit d4382e7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/controllers/editing_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ class EditingController < UIViewController
def viewDidLoad
super

NSLog("Entering Editing Controller")

# simple init
self.title = "Editing"
self.view.backgroundColor = UIColor.whiteColor
Expand All @@ -39,7 +41,7 @@ def viewDidLoad
@text_field2.delegate = self
self.view.addSubview @text_field2

@text_view = UITextView.alloc.initWithFrame [[0, 0], [160, 26]]
@text_view = UITextField.alloc.initWithFrame [[0, 0], [160, 26]]
@text_view.accessibilityLabel = "Sum"
@text_view.textAlignment = UITextAlignmentCenter
@text_view.center = CGPointMake(self.view.frame.size.width / 2, self.view.frame.size.height / 2 - 50)
Expand Down

0 comments on commit d4382e7

Please sign in to comment.