-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
53 changed files
with
146 additions
and
499 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// | ||
// ImageSize.h | ||
// MobileWeather | ||
// | ||
// Created by Frank Elias on 6/28/21. | ||
// Copyright © 2021 Ford. All rights reserved. | ||
// | ||
|
||
@import UIKit; | ||
|
||
typedef NS_ENUM(NSUInteger, ImageSize) { | ||
ImageSizeLarge, | ||
ImageSizeSmall | ||
}; | ||
|
||
@interface ImageSizeHelper : NSObject | ||
|
||
+ (CGFloat)floatForImageSize:(ImageSize)imageSize; | ||
|
||
@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,21 @@ | ||
// | ||
// ImageSize.m | ||
// MobileWeather | ||
// | ||
// Created by Frank Elias on 6/28/21. | ||
// Copyright © 2021 Ford. All rights reserved. | ||
// | ||
|
||
#import "ImageSize.h" | ||
|
||
@implementation ImageSizeHelper | ||
|
||
+ (CGFloat)floatForImageSize:(ImageSize)imageSize { | ||
if (imageSize == ImageSizeLarge) { | ||
return 256; | ||
} else { | ||
return 64; | ||
} | ||
} | ||
|
||
@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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"info" : { | ||
"version" : 1, | ||
"author" : "xcode" | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} | ||
} |
21 changes: 0 additions & 21 deletions
21
MobileWeather/Images.xcassets/Images/chancerain.imageset/Contents.json
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-13.5 KB
MobileWeather/Images.xcassets/Images/chancerain.imageset/chancerain.png
Binary file not shown.
21 changes: 0 additions & 21 deletions
21
MobileWeather/Images.xcassets/Images/chancesnow.imageset/Contents.json
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-14.4 KB
MobileWeather/Images.xcassets/Images/chancesnow.imageset/chancesnow.png
Binary file not shown.
21 changes: 0 additions & 21 deletions
21
MobileWeather/Images.xcassets/Images/clear-day.imageset/Contents.json
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-11.3 KB
MobileWeather/Images.xcassets/Images/clear-day.imageset/clear-day.png
Binary file not shown.
21 changes: 0 additions & 21 deletions
21
MobileWeather/Images.xcassets/Images/clear-night.imageset/Contents.json
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-7.75 KB
MobileWeather/Images.xcassets/Images/clear-night.imageset/clear-night.png
Binary file not shown.
21 changes: 0 additions & 21 deletions
21
MobileWeather/Images.xcassets/Images/cloudy.imageset/Contents.json
This file was deleted.
Oops, something went wrong.
Binary file not shown.
21 changes: 0 additions & 21 deletions
21
MobileWeather/Images.xcassets/Images/flurries.imageset/Contents.json
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-15.8 KB
MobileWeather/Images.xcassets/Images/flurries.imageset/flurries.png
Binary file not shown.
21 changes: 0 additions & 21 deletions
21
MobileWeather/Images.xcassets/Images/fog.imageset/Contents.json
This file was deleted.
Oops, something went wrong.
Binary file not shown.
21 changes: 0 additions & 21 deletions
21
MobileWeather/Images.xcassets/Images/hazy.imageset/Contents.json
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.