Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fix README too
  • Loading branch information
rogerhu authored Sep 22, 2017
1 parent f9f5559 commit f2ab1d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This is a headless example of how to implement an OAuth 1.0a Yelp API client. Th
**Basic search with query**

```
Business.searchWithTerm("Thai", completion: { (businesses: [Business]!, error: NSError!) -> Void in
Business.searchWithTerm("Thai", completion: { (businesses: [Business]!, error: Error!) -> Void in
self.businesses = businesses
for business in businesses {
Expand All @@ -24,7 +24,7 @@ Business.searchWithTerm("Thai", completion: { (businesses: [Business]!, error: N
**Advanced search with categories, sort, and deal filters**

```
Business.searchWithTerm("Restaurants", sort: .Distance, categories: ["asianfusion", "burgers"], deals: true) { (businesses: [Business]!, error: NSError!) -> Void in
Business.searchWithTerm("Restaurants", sort: .distance, categories: ["asianfusion", "burgers"], deals: true) { (businesses: [Business]!, error: Error!) -> Void in
for business in businesses {
print(business.name!)
Expand Down

0 comments on commit f2ab1d4

Please sign in to comment.