|
1 | 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
2 | | -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>第 24 章 Objective-C</title><link rel="stylesheet" type="text/css" href="..//docbook.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.79.1" /><meta name="keywords" content="PHP, Python, Perl, Ruby, Java, HTML, XHTML, HTML5, CSS, Javascript, JQuery, C, C++, D" /><link rel="home" href="../index.html" title="Netkiller Developer 手札" /><link rel="up" href="index.html" title="部分 V. C/C++" /><link rel="prev" href="cplusplus.libraries.html" title="23.2. C++ library" /><link rel="next" href="c.debug.html" title="第 25 章 调试工具" /></head><body><a xmlns="" href="//www.netkiller.cn/">Home</a> | |
| 2 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>第 28 章 Objective-C</title><link rel="stylesheet" type="text/css" href="..//docbook.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.79.1" /><meta name="keywords" content="PHP, Python, Perl, Ruby, Java, HTML, XHTML, HTML5, CSS, Javascript, JQuery, C, C++, D" /><link rel="home" href="../index.html" title="Netkiller Developer 手札" /><link rel="up" href="index.html" title="部分 V. C/C++" /><link rel="prev" href="cplusplus.libraries.html" title="27.2. C++ library" /><link rel="next" href="c.debug.html" title="第 29 章 调试工具" /></head><body><a xmlns="" href="//www.netkiller.cn/">Home</a> | |
3 | 3 | <a xmlns="" href="//netkiller.github.io/">简体中文</a> | |
4 | 4 | <a xmlns="" href="http://netkiller.sourceforge.net/">繁体中文</a> | |
5 | 5 | <a xmlns="" href="/journal/index.html">杂文</a> | |
|
10 | 10 | <a xmlns="" href="http://cn.linkedin.com/in/netkiller/">Linkedin</a> | |
11 | 11 | <a xmlns="" href="https://zhuanlan.zhihu.com/netkiller">知乎专栏</a> | |
12 | 12 | <a xmlns="" href="/search.html">Search</a> | |
13 | | - <a xmlns="" href="mailto:netkiller@msn.com">Email</a><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">第 24 章 Objective-C</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="cplusplus.libraries.html">上一页</a> </td><th width="60%" align="center">部分 V. C/C++</th><td width="20%" align="right"> <a accesskey="n" href="c.debug.html">下一页</a></td></tr></table><hr /></div><table xmlns=""><tr><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&repo=netkiller.github.io&type=watch&count=true&size=large" height="30" width="170" frameborder="0" scrolling="0" style="width:170px; height: 30px;" allowTransparency="true"></iframe></td><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&repo=netkiller.github.io&type=fork&count=true&size=large" height="30" width="170" frameborder="0" scrolling="0" style="width:170px; height: 30px;" allowTransparency="true"></iframe></td><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&type=follow&count=true&size=large" height="30" width="240" frameborder="0" scrolling="0" style="width:240px; height: 30px;" allowTransparency="true"></iframe></td></tr></table><div class="chapter"><div class="titlepage"><div><div><h2 class="title"><a id="Objective-C"></a>第 24 章 Objective-C</h2></div></div></div> |
| 13 | + <a xmlns="" href="mailto:netkiller@msn.com">Email</a><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">第 28 章 Objective-C</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="cplusplus.libraries.html">上一页</a> </td><th width="60%" align="center">部分 V. C/C++</th><td width="20%" align="right"> <a accesskey="n" href="c.debug.html">下一页</a></td></tr></table><hr /></div><table xmlns=""><tr><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&repo=netkiller.github.io&type=watch&count=true&size=large" height="30" width="170" frameborder="0" scrolling="0" style="width:170px; height: 30px;" allowTransparency="true"></iframe></td><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&repo=netkiller.github.io&type=fork&count=true&size=large" height="30" width="170" frameborder="0" scrolling="0" style="width:170px; height: 30px;" allowTransparency="true"></iframe></td><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&type=follow&count=true&size=large" height="30" width="240" frameborder="0" scrolling="0" style="width:240px; height: 30px;" allowTransparency="true"></iframe></td></tr></table><div class="chapter"><div class="titlepage"><div><div><h2 class="title"><a id="Objective-C"></a>第 28 章 Objective-C</h2></div></div></div> |
14 | 14 |
|
15 | 15 | <pre class="screen"> |
16 | 16 | $ sudo apt-get install gobjc gobjc++ |
17 | 17 |
|
18 | 18 | $ sudo apt-get install gnustep-make |
19 | 19 | </pre> |
20 | | - <div class="example"><a id="idp153"></a><p class="title"><strong>例 24.1. Objective-C hello world</strong></p><div class="example-contents"> |
| 20 | + <div class="example"><a id="idp158"></a><p class="title"><strong>例 28.1. Objective-C hello world</strong></p><div class="example-contents"> |
21 | 21 |
|
22 | 22 | <pre class="screen"> |
23 | 23 |
|
|
50 | 50 | s.setAttribute('data-timestamp', +new Date()); |
51 | 51 | (d.head || d.body).appendChild(s); |
52 | 52 | })(); |
53 | | -</script><noscript xmlns="">Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript><br xmlns="" /><script xmlns="" type="text/javascript" id="clustrmaps" src="//cdn.clustrmaps.com/map_v2.js?u=r5HG&d=9mi5r_kkDC8uxG8HuY3p4-2qgeeVypAK9vMD-2P6BYM"></script><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="cplusplus.libraries.html">上一页</a> </td><td width="20%" align="center"><a accesskey="u" href="index.html">上一级</a></td><td width="40%" align="right"> <a accesskey="n" href="c.debug.html">下一页</a></td></tr><tr><td width="40%" align="left" valign="top">23.2. C++ library </td><td width="20%" align="center"><a accesskey="h" href="../index.html">起始页</a></td><td width="40%" align="right" valign="top"> 第 25 章 调试工具</td></tr></table></div><script xmlns=""> |
| 53 | +</script><noscript xmlns="">Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript><br xmlns="" /><script xmlns="" type="text/javascript" id="clustrmaps" src="//cdn.clustrmaps.com/map_v2.js?u=r5HG&d=9mi5r_kkDC8uxG8HuY3p4-2qgeeVypAK9vMD-2P6BYM"></script><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="cplusplus.libraries.html">上一页</a> </td><td width="20%" align="center"><a accesskey="u" href="index.html">上一级</a></td><td width="40%" align="right"> <a accesskey="n" href="c.debug.html">下一页</a></td></tr><tr><td width="40%" align="left" valign="top">27.2. C++ library </td><td width="20%" align="center"><a accesskey="h" href="../index.html">起始页</a></td><td width="40%" align="right" valign="top"> 第 29 章 调试工具</td></tr></table></div><script xmlns=""> |
54 | 54 | (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
55 | 55 | (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
56 | 56 | m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
|
0 commit comments