s/nimrod/nim/g; s/babel/nimble/g

This commit is contained in:
Flaviu Tamas 2015-01-09 22:59:16 -05:00
commit 8b807adc08
13 changed files with 41 additions and 41 deletions

View file

@ -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.

View file

@ -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];