一、该功能是从Xcode4开始引入的。在Xcode中的位置如下图所示: 如上图,右边系统就定义很对的代码块,包括一些我们很常用的@interface 和@implementation的声明和实现。 二、自定义我们常用的代码块步骤 @property属性的定义是Cocoa程序开发中很常用的一个功能,下 ...
分类:
其他好文 时间:
2016-10-27 12:20:47
阅读次数:
199
一、JSONP jsonp 原理: 1.浏览器同源策略 通过Ajax,如果在当前域名去访问其他域名时,浏览器会出现同源策略,从而阻止请求的返回 2.img,script,link,iframe - 不鸟同源策略 src属性的标签,一般不鸟同源策略 3.JSONP 利用 不鸟同源策略 的标签,发送跨域 ...
分类:
Web程序 时间:
2016-10-23 11:27:44
阅读次数:
279
Because using multicast with a new Subject is such a common pattern, there is a shortcut in RxJS for this: the publish() operator. This lesson introdu ...
分类:
Web程序 时间:
2016-10-23 07:47:30
阅读次数:
321
一、什么是网页小图标 二、如何设置网页小图标 网页的显示图标可以通过link来设置: 三、总结回顾 之前只知道link可以用来导入css文件(链接样式),如此。 思考: link应该就是用来引用资源的,然后使用rel来设置一下引用的什么资源,让浏览器去解析。 待补项:通过web容器设置网页小图标。 ...
分类:
Web程序 时间:
2016-10-23 02:11:23
阅读次数:
187
原文地址:https://dev.mysql.com/doc/refman/5.7/en/explain-output.html 9.8.2 EXPLAIN Output Format 9.8.2 EXPLAIN Output Format 9.8.2 EXPLAIN Output Format 9 ...
分类:
数据库 时间:
2016-10-21 20:09:51
阅读次数:
258
<html lang="zh-CN"> <head> <meta charset="utf-8"> <title>接口测试</title> <link href="http://cdn.bootcss.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="s ...
怎么给网站添加ICO图标 现在的网站大多数会在自己的网页上添加属于自己的小logo,进而增加网页的版权性,所以,网站的ico图标的添加也显得尤为重要了 方法如下: 1、将ico文件放在网站根目录 2、在网站页面中head标签内添加 <link rel="shortcut icon" href="fa ...
分类:
Web程序 时间:
2016-10-19 02:30:28
阅读次数:
179
一、联系方式:(自带鼠标的移动动画) 1.头文件CSS <link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min.css?v=3.3.5" rel="stylesheet"> <link href="css ...
分类:
其他好文 时间:
2016-10-17 13:41:31
阅读次数:
215
<link rel="shortcut icon" href="bitbug_favicon.ico"> 比特虫ico网页快速制作<title>中国旅游发展局</title> <body> <a name="top"></a> 最顶端 <a href="#top">此处可以包住div层以及文字</a ...
分类:
其他好文 时间:
2016-09-08 00:43:15
阅读次数:
145