资源简介
这是一款基于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个文件信息
相关资源
- NFC读卡信息小源码.zip
- 悠游淘宝买家采集器v4.18免费版.rar
- 一个chrome的超星慕课刷课扩展.zip
- PaperEasy论文修改助手v3.0免费安装版
- 百信银行资金存管系统API文档V.2.0(
- 棒棒糖CxCandyEnt 1.5会员版.rar
- 模仿12306火车票APP(微信小程序源代码
- STM32F103C8T6(加了蓝牙).zip
- Erp沙盘模拟系统V2.1支持64位操作系统
- GetData.rar
- 68b959f2aa65a57f31f01a13565048f6.rar
-
HMPla
yer-2013.01.rar - UyghurXeliqCHoqekliri.pdf
- Axure8手机平板模型元件库.rplib
- 矩阵分析(北理工)--教材.pdf
- 整车控制器软件架构规格书.docx
- 药店仓库管理系统.rar
- .exe
- 车流行人.rar
- DATACOM软件两个案例的气动分析2.pdf
- (E).rar
- 编译系统透视:图解编译原理.rar
- SoMachine3.1KEY(密码12345)配合灰色按钮
- haproxy-1.5.18.tar.gz_keepalived-1.4.2.tar.gz.
- ssr3个高效节点.rar
- DbHelper.zip
- 奥鹏挂机1.4.exe
- 高效算法:竞赛、应试与提高必修1
- 83ef988f2728f61a5d7923d0c02248ed.zip
- 东北大学数值分析期末试题+练习题密
评论
共有 条评论