E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
viewcontroller
MVC 编程模式
MVC是一种使用MVC(Model
ViewController
模型-视图-控制器)设计创建Web应用程序的模式:[1]Model(模型)表示应用程序核心(比如数据库记录列表)。
妖娆的猴子__
·
2020-08-07 14:45
基础
Django'
【代码笔记】iOS-翻页效果的实现
Root
ViewController
.h#import@interfaceRoot
ViewController
:UI
ViewController
@endRoot
ViewController
.m#import"Root
ViewController
.h
菜鸟and小白
·
2020-08-07 13:26
iOS-代码笔记
AFNetworkReachabilityManager监听手机网络状态的变化
////
ViewController
.m//AFNetworkMonitor////Createdbyhqon16/4/18.
baohanqing
·
2020-08-07 12:44
iOS 怎样获取wifi名(无法获取wifi名)(亲测有效)
1.代码实现2.iOS12后要求在开发者网站的AppIDConfiguration和Xcode中打开wifi开关3.ios13后要求用户授权开启定位权限,才能获取wifi名1.代码实现#import"
ViewController
.h
星星月亮0
·
2020-08-07 12:06
ios
[iOS开发项目-3] 按钮控件的移动,放大缩小,左右旋转操作
1.项目名称:按钮操作2.项目截图展示3.项目功能点击按钮,切换按钮状态上下左右移动按钮放大,缩小按钮左右旋转按钮4.项目代码#import"
ViewController
.h"//设置按钮移动速度#defineKMovingDelta20
J_Knight
·
2020-08-07 12:39
iOS
开发
IOS编程之通讯录
////
ViewController
.m//LearnAddressBook0////CreatedbyMacon14-7-28.
anyuanpang5060
·
2020-08-07 12:06
iOS深色模式适配
不适配深色模式直接在info新加一个字段UserInterfaceStyle设置值为Light适配深色模式适配黑色模式info里面的那个字段就不用添加了但是需要在每个UIWindow,UI
ViewController
会装系统的程序员
·
2020-08-07 12:25
iOS
iOS之旅--隐藏(去除)导航栏底部横线
1)声明UIImageView变量,存储底部横线@interfaceMy
ViewController
{UIImageView*navBarHairlineImageView;}1232)在viewDidLoad
xinzhang_
·
2020-08-07 12:43
iOS/OSX
Swift IOS Project Todos App
项目概括制作一个仿任务清单的App,主要为了练习Table
ViewController
。
Gaibbb
·
2020-08-07 11:26
Swift
Swift
iOS开发之跑马灯滚动条的两种方法与实现
1.直接在
ViewController
中实现对UIView的位置定时移动来实现,以下代码直接加入到
ViewController
中,在viewWillAppear中调用loadView即可。
CG李大仁
·
2020-08-07 11:12
iOS
MVC框架模式详解
MVC全名是Model
ViewController
,是模型(model)-视图(view)-控制器(controller)的缩写,一种软件设计典范,用于组织代码用一种业务逻辑和数据显示分离的方法,这个方法的假设前提是如果业务逻辑被聚集到一个部件里面
llopllpo
·
2020-08-07 10:55
UI
ViewController
之间传递值的两种方式
转自:http://blog.csdn.net/heng615975867/article/details/39005699举个例子,第一个page(即UI
ViewController
)显示天气,需要对所在地进行设置
C小调Diang
·
2020-08-06 12:50
iPhone
UIWindow UIScreen UI
ViewController
UIView之间的关系
转自:http://blog.csdn.net/heng615975867/article/details/39053695UIScreen(屏幕,一直存在)---》UIWindow(画框)---》UI
ViewController
C小调Diang
·
2020-08-06 12:19
iPhone
获取UIWebview的高度4种方法
*///
ViewController
.m//获取UIWebview的高度4种方法////CreatedbyMACon16/10/8.//Copy
iOS的美丽岁月
·
2020-08-06 11:22
IOS
的基础类
SpringBoot---WebMvcConfigurer详解
简介WebMvcConfigurer接口2.1addInterceptors:拦截器2.2add
ViewController
s:页面跳转2.3addResourceHandlers:静态资源2.4configureDefaultServletHandling
mhHao
·
2020-08-06 10:03
ssm框架
细数 AutoLayout 以来 UIView 和 UI
ViewController
新增的相关 API
原文地址:http://www.cocoachina.com/ios/20141026/10045.html细数AutoLayout以来UIView和UI
ViewController
新增的相关API–UI
ViewController
Sodaslay
·
2020-08-06 10:21
Objective-C
iOSX
Dev
MacOSX
Dev
Cocoa框架
综合知识
UI
布局
iOS开发-Day30&31 UITableView&UITable
ViewController
样式[[UITableViewalloc]initWithFrame:view.boundsstyle:UITableViewStylePlain];[[UITableViewalloc]initWithFrame:view.boundsstyle:UITableViewStyleGrouped];UITableView的结构:UITableView由头部,尾部,和中间一连串的单元格组成,UITa
ycace
·
2020-08-06 10:37
iOS开发-Day30 参数传递的五种方法
//A页面Detail
ViewController
.h文件#import#import"Detail
ViewController
.h"@interfaceRoot
ViewController
:UI
ViewController
ycace
·
2020-08-06 10:37
IOS 很多控件的讲解
UITextView控件的详细讲解感觉写的相当不错,而且很全就直接转载了1.创建并初始化创建UITextView的文件,并在.h文件中写入如下代码:#import@interfaceText
ViewController
Night-Wish
·
2020-08-06 10:36
IOS开发
Objective-C弹出模态学习之纯代码跳转到xib界面以及storyboard界面
SC
ViewController
*sc1=[[SC
ViewController
alloc]initWithNibName:@”SC
ViewController
”bundle:[NSBundlemainBundle
fswy
·
2020-08-06 10:34
#
Objective-C弹出模态
iOS学习--从入门到实战
【iOS开发-20】UI
ViewCOntroller
视图控制器之间跳转切换举例,以及视图控制器生命周期的简单说明
(1)视图控制图可以理解成有两部分,有一个部分是控制的,还有一部分是视图,比如我们在
ViewController
类里面写得self相当于视图控制器,而self.view相当于是视图控制器的视图。
喂-不吃素的熊宝宝
·
2020-08-06 10:01
iOS
IOS开发控件视图day06:Location定位和Map地图的使用
1、导包和配置文件(1)Info.plist文件设置访问权限(2)点击项目,在General中添加包2、Location获取当前位置坐标(1)声明和关联控件@interfaceLocation
ViewController
wenyu_Saitama
·
2020-08-06 10:00
IOS控件基础
ios 视图间相互跳转
一、模态视图控制器:A—>B—>C—>D—>A(或B);[Apresent
ViewController
:Banimated:truecompletion:nil];[Bpresent
ViewController
芷江
·
2020-08-06 10:17
Swift
Objectvie_C
iOS开发之
ViewController
页面跳转和弹出模态
本文介绍了iOS开发中
ViewController
的页面跳转和弹出模态,
ViewController
是MVC开发模式中一个重要的类。
我的日子里
·
2020-08-06 10:43
IOS
HTML5学习总结-11 IOS 控件WebView显示网页
2添加安全消息添加以下消息到项目的Info.plistNSAppTransportSecurityNSAllowsArbitraryLoads2、加载WebView在
ViewController
.m添加
aejkscy8680
·
2020-08-06 09:09
IOS开发控件视图day01:页面转跳之模态跳转和纯控件实现Navigation
1、模态跳转主页面
ViewController
.h声明转跳按钮@property(retain,nonatomic)UIButton*btn1;
ViewController
.m实现按钮转跳函数@implementation
ViewController
wenyu_Saitama
·
2020-08-06 09:03
IOS控件基础
ios
UILabel的属性总结
#import"
ViewController
.h"#import@interface
ViewController
()@end@implementation
ViewController
-(void)viewDidLoad
ArgentinaNo10
·
2020-08-06 09:33
工作笔记
IOS开发控件视图day10:webView网页链接转跳
1、绑定一个转跳按钮触发函数-(void)login:(UIButton*)btn{Login
ViewController
*lVC=[[Login
ViewController
alloc]init];//
wenyu_Saitama
·
2020-08-06 09:01
IOS控件基础
IOS开发控件视图day13:在TableView中的cell页面里的button单击响应弹窗如何实现
众所周知,
ViewController
中button的单击事件为:[btnaddTarget:selfaction:@selector(click:)forControlEvents:UIControlEventTouchUpInside
wenyu_Saitama
·
2020-08-06 09:22
IOS控件基础
ios
iOS实现自定义导航
#import"
ViewController
.h"#import"Sub
ViewController
.h"@interface
ViewController
(){//存放视图控制器数据源NSMutableArray
lq_ios
·
2020-08-05 22:16
ios
iOS之导航渐变---/导航透明/隐藏导航栏以及手势返回遇到的问题,状态栏,tabbarItem角标
//CZNavTable
ViewController
.h//导航栏渐变透明效果#import@interfaceCZNavTable
ViewController
:UITable
ViewController
liyubao160
·
2020-08-05 22:09
iOS/oc
-[UI
ViewController
_loadViewFromNibNamed:bundle:]
22.848text_viewchange[879:f803]***Terminatingappduetouncaughtexception'NSInternalInconsistencyException',reason:'-[UI
ViewController
_loadViewFromNibNamed
feeling127
·
2020-08-05 21:13
错误调试
iOS快速自定义APP顶部标题滚动条
今天继续说仿喵播APP,聊一聊【自定义APP顶部标题滚动条】,用的是YZDisplay
ViewController
,这是袁峥Seemygo大牛写的一个极其轻便简洁的小框架。
JFzhifenx
·
2020-08-05 21:22
iOS开发
Android框架
MVCMVC,Model
ViewController
,是软件架构中最常见的一种框架,简单来说就是通过controller的控制去操作model层的数据,并且返回给view层展示,具体见下图当用户出发事件的时候
自在仙@
·
2020-08-05 21:16
Spring boot 上传文件
在add
Viewcontroller
中添加界面upload界面。
佩佩爱吃脏脏包
·
2020-08-05 19:59
Spring
boot
Spring
boot
iOS12.1 出现 tabbar 按钮错乱问题
经过测试发现,如果使用系统OS12.1UINavigationController+UITabBarController(UITabBar磨砂),在pop
ViewController
Animated会遇到
小跳瘙
·
2020-08-05 19:01
UI
新版本新特性
springboot设置默认首页、url的项目名、session等
1、设置默认首页:@ConfigurationpublicclassDefaultViewextendsWebMvcConfigurerAdapter{@Overridepublicvoidadd
ViewController
s
赶路人儿
·
2020-08-05 19:21
#
spring-boot
linker command failed with exit code 1 解决
Undefinedsymbolsforarchitecturei386:"_OBJC_CLASS_$_VRGCalendarView",referencedfrom:objc-class-refinInquirePlan
ViewController
.old
lindeancsd
·
2020-08-05 19:15
SpringBoot 重定向请求路径跳转问题(一)
目录1.刷新时候表单重复提交2.重定向处理3.add
ViewController
()方法做路径映射4.返回路径的思考1.刷新时候表单重复提交通过postman工具提交post请求,返回dashboard
beAwesomeToday
·
2020-08-05 18:18
spring
boot
异步post请求之Block方法
1#import"
ViewController
.h"2#import"Header.h"34@interface
ViewController
()56@end78@implementation
ViewController
910
a747746
·
2020-08-05 16:23
iOS新手指南
语法类定义初始化对象协议声明实现属性定义使用方法定义调用代码块(闭包)容器数组字典基本语句条件循环NSString大小比较拼接截取NSLog日期NSDateNSDateFormatterJSONUI页面
ViewController
莫川
·
2020-08-05 16:37
ios
React状态管理
/images/mvc-base.png)]MVC的全名是Model
ViewController
,是模型(model)-视图(view)-控制器(controller)的缩写,是一种软件设计典范。
苏废物~~
·
2020-08-05 15:52
React状态管理
React
iOS Runtime几种常见的应用场景
iOSRuntime几种常见的应用场景OC的动态性场景一:防止button重复事件点击场景二:访问NSArray越界问题场景三:快速接手新工程
ViewController
中添加Hook动态的添加方法发送消息
仰望星空01
·
2020-08-05 11:10
OC
iOS
Runtime
辉光的UIView
辉光的UIView辉光UIView使用了一个UIView的一个category,名为UIView+Glow,请自行到github上查找.源码如下:////Root
ViewController
.m//GlowView
weixin_34208185
·
2020-08-05 11:25
使用CALayer制作View的辉光效果
CALayer制作View的辉光效果实现以下的辉光效果:思路是这样子的:1.创建好需要实现辉光效果的View2.对这个View进行截图3.将这个截图重新添加进View中4.对这个截图实现改变透明度的动画
ViewController
.m
weixin_33750452
·
2020-08-05 11:08
iOS监听线程结束
2019独角兽企业重金招聘Python工程师标准>>>#import "
ViewController
.h"#define kPrintLog NSLog(@"%s isMain:%d",__func__
weixin_33725515
·
2020-08-05 11:37
iOS替换方法hook
)load{ SELorigSel=@selector(viewDidAppear:); SELswizSel=@selector(swiz_viewDidAppear:); [UI
ViewController
swizzleMethods
絮语时光
·
2020-08-05 11:16
方法
iOS的Aspects简单使用
1.通过cocopods安装Aspectstarget'AspectDemo'dopod"Aspects"end2.包含头文件和实现方法#import"
ViewController
.h"#import"AspectTest.h
空中海
·
2020-08-05 10:47
Objective-C
IOS实现hook的功能,拦截UINavigati…
在IOS实现hook的功能,拦截UINavigationController的页面跳转push
ViewController
方法在页面公共代码viewDidLoad中添加如下代码//===========
bensantan
·
2020-08-05 10:14
IOS基础
iOS 开发中tabBarItem不显示文字,只显示图片,且图片居中显示
//第一页HomePage
ViewController
*homePageVC=[[HomePage
ViewController
alloc]init];UINavigationController*naviVC1
yuanyuan1314521
·
2020-08-05 03:49
上一页
110
111
112
113
114
115
116
117
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他