-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
16 lines (16 loc) · 7.54 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html><html lang="null"><head><meta http-equiv="content-type" content="text/html; charset=utf-8"><meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"><meta content="yes" name="apple-mobile-web-app-capable"><meta content="black-translucent" name="apple-mobile-web-app-status-bar-style"><meta content="telephone=no" name="format-detection"><meta name="description"><title>Braindie | 张文军的博客</title><link rel="stylesheet" type="text/css" href="//cdn.bootcss.com/normalize/5.0.0/normalize.min.css"><link rel="stylesheet" type="text/css" href="//cdn.bootcss.com/pure/0.6.2/pure-min.css"><link rel="stylesheet" type="text/css" href="//cdn.bootcss.com/pure/0.6.2/grids-responsive-min.css"><link rel="stylesheet" type="text/css" href="/css/style.css?v=0.0.2"><link rel="stylesheet" href="//cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css"><script type="text/javascript" src="//cdn.bootcss.com/jquery/3.1.1/jquery.min.js"></script><link rel="Shortcut Icon" type="image/x-icon" href="/favicon.ico"><link rel="apple-touch-icon" href="/apple-touch-icon.png"><link rel="apple-touch-icon-precomposed" href="/apple-touch-icon.png"></head><body><div class="body_container"><div id="header"><div class="site-name"><h1 class="hidden">Braindie</h1><a id="logo" href="/.">Braindie</a><p class="description">张文军的博客</p></div><div id="nav-menu"><a href="/." class="current"><i class="fa fa-home"> 首页</i></a><a href="/archives/"><i class="fa fa-archive"> 历史</i></a></div></div><div id="layout" class="pure-g"><div class="pure-u-1 pure-u-md-3-4"><div class="content_container"><div class="post"><h2 class="post-title"><a href="/2017/03/27/AVFoundation/">AVFoundation</a></h2><div class="post-meta">2017-03-27</div><div class="post-content"><p>流媒体播放问题</p>
<table>
<thead>
<tr>
<th style="text-align:center">AVFoundation</th></div><p class="readmore"><a href="/2017/03/27/AVFoundation/">Read More</a></p></div><div class="post"><h2 class="post-title"><a href="/2017/03/27/CoreGraphics/">CoreGraphics</a></h2><div class="post-meta">2017-03-27</div><div class="post-content"><h2 id="简介"><a href="#简介" class="headerlink" title="简介"></a>简介</h2><p>CoreGraphics是一套基于C的API框架,使用了Quartz作为绘图引擎。提供了低级别、轻量级、高保真度的2D渲染。</p>
<p>iOS支持两套图形API族:Core Graphics/Quart 2D和OpenGL ES。<br>QuartZ 2D是苹果公司开发的一套API,它是Core Graphics Framework的一部分。<br>OpenGL ES是跨平台的图形API,属于OpenGL的一个简化版本。OpenGL ES是应用程序编程接口,该接口描述了方法、结构、函数应具有的行为以及应该如何被使用的语义。也就是说它只定义了一套规范,具体的实现由设备制造商根据规范去做。而往往很多人对接口和实现存在误解。举一个不恰当的比喻:上发条的时钟和装电池的时钟都有相同的可视行为,但两者的内部实现截然不同。因为制造商可以自由的实现Open GL ES,所以不同系统实现的OpenGL ES也存在着巨大的性能差异。</p></div><p class="readmore"><a href="/2017/03/27/CoreGraphics/">Read More</a></p></div><div class="post"><h2 class="post-title"><a href="/2017/03/01/代理、委托、协议/">代理、委托、协议</a></h2><div class="post-meta">2017-03-01</div><div class="post-content"><p>代理:<br>代理的属性常是weak:防止循环引用,以至对象无法得到正确的释放。<br>使用weak而不用assign的原因,weak和assign是一种“非拥有关系”的指针,通过这两种修饰符修饰的指针变量,都不会改变被引用对象的引用计数。但是在一个对象被释放后,weak会自动将指针指向nil,而assign不会,在iOS中,向nil发送消息时不会导致崩溃,所以assign就会导致野指针的错误。</p></div><p class="readmore"><a href="/2017/03/01/代理、委托、协议/">Read More</a></p></div><div class="post"><h2 class="post-title"><a href="/2017/03/01/block/">block</a></h2><div class="post-meta">2017-03-01</div><div class="post-content"><p>带有自动变量(局部变量)的匿名函数;</p>
<p><strong>week:<br>产生循环引用的原因(有个Demo:BJBlock)
</strong>week的使用:<a href="http://blog.csdn.net/liu537192/article/details/44708817" target="_blank" rel="external">http://blog.csdn.net/liu537192/article/details/44708817</a></p></div><p class="readmore"><a href="/2017/03/01/block/">Read More</a></p></div><div class="post"><h2 class="post-title"><a href="/2016/08/19/hello-world/">Hello World</a></h2><div class="post-meta">2016-08-19</div><div class="post-content"><p>Welcome to <a href="https://braindie.github.io/" target="_blank" rel="external">Hexo</a>! </p>
</div><p class="readmore"><a href="/2016/08/19/hello-world/">Read More</a></p></div></div></div><div class="pure-u-1-4 hidden_mid_and_down"><div id="sidebar"><div class="widget"><form action="//www.google.com/search" method="get" accept-charset="utf-8" target="_blank" class="search-form"><input type="text" name="q" maxlength="20" placeholder="Search"/><input type="hidden" name="sitesearch" value="http://yoursite.com"/></form></div><div class="widget"><div class="widget-title"><i class="fa fa-folder-o"> Categories</i></div></div><div class="widget"><div class="widget-title"><i class="fa fa-star-o"> Tags</i></div><div class="tagcloud"></div></div><div class="widget"><div class="widget-title"><i class="fa fa-file-o"> Recent</i></div><ul class="post-list"><li class="post-list-item"><a class="post-list-link" href="/2017/03/27/AVFoundation/">AVFoundation</a></li><li class="post-list-item"><a class="post-list-link" href="/2017/03/27/CoreGraphics/">CoreGraphics</a></li><li class="post-list-item"><a class="post-list-link" href="/2017/03/01/代理、委托、协议/">代理、委托、协议</a></li><li class="post-list-item"><a class="post-list-link" href="/2017/03/01/block/">block</a></li><li class="post-list-item"><a class="post-list-link" href="/2016/08/19/hello-world/">Hello World</a></li></ul></div><div class="widget"><div class="widget-title"><i class="fa fa-external-link"> Blogroll</i></div><ul></ul><a href="https://github.com/Braindie" title="GitHub" target="_blank">GitHub</a><ul></ul><a href="http://www.jianshu.com/users/9c75a63f97d7/timeline" title="简书" target="_blank">简书</a><ul></ul><a href="http://my.csdn.net/brain_die" title="CSDN" target="_blank">CSDN</a></div></div></div><div class="pure-u-1 pure-u-md-3-4"><div id="footer">© <a href="/." rel="nofollow">Braindie.</a> Powered by<a rel="nofollow" target="_blank" href="https://hexo.io"> Hexo.</a><a rel="nofollow" target="_blank" href="https://github.com/tufu9441/maupassant-hexo"> Theme</a> by<a rel="nofollow" target="_blank" href="https://github.com/pagecho"> Cho.</a></div></div></div><a id="rocket" href="#top" class="show"></a><script type="text/javascript" src="/js/totop.js?v=0.0.2" async></script><script type="text/javascript" src="//cdn.bootcss.com/fancybox/2.1.5/jquery.fancybox.pack.js" async></script><script type="text/javascript" src="/js/fancybox.js?v=0.0.2" async></script><link rel="stylesheet" type="text/css" href="/css/jquery.fancybox.css?v=0.0.2"><script>var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?true";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script><script type="text/javascript" src="/js/codeblock-resizer.js?v=0.0.2"></script><script type="text/javascript" src="/js/smartresize.js?v=0.0.2"></script></div></body></html>