├── WeatherFont
├── Pe-icon-7-weather.ttf
└── FontHeader.h
├── WeatherFontIcon
├── WeatherFont
│ ├── Pe-icon-7-weather.ttf
│ └── FontHeader.h
├── AppDelegate.h
├── main.m
├── ViewController.h
├── Images.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
├── Info.plist
├── ViewController.m
├── AppDelegate.m
└── Base.lproj
│ ├── LaunchScreen.xib
│ └── Main.storyboard
├── WeatherFontIcon.xcodeproj
├── project.xcworkspace
│ ├── contents.xcworkspacedata
│ ├── xcuserdata
│ │ └── shaffiullakhan.xcuserdatad
│ │ │ └── UserInterfaceState.xcuserstate
│ └── xcshareddata
│ │ └── WeatherFontIcon.xccheckout
├── xcuserdata
│ └── shaffiullakhan.xcuserdatad
│ │ └── xcschemes
│ │ ├── xcschememanagement.plist
│ │ └── WeatherFontIcon.xcscheme
└── project.pbxproj
├── WeatherFontIconTests
├── Info.plist
└── WeatherFontIconTests.m
├── LICENSE
└── README.md
/WeatherFont/Pe-icon-7-weather.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shafiullakhan/WeatherFontIcon/HEAD/WeatherFont/Pe-icon-7-weather.ttf
--------------------------------------------------------------------------------
/WeatherFontIcon/WeatherFont/Pe-icon-7-weather.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shafiullakhan/WeatherFontIcon/HEAD/WeatherFontIcon/WeatherFont/Pe-icon-7-weather.ttf
--------------------------------------------------------------------------------
/WeatherFontIcon.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/WeatherFontIcon.xcodeproj/project.xcworkspace/xcuserdata/shaffiullakhan.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shafiullakhan/WeatherFontIcon/HEAD/WeatherFontIcon.xcodeproj/project.xcworkspace/xcuserdata/shaffiullakhan.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/WeatherFontIcon/AppDelegate.h:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.h
3 | // WeatherFontIcon
4 | //
5 | // Created by Shaffiulla Khan on 10/28/14.
6 | // Copyright (c) 2014 Shaffiulla Khan. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface AppDelegate : UIResponder
12 |
13 | @property (strong, nonatomic) UIWindow *window;
14 |
15 |
16 | @end
17 |
18 |
--------------------------------------------------------------------------------
/WeatherFontIcon/main.m:
--------------------------------------------------------------------------------
1 | //
2 | // main.m
3 | // WeatherFontIcon
4 | //
5 | // Created by Shaffiulla Khan on 10/28/14.
6 | // Copyright (c) 2014 Shaffiulla Khan. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "AppDelegate.h"
11 |
12 | int main(int argc, char * argv[]) {
13 | @autoreleasepool {
14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/WeatherFontIcon/ViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.h
3 | // WeatherFontIcon
4 | //
5 | // Created by Shaffiulla Khan on 10/28/14.
6 | // Copyright (c) 2014 Shaffiulla Khan. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ViewController : UIViewController
12 |
13 | @property (weak, nonatomic) IBOutlet UIView *stageView;
14 | @property (weak, nonatomic) IBOutlet UILabel *stageIcon;
15 | @property (weak, nonatomic) IBOutlet UIPickerView *pickerView;
16 |
17 | - (IBAction)sizeChanged:(id)sender;
18 | - (IBAction)colorChanged:(id)sender;
19 |
20 | @end
21 |
22 |
--------------------------------------------------------------------------------
/WeatherFontIcon.xcodeproj/xcuserdata/shaffiullakhan.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | WeatherFontIcon.xcscheme
8 |
9 | orderHint
10 | 0
11 |
12 |
13 | SuppressBuildableAutocreation
14 |
15 | D75CE8FE19FF7ADB00AB47E4
16 |
17 | primary
18 |
19 |
20 | D75CE91719FF7ADC00AB47E4
21 |
22 | primary
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/WeatherFontIcon/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | }
33 | ],
34 | "info" : {
35 | "version" : 1,
36 | "author" : "xcode"
37 | }
38 | }
--------------------------------------------------------------------------------
/WeatherFontIconTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | Shafi.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/WeatherFontIconTests/WeatherFontIconTests.m:
--------------------------------------------------------------------------------
1 | //
2 | // WeatherFontIconTests.m
3 | // WeatherFontIconTests
4 | //
5 | // Created by Shaffiulla Khan on 10/28/14.
6 | // Copyright (c) 2014 Shaffiulla Khan. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 |
12 | @interface WeatherFontIconTests : XCTestCase
13 |
14 | @end
15 |
16 | @implementation WeatherFontIconTests
17 |
18 | - (void)setUp {
19 | [super setUp];
20 | // Put setup code here. This method is called before the invocation of each test method in the class.
21 | }
22 |
23 | - (void)tearDown {
24 | // Put teardown code here. This method is called after the invocation of each test method in the class.
25 | [super tearDown];
26 | }
27 |
28 | - (void)testExample {
29 | // This is an example of a functional test case.
30 | XCTAssert(YES, @"Pass");
31 | }
32 |
33 | - (void)testPerformanceExample {
34 | // This is an example of a performance test case.
35 | [self measureBlock:^{
36 | // Put the code you want to measure the time of here.
37 | }];
38 | }
39 |
40 | @end
41 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2014 shaffiulla
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
23 |
--------------------------------------------------------------------------------
/WeatherFontIcon/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | Shafi.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UIAppFonts
34 |
35 | Pe-icon-7-weather.ttf
36 |
37 | UISupportedInterfaceOrientations
38 |
39 | UIInterfaceOrientationPortrait
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | **WeatherFontIcon**
2 | ===============
3 |
4 | Using Font Icon Set within Label to display weather icon
5 | [Weather 7 Icon Font Set]
6 |
7 | 
8 |
9 | **Usage**
10 | ----
11 |
12 | To use WeatherFontIcon, download [WeatherFont] inlcude FontHeader.h and Pe-icon-7-weather.ttf inside your project and follow the below steps:
13 |
14 | 1. Open Info.plist file add row and set key value as "Fonts provided by application", by default array object is created
15 | 2. Set Value for Item 0 as "Pe-icon-7-weather.ttf"
16 | 3. Use can you font icon as normal UILabel
17 |
18 | An example of making a label with weather font:
19 |
20 | UILabel *fontLabel = [[UILabel alloc] initWithFrame:self.view.bounds];
21 | [fontLabel setFont:[UIFont fontWithName:@"Pe-icon-7-weather.ttf" size:90]];
22 | [fontLabel setText:[NSString stringWithFormat:@"%@ Weather Icon Random text",kWind]];
23 | [fontLabel setTextColor:[UIColor whiteColor]];
24 | [self.view addSubview:fontLabel];
25 |
26 | Where "kWind" you can find inside FontHeader.h file all available weather icon which you can used to set the UILabel text value.
27 |
28 | There's also an example project.
29 |
30 |
31 | **License**
32 | ----
33 |
34 | MIT
35 |
36 | [Weather 7 Icon Font Set]:http://www.pixeden.com/icon-fonts/weather-7-icon-font-set
37 | [WeatherFont]:https://github.com/shafiullakhan/WeatherFontIcon/tree/master/WeatherFont
38 |
--------------------------------------------------------------------------------
/WeatherFontIcon.xcodeproj/project.xcworkspace/xcshareddata/WeatherFontIcon.xccheckout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDESourceControlProjectFavoriteDictionaryKey
6 |
7 | IDESourceControlProjectIdentifier
8 | 4BB94482-5A18-4EF4-BBD7-EF55CDFBD67B
9 | IDESourceControlProjectName
10 | WeatherFontIcon
11 | IDESourceControlProjectOriginsDictionary
12 |
13 | 248E61E16C402AD5A2EEA92F64C742C588A31B0F
14 | https://github.com/shafiullakhan/WeatherFontIcon.git
15 |
16 | IDESourceControlProjectPath
17 | WeatherFontIcon.xcodeproj
18 | IDESourceControlProjectRelativeInstallPathDictionary
19 |
20 | 248E61E16C402AD5A2EEA92F64C742C588A31B0F
21 | ../..
22 |
23 | IDESourceControlProjectURL
24 | https://github.com/shafiullakhan/WeatherFontIcon.git
25 | IDESourceControlProjectVersion
26 | 111
27 | IDESourceControlProjectWCCIdentifier
28 | 248E61E16C402AD5A2EEA92F64C742C588A31B0F
29 | IDESourceControlProjectWCConfigurations
30 |
31 |
32 | IDESourceControlRepositoryExtensionIdentifierKey
33 | public.vcs.git
34 | IDESourceControlWCCIdentifierKey
35 | 248E61E16C402AD5A2EEA92F64C742C588A31B0F
36 | IDESourceControlWCCName
37 | WeatherFontIcon
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/WeatherFontIcon/ViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.m
3 | // WeatherFontIcon
4 | //
5 | // Created by Shaffiulla Khan on 10/28/14.
6 | // Copyright (c) 2014 Shaffiulla Khan. All rights reserved.
7 | //
8 |
9 | #import "ViewController.h"
10 | #import "FontHeader.h"
11 |
12 | @interface ViewController ()
13 | {
14 | }
15 | @end
16 |
17 | @implementation ViewController
18 | @synthesize stageIcon;
19 |
20 | - (void)viewDidLoad {
21 | [super viewDidLoad];
22 | [stageIcon setFont:[UIFont fontWithName:KFontName size:90]];
23 | [stageIcon setText:kWind];
24 | }
25 |
26 | - (void)didReceiveMemoryWarning {
27 | [super didReceiveMemoryWarning];
28 | // Dispose of any resources that can be recreated.
29 | }
30 | - (IBAction)sizeChanged:(id)sender {
31 | CGFloat size = [(UISlider *)sender value];
32 | NSLog(@"CHANGE SIZE %f ", size);
33 | [stageIcon setFont:[UIFont fontWithName:KFontName size:size]];
34 | }
35 |
36 | - (IBAction)colorChanged:(id)sender {
37 | CGFloat value = [(UISlider *)sender value];
38 | NSLog(@"CHANGE SIZE %@ ", stageIcon.textColor);
39 | if (value==0.0) {
40 | stageIcon.textColor = [UIColor blackColor];
41 | }
42 | else {
43 | stageIcon.textColor = [UIColor colorWithHue: value saturation: 0.8 brightness: 0.9 alpha: 1.0];
44 | }
45 | }
46 |
47 | #pragma mark - Picker Delegate
48 |
49 | -(NSInteger)numberOfComponentsInPickerView:(UIPickerView *)pickerView
50 | {
51 | return 1;
52 | }
53 |
54 | -(NSInteger)pickerView:(UIPickerView *)pickerView numberOfRowsInComponent:(NSInteger)component
55 | {
56 | return [FontList allKeys].count;
57 | }
58 |
59 | -(NSString *)pickerView:(UIPickerView *)pickerView titleForRow:(NSInteger)row forComponent:(NSInteger)component
60 | {
61 | return [[FontList allKeys][row] capitalizedString];
62 | }
63 |
64 | -(void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component
65 | {
66 | NSString *key = [FontList allKeys][row];
67 | [stageIcon setText:FontList[key]];
68 | }
69 | @end
70 |
--------------------------------------------------------------------------------
/WeatherFontIcon/AppDelegate.m:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.m
3 | // WeatherFontIcon
4 | //
5 | // Created by Shaffiulla Khan on 10/28/14.
6 | // Copyright (c) 2014 Shaffiulla Khan. All rights reserved.
7 | //
8 |
9 | #import "AppDelegate.h"
10 |
11 | @interface AppDelegate ()
12 |
13 | @end
14 |
15 | @implementation AppDelegate
16 |
17 |
18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
19 | // Override point for customization after application launch.
20 | return YES;
21 | }
22 |
23 | - (void)applicationWillResignActive:(UIApplication *)application {
24 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
25 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
26 | }
27 |
28 | - (void)applicationDidEnterBackground:(UIApplication *)application {
29 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
30 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
31 | }
32 |
33 | - (void)applicationWillEnterForeground:(UIApplication *)application {
34 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
35 | }
36 |
37 | - (void)applicationDidBecomeActive:(UIApplication *)application {
38 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
39 | }
40 |
41 | - (void)applicationWillTerminate:(UIApplication *)application {
42 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
43 | }
44 |
45 | @end
46 |
--------------------------------------------------------------------------------
/WeatherFontIcon/Base.lproj/LaunchScreen.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
20 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/WeatherFont/FontHeader.h:
--------------------------------------------------------------------------------
1 | //
2 | // FontHeader.h
3 | // WeatherFontIcon
4 | //
5 | // Created by Shaffiulla Khan on 10/28/14.
6 | // Copyright (c) 2014 Shaffiulla Khan. All rights reserved.
7 | //
8 |
9 | #define kWind @""
10 | #define kWindSun @""
11 | #define kWindMoon @""
12 | #define kUpload @""
13 | #define kUmbrella @""
14 | #define kThermometerFull @""
15 | #define kThermometerThreeFourth @""
16 | #define kThermometerOneFourth @""
17 | #define kThermometerOneSecond @""
18 | #define kThermometerZero @""
19 | #define kSunset @""
20 | #define kSunrise @""
21 | #define kSun @""
22 | #define kSnow @""
23 | #define kSnowSun @""
24 | #define kSnowMoon @""
25 | #define kSnowAlt @""
26 | #define kSnowAltSun @""
27 | #define kSnowAltMoon @""
28 | #define kRain @""
29 | #define kRainSun @""
30 | #define kRainMoon @""
31 | #define kRainAlt @""
32 | #define kRainAltSun @""
33 | #define kRainAltMoon @""
34 | #define kMoon @""
35 | #define kLightning @""
36 | #define kLightningSun @""
37 | #define kLightningRain @""
38 | #define kLightningRainSun @""
39 | #define kLightningRainMoon @""
40 | #define kLightningMoon @""
41 | #define kLight @""
42 | #define kHurricane @""
43 | #define kHail @""
44 | #define kHailSun @""
45 | #define kHailMoon @""
46 | #define kFog @""
47 | #define kFogSun @""
48 | #define kFogMoon @""
49 | #define kDrizzle @""
50 | #define kDrizzleSun @""
51 | #define kDrizzleMoon @""
52 | #define kDrizzleAlt @""
53 | #define kDrizzleAltSun @""
54 | #define kDrizzleAltMoon @""
55 | #define kDownload @""
56 | #define kDegreeFarenheit @""
57 | #define kDegreeCelcius @""
58 | #define kCompass @""
59 | #define kCompassWest @""
60 | #define kCompassSouth @""
61 | #define kCompassNorth @""
62 | #define kCompassEast @""
63 | #define kCloud @""
64 | #define kCloudWind @""
65 | #define kCloudWindSun @""
66 | #define kCloudWindMoon @""
67 | #define kCloudSun @""
68 | #define kCloudMoon @""
69 |
70 | #define KFontName @"Pe-icon-7-weather"
71 |
72 | #define FontList @{@"wind":kWind,@"wind-sun":kWindSun,@"wind-moon":kWindMoon,@"upload":kUpload,@"umbrella":kUmbrella,@"thermometer-full":kThermometerFull,@"thermometer-3-4":kThermometerThreeFourth,@"thermometer-1-4":kThermometerOneFourth,@"thermometer-1-2":kThermometerOneSecond,@"thermometer-0":kThermometerZero,@"sunset":kSunset,@"sunrise":kSunrise,@"sun":kSun,@"snow":kSnow,@"snow-sun":kSnowAltSun,@"snow-moon":kSnowMoon,@"snow-alt":kSnowAlt,@"snow-alt-sun":kSnowAltSun,@"snow-alt-moon ":kSnowAltMoon,@"rain":kRain,@"rain-sun":kRainSun,@"rain-moon ":kRainMoon,@"rain-alt ":kRainAlt,@"rain-alt-sun":kRainAltSun,@"rain-alt-moon":kRainAltMoon,@"moon":kMoon,@"lightning":kLightning,@"lightning-sun":kLightningSun,@"lightning-rain":kLightningRain,@"lightning-rain-sun":kLightningRainSun,@"lightning-rain-moon":kLightningRainMoon,@"lightning-moon":kLightningMoon,@"light":kLight,@"hurricane":kHurricane,@"hail":kHail,@"hail-sun":kHailSun,@"hail-moon":kHailMoon,@"fog":kFog,@"fog-sun":kFogSun,@"fog-moon":kFogMoon,@"drizzle":kDrizzle,@"drizzle-sun":kDrizzleSun,@"drizzle-moon":kDrizzleMoon,@"drizzle-alt":kDrizzleAlt,@"drizzle-alt-sun":kDrizzleAltSun,@"drizzle-alt-moon":kDrizzleAltMoon,@"download":kDownload,@"degree-farenheit":kDegreeFarenheit,@"degree-celcius":kDegreeCelcius,@"compass":kCompass,@"compass-west":kCompassWest,@"compass-south":kCompassSouth,@"compass-north":kCompassNorth,@"compass-east":kCompassEast,@"cloud":kCloud,@"cloud-wind":kCloudWind,@"cloud-wind-sun":kCloudWindSun,@"cloud-wind-moon":kCloudWindMoon,@"cloud-sun":kCloudSun,@"cloud-moon":kCloudMoon}
--------------------------------------------------------------------------------
/WeatherFontIcon/WeatherFont/FontHeader.h:
--------------------------------------------------------------------------------
1 | //
2 | // FontHeader.h
3 | // WeatherFontIcon
4 | //
5 | // Created by Shaffiulla Khan on 10/28/14.
6 | // Copyright (c) 2014 Shaffiulla Khan. All rights reserved.
7 | //
8 |
9 | #define kWind @""
10 | #define kWindSun @""
11 | #define kWindMoon @""
12 | #define kUpload @""
13 | #define kUmbrella @""
14 | #define kThermometerFull @""
15 | #define kThermometerThreeFourth @""
16 | #define kThermometerOneFourth @""
17 | #define kThermometerOneSecond @""
18 | #define kThermometerZero @""
19 | #define kSunset @""
20 | #define kSunrise @""
21 | #define kSun @""
22 | #define kSnow @""
23 | #define kSnowSun @""
24 | #define kSnowMoon @""
25 | #define kSnowAlt @""
26 | #define kSnowAltSun @""
27 | #define kSnowAltMoon @""
28 | #define kRain @""
29 | #define kRainSun @""
30 | #define kRainMoon @""
31 | #define kRainAlt @""
32 | #define kRainAltSun @""
33 | #define kRainAltMoon @""
34 | #define kMoon @""
35 | #define kLightning @""
36 | #define kLightningSun @""
37 | #define kLightningRain @""
38 | #define kLightningRainSun @""
39 | #define kLightningRainMoon @""
40 | #define kLightningMoon @""
41 | #define kLight @""
42 | #define kHurricane @""
43 | #define kHail @""
44 | #define kHailSun @""
45 | #define kHailMoon @""
46 | #define kFog @""
47 | #define kFogSun @""
48 | #define kFogMoon @""
49 | #define kDrizzle @""
50 | #define kDrizzleSun @""
51 | #define kDrizzleMoon @""
52 | #define kDrizzleAlt @""
53 | #define kDrizzleAltSun @""
54 | #define kDrizzleAltMoon @""
55 | #define kDownload @""
56 | #define kDegreeFarenheit @""
57 | #define kDegreeCelcius @""
58 | #define kCompass @""
59 | #define kCompassWest @""
60 | #define kCompassSouth @""
61 | #define kCompassNorth @""
62 | #define kCompassEast @""
63 | #define kCloud @""
64 | #define kCloudWind @""
65 | #define kCloudWindSun @""
66 | #define kCloudWindMoon @""
67 | #define kCloudSun @""
68 | #define kCloudMoon @""
69 |
70 | #define KFontName @"Pe-icon-7-weather"
71 |
72 | #define FontList @{@"wind":kWind,@"wind-sun":kWindSun,@"wind-moon":kWindMoon,@"upload":kUpload,@"umbrella":kUmbrella,@"thermometer-full":kThermometerFull,@"thermometer-3-4":kThermometerThreeFourth,@"thermometer-1-4":kThermometerOneFourth,@"thermometer-1-2":kThermometerOneSecond,@"thermometer-0":kThermometerZero,@"sunset":kSunset,@"sunrise":kSunrise,@"sun":kSun,@"snow":kSnow,@"snow-sun":kSnowAltSun,@"snow-moon":kSnowMoon,@"snow-alt":kSnowAlt,@"snow-alt-sun":kSnowAltSun,@"snow-alt-moon ":kSnowAltMoon,@"rain":kRain,@"rain-sun":kRainSun,@"rain-moon ":kRainMoon,@"rain-alt ":kRainAlt,@"rain-alt-sun":kRainAltSun,@"rain-alt-moon":kRainAltMoon,@"moon":kMoon,@"lightning":kLightning,@"lightning-sun":kLightningSun,@"lightning-rain":kLightningRain,@"lightning-rain-sun":kLightningRainSun,@"lightning-rain-moon":kLightningRainMoon,@"lightning-moon":kLightningMoon,@"light":kLight,@"hurricane":kHurricane,@"hail":kHail,@"hail-sun":kHailSun,@"hail-moon":kHailMoon,@"fog":kFog,@"fog-sun":kFogSun,@"fog-moon":kFogMoon,@"drizzle":kDrizzle,@"drizzle-sun":kDrizzleSun,@"drizzle-moon":kDrizzleMoon,@"drizzle-alt":kDrizzleAlt,@"drizzle-alt-sun":kDrizzleAltSun,@"drizzle-alt-moon":kDrizzleAltMoon,@"download":kDownload,@"degree-farenheit":kDegreeFarenheit,@"degree-celcius":kDegreeCelcius,@"compass":kCompass,@"compass-west":kCompassWest,@"compass-south":kCompassSouth,@"compass-north":kCompassNorth,@"compass-east":kCompassEast,@"cloud":kCloud,@"cloud-wind":kCloudWind,@"cloud-wind-sun":kCloudWindSun,@"cloud-wind-moon":kCloudWindMoon,@"cloud-sun":kCloudSun,@"cloud-moon":kCloudMoon}
--------------------------------------------------------------------------------
/WeatherFontIcon.xcodeproj/xcuserdata/shaffiullakhan.xcuserdatad/xcschemes/WeatherFontIcon.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
38 |
39 |
44 |
45 |
47 |
53 |
54 |
55 |
56 |
57 |
63 |
64 |
65 |
66 |
75 |
76 |
82 |
83 |
84 |
85 |
86 |
87 |
93 |
94 |
100 |
101 |
102 |
103 |
105 |
106 |
109 |
110 |
111 |
--------------------------------------------------------------------------------
/WeatherFontIcon/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
70 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
--------------------------------------------------------------------------------
/WeatherFontIcon.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | D75CE90519FF7ADC00AB47E4 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = D75CE90419FF7ADC00AB47E4 /* main.m */; };
11 | D75CE90819FF7ADC00AB47E4 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D75CE90719FF7ADC00AB47E4 /* AppDelegate.m */; };
12 | D75CE90B19FF7ADC00AB47E4 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D75CE90A19FF7ADC00AB47E4 /* ViewController.m */; };
13 | D75CE90E19FF7ADC00AB47E4 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D75CE90C19FF7ADC00AB47E4 /* Main.storyboard */; };
14 | D75CE91019FF7ADC00AB47E4 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D75CE90F19FF7ADC00AB47E4 /* Images.xcassets */; };
15 | D75CE91319FF7ADC00AB47E4 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = D75CE91119FF7ADC00AB47E4 /* LaunchScreen.xib */; };
16 | D75CE91F19FF7ADC00AB47E4 /* WeatherFontIconTests.m in Sources */ = {isa = PBXBuildFile; fileRef = D75CE91E19FF7ADC00AB47E4 /* WeatherFontIconTests.m */; };
17 | D75CE92F19FF8D1400AB47E4 /* Pe-icon-7-weather.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D75CE92E19FF8D1400AB47E4 /* Pe-icon-7-weather.ttf */; };
18 | /* End PBXBuildFile section */
19 |
20 | /* Begin PBXContainerItemProxy section */
21 | D75CE91919FF7ADC00AB47E4 /* PBXContainerItemProxy */ = {
22 | isa = PBXContainerItemProxy;
23 | containerPortal = D75CE8F719FF7ADB00AB47E4 /* Project object */;
24 | proxyType = 1;
25 | remoteGlobalIDString = D75CE8FE19FF7ADB00AB47E4;
26 | remoteInfo = WeatherFontIcon;
27 | };
28 | /* End PBXContainerItemProxy section */
29 |
30 | /* Begin PBXFileReference section */
31 | D75CE8FF19FF7ADC00AB47E4 /* WeatherFontIcon.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = WeatherFontIcon.app; sourceTree = BUILT_PRODUCTS_DIR; };
32 | D75CE90319FF7ADC00AB47E4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
33 | D75CE90419FF7ADC00AB47E4 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
34 | D75CE90619FF7ADC00AB47E4 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
35 | D75CE90719FF7ADC00AB47E4 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
36 | D75CE90919FF7ADC00AB47E4 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; };
37 | D75CE90A19FF7ADC00AB47E4 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; };
38 | D75CE90D19FF7ADC00AB47E4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
39 | D75CE90F19FF7ADC00AB47E4 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; };
40 | D75CE91219FF7ADC00AB47E4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
41 | D75CE91819FF7ADC00AB47E4 /* WeatherFontIconTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = WeatherFontIconTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
42 | D75CE91D19FF7ADC00AB47E4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
43 | D75CE91E19FF7ADC00AB47E4 /* WeatherFontIconTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = WeatherFontIconTests.m; sourceTree = ""; };
44 | D75CE92D19FF8D1400AB47E4 /* FontHeader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FontHeader.h; sourceTree = ""; };
45 | D75CE92E19FF8D1400AB47E4 /* Pe-icon-7-weather.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Pe-icon-7-weather.ttf"; sourceTree = ""; };
46 | /* End PBXFileReference section */
47 |
48 | /* Begin PBXFrameworksBuildPhase section */
49 | D75CE8FC19FF7ADB00AB47E4 /* Frameworks */ = {
50 | isa = PBXFrameworksBuildPhase;
51 | buildActionMask = 2147483647;
52 | files = (
53 | );
54 | runOnlyForDeploymentPostprocessing = 0;
55 | };
56 | D75CE91519FF7ADC00AB47E4 /* Frameworks */ = {
57 | isa = PBXFrameworksBuildPhase;
58 | buildActionMask = 2147483647;
59 | files = (
60 | );
61 | runOnlyForDeploymentPostprocessing = 0;
62 | };
63 | /* End PBXFrameworksBuildPhase section */
64 |
65 | /* Begin PBXGroup section */
66 | D75CE8F619FF7ADB00AB47E4 = {
67 | isa = PBXGroup;
68 | children = (
69 | D75CE90119FF7ADC00AB47E4 /* WeatherFontIcon */,
70 | D75CE91B19FF7ADC00AB47E4 /* WeatherFontIconTests */,
71 | D75CE90019FF7ADC00AB47E4 /* Products */,
72 | );
73 | sourceTree = "";
74 | };
75 | D75CE90019FF7ADC00AB47E4 /* Products */ = {
76 | isa = PBXGroup;
77 | children = (
78 | D75CE8FF19FF7ADC00AB47E4 /* WeatherFontIcon.app */,
79 | D75CE91819FF7ADC00AB47E4 /* WeatherFontIconTests.xctest */,
80 | );
81 | name = Products;
82 | sourceTree = "";
83 | };
84 | D75CE90119FF7ADC00AB47E4 /* WeatherFontIcon */ = {
85 | isa = PBXGroup;
86 | children = (
87 | D75CE92C19FF8D1400AB47E4 /* WeatherFont */,
88 | D75CE90619FF7ADC00AB47E4 /* AppDelegate.h */,
89 | D75CE90719FF7ADC00AB47E4 /* AppDelegate.m */,
90 | D75CE90919FF7ADC00AB47E4 /* ViewController.h */,
91 | D75CE90A19FF7ADC00AB47E4 /* ViewController.m */,
92 | D75CE90C19FF7ADC00AB47E4 /* Main.storyboard */,
93 | D75CE90F19FF7ADC00AB47E4 /* Images.xcassets */,
94 | D75CE91119FF7ADC00AB47E4 /* LaunchScreen.xib */,
95 | D75CE90219FF7ADC00AB47E4 /* Supporting Files */,
96 | );
97 | path = WeatherFontIcon;
98 | sourceTree = "";
99 | };
100 | D75CE90219FF7ADC00AB47E4 /* Supporting Files */ = {
101 | isa = PBXGroup;
102 | children = (
103 | D75CE90319FF7ADC00AB47E4 /* Info.plist */,
104 | D75CE90419FF7ADC00AB47E4 /* main.m */,
105 | );
106 | name = "Supporting Files";
107 | sourceTree = "";
108 | };
109 | D75CE91B19FF7ADC00AB47E4 /* WeatherFontIconTests */ = {
110 | isa = PBXGroup;
111 | children = (
112 | D75CE91E19FF7ADC00AB47E4 /* WeatherFontIconTests.m */,
113 | D75CE91C19FF7ADC00AB47E4 /* Supporting Files */,
114 | );
115 | path = WeatherFontIconTests;
116 | sourceTree = "";
117 | };
118 | D75CE91C19FF7ADC00AB47E4 /* Supporting Files */ = {
119 | isa = PBXGroup;
120 | children = (
121 | D75CE91D19FF7ADC00AB47E4 /* Info.plist */,
122 | );
123 | name = "Supporting Files";
124 | sourceTree = "";
125 | };
126 | D75CE92C19FF8D1400AB47E4 /* WeatherFont */ = {
127 | isa = PBXGroup;
128 | children = (
129 | D75CE92D19FF8D1400AB47E4 /* FontHeader.h */,
130 | D75CE92E19FF8D1400AB47E4 /* Pe-icon-7-weather.ttf */,
131 | );
132 | path = WeatherFont;
133 | sourceTree = "";
134 | };
135 | /* End PBXGroup section */
136 |
137 | /* Begin PBXNativeTarget section */
138 | D75CE8FE19FF7ADB00AB47E4 /* WeatherFontIcon */ = {
139 | isa = PBXNativeTarget;
140 | buildConfigurationList = D75CE92219FF7ADC00AB47E4 /* Build configuration list for PBXNativeTarget "WeatherFontIcon" */;
141 | buildPhases = (
142 | D75CE8FB19FF7ADB00AB47E4 /* Sources */,
143 | D75CE8FC19FF7ADB00AB47E4 /* Frameworks */,
144 | D75CE8FD19FF7ADB00AB47E4 /* Resources */,
145 | );
146 | buildRules = (
147 | );
148 | dependencies = (
149 | );
150 | name = WeatherFontIcon;
151 | productName = WeatherFontIcon;
152 | productReference = D75CE8FF19FF7ADC00AB47E4 /* WeatherFontIcon.app */;
153 | productType = "com.apple.product-type.application";
154 | };
155 | D75CE91719FF7ADC00AB47E4 /* WeatherFontIconTests */ = {
156 | isa = PBXNativeTarget;
157 | buildConfigurationList = D75CE92519FF7ADC00AB47E4 /* Build configuration list for PBXNativeTarget "WeatherFontIconTests" */;
158 | buildPhases = (
159 | D75CE91419FF7ADC00AB47E4 /* Sources */,
160 | D75CE91519FF7ADC00AB47E4 /* Frameworks */,
161 | D75CE91619FF7ADC00AB47E4 /* Resources */,
162 | );
163 | buildRules = (
164 | );
165 | dependencies = (
166 | D75CE91A19FF7ADC00AB47E4 /* PBXTargetDependency */,
167 | );
168 | name = WeatherFontIconTests;
169 | productName = WeatherFontIconTests;
170 | productReference = D75CE91819FF7ADC00AB47E4 /* WeatherFontIconTests.xctest */;
171 | productType = "com.apple.product-type.bundle.unit-test";
172 | };
173 | /* End PBXNativeTarget section */
174 |
175 | /* Begin PBXProject section */
176 | D75CE8F719FF7ADB00AB47E4 /* Project object */ = {
177 | isa = PBXProject;
178 | attributes = {
179 | LastUpgradeCheck = 0610;
180 | ORGANIZATIONNAME = "Shaffiulla Khan";
181 | TargetAttributes = {
182 | D75CE8FE19FF7ADB00AB47E4 = {
183 | CreatedOnToolsVersion = 6.1;
184 | };
185 | D75CE91719FF7ADC00AB47E4 = {
186 | CreatedOnToolsVersion = 6.1;
187 | TestTargetID = D75CE8FE19FF7ADB00AB47E4;
188 | };
189 | };
190 | };
191 | buildConfigurationList = D75CE8FA19FF7ADB00AB47E4 /* Build configuration list for PBXProject "WeatherFontIcon" */;
192 | compatibilityVersion = "Xcode 3.2";
193 | developmentRegion = English;
194 | hasScannedForEncodings = 0;
195 | knownRegions = (
196 | en,
197 | Base,
198 | );
199 | mainGroup = D75CE8F619FF7ADB00AB47E4;
200 | productRefGroup = D75CE90019FF7ADC00AB47E4 /* Products */;
201 | projectDirPath = "";
202 | projectRoot = "";
203 | targets = (
204 | D75CE8FE19FF7ADB00AB47E4 /* WeatherFontIcon */,
205 | D75CE91719FF7ADC00AB47E4 /* WeatherFontIconTests */,
206 | );
207 | };
208 | /* End PBXProject section */
209 |
210 | /* Begin PBXResourcesBuildPhase section */
211 | D75CE8FD19FF7ADB00AB47E4 /* Resources */ = {
212 | isa = PBXResourcesBuildPhase;
213 | buildActionMask = 2147483647;
214 | files = (
215 | D75CE90E19FF7ADC00AB47E4 /* Main.storyboard in Resources */,
216 | D75CE92F19FF8D1400AB47E4 /* Pe-icon-7-weather.ttf in Resources */,
217 | D75CE91319FF7ADC00AB47E4 /* LaunchScreen.xib in Resources */,
218 | D75CE91019FF7ADC00AB47E4 /* Images.xcassets in Resources */,
219 | );
220 | runOnlyForDeploymentPostprocessing = 0;
221 | };
222 | D75CE91619FF7ADC00AB47E4 /* Resources */ = {
223 | isa = PBXResourcesBuildPhase;
224 | buildActionMask = 2147483647;
225 | files = (
226 | );
227 | runOnlyForDeploymentPostprocessing = 0;
228 | };
229 | /* End PBXResourcesBuildPhase section */
230 |
231 | /* Begin PBXSourcesBuildPhase section */
232 | D75CE8FB19FF7ADB00AB47E4 /* Sources */ = {
233 | isa = PBXSourcesBuildPhase;
234 | buildActionMask = 2147483647;
235 | files = (
236 | D75CE90B19FF7ADC00AB47E4 /* ViewController.m in Sources */,
237 | D75CE90819FF7ADC00AB47E4 /* AppDelegate.m in Sources */,
238 | D75CE90519FF7ADC00AB47E4 /* main.m in Sources */,
239 | );
240 | runOnlyForDeploymentPostprocessing = 0;
241 | };
242 | D75CE91419FF7ADC00AB47E4 /* Sources */ = {
243 | isa = PBXSourcesBuildPhase;
244 | buildActionMask = 2147483647;
245 | files = (
246 | D75CE91F19FF7ADC00AB47E4 /* WeatherFontIconTests.m in Sources */,
247 | );
248 | runOnlyForDeploymentPostprocessing = 0;
249 | };
250 | /* End PBXSourcesBuildPhase section */
251 |
252 | /* Begin PBXTargetDependency section */
253 | D75CE91A19FF7ADC00AB47E4 /* PBXTargetDependency */ = {
254 | isa = PBXTargetDependency;
255 | target = D75CE8FE19FF7ADB00AB47E4 /* WeatherFontIcon */;
256 | targetProxy = D75CE91919FF7ADC00AB47E4 /* PBXContainerItemProxy */;
257 | };
258 | /* End PBXTargetDependency section */
259 |
260 | /* Begin PBXVariantGroup section */
261 | D75CE90C19FF7ADC00AB47E4 /* Main.storyboard */ = {
262 | isa = PBXVariantGroup;
263 | children = (
264 | D75CE90D19FF7ADC00AB47E4 /* Base */,
265 | );
266 | name = Main.storyboard;
267 | sourceTree = "";
268 | };
269 | D75CE91119FF7ADC00AB47E4 /* LaunchScreen.xib */ = {
270 | isa = PBXVariantGroup;
271 | children = (
272 | D75CE91219FF7ADC00AB47E4 /* Base */,
273 | );
274 | name = LaunchScreen.xib;
275 | sourceTree = "";
276 | };
277 | /* End PBXVariantGroup section */
278 |
279 | /* Begin XCBuildConfiguration section */
280 | D75CE92019FF7ADC00AB47E4 /* Debug */ = {
281 | isa = XCBuildConfiguration;
282 | buildSettings = {
283 | ALWAYS_SEARCH_USER_PATHS = NO;
284 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
285 | CLANG_CXX_LIBRARY = "libc++";
286 | CLANG_ENABLE_MODULES = YES;
287 | CLANG_ENABLE_OBJC_ARC = YES;
288 | CLANG_WARN_BOOL_CONVERSION = YES;
289 | CLANG_WARN_CONSTANT_CONVERSION = YES;
290 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
291 | CLANG_WARN_EMPTY_BODY = YES;
292 | CLANG_WARN_ENUM_CONVERSION = YES;
293 | CLANG_WARN_INT_CONVERSION = YES;
294 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
295 | CLANG_WARN_UNREACHABLE_CODE = YES;
296 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
297 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
298 | COPY_PHASE_STRIP = NO;
299 | ENABLE_STRICT_OBJC_MSGSEND = YES;
300 | GCC_C_LANGUAGE_STANDARD = gnu99;
301 | GCC_DYNAMIC_NO_PIC = NO;
302 | GCC_OPTIMIZATION_LEVEL = 0;
303 | GCC_PREPROCESSOR_DEFINITIONS = (
304 | "DEBUG=1",
305 | "$(inherited)",
306 | );
307 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
308 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
309 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
310 | GCC_WARN_UNDECLARED_SELECTOR = YES;
311 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
312 | GCC_WARN_UNUSED_FUNCTION = YES;
313 | GCC_WARN_UNUSED_VARIABLE = YES;
314 | IPHONEOS_DEPLOYMENT_TARGET = 8.1;
315 | MTL_ENABLE_DEBUG_INFO = YES;
316 | ONLY_ACTIVE_ARCH = YES;
317 | SDKROOT = iphoneos;
318 | };
319 | name = Debug;
320 | };
321 | D75CE92119FF7ADC00AB47E4 /* Release */ = {
322 | isa = XCBuildConfiguration;
323 | buildSettings = {
324 | ALWAYS_SEARCH_USER_PATHS = NO;
325 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
326 | CLANG_CXX_LIBRARY = "libc++";
327 | CLANG_ENABLE_MODULES = YES;
328 | CLANG_ENABLE_OBJC_ARC = YES;
329 | CLANG_WARN_BOOL_CONVERSION = YES;
330 | CLANG_WARN_CONSTANT_CONVERSION = YES;
331 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
332 | CLANG_WARN_EMPTY_BODY = YES;
333 | CLANG_WARN_ENUM_CONVERSION = YES;
334 | CLANG_WARN_INT_CONVERSION = YES;
335 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
336 | CLANG_WARN_UNREACHABLE_CODE = YES;
337 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
338 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
339 | COPY_PHASE_STRIP = YES;
340 | ENABLE_NS_ASSERTIONS = NO;
341 | ENABLE_STRICT_OBJC_MSGSEND = YES;
342 | GCC_C_LANGUAGE_STANDARD = gnu99;
343 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
344 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
345 | GCC_WARN_UNDECLARED_SELECTOR = YES;
346 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
347 | GCC_WARN_UNUSED_FUNCTION = YES;
348 | GCC_WARN_UNUSED_VARIABLE = YES;
349 | IPHONEOS_DEPLOYMENT_TARGET = 8.1;
350 | MTL_ENABLE_DEBUG_INFO = NO;
351 | SDKROOT = iphoneos;
352 | VALIDATE_PRODUCT = YES;
353 | };
354 | name = Release;
355 | };
356 | D75CE92319FF7ADC00AB47E4 /* Debug */ = {
357 | isa = XCBuildConfiguration;
358 | buildSettings = {
359 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
360 | INFOPLIST_FILE = WeatherFontIcon/Info.plist;
361 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
362 | PRODUCT_NAME = "$(TARGET_NAME)";
363 | };
364 | name = Debug;
365 | };
366 | D75CE92419FF7ADC00AB47E4 /* Release */ = {
367 | isa = XCBuildConfiguration;
368 | buildSettings = {
369 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
370 | INFOPLIST_FILE = WeatherFontIcon/Info.plist;
371 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
372 | PRODUCT_NAME = "$(TARGET_NAME)";
373 | };
374 | name = Release;
375 | };
376 | D75CE92619FF7ADC00AB47E4 /* Debug */ = {
377 | isa = XCBuildConfiguration;
378 | buildSettings = {
379 | BUNDLE_LOADER = "$(TEST_HOST)";
380 | FRAMEWORK_SEARCH_PATHS = (
381 | "$(SDKROOT)/Developer/Library/Frameworks",
382 | "$(inherited)",
383 | );
384 | GCC_PREPROCESSOR_DEFINITIONS = (
385 | "DEBUG=1",
386 | "$(inherited)",
387 | );
388 | INFOPLIST_FILE = WeatherFontIconTests/Info.plist;
389 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
390 | PRODUCT_NAME = "$(TARGET_NAME)";
391 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/WeatherFontIcon.app/WeatherFontIcon";
392 | };
393 | name = Debug;
394 | };
395 | D75CE92719FF7ADC00AB47E4 /* Release */ = {
396 | isa = XCBuildConfiguration;
397 | buildSettings = {
398 | BUNDLE_LOADER = "$(TEST_HOST)";
399 | FRAMEWORK_SEARCH_PATHS = (
400 | "$(SDKROOT)/Developer/Library/Frameworks",
401 | "$(inherited)",
402 | );
403 | INFOPLIST_FILE = WeatherFontIconTests/Info.plist;
404 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
405 | PRODUCT_NAME = "$(TARGET_NAME)";
406 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/WeatherFontIcon.app/WeatherFontIcon";
407 | };
408 | name = Release;
409 | };
410 | /* End XCBuildConfiguration section */
411 |
412 | /* Begin XCConfigurationList section */
413 | D75CE8FA19FF7ADB00AB47E4 /* Build configuration list for PBXProject "WeatherFontIcon" */ = {
414 | isa = XCConfigurationList;
415 | buildConfigurations = (
416 | D75CE92019FF7ADC00AB47E4 /* Debug */,
417 | D75CE92119FF7ADC00AB47E4 /* Release */,
418 | );
419 | defaultConfigurationIsVisible = 0;
420 | defaultConfigurationName = Release;
421 | };
422 | D75CE92219FF7ADC00AB47E4 /* Build configuration list for PBXNativeTarget "WeatherFontIcon" */ = {
423 | isa = XCConfigurationList;
424 | buildConfigurations = (
425 | D75CE92319FF7ADC00AB47E4 /* Debug */,
426 | D75CE92419FF7ADC00AB47E4 /* Release */,
427 | );
428 | defaultConfigurationIsVisible = 0;
429 | defaultConfigurationName = Release;
430 | };
431 | D75CE92519FF7ADC00AB47E4 /* Build configuration list for PBXNativeTarget "WeatherFontIconTests" */ = {
432 | isa = XCConfigurationList;
433 | buildConfigurations = (
434 | D75CE92619FF7ADC00AB47E4 /* Debug */,
435 | D75CE92719FF7ADC00AB47E4 /* Release */,
436 | );
437 | defaultConfigurationIsVisible = 0;
438 | defaultConfigurationName = Release;
439 | };
440 | /* End XCConfigurationList section */
441 | };
442 | rootObject = D75CE8F719FF7ADB00AB47E4 /* Project object */;
443 | }
444 |
--------------------------------------------------------------------------------