资源简介
模仿网易新闻首页效果代码,实现界面上部的分类条滚动以及选择
代码片段和文件信息
//
// AppDelegate.m
// SlideView
//
// Created by Chen Yaoqiang on 13-12-27.
// Copyright (c) 2013年 Chen Yaoqiang. All rights reserved.
//
#import “AppDelegate.h“
#import “SVGloble.h“
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithframe:[[UIScreen mainScreen] bounds]];
// Override point for customization after application launch.
self.window.backgroundColor = [UIColor whiteColor];
CGRect screenRect = [[UIScreen mainScreen] bounds];
[SVGloble shareInstance].globleWidth = screenRect.size.width; //屏幕宽度
[SVGloble shareInstance].globleHeight = screenRect.size.height-20; //屏幕高度(无顶栏)
[SVGloble shareInstance].globleAllHeight = screenRect.size.height; //屏幕高度(有顶栏)
_viewController = [[TestViewController alloc] init];
[self.window setRootViewController:_viewController];
[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 2014-02-21 22:43 SlideView-master\
文件 6148 2014-02-21 22:43 SlideView-master\.DS_Store
目录 0 2014-02-21 22:51 __MACOSX\
目录 0 2014-02-21 22:51 __MACOSX\SlideView-master\
文件 120 2014-02-21 22:43 __MACOSX\SlideView-master\._.DS_Store
文件 237 2013-12-27 00:10 SlideView-master\.gitignore
文件 212 2013-12-27 00:10 __MACOSX\SlideView-master\._.gitignore
文件 350 2013-12-27 00:10 SlideView-master\README.md
文件 212 2013-12-27 00:10 __MACOSX\SlideView-master\._README.md
目录 0 2014-02-21 22:43 SlideView-master\SlideView\
文件 6148 2014-02-21 22:43 SlideView-master\SlideView\.DS_Store
目录 0 2014-02-21 22:51 __MACOSX\SlideView-master\SlideView\
文件 120 2014-02-21 22:43 __MACOSX\SlideView-master\SlideView\._.DS_Store
目录 0 2013-12-27 00:10 SlideView-master\SlideView\SlideView\
文件 383 2013-12-27 00:10 SlideView-master\SlideView\SlideView\AppDelegate.h
目录 0 2014-02-21 22:51 __MACOSX\SlideView-master\SlideView\SlideView\
文件 212 2013-12-27 00:10 __MACOSX\SlideView-master\SlideView\SlideView\._AppDelegate.h
文件 2678 2013-12-27 00:10 SlideView-master\SlideView\SlideView\AppDelegate.m
文件 212 2013-12-27 00:10 __MACOSX\SlideView-master\SlideView\SlideView\._AppDelegate.m
目录 0 2013-12-27 00:10 SlideView-master\SlideView\SlideView\Classes\
文件 584 2013-12-27 00:10 SlideView-master\SlideView\SlideView\Classes\SVGloble.h
目录 0 2014-02-21 22:51 __MACOSX\SlideView-master\SlideView\SlideView\Classes\
文件 212 2013-12-27 00:10 __MACOSX\SlideView-master\SlideView\SlideView\Classes\._SVGloble.h
文件 1124 2013-12-27 00:10 SlideView-master\SlideView\SlideView\Classes\SVGloble.m
文件 212 2013-12-27 00:10 __MACOSX\SlideView-master\SlideView\SlideView\Classes\._SVGloble.m
文件 500 2013-12-27 00:10 SlideView-master\SlideView\SlideView\Classes\SVRootScrollView.h
文件 212 2013-12-27 00:10 __MACOSX\SlideView-master\SlideView\SlideView\Classes\._SVRootScrollView.h
文件 3166 2013-12-27 00:10 SlideView-master\SlideView\SlideView\Classes\SVRootScrollView.m
文件 212 2013-12-27 00:10 __MACOSX\SlideView-master\SlideView\SlideView\Classes\._SVRootScrollView.m
文件 1016 2013-12-27 00:10 SlideView-master\SlideView\SlideView\Classes\SVTopScrollView.h
文件 212 2013-12-27 00:10 __MACOSX\SlideView-master\SlideView\SlideView\Classes\._SVTopScrollView.h
............此处省略68个文件信息
- 上一篇:ansoft maxwell v12破解
- 下一篇:8路移存型彩灯控制器
相关资源
-
IOS学生信息系统ob
jective-C实现 - ios开发之 通讯录
- RU DOS版、EFI版32bit/64bit BIOS常用工具
- 迪兰恒进rx574三星bios
- 如何获取iOS设备的UUID
- ios手机端集成mqtt接受服务器推送消息
- hp bios 升级软件
- Phoenix BIOS 解压程序 phcomp
- 蓝宝石578bios
- 迪兰战神RX580 8G 原版静音bios
- 盈通RX584-游戏高手-三星显存 BIOS
- 盈通rx580 2304 8g大地之神bios
- ios应用源码之房贷计算器改进 201812
- ios应用源码之分享到facebook的api 2018
- iOS程序设计_猜拳游戏制作_艾孜尔江
- 映泰RX584矿BIOS
- ios-高仿网易新闻.zip
- 迪兰恒进 战神 RX580 8G 原版BIOS
- OC编写计算器
- Xcode9.4
- 1150-600 rx584 samsung.rom 白牌rx584三星显存
-
ob
jective-c实现简单计算器 - 蓝天780M清凉版BIOS
- ios 高仿网易新闻客户端
- dos和bios开发讲解.pdf
- 盈通584三星显存bios.rom
- ios简易计算器
- swift-豆瓣电台源代码、以及图片资源
- FlashBios+(WIN下消除BIOS密码)
- sg-dma dma传输在nios中实现
评论
共有 条评论