1.NS是系统库.2.IOS类的声明:@interface MyObject : NSObject { int memberVar1; // 实体变量 id memberVar2;}+(return_type) class_method; // 类方法-(return_type) instance_ ...
分类:
移动开发 时间:
2018-05-03 19:39:14
阅读次数:
204
1. 相关软件版本 xshell: xmanager: pycharm: pycharm破解服务器:https://jetlicense.nss.im/ 2. 将相应的软件安装(pojie好) a> 启动xmanager passive,这个是用来接受linux转发过来的x11的: b> 设置xsh... ...
分类:
系统相关 时间:
2018-05-03 16:38:17
阅读次数:
3251
创建数据库路径 NSString* docsdir = [NSSearchPathForDirectoriesInDomains( NSDocumentDirectory, NSUserDomainMask, YES) lastObject]; NSString* dbpath = [docsdir ...
分类:
数据库 时间:
2018-05-02 19:11:44
阅读次数:
187
sftp配置 在vscode中快捷键 ctrl+shift+P 打开指令窗口,输入extension:install,回车,左侧即打开扩展安装的界面 在搜索框中输入sftp,第一个就是需要安装的,点安装 然后快捷键 ctrl+shift+P 打开指令窗口,输入sftp:config,回车,就会在当前 ...
在centos 7 下安装 nginx-1.11 前需要先切换到root环境,通过命令 su root 切换,然后再输入密码, 如果不能切换需要把下载的nginx文件夹给予777的权限 下载nginx-1.11.10的压缩包文件到根目录,官网下载地址:nginx.org/download/nginx ...
分类:
其他好文 时间:
2018-04-30 15:37:56
阅读次数:
345
问题:安装oracle相关连的包时导致yum和rpm都坏了,命令使用不了,出现如下错误提示:error:FailedtoinitializeNSSlibraryTherewasaproblemimportingoneofthePythonmodulesrequiredtorunyum.Theerrorleadingtothisproblemwas:cannotimportnametsPleasei
分类:
其他好文 时间:
2018-04-28 17:56:03
阅读次数:
7081
下载python3.5安装包: wget --no-check-certificate https://www.python.org/ftp/python/3.5.0/Python-3.5.0.tgz 解压到当前目录: tar -zxvf Python-3.5.0.tgz cd Python-3.5 ...
分类:
其他好文 时间:
2018-04-27 02:24:29
阅读次数:
173
1. 过程 参考:https://blog.csdn.net/x_koozal/article/details/72432906 ...
分类:
编程语言 时间:
2018-04-26 21:45:12
阅读次数:
217
转载自:http://blog.sina.com.cn/s/blog_7b9d64af0101dfg8.html 最近用到搜索功能。于是,经过不断的研究,终于,有点懂了。 那就来总结一下吧,好记性不如烂笔头! 搜索,无疑可以使用UISearchBar控件!那就先了解一下UISearchBar控件吧! ...
分类:
移动开发 时间:
2018-04-26 18:34:52
阅读次数:
209
前言 在开发中,也许我们会经常使用到宏定义,或者用const修饰一些数据类型,经常有开发者不知道怎么正确使用,导致项目中乱用宏定义与const修饰符。本篇主要介绍在开发中怎么正确使用 与`define(宏定义)` 当我们想定义全局共用的一些数据时,比如通知名字,动画时长等等,我们可以用 、`常量 变 ...
分类:
其他好文 时间:
2018-04-26 01:25:34
阅读次数:
172