-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-Contact UP is now implemented, the formatting is not all correct but…
… all labels and cells are implemented
- Loading branch information
1 parent
335546c
commit 02b373f
Showing
17 changed files
with
193 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// Employee.h | ||
// UniversityPrograms | ||
// | ||
// Created by Miles Crabbe on 6/6/14. | ||
// Copyright (c) 2014 CAPS. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
@interface Employee : NSObject | ||
@property NSString *name; | ||
@property NSString *title; | ||
@property NSString *phone; | ||
@property NSString *email; | ||
@property NSString *imageURL; | ||
-(instancetype)initWithName:(NSString *)name title:(NSString *)title phoneOrYear:(NSString *)phone emailOrMajor:(NSString *)email; | ||
+(NSArray *)buildArrayOfEmployees; | ||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
// | ||
// Employee.m | ||
// UniversityPrograms | ||
// | ||
// Created by Miles Crabbe on 6/6/14. | ||
// Copyright (c) 2014 CAPS. All rights reserved. | ||
// | ||
|
||
#import "Employee.h" | ||
|
||
@implementation Employee | ||
-(instancetype)initWithName:(NSString *)name title:(NSString *)title phoneOrYear:(NSString *)phone emailOrMajor:(NSString *)email{ | ||
self.name=name; | ||
self.title=title; | ||
self.phone=phone; | ||
self.email=email; | ||
|
||
return self; | ||
} | ||
+(NSArray *)buildArrayOfEmployees{ | ||
|
||
Employee *e1 = [[Employee alloc] initWithName:@"LaToya Scott" title:@"Director" phoneOrYear:@"Phone: (205)348-9958" emailOrMajor:@"Email: [email protected]"]; | ||
e1.imageURL=@"http://www.up.ua.edu/images/UPWebsite-StaffNew_2.jpg"; | ||
Employee *e2 = [[Employee alloc] initWithName:@"Kimberly Jones" title:@"Program Assistant" phoneOrYear:@"Phone: (205)348-7525" emailOrMajor:@"Email: [email protected]"]; | ||
e2.imageURL=@"http://www.up.ua.edu/images/UPWebsite-StaffNew_7.jpg"; | ||
Employee *e3 = [[Employee alloc] initWithName:@"Averie Armstead" title:@"Graduate Assistant" phoneOrYear:@"Year: Graduate" emailOrMajor:@"Major: Sports Management"]; | ||
e3.imageURL=@"http://www.up.ua.edu/images/UPWebsite-StaffNew_15.jpg"; | ||
Employee *e4 = [[Employee alloc] initWithName:@"Jennifer McCollum" title:@"Graduate Assistant" phoneOrYear:@"Year: Graduate" emailOrMajor:@"Major: Public Administration"]; | ||
e4.imageURL=@"http://www.up.ua.edu/images/UPWebsite-StaffNew_9.jpg"; | ||
Employee *e5 = [[Employee alloc] initWithName:@"James Shetler" title:@"Graduate Assistant" phoneOrYear:@"Year: Graduate" emailOrMajor:@"Major: Advertising/Public Relations"];; | ||
e5.imageURL=@"http://www.up.ua.edu/images/UPWebsite-StaffNew_13.jpg"; | ||
Employee *e6 = [[Employee alloc] initWithName:@"Britney Lee" title:@"Event Programmer" phoneOrYear:@"Year: Senior" emailOrMajor:@"Major: Public Relations"]; | ||
e6.imageURL=@"http://www.up.ua.edu/images/UPWebsite-StaffNew_14.jpg"; | ||
Employee *e7 = [[Employee alloc] initWithName:@"Taylor Johnson" title:@"Event Programmer" phoneOrYear:@"Year: Junior" emailOrMajor:@"Major: General Business"]; | ||
e7.imageURL=@"http://www.up.ua.edu/images/UPWebsite-StaffNew_6.jpg"; | ||
Employee *e8 = [[Employee alloc] initWithName:@"Runqiu (Candice) Ji" title:@"Event Programmer" phoneOrYear:@"Year: Junior" emailOrMajor:@"Major: Marketing"]; | ||
e8.imageURL=@"http://www.up.ua.edu/images/UPWebsite-StaffNew.jpg"; | ||
Employee *e9 = [[Employee alloc] initWithName:@"Bonnika Ashley" title:@"Event Programmer" phoneOrYear:@"Year: Senior" emailOrMajor:@"Major: Computer Science"]; | ||
e9.imageURL=@"http://www.up.ua.edu/images/UP.jpg"; | ||
Employee *e10 = [[Employee alloc] initWithName:@"Reginald (Reggie) Allison II" title:@"Intern" phoneOrYear:@"Year: Graduate" emailOrMajor:@"Major: Telecommunication and Film"]; | ||
e10.imageURL=@"http://www.up.ua.edu/images/UPWebsite-StaffNew_16.jpg"; | ||
Employee *e11 = [[Employee alloc] initWithName:@"Allison Terrell" title:@"Communications Team" phoneOrYear:@"Year: Senior" emailOrMajor:@"Major: Public Relations"]; | ||
e11.imageURL=@"http://www.up.ua.edu/images/UPWebsite-StaffNew_11.jpg"; | ||
Employee *e12 = [[Employee alloc] initWithName:@"Brittney Wormely" title:@"Intern" phoneOrYear:@"Year: 2nd Year Law" emailOrMajor:@"Major: Law"]; | ||
e12.imageURL=@"http://www.up.ua.edu/images/UPWebsite-StaffNew_18.jpg"; | ||
|
||
NSArray *array = [[NSArray alloc] initWithObjects:e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, e11, e12, nil]; | ||
|
||
return array; | ||
} | ||
|
||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.