会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ForeverGuard
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2017年12月5日
Android之shape属性简介和使用
摘要: 1、shape标签简介 shape的形状,默认为矩形,可以设置为矩形(rectangle)、椭圆形(oval)、线性形状(line)、环形(ring) ! 设置形状: 2、shape的六个子标签相关属性 3、四种形状使用相关的xml文件 环形: 其它三种
阅读全文
posted @ 2017-12-05 08:31 ForeverGuard
阅读(1085)
评论(0)
推荐(0)
2017年12月4日
Android之相关术语
摘要: Dalvik: Android特有的虚拟机,和JVM不同,Dalvik虚拟机非常适合在移动终端上使用! AVD: (android virtual machine):安卓虚拟设备,就是安卓的模拟器 ADT: (android development tools)安卓开发工具 SDK:(softwar
阅读全文
posted @ 2017-12-04 09:20 ForeverGuard
阅读(298)
评论(0)
推荐(0)
2017年12月1日
iOS之UITableView加载网络图片cell自适应高度
摘要: #pragma mark- UITableView - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{ UIImage *img = [[SDImageCache sharedImageCache] imageFromDiskCacheForKey...
阅读全文
posted @ 2017-12-01 15:10 ForeverGuard
阅读(4351)
评论(0)
推荐(0)
2017年11月15日
iOS之CALayer属性简介
摘要: /* CoreAnimation - CALayer.h Copyright (c) 2006-2017, Apple Inc. All rights reserved. */ #import #import #import #import #import #import @class NSEnumerator, CAAnimation, CALayerArray; @p...
阅读全文
posted @ 2017-11-15 16:41 ForeverGuard
阅读(1501)
评论(0)
推荐(0)
2017年11月6日
iOS之UIGraphics.h方法简介
摘要: // // UIGraphics.h // UIKit // // Copyright (c) 2005-2017 Apple Inc. All rights reserved. // #import #import #import NS_ASSUME_NONNULL_BEGIN @class UIImage; //获取上下文 UIKIT_EXTERN CGContextRe...
阅读全文
posted @ 2017-11-06 16:46 ForeverGuard
阅读(767)
评论(0)
推荐(0)
iOS之CGcontext.h方法和属性简介
摘要: /* CoreGraphics - CGContext.h Copyright (c) 2000-2012 Apple Inc. All rights reserved. */ #ifndef CGCONTEXT_H_ #define CGCONTEXT_H_ #include #include #include typedef struct CF_BRIDGED_TYPE(id...
阅读全文
posted @ 2017-11-06 14:37 ForeverGuard
阅读(1517)
评论(0)
推荐(1)
2017年11月2日
iOS之CATiledLayer的属性简介和使用
摘要: 1、CATiledLayer简介 CATiledLayer用于大型图片进行分割显示,需要显示的图片才会加载,直接上代码: 效果图 2、CATiledLayer属性
阅读全文
posted @ 2017-11-02 17:16 ForeverGuard
阅读(1318)
评论(0)
推荐(0)
2017年11月1日
iOS之CATextLayer属性简介
摘要: 1、CATextLayer简介 CATextLayer快速高效简单地来渲染纯文本、NSAttributedString
阅读全文
posted @ 2017-11-01 15:50 ForeverGuard
阅读(807)
评论(0)
推荐(0)
iOS之CAScrollLayer属性简介和使用
摘要: 1、CAScrollLayer的简介 CAScrollLayer用于显示一个滑动图层的一部分,可以确定滑动方向和可视区域面积,限制不滑出区域外!相关属性如下:其中 不是很理解,只做自己的见解! 2、CAScrollLayer的简单使用 (1)原点(-50,-50),所以最大的时候左边和上面有50的距
阅读全文
posted @ 2017-11-01 10:19 ForeverGuard
阅读(1373)
评论(0)
推荐(0)
2017年10月31日
iOS之CAReplicatorLayer属性简介和使用
摘要: 1、CAReplicatorLayer简介 CAReplicatorLayer用于对图层进行复制,包括图层的动画也能复制!可以看着将某一段事务进行重复! 2、CAReplicatorLayer的简单使用 效果图 效果图
阅读全文
posted @ 2017-10-31 09:12 ForeverGuard
阅读(1748)
评论(0)
推荐(0)
2017年10月30日
iOS之CAGradientLayer属性简介和使用
摘要: 1、CAGradientLayer简介 CAGradientLayer用于制作背景图层的颜色渐变,也就是颜色梯度!相关属性简介: 2、CAGradientLayer的简单使用: 效果图
阅读全文
posted @ 2017-10-30 13:36 ForeverGuard
阅读(594)
评论(0)
推荐(0)
2017年10月27日
iOS之CAShapeLayer属性简介
摘要: 1、CAShapeLayer需要和贝塞尔曲线一块使用! 2、简单使用 效果图
阅读全文
posted @ 2017-10-27 15:37 ForeverGuard
阅读(1529)
评论(0)
推荐(0)
2017年10月26日
iOS之UIBezierPath贝塞尔曲线属性简介
摘要: #import #import #import NS_ASSUME_NONNULL_BEGIN typedef NS_OPTIONS(NSUInteger, UIRectCorner) { UIRectCornerTopLeft = 1 //初始化 + (instancetype)bezierPath; //初始化一个矩形路径 + (instancetype)be...
阅读全文
posted @ 2017-10-26 14:06 ForeverGuard
阅读(1412)
评论(0)
推荐(0)
2017年10月24日
iOS之CGAffineTransform属性详解和方法使用
摘要: 1、CGAffineTransform简介 UIView有个属性transform,是CGAffineTransform类型。可以使其在二维界面做旋转、平移、缩放单独或者组合动画! CGAffineTransform是个结构体: 2、CGAffineTransform的简单使用和代码展示 2.1、平
阅读全文
posted @ 2017-10-24 15:58 ForeverGuard
阅读(6514)
评论(0)
推荐(0)
2017年10月20日
iOS之String动态书写
摘要: 效果图
阅读全文
posted @ 2017-10-20 14:51 ForeverGuard
阅读(290)
评论(0)
推荐(0)
2017年10月19日
iOS之CGPath的应用(二)
摘要: 1、矩形路径 效果图 2、椭圆路径 效果图 3、圆角矩形 效果图 4、虚线路径 效果图 5、斜线 效果图 6、其它划线 效果图
阅读全文
posted @ 2017-10-19 11:32 ForeverGuard
阅读(3536)
评论(0)
推荐(0)
iOS之CGPath相关属性(一)
摘要: #ifndef CGPATH_H_ #define CGPATH_H_ ForeverGuard博客园 #include #include #include typedef struct CF_BRIDGED_TYPE(id) CGPath *CGMutablePathRef; typedef const struct CF_BRIDGED_TYPE(id) CGPath *CGPath...
阅读全文
posted @ 2017-10-19 08:30 ForeverGuard
阅读(794)
评论(0)
推荐(0)
2017年10月16日
iOS之CAEmitterLayer粒子引擎
摘要: 1、CAEmitterCell粒子发射器的相关属性: 2、CAEmitterCell粒子的相关属性:
阅读全文
posted @ 2017-10-16 16:53 ForeverGuard
阅读(488)
评论(0)
推荐(0)
2017年9月28日
Xcode导航栏功能简介
摘要: 1、Xcode 1.1、AboutXcode 1.2、Preferences General Accounts Behaviors1 Behavior2 Navigation Fonts&Colors TextEditing1 TextEditing2 KeyBindings SourceContr
阅读全文
posted @ 2017-09-28 15:39 ForeverGuard
阅读(1424)
评论(1)
推荐(0)
2017年9月20日
iPhoneX适配随笔
摘要: 1、安全区域 2、NavigationBar 和 TabBar的xib示意图 两个View要相同的效果,坐标不同 iPhone X 的xib示意图 普通iPhone的xib示意图
阅读全文
posted @ 2017-09-20 16:31 ForeverGuard
阅读(233)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告