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
fblue
将蓝湖取值#1B9E5CFF(HEXA)转为RGBA颜色值
项目中用到某些控件背景需要服务器控制返回值为字符串类似#1B9E5CFF#definergba(r,g,b,s)[UIColorcolorWithRed:(r)/255.0fgreen:(g)/255.0
fblue
selice
·
2023-09-22 22:21
ios 渐变背景颜色
#defineRGBA(r,g,b,a)[UIColorcolorWithRed:r/255.0fgreen:g/255.0
fblue
:b/255.0falpha:a]#defineMainColor1RGBA
猴子和派大星
·
2023-09-17 08:31
移动
取色值相关宏
#defineRGB(r,g,b)[UIColorcolorWithRed:(r)/255.fgreen:(g)/255.
fblue
:(b)/255.falpha:1.f]#defineRGBA(r,g
MrZhuGe
·
2023-01-27 05:42
(IOS)为一个view添加虚线边框
CAShapeLayer*border=[CAShapeLayerlayer];border.strokeColor=[UIColorcolorWithRed:67/255.0fgreen:37/255.0
fblue
rightmost
·
2022-02-10 12:43
iOS CAShapeLayer+CADisplayLink 波浪动画
#defineBackGroundColor[UIColorcolorWithRed:96/255.0fgreen:159/255.0
fblue
:150/255.0falpha:1]#defineWaveColor1
獨荹儛臨
·
2022-02-03 01:09
设置tableViewcell 下划线宽度 及其颜色
self.tableViewsetLayoutMargins:UIEdgeInsetsZero];[self.tableViewsetSeparatorColor:[UIColorcolorWithRed:255/255.0fgreen:255/255.0
fblue
飞不飞
·
2021-05-12 23:39
CABasicAnimation CAAnimationGroup 对背景色做连续渐变动画
,再变为灰色,往返作三次程实原创//3、会后从灰色变为白色程实原创defineRGBCOLOR(r,g,b)[UIColorcolorWithRed:(r)/255.0fgreen:(g)/255.0
fblue
wzf_taker
·
2021-04-27 14:55
仿微博➕按钮 tarbar➕点击事件(点击旋转45度动画)
viewDidLoad{[superviewDidLoad];self.tabBar.tintColor=[UIColorcolorWithRed:254.0f/255.0fgreen:51.0f/255.0
fblue
轻斟浅醉17
·
2021-04-25 17:56
宏定义
1.颜色颜色宏定义#defineRGBA(r,g,b,a)[UIColorcolorWithRed:r/255.0fgreen:g/255.0
fblue
:b/255.0falpha:a]#defineRGB
zmjchuan
·
2021-04-23 07:13
POJ-3734(指数型生成函数)
Fblue
=Fgreen=1+x1!+x22!+...+xnn!=exF_{blue}=F_{green}=1+\frac{x}{1!}+\frac{x^2}{2!}+...
ChaseNo1
·
2020-09-12 07:55
生成函数
IOS 设置label背景颜色
cell.leftlabel.backgroundColor=[UIColorcolorWithRed:245.0f/255.0fgreen:245.0f/255.0
fblue
:245.0f/255.0falpha
移动APP码农
·
2020-09-11 02:26
IOS
修改navigationbar或UINavigationController 背景颜色
属性来达到目的,self.navigationController.navigationBar.tintColor=[UIColorcolorWithRed:200/255.0fgreen:200/255.0
fblue
edward0004
·
2020-08-24 00:11
01-基础信息
image
ios5
interface
iOS RGB色值宏定义设置
#defineRGBA(r,g,b,a)[UIColorcolorWithRed:r/255.0fgreen:g/255.0
fblue
:b/255.0falpha:a]#defineRGB(r,g,b)
lv自定义
·
2020-08-17 23:34
RGB的宏定义
关于NavigationBar背景图片和颜色的设置
直接在你的UIViewController中设置//颜色设置,采用RGB格式UIColor*bgcolor=[UIColorcolorWithRed:255.0f/255.0fgreen:0.0f/255.0
fblue
Night-Wish
·
2020-08-04 10:23
IOS开发
OC 颜色渐变动画和动画组
#defineRGBCOLOR(r,g,b)[UIColorcolorWithRed:(r)/255.0fgreen:(g)/255.0
fblue
:(b)/255.0falpha:1]#import"ViewController.h
chenlao6995
·
2020-07-07 05:44
Xshell配色和字体
6c71c4text=839496white(bold)=fdf6e3green=859900red(bold)=cb4b16green(bold)=586e75black(bold)=073642red=dc322
fblue
weixin_34303897
·
2020-07-06 01:00
Xshell的舒服配色方案,目录不在是蓝的几乎看不见!!
6c71c4text=839496white(bold)=fdf6e3green=859900red(bold)=cb4b16green(bold)=586e75black(bold)=073642red=dc322
fblue
weixin_34174322
·
2020-07-06 00:59
iOS UITextField的边框设置颜色的小坑
textBoxName.layer.borderWidth=1.0f;_textBoxName.layer.borderColor=[UIColorcolorWithRed:0xbf/255.0fgreen:0xbf/255.0
fblue
woshidaniu
·
2020-06-29 20:30
objective-c
获取RGB颜色
获取RGB颜色#defineRGBA(r,g,b,a)[UIColorcolorWithRed:r/255.0fgreen:g/255.0
fblue
:b/255.0falpha:a]#defineRGB
_Mach
·
2020-06-29 15:05
为一个view加虚线边框
CAShapeLayerlayer];border.strokeColor=[UIColorredColor].CGColor;//[UIColorcolorWithRed:67/255.0fgreen:37/255.0
fblue
SuperFashionQueen
·
2020-06-22 06:59
ios
位运算>>与按位与&运算符在应用中的详解
这个方法实现如下,只会返回不透明的颜色return[UIColorcolorWithRed:((rgb&0xFF0000)>>16)/255.0fgreen:((rgb&0xFF00)>>8)/255.0
fblue
平谦
·
2020-04-03 20:18
iOS 颜色转换 UIColor 和 HEX
colorgetRed:&rgreen:&gblue:&balpha:&a];return(int)(r*255)>16&0xff)/255.fgreen:(hex>>8&0xff)/255.
fblue
Zszen
·
2020-04-01 22:15
iOS开发小冷易忘知识点总结
设置导航栏的背景颜色用barTintColorself.navigationBar.barTintColor=[UIColorcolorWithRed:3/255.0fgreen:101/255.0
fblue
WangK_Dev
·
2020-03-24 00:42
半透明的视图上加一个不透明的子视图,一般做提示框
本来效果图是半透明的底层上加一个不透明的提示框通过设置背景的rgba----------_backView.backgroundColor=[UIColorcolorWithRed:0.16fgreen:0.20
fblue
陌上北辰
·
2020-03-15 11:42
ios宏的简单实用
返回一个字符串#definestringify__STRING//设置颜色#defineSetColor(r,g,b)[UIColorcolorWithRed:(r)/255.0fgreen:(g)/255.0
fblue
我是啊梁
·
2020-03-13 09:34
android中#40000000转换为iOS RGBA是什么颜色
40转换为十进制为6464/255=0.25RGBA(0,0,0,0.25)#defineRGBA(r,g,b,a)[UIColorcolorWithRed:r/255.0fgreen:g/255.0
fblue
_Mach
·
2019-12-24 18:02
iOS常用的宏定义
列举了一些常用的宏定义,比如屏幕宽高,系统版本,nslog打印等,不定期更新//RGB#defineRGBColor(r,g,b)[UIColorcolorWithRed:r/255.0fgreen:g/255.0
fblue
打瞌睡de小男孩
·
2019-12-24 12:16
xshell 远程连接阿里云,配置vim
6c71c4text=839496white(bold)=fdf6e3green=859900red(bold)=cb4b16green(bold)=586e75black(bold)=073642red=dc322
fblue
14142135623731
·
2019-12-06 15:19
iOS 自定义弹框
import"CommanBottomPopView.h"#defineLC_ACTION_SHEET_COLOR(r,g,b)[UIColorcolorWithRed:(r)/255.0fgreen:(g)/255.0
fblue
劉光軍_Shine
·
2019-11-04 06:40
iOS的开发小冷易忘知识点总结
这里自己也整理下这些容易忘记的代码设置导航栏的背景颜色用barTintColorself.navigationBar.barTintColor=[UIColorcolorWithRed:3/255.0fgreen:101/255.0
fblue
HT_Jonson
·
2019-11-03 19:26
iOS UITableView头视图下拉放大效果及UITableviewCell滑动显示多个按钮
首先,我们先创建一个tableview#defineRGBACOLOR(r,g,b,a)[UIColorcolorWithRed:(r)/255.0fgreen:(g)/255.0
fblue
:(b)/255.0falpha
若锦
·
2019-11-02 13:41
十六进制颜色码转UIColor
intr=(hex>>16)&0xFF;intg=(hex>>8)&0xFF;intb=(hex)&0xFF;return[UIColorcolorWithRed:r/255.0fgreen:g/255.0
fblue
灬巴山夜雨
·
2018-05-11 16:36
iOS tableView实现头部拉伸并改变导航条渐变色
import"TableViewController.h"staticNSString*ident=@"cell";#defineRGBA(r,g,b,a)[UIColorcolorWithRed:r/255.0fgreen:g/255.0
fblue
小手一背爱谁谁
·
2018-05-08 14:33
iOS动画 :过山车
效果过山车.gif思维导图思维导图代码部分:1.背景天空UIColor*lightColor=[UIColorcolorWithRed:40.0f/255.0fgreen:150.0f/255.0
fblue
李李李大胖子
·
2018-03-27 17:29
宏定义
UIScreenmainScreen].bounds.size.heightdefinemRGB(r,g,b,a)[UIColorcolorWithRed:(r)/255.0fgreen:(g)/255.0
fblue
xieyinghao
·
2017-12-10 04:45
显而易见而浪费很多时间调试的错误
UIColorcolorWithRed:255green:255blue:255alpha:0.15];正确的写法:[UIColorcolorWithRed:255/255.0fgreen:255/255.0
fblue
fcai
·
2017-12-04 13:04
十六进制颜色转RGB颜色(含#开头)
如下self.view.backgroundColor=[UIColorcolorWithRed:235/255.0fgreen:236/255.0
fblue
:241/255.0falpha:1];但是美工大多数给的颜色往往都是十六进制的颜色
叫我小哥哥
·
2017-08-24 16:47
Xshell配色和字体
6c71c4text=839496white(bold)=fdf6e3green=859900red(bold)=cb4b16green(bold)=586e75black(bold)=073642red=dc322
fblue
lingkong
·
2017-07-06 00:00
xshell
关于图形的学习笔记1
1.颜色的反向提取,获得各个颜色的分量和透明度;UIColor*oringeColor=[UIColorcolorWithRed:0.3fgreen:0.4
fblue
:0.7falpha:0.9f];CGColorRefcolorRef
一不做二不善罢甘休
·
2017-04-11 15:09
随笔
渐变
CAGradientLayer代码:#defineMF_ColorFromHex(c)[UIColorcolorWithRed:((c>>16)&0xFF)/255.0fgreen:((c>>8)&0xFF)/255.0
fblue
天泽圣司tzss
·
2016-04-10 23:31
常用到的宏定义!!!!!
systemVersiondoubleValue]>=7.0)//2.获得RGB颜色#defineRGBA(r,g,b,a) [UIColorcolorWithRed:r/255.0fgreen:g/255.0
fblue
ZHZMAREN
·
2016-02-15 15:00
iOS之用NSTimer定时刷新按钮的文字,避免按钮闪烁的办法
[UIColorcolorWithRed:40.0/255.0green:90.0/255.0
fblue
:190.0/255.0falpha
LVXIANGAN
·
2015-10-20 14:00
IOS 开发常用的宏定义
systemVersiondoubleValue]>=7.0) //2.获得RGB颜色 #defineRGBA(r,g,b,a)[UIColorcolorWithRed:r/255.0fgreen:g/255.0
fblue
zz_mm
·
2015-09-09 10:00
页面常见问题
一、页面跳转时停顿问题在跳转后的页面添加背景色:[self.viewsetBackgroundColor:[UIColorcolorWithRed:1.0fgreen:1.0
fblue
:1.0falpha
huanghaiyan_123
·
2015-06-06 17:00
页面常见问题
[置顶] iOS UICollectionView 的使用
#defineRGBACOLOR(r,g,b,a) [UIColorcolorWithRed:(r)/255.0fgreen:(g)/255.0
fblue
:(b)/255.0falpha:(a)]#defineUserCollectionViewCellID
darongzi1314
·
2015-05-04 10:00
ios
[置顶] iOS中如何修改UISegmentedControl的背景颜色和字体的颜色UISegmentedControl
#defineRGBACOLOR(r,g,b,a) [UIColorcolorWithRed:(r)/255.0fgreen:(g)/255.0
fblue
:(b)/255.0falpha:(a)]segmentController.tintColor
darongzi1314
·
2014-12-31 15:00
ios
[置顶] iOS中如何修改系统自带的导航栏的颜色
#defineRGBACOLOR(r,g,b,a) [UIColorcolorWithRed:(r)/255.0fgreen:(g)/255.0
fblue
:(b)/255.0falpha:(a)]self.navigationController.navigationBar.barTintColor
darongzi1314
·
2014-12-31 15:00
ios
导航
iPhone设置导航栏背景和字体颜色
//stylethenavigationbar UIColor*navColor=[UIColorcolorWithRed:0.175fgreen:0.458
fblue
:0.831falpha:1.0f
daveztong
·
2014-11-06 21:00
UINavigationBar
ios7设置NavigationBar的背景色
ios7设置导航栏背景色的方法,与ios6不同了:UIColor*color=[UIColorcolorWithRed:107/255.0fgreen:211/255.0
fblue
:217/255.0falpha
kyfxbl
·
2014-06-18 21:00
Xshell的舒服配色方案,否则蓝色看不清
6c71c4text=839496white(bold)=fdf6e3green=859900red(bold)=cb4b16green(bold)=586e75black(bold)=073642red=dc322
fblue
wide288
·
2014-05-05 18:00
上一页
1
2
下一页
按字母分类:
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
其他