资源简介
这是一款基于objective-c的天气预报项目,可以联网获取数据,也可以手动定位城市。

代码片段和文件信息
//
// AppDelegate.m
// WeatherForecast
//
// Created by dragon on 16/6/17.
// Copyright © 2016年 win. All rights reserved.
//
#import “AppDelegate.h“
#import “XPMainViewController.h“
#import “RESideMenu.h“
#import “XPLeftViewController.h“
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
//创建window
self.window = [[UIWindow alloc] initWithframe:SCREEN_BOUNDS];
//创建RESideMenu对象(指定内容/左边/右边)
RESideMenu *sideViewController = [[RESideMenu alloc] initWithContentViewController:[XPMainViewController new] leftMenuViewController:[XPLeftViewController new] rightMenuViewController:nil];
sideViewController.backgroundImage = [UIImage imageNamed:@“Stars“];
//设置内容控制器的阴影颜色/半径/enable
sideViewController.contentViewShadowColor = [UIColor blackColor];
sideViewController.contentViewShadowRadius = 10;
sideViewController.contentViewShadowEnabled = YES;
//创建跟视图控制器对象
self.window.rootViewController = sideViewController;
//显示
self.window.backgroundColor = [UIColor clearColor];
[self.window makeKeyAndVisible];
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)application {
// 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.
// 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.
}
- (void)applicationDidEnterBackground:(UIApplication *)application {
// 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.
// If your application supports background execution this method is called instead of applicationWillTerminate: when the user quits.
}
- (void)applicationWillEnterForeground:(UIApplication *)application {
// 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.
}
- (void)applicationDidBecomeActive:(UIApplication *)application {
// 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.
}
- (void)applicationWillTerminate:(UIApplication *)application {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
@end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-06-17 19:58 WeatherForecast\
文件 6148 2016-06-19 08:47 WeatherForecast\.DS_Store
目录 0 2016-06-19 09:18 __MACOSX\
目录 0 2016-06-19 09:18 __MACOSX\WeatherForecast\
文件 120 2016-06-19 08:47 __MACOSX\WeatherForecast\._.DS_Store
目录 0 2016-06-17 21:08 WeatherForecast\WeatherForecast\
文件 6148 2016-06-17 20:00 WeatherForecast\WeatherForecast\.DS_Store
目录 0 2016-06-19 09:18 __MACOSX\WeatherForecast\WeatherForecast\
文件 120 2016-06-17 20:00 __MACOSX\WeatherForecast\WeatherForecast\._.DS_Store
文件 276 2016-06-17 19:57 WeatherForecast\WeatherForecast\AppDelegate.h
文件 171 2016-06-17 19:57 __MACOSX\WeatherForecast\WeatherForecast\._AppDelegate.h
文件 2921 2016-06-17 20:26 WeatherForecast\WeatherForecast\AppDelegate.m
文件 171 2016-06-17 20:26 __MACOSX\WeatherForecast\WeatherForecast\._AppDelegate.m
目录 0 2016-06-17 21:04 WeatherForecast\WeatherForecast\Assets.xcassets\
目录 0 2016-06-17 19:57 WeatherForecast\WeatherForecast\Assets.xcassets\AppIcon.appiconset\
文件 1077 2016-06-17 19:57 WeatherForecast\WeatherForecast\Assets.xcassets\AppIcon.appiconset\Contents.json
目录 0 2016-06-19 09:18 __MACOSX\WeatherForecast\WeatherForecast\Assets.xcassets\
目录 0 2016-06-19 09:18 __MACOSX\WeatherForecast\WeatherForecast\Assets.xcassets\AppIcon.appiconset\
文件 171 2016-06-17 19:57 __MACOSX\WeatherForecast\WeatherForecast\Assets.xcassets\AppIcon.appiconset\._Contents.json
目录 0 2016-06-17 21:03 WeatherForecast\WeatherForecast\Assets.xcassets\bg.imageset\
文件 60465 2016-06-17 21:03 WeatherForecast\WeatherForecast\Assets.xcassets\bg.imageset\bg.jpg
文件 299 2016-06-17 21:03 WeatherForecast\WeatherForecast\Assets.xcassets\bg.imageset\Contents.json
文件 62 2016-06-17 21:04 WeatherForecast\WeatherForecast\Assets.xcassets\Contents.json
目录 0 2016-06-17 21:04 WeatherForecast\WeatherForecast\Assets.xcassets\Default-4.7.imageset\
文件 308 2016-06-17 21:04 WeatherForecast\WeatherForecast\Assets.xcassets\Default-4.7.imageset\Contents.json
文件 5706 2016-06-17 21:04 WeatherForecast\WeatherForecast\Assets.xcassets\Default-4.7.imageset\Default-4.7.png
目录 0 2016-06-17 21:04 WeatherForecast\WeatherForecast\Assets.xcassets\Default-5.5.imageset\
文件 308 2016-06-17 21:04 WeatherForecast\WeatherForecast\Assets.xcassets\Default-5.5.imageset\Contents.json
文件 10771 2016-06-17 21:04 WeatherForecast\WeatherForecast\Assets.xcassets\Default-5.5.imageset\Default-5.5.png
目录 0 2016-06-17 21:04 WeatherForecast\WeatherForecast\Assets.xcassets\Default.imageset\
文件 215 2016-06-17 21:04 WeatherForecast\WeatherForecast\Assets.xcassets\Default.imageset\Contents.json
............此处省略441个文件信息
相关资源
- PID_AutoTune_v0.rar
- vspd7.2.308.zip
- 价值2k的H漫画小说系统
- Pythonamp;课堂amp;笔记(高淇amp;400;集第
- ddos压力测试工具99657
- UML建模大全
- 开源1A锂电池充电板TP4056原理图+PCB
- m1卡 ic卡可选择扇区初始化加密软件
- TSCC.exe
- FTP课程设计(服务端+客户端)
- 计算机图形学 边填充算法实现代码
- 电力系统潮流计算程序集合
- oracle数据迁移项目实施方案
- Web Api 通过文件流 文件到本地
- Visio图标-最新最全的网络通信图标库
- Spire API文档
- OpenGL参考手册
- Python中Numpy库最新教程
- SPD博士V5.3.exe
- 直流无刷电机方波驱动 stm32 例程代码
- layui后台管理模板
- 仿知乎界面小程序源代码
- 云平台-阿里云详细介绍
- photoshop经典1000例
- scratch垃圾分类源码(最终版本).sb
- IAR ARM 7.8破解
- TI CCS V5.4 安装步骤及破解文件
- 松下plc FP-XH的驱动
- 局域网硬件信息收集工具
- 加快Windows XP操作系统开机速度
评论
共有 条评论