diff options
author | Flaviu Tamas <tamasflaviu@gmail.com> | 2015-01-09 22:59:16 -0500 |
---|---|---|
committer | Flaviu Tamas <tamasflaviu@gmail.com> | 2015-01-09 22:59:16 -0500 |
commit | 8b807adc08530c72122a97eea3c96b7b2f13d579 (patch) | |
tree | 21a67f2c3a485abea4907f4f96a76a2451c7408d /examples/cross_calculator/ios | |
parent | f2e717da2d44a184bc8ce7056391d975cb641e81 (diff) | |
download | Nim-8b807adc08530c72122a97eea3c96b7b2f13d579.tar.gz |
s/nimrod/nim/g; s/babel/nimble/g
Diffstat (limited to 'examples/cross_calculator/ios')
-rw-r--r-- | examples/cross_calculator/ios/readme.txt | 4 | ||||
-rw-r--r-- | examples/cross_calculator/ios/src/NRViewController.m | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/examples/cross_calculator/ios/readme.txt b/examples/cross_calculator/ios/readme.txt index e75db72bf..83538aad7 100644 --- a/examples/cross_calculator/ios/readme.txt +++ b/examples/cross_calculator/ios/readme.txt @@ -1,10 +1,10 @@ In this directory you will find the iOS platform cross-calculator sample. The iOS version of the code builds a view controller in charge of displaying -the interface to the user. The nimrod backend code is compiled into C code and +the interface to the user. The Nim backend code is compiled into C code and put into build/nimrod as a pre-build phase of the project. -When the calculate button is used the view controller calls the nimrod code to +When the calculate button is used the view controller calls the Nim code to delegate the logic of the operation and puts the result in a label for display. All interface error checks are implemented in the view controller. diff --git a/examples/cross_calculator/ios/src/NRViewController.m b/examples/cross_calculator/ios/src/NRViewController.m index bd0df7d6b..1f92f2d38 100644 --- a/examples/cross_calculator/ios/src/NRViewController.m +++ b/examples/cross_calculator/ios/src/NRViewController.m @@ -40,7 +40,7 @@ // Dismiss all keyboards. [self backgroundTouched]; - // Call nimrod code, store the result and display it. + // Call Nim code, store the result and display it. const int a = [self.aText.text intValue]; const int b = [self.bText.text intValue]; const int c = myAdd(a, b); @@ -66,7 +66,7 @@ * was used on the xib file and slightly modified to fit the original property * names. Which means here is a lot of garbage you would never write in real * life. Please ignore the following "wall of code" for the purposes of - * learning Nimrod, this is all just because Apple can't be bothered to + * learning Nim, this is all just because Apple can't be bothered to * maintain backwards compatibility properly. */ - (void)loadView @@ -102,7 +102,7 @@ label4.contentStretch = CGRectFromString(@"{{0, 0}, {1, 1}}"); label4.frame = CGRectMake(0.0, 0.0, 320.0, 34.0); label4.tag = 2; - label4.text = @"Nimrod Crossplatform Calculator"; + label4.text = @"Nim Crossplatform Calculator"; label4.textAlignment = UITextAlignmentCenter; UIButton *background_button = [UIButton buttonWithType:UIButtonTypeCustom]; |