Skip to content

Commit c619d7f

Browse files
author
David Chen
committed
Merge pull request #26 from Yelp/remove_YLPCurrentLatLong_ref_in_readme
YLPCurrentLatLong->YLPCoordinate
2 parents 4bec052 + 9dedc8a commit c619d7f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ Once you have a `YLPClient` object you can use the various search related functi
3636
##### Search With Location
3737
```objective-c
3838
- (void)searchWithLocation:(NSString *)location
39-
currentLatLong:(nullable YLPCurrentLatLong *)cll
39+
currentLatLong:(nullable YLPCoordinate *)cll
4040
term:(nullable NSString *)term
4141
limit:(NSUInteger)limit
4242
offset:(NSUInteger)offset
43-
sort:(NSUInteger)sort
43+
sort:(YLPSortType)sort
4444
completionHandler:(YLPSearchCompletionHandler)completionHandler;
4545
4646
- (void)searchWithLocation:(NSString *)location
@@ -50,11 +50,11 @@ Once you have a `YLPClient` object you can use the various search related functi
5050
##### Search With Geographic Bounding Box
5151
```objective-c
5252
- (void)searchWithBounds:(YLPGeoBoundingBox *)bounds
53-
currentLatLong:(nullable YLPCurrentLatLong *)cll
53+
currentLatLong:(nullable YLPCoordinate *)cll
5454
term:(nullable NSString *)term
5555
limit:(NSUInteger)limit
5656
offset:(NSUInteger)offset
57-
sort:(NSUInteger)sort
57+
sort:(YLPSortType)sort
5858
completionHandler:(YLPSearchCompletionHandler)completionHandler;
5959

6060
- (void)searchWithBounds:(YLPGeoBoundingBox *)bounds
@@ -64,11 +64,11 @@ Once you have a `YLPClient` object you can use the various search related functi
6464
##### Search With Geographic Coordinate
6565
```objective-c
6666
- (void)searchWithGeoCoordinate:(YLPGeoCoordinate *)geoCoordinate
67-
currentLatLong:(nullable YLPCurrentLatLong *)cll
67+
currentLatLong:(nullable YLPCoordinate *)cll
6868
term:(nullable NSString *)term
6969
limit:(NSUInteger)limit
7070
offset:(NSUInteger)offset
71-
sort:(NSUInteger)sort
71+
sort:(YLPSortType)sort
7272
completionHandler:(YLPSearchCompletionHandler)completionHandler;
7373

7474
- (void)searchWithGeoCoordinate:(YLPGeoCoordinate *)geoCoordinate

0 commit comments

Comments
 (0)