- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- (void)willDismissViewControllerWithCity:(NSNumber *)city_id
open:(BOOL)open
oneDollar:(BOOL)oneDollar
twoDollars:(BOOL)twoDollars
threeDollars:(BOOL)threeDollars
cuisineName:(NSString *)cuisineName
cuisine:(NSNumber *)cuisine_id
vegetarian:(BOOL)vegetarian
neighborhoodName:(NSString *)neighborhoodName
neighborhood:(NSNumber *)neighborhood_id
trophy:(BOOL)trophy
eaten:(BOOL)eaten
notEaten:(BOOL)notEaten
planned:(BOOL)planned
{
self.filterByOpen = open;
self.filterByOneDollar = oneDollar;
self.filterByTwoDollars = twoDollars;
self.filterByThreeDollars = threeDollars;
self.filterByCuisine = cuisineName;
self.filterByVegetarian = vegetarian;
self.filterByNeighborhood = neighborhoodName;
self.filterByTrophy = trophy;
self.filterByEaten = eaten;
self.filterByNotEaten = notEaten;
self.filterByPlanned = planned;
self.cuisine_id = cuisine_id;
self.neighborhood_id = neighborhood_id;
if (self.city_id != city_id) {
self.searchBar.text =@"";
[self.searchBar resignFirstResponder];
[[LocationManager sharedInstance] changeCurrentCity:city_id];
self.city_id = city_id;
}
[self setupFilterLabel];
[self updateContent];
}
Psionic 24.03.2014 15:23 # +1
guest 05.04.2014 18:46 # +2