Skip to content

Commit

Permalink
- update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahselek committed Sep 24, 2016
1 parent 9ba59c2 commit 313c9c0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ NSArray<FTShortcut *> *shortcuts = @[shortcutFavorite, shortcutCompose];
### Initiate ForceTouchActions with parameters to install the shortcuts
```objc
UIViewController *rootViewController = self.window.rootViewController;
NSString *bundleIdentifier = [NSBundle mainBundle].bundleIdentifier;
self.forceTouchActions = [[FTActions alloc] initWithApplication:[UIApplication sharedApplication]
delegate:rootViewController
bundleIdentifier:bundleIdentifier
shortcuts:shortcuts
launchOptions:launchOptions];
UIViewController *rootViewController = self.window.rootViewController;
NSString *bundleIdentifier = [NSBundle mainBundle].bundleIdentifier;
self.forceTouchActions = [[FTActions alloc] initWithApplication:[UIApplication sharedApplication]
delegate:rootViewController
bundleIdentifier:bundleIdentifier
shortcuts:shortcuts
launchOptions:launchOptions];
```

### Add more shortcuts
Expand Down

0 comments on commit 313c9c0

Please sign in to comment.