Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Updated README

  • Loading branch information...
commit 2fd0be523422e93d0ad73b84d6f22be3f7e4f28d 1 parent 25eb1e7
Jason Kozemczak authored November 26, 2012

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. 8  README.md
8  README.md
Source Rendered
@@ -16,7 +16,7 @@ CKSideBarController uses ARC, so for non-ARC projects, you'll want to add the `f
16 16
 ## Using CKSideBarController
17 17
 CKSideBarController, like UITabBarController and UISplitViewController, works best as the rootViewController of your application:
18 18
 
19  
-```
  19
+```objective-c
20 20
 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
21 21
 {
22 22
     self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
@@ -33,7 +33,7 @@ CKSideBarController, like UITabBarController and UISplitViewController, works be
33 33
 
34 34
 In order to provide content for the CKSideBarController, you assign an array of UIViewControllers to the `viewControllers` property of your CKSideBarController instance:
35 35
 
36  
-```
  36
+```objective-c
37 37
 - (void)someMethod {
38 38
     self.barController.viewControllers = @[
39 39
       [[FirstViewController alloc] init],
@@ -45,7 +45,7 @@ In order to provide content for the CKSideBarController, you assign an array of
45 45
 
46 46
 We can configure how each UIViewController managed by the bar controller is displayed by setting by manipulating each's `sideBarItem`. You'll need to import the `CKSideBarController.h` file in order to see the `sideBarItem` property.
47 47
 
48  
-```
  48
+```objective-c
49 49
 #import "CKSideBarController.m"
50 50
 
51 51
 // ...
@@ -71,7 +71,7 @@ We can configure how each UIViewController managed by the bar controller is disp
71 71
 
72 72
 For more fine-grained control over the CKSideBarController's behavior is via the CKSideBarController's delegate. All methods in the `CKSideBarControllerDelegate` are optional, so implement the ones important to you. Be sure to set the `delegate` property of your CKSideBarController to the appropriate object.
73 73
 
74  
-```
  74
+```objective-c
75 75
 #pragma mark - CKSideBarControllerDelegate
76 76
 
77 77
 // Remember sideBarController.delegate = self !!!

0 notes on commit 2fd0be5

Please sign in to comment.
Something went wrong with that request. Please try again.