File tree Expand file tree Collapse file tree 7 files changed +39
-7
lines changed
Images.xcassets/homeButton.imageset Expand file tree Collapse file tree 7 files changed +39
-7
lines changed Original file line number Diff line number Diff line change 537
537
CLANG_WARN_INT_CONVERSION = YES;
538
538
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
539
539
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
540
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: Leo Chan (GFP2J743S9)";
540
+ CODE_SIGN_IDENTITY = "iPhone Developer: Courtney Douglas (G53GH7RG36)";
541
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: Courtney Douglas (G53GH7RG36)";
541
542
COPY_PHASE_STRIP = NO;
542
543
GCC_C_LANGUAGE_STANDARD = gnu99;
543
544
GCC_DYNAMIC_NO_PIC = NO;
555
556
GCC_WARN_UNUSED_VARIABLE = YES;
556
557
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
557
558
ONLY_ACTIVE_ARCH = YES;
558
- PROVISIONING_PROFILE = "";
559
+ PROVISIONING_PROFILE = "4916E40B-90FC-456F-94A2-3D948BE9C4A4 ";
559
560
SDKROOT = iphoneos;
560
561
};
561
562
name = Debug;
577
578
CLANG_WARN_INT_CONVERSION = YES;
578
579
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
579
580
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
580
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: Leo Chan (GFP2J743S9)";
581
+ CODE_SIGN_IDENTITY = "iPhone Developer: Courtney Douglas (G53GH7RG36)";
582
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: Courtney Douglas (G53GH7RG36)";
581
583
COPY_PHASE_STRIP = YES;
582
584
ENABLE_NS_ASSERTIONS = NO;
583
585
GCC_C_LANGUAGE_STANDARD = gnu99;
588
590
GCC_WARN_UNUSED_FUNCTION = YES;
589
591
GCC_WARN_UNUSED_VARIABLE = YES;
590
592
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
591
- PROVISIONING_PROFILE = "";
593
+ PROVISIONING_PROFILE = "4916E40B-90FC-456F-94A2-3D948BE9C4A4 ";
592
594
SDKROOT = iphoneos;
593
595
VALIDATE_PRODUCT = YES;
594
596
};
Original file line number Diff line number Diff line change 448
448
</view >
449
449
<extendedEdge key =" edgesForExtendedLayout" />
450
450
<navigationItem key =" navigationItem" title =" Charity Details" id =" c10-Fa-Ahg" >
451
- <barButtonItem key =" rightBarButtonItem" title =" Home" id =" Se0-V0-UOU" />
451
+ <barButtonItem key =" rightBarButtonItem" image =" homeButton" id =" Se0-V0-UOU" >
452
+ <connections >
453
+ <action selector =" homeButtonTapped:" destination =" NOY-Uq-MiF" id =" S9f-iL-MG6" />
454
+ </connections >
455
+ </barButtonItem >
452
456
</navigationItem >
453
457
<connections >
454
458
<outlet property =" pieTableView" destination =" LfR-GB-Oci" id =" 4SS-ai-Bi9" />
483
487
<color key =" backgroundColor" white =" 1" alpha =" 1" colorSpace =" custom" customColorSpace =" calibratedWhite" />
484
488
</view >
485
489
<extendedEdge key =" edgesForExtendedLayout" />
486
- <navigationItem key =" navigationItem" title =" Charities" id =" Z67-L8-0hM" />
490
+ <navigationItem key =" navigationItem" title =" Charities" id =" Z67-L8-0hM" >
491
+ <barButtonItem key =" backBarButtonItem" title =" Back" id =" 2QE-74-ktq" />
492
+ </navigationItem >
487
493
<connections >
488
494
<outlet property =" mainTableView" destination =" SuY-85-5PO" id =" HLx-h4-JtY" />
489
495
<segue destination =" NOY-Uq-MiF" kind =" push" identifier =" CODEPushToCharityDetails" id =" FGY-i3-Ecl" />
518
524
</scenes >
519
525
<resources >
520
526
<image name =" TriangleAccent" width =" 68" height =" 20" />
527
+ <image name =" homeButton" width =" 29" height =" 29" />
521
528
<image name =" piePlate" width =" 240" height =" 240" />
522
529
<image name =" triangle1" width =" 19" height =" 22" />
523
530
<image name =" triangle2" width =" 19" height =" 22" />
Original file line number Diff line number Diff line change 13
13
@property (nonatomic , weak ) IBOutlet UITableView *pieTableView;
14
14
@property (nonatomic , strong ) PFObject *selectedOrganization;
15
15
16
+ - (IBAction ) homeButtonTapped : (id ) sender ;
17
+
16
18
@end
Original file line number Diff line number Diff line change @@ -375,7 +375,10 @@ - (void) webLinkTapped: (id) sender {
375
375
}
376
376
377
377
[[UIApplication sharedApplication ] openURL: [NSURL URLWithString: d]];
378
- }
378
+ }
379
379
380
+ - (IBAction ) homeButtonTapped : (id ) sender {
381
+ [self .navigationController popToRootViewControllerAnimated: YES ];
382
+ }
380
383
381
384
@end
Original file line number Diff line number Diff line change
1
+ {
2
+ "images" : [
3
+ {
4
+ "idiom" : " universal" ,
5
+ "scale" : " 1x" ,
6
+ "filename" : " home.png"
7
+ },
8
+ {
9
+ "idiom" : " universal" ,
10
+ "scale" : " 2x" ,
11
+ "filename" : " home@2x.png"
12
+ }
13
+ ],
14
+ "info" : {
15
+ "version" : 1 ,
16
+ "author" : " xcode"
17
+ }
18
+ }
You can’t perform that action at this time.
0 commit comments