资源简介
iOS滑动选项卡类型的视图控制器,类似网易、腾讯新闻头部。
代码片段和文件信息
//
// AppDelegate.m
// YJSegmentDemo
//
// Created by yyj on 2017/11/1.
// Copyright © 2017年 yj. All rights reserved.
//
#import “AppDelegate.h“
#import “ViewController.h“
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
self.window = [[UIWindow alloc] initWithframe:[[UIScreen mainScreen] bounds]];
self.window.backgroundColor = [UIColor whiteColor];
self.window.rootViewController = [[ViewController alloc]init];
[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 invalidate graphics rendering callbacks. 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 active 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 2018-10-19 06:45 YJSegmentDemo-master\
文件 59 2018-10-19 06:45 YJSegmentDemo-master\README.md
目录 0 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo.xcodeproj\
文件 26873 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo.xcodeproj\project.pbxproj
目录 0 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo.xcodeproj\project.xcworkspace\
文件 158 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo.xcodeproj\project.xcworkspace\contents.xcworkspacedata
目录 0 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo.xcodeproj\project.xcworkspace\xcuserdata\
目录 0 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo.xcodeproj\project.xcworkspace\xcuserdata\gb.xcuserdatad\
文件 63259 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo.xcodeproj\project.xcworkspace\xcuserdata\gb.xcuserdatad\UserInterfaceState.xcuserstate
目录 0 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo.xcodeproj\xcuserdata\
目录 0 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo.xcodeproj\xcuserdata\gb.xcuserdatad\
目录 0 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo.xcodeproj\xcuserdata\gb.xcuserdatad\xcdebugger\
文件 91 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo.xcodeproj\xcuserdata\gb.xcuserdatad\xcdebugger\Breakpoints_v2.xcbkptlist
目录 0 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo.xcodeproj\xcuserdata\gb.xcuserdatad\xcschemes\
文件 336 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo.xcodeproj\xcuserdata\gb.xcuserdatad\xcschemes\xcschememanagement.plist
目录 0 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo\
文件 272 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo\AppDelegate.h
文件 2247 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo\AppDelegate.m
目录 0 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo\Assets.xcassets\
目录 0 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo\Assets.xcassets\AppIcon.appiconset\
文件 1495 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo\Assets.xcassets\AppIcon.appiconset\Contents.json
目录 0 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo\ba
文件 1681 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo\ba
文件 1614 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo\ba
文件 214 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo\ContentController.h
文件 429 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo\ContentController.m
目录 0 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo\Extension\
文件 285 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo\Extension\UIColor+Extension.h
文件 638 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo\Extension\UIColor+Extension.m
文件 899 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo\Extension\UIViewExt.h
文件 4291 2018-10-19 06:45 YJSegmentDemo-master\YJSegmentDemo\Extension\UIViewExt.m
............此处省略20个文件信息
- 上一篇:Unity.zip
- 下一篇:页式存储器管理模拟程序设计
相关资源
- S变换在滚动轴承故障诊断上的应用
- HorizontalScrollView嵌套GridView实现水平滚
- LCD滚动显示汉字
- VC显示图片(带滚动条完美控制)
- js表格无缝滚动效果
- react-基于react的自定义滚动条组件
- 解决移动端滚动穿透问题
-
AS3.0读取xm
l外调图片并滚动 - web前端自动滚动且点击切换轮播图代
- 基于protues仿真-串口发送数据到2片8×
-
AS3.0+xm
l通用图片滚动(含源码) - CSGO滚动组名不再是陀螺的专属了平民
- 基于FPGA的led8*8点阵滚动显示
- vc使用带滚动条的图片控件
- 年会抽奖,滚动式抽奖,显示每次抽
- 阻止滚动条事件冒泡
- js数字滚动展示效果人数统计滚动效果
- 文本滚动抽奖程序
- 易语言LnBr9njR源码易语言觉然滚动框模
- 滚动抽奖页面
- 年会滚动照片抽奖小程序
- UGUI上下循环滚动数字(图片)
- swift-TabPageViewControlleriOS分页视图控制
- js图片查看器。鼠标拖动图片任意方向
- 网页截图代码支持滚动截图
- MFC 重绘CListCtrl、CTreeCtrl的滚动条
- 水平滚动循环uguiEnhanceScrollview
- 基于LabVIEW时频分析的滚动轴承故障诊
- ios底部滚动菜单
- duilib IE去边框和滚动条
评论
共有 条评论