UITextField是iOS系统中进行文本输入操作的一种UI控件。 在ViewController的viewDidLoad中添加下面的方法即可 override func viewDidLoad() { super.viewDidLoad() // Do any additional setup ...
分类:
移动开发 时间:
2018-10-02 20:28:52
阅读次数:
225
MainActivity.xml: <Button android:id="@+id/btnGo" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Button Go" an ...
分类:
移动开发 时间:
2018-10-02 20:28:44
阅读次数:
792
Vue 专题 一个数据驱动的组件,为现代化的 Web 界面而生。具有可扩展的数据绑定机制,原生对象即模型,简洁明了的 API 组件化 UI 构建 多个轻量库搭配使用 请访问链接: https://www.awesomes.cn/subject/vue#%E5%BA%94%E7%94%A8-%E6%A ...
分类:
移动开发 时间:
2018-10-02 20:13:11
阅读次数:
214
移动互联网架构简化图 Appium的优势 多种开发模式支持 native hybrid webview 多平台支持 android ios 跨语言 java python ruby nodejs php 支持跨app,可以在多个app之间交互 不依赖源代码,可以测试第三方应用 Appium原理 待补 ...
分类:
移动开发 时间:
2018-10-02 18:07:33
阅读次数:
690
A-app: Info--URL Types--URL Schemes:A-app(一个标识,允许别的app调用本App) info.plist 添加白名单: LSApplicationQueriesSchemes(Array) B-app(String) //使用 - (void)jumpToBa ...
分类:
移动开发 时间:
2018-10-02 17:59:32
阅读次数:
206
安装JDK环境 新建变量名:JAVA_HOME, 变量值:D:\ProgramFiles\Java\jdk1.8.0_181 新建变量名:CLASSPATH,变量值:.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar; 修改变量名:Path, 变量值 ...
分类:
移动开发 时间:
2018-10-02 17:53:34
阅读次数:
173
Android获取系统时间方法的方法有很多种,常用的有Calendar、Date、currentTimeMills等方法。 (1)Calendar Calendar获取系统时间首先要用Calendar.getInstance()函数获取一个实例,再为该实例设定时区(中国的时区为GMT+8:00),最 ...
分类:
移动开发 时间:
2018-10-02 17:46:37
阅读次数:
188
Given a stream of integers and a window size, calculate the moving average of all integers in the sliding window. For example,MovingAverage m = new Mo ...
分类:
移动开发 时间:
2018-10-02 17:44:03
阅读次数:
223
Qpython官网(英文,下载和教程) http://www.qpython.com/ QPython(Android下载) http://www.appchina.com/app/com.hipipal.qpyplus 使用说明 http://wiki.qpython.org/zh/doc/how ...
分类:
移动开发 时间:
2018-10-02 17:29:50
阅读次数:
219
出现错误的原因是:hibernate中对于数据库的longtext数据类型不支持。 解决方案: 1、写个类集成方言,然后自己实现对longtext的支持 2、修改hibernate.cfg.xml配置文件 将<property name="dialect">org.hibernate.dialect ...
分类:
移动开发 时间:
2018-10-02 17:26:41
阅读次数:
184
https://www.aliyun.com/jiaocheng/2861.html?spm=5176.100033.1.35.2ed56b03CbsYFK 摘要:String、StringBuffer、StringBuilder来自JDKSpannableString、SpannableStrin ...
分类:
移动开发 时间:
2018-10-02 17:26:13
阅读次数:
172
Dapper作为.NET生态中广为人知的轻量级ORM类库在.NET Core里仍能被有效利用,并且其不但可以连通SQL Server数据库还提供对其它数据库,比如MySQL的支持。这里试验了一下通过Dapper连接MySQL的方法。 MySQL 可以选择直接安装在原生系统中或是Docker里。 "O ...
分类:
移动开发 时间:
2018-10-01 23:50:13
阅读次数:
508
[toc] 简介 AMQ(approximate membership queries近似成员查询): 是一种 字典 数据结构 是在 空间使用 和 查询错误率 的权衡 用于解决 大量数据 的处理 拥有以下操作 查找 插入 可选择元素的删除 设e误检率,当查询时报出absent值时,e的概率为误检,1 ...
分类:
移动开发 时间:
2018-10-01 22:36:42
阅读次数:
298
1. Jake Whartson: https://github.com/JakeWharton Dragger , ButterKnife, Scalpel,Java poet, Picasso, Android-ktx 2. GreenRobot: 开源组织 http://greenrobot. ...
分类:
移动开发 时间:
2018-10-01 22:15:17
阅读次数:
204
以上是源码, 运行时会报错如下: 首先:认为是自定义了Loading.service(options)中的options,网上各种解答 其次:官方文档中的异步关闭,搞死了我 最终发现是以为自定义options时发生了错误, 详细情况大家可以对比上下两张图 ...
分类:
移动开发 时间:
2018-10-01 21:38:53
阅读次数:
855