Permalink
Browse files

bedroom bathroom switch

  • Loading branch information...
1 parent fe18618 commit ea63b86407967b4417661befb702eb7592cb4540 @jovhenni19 committed Feb 20, 2014
View
BIN ...j/project.xcworkspace/xcuserdata/host24_iosdev.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
View
16 AgentBridge/ABridge_BuyerPagesViewController.m
@@ -113,8 +113,22 @@ - (void)viewDidLoad
NSMutableString *featuresString = [NSMutableString stringWithFormat:@""];
NSEntityDescription *entity = [self.buyerDetail entity];
NSDictionary *attributes = [entity attributesByName];
- int count = 0;
+
+ NSMutableArray *arrayAttributes = [NSMutableArray array];
+
for (NSString *attribute in attributes) {
+ [arrayAttributes addObject:attribute];
+ }
+
+ NSInteger bathroom = [arrayAttributes indexOfObject:@"bathroom"];
+ NSInteger bedroom = [arrayAttributes indexOfObject:@"bedroom"];
+
+ [arrayAttributes replaceObjectAtIndex:bathroom withObject:@"bedroom"];
+ [arrayAttributes replaceObjectAtIndex:bedroom withObject:@"bathroom"];
+
+ int count = 0;
+ for (NSString *attribute in arrayAttributes) {
+
if([attribute isEqualToString:@"available_sqft"]||[attribute isEqualToString:@"bathroom"]||[attribute isEqualToString:@"bedroom"]||[attribute isEqualToString:@"bldg_sqft"]||[attribute isEqualToString:@"cap_rate"]||[attribute isEqualToString:@"ceiling_height"]||[attribute isEqualToString:@"condition"]||[attribute isEqualToString:@"furnished"]||[attribute isEqualToString:@"garage"]||[attribute isEqualToString:@"grm"]||[attribute isEqualToString:@"lot_size"]||[attribute isEqualToString:@"lot_sqft"]||[attribute isEqualToString:@"view"]||[attribute isEqualToString:@"year_built"]||[attribute isEqualToString:@"stories"]||[attribute isEqualToString:@"unit_sqft"]||[attribute isEqualToString:@"features1"]||[attribute isEqualToString:@"features2"]||[attribute isEqualToString:@"features3"]){
View
2 AgentBridge/AgentBridge-Info.plist
@@ -21,7 +21,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>1.0.66</string>
+ <string>1.0.67</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIAppFonts</key>
View
4 AgentBridge/Images.xcassets/payment.imageset/Contents.json
@@ -4,6 +4,10 @@
"idiom" : "universal",
"scale" : "1x",
"filename" : "payment.png"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "2x"
}
],
"info" : {

0 comments on commit ea63b86

Please sign in to comment.