Skip to content

Commit 02e7fae

Browse files
committed
Update CONTRIBUTING.md
1 parent 94f6aae commit 02e7fae

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ One note, for programmers joining us from Java or similar language communities,
2121
###UI conventions
2222
We prefer to use [Storyboards](https://developer.apple.com/library/ios/documentation/general/conceptual/Devpedia-CocoaApp/Storyboard.html) vs. building UI elements within the code itself. We are not at the stage to provide a .strings localizable file for translating, but the goal is to have translatable strings in a single entry point so that we can reach users in their native language wherever possible.
2323

24+
Some tips
25+
• any PR that does not use segues or story board conventions (red flags: ```[self.navigationController pushViewController:<#(UIViewController *)#> animated:<#(BOOL)#>]``` and/or manual creation of UI elements and/or orphaned ViewControllers in the storyboard) will to be refactored prior to merge
26+
• the following are the storyboarder's best friends
27+
```- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender;```
28+
``` [self performSegueWithIdentifier:<#(NSString *)#> sender:<#(id)#>];```
29+
2430
## Tabs vs Spaces
2531

2632
It's the eternal debate. We chose to adopt spaces. Please set your default Xcode configuration to 4 spaces for tabs, and 4 spaces for indentation (it's Xcode's default setting).

0 commit comments

Comments
 (0)