Skip to content

Commit

Permalink
Add explanation for adding new examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Verkoeyen committed Jul 13, 2016
1 parent 98639ec commit 452e5f7
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,24 @@ in your workspace.

![Pods](docs/assets/pods.png)

### Step 6: Build!
### Step 7: Build!

From this point forward you simply need to create new example and unit test source files and they'll
be picked up on a subsequent pod install.

### Ongoing steps: Adding examples

For an example view controller to appear in your project your view controller must implement
`+catalogBreadcrumbs`. For example:

@implementation ParallelResistorExample (CatalogByConvention)

+ (NSArray<NSString *> *)catalogBreadcrumbs {
return @[ @"Resistor", @"Parallel" ];
}

@end

## License

Licensed under the Apache 2.0 license. See LICENSE for details.

0 comments on commit 452e5f7

Please sign in to comment.