Skip to content

Commit 4385f64

Browse files
committed
Update README.md
1 parent 2094986 commit 4385f64

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ To do these, you must first add an `#import "ECSlidingViewController.h"` to the
6262

6363
Below is the `viewDidLoad:` and `viewWillAppear:` method for `FirstTopViewController`.
6464

65-
- (void)viewDidLoad
65+
`- (void)viewDidLoad
6666
{
6767
[super viewDidLoad];
6868
// Do any additional setup after loading the view, typically from a nib.
@@ -86,8 +86,7 @@ To do these, you must first add an `#import "ECSlidingViewController.h"` to the
8686
[super viewWillAppear:animated];
8787
// Do additonal stuff here
8888
[self.view addGestureRecognizer:self.slidingViewController.panGesture];
89-
}
90-
89+
}`
9190

9291
The above code will conditionally set the `underLeftViewController` if it is not already there. Then, it adds the gesture recognizer to the top view. The last line of code specifies the top view's anchor position on the right side.
9392

0 commit comments

Comments
 (0)