import UIKit class XZCircleView: UIView { let backGroundLayer = CAShapeLayer.init()///背景白色细曲线 let progressLayer = CAShapeLayer.init()///进度真是数值曲线 var e ...
分类:
移动开发 时间:
2018-03-28 18:46:22
阅读次数:
521
模态视图在ios开发中用处非常广 ios开发中。在当前视图上再弹出一个视图(模态视图)。实现一个简单的多视图应用,以下给大家写个demo 一 。 // // AppDelegate.h // 模态视图 // #import <UIKit/UIKit.h> @interface AppDelegate ...
分类:
其他好文 时间:
2018-03-21 11:39:26
阅读次数:
178
之前写了一篇关于Online Relevance Search的博文,然后又看到罗勇大神关于Full Text Index的博文:Dynamics CRM中一个查找字段引发的【血案】,于是准备写点关于Full Text Index Stopwords相关的介绍,也算是对Dynamics 365 Se ...
分类:
其他好文 时间:
2018-03-19 13:29:29
阅读次数:
211
一、KVO 是什么? KVO 是 Objective-C 对观察者设计模式的一种实现。【另外一种是:通知机制(notification),详情参考:iOS 趣谈设计模式——通知】; KVO 提供一种机制,指定一个被观察对象(例如 A 类),当对象某个属性(例如 A 中的字符串 name)发生更改时, ...
分类:
移动开发 时间:
2018-03-13 15:41:42
阅读次数:
264
区别于Quick Find,以及Full-Text Quick Find,Dynamics 365 Online有了一个特有的Search功能:Relevance Search。至于为什么是Online特有,是因为这个功能依赖于Azure Search(External Search System) ...
分类:
其他好文 时间:
2018-03-12 17:00:25
阅读次数:
189
为了加强界面的一致性,提高用户体验,Dynamics 365 Online V9发布了新的Interface:Unified User Interface。 区别于旧的Regular UI,UUI自适应浏览器,屏幕大小以及访问的设备,减少定制化的工作,实现界面的统一。当然,之前的界面在用浏览器访问的 ...
分类:
其他好文 时间:
2018-03-06 12:50:08
阅读次数:
163
1.布局框架: Bootstrap: http://getbootstrap.com/ Foundation: http://foundation.zurb.com/ Uikit: http://www.getuikit.com/ Web Components:http://css-tricks.c ...
分类:
其他好文 时间:
2018-03-06 10:20:16
阅读次数:
195
1 import UIKit 2 3 class ViewController: UIViewController, UIPageViewControllerDelegate, UIPageViewControllerDataSource { 4 5 @IBOutlet weak var redBt... ...
分类:
编程语言 时间:
2018-02-24 15:10:28
阅读次数:
267
传送门 把n1个步兵和n2个骑兵派成一列,已知连续的步兵不超过k1个,连续的骑兵不超过k2个,求总可能排列情况数 定义dp[i][j][2],指使用i个步兵,j个骑兵的排列。0代表排头为步兵,1代表排头为骑兵 ...
分类:
其他好文 时间:
2018-02-09 22:37:37
阅读次数:
287
1 import UIKit 2 3 // 先写两个屏幕宽高的宏定义 4 let kScreenWidth = UIScreen.main.bounds.size.width 5 let kScreenHeight = UIScreen.main.bounds.size.height 6 7 cla... ...
分类:
编程语言 时间:
2018-02-07 22:52:11
阅读次数:
218