<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[top123xcode的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/top123xcode</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; top123xcode]]></copyright><item><title><![CDATA[使用cat打开/var/log/wtmp数据文件，显示乱码]]></title><link>https://blog.csdn.net/top123xcode/article/details/22222107</link><guid>https://blog.csdn.net/top123xcode/article/details/22222107</guid><author>top123xcode</author><pubDate>Wed, 26 Mar 2014 22:56:57 +0800</pubDate><description><![CDATA[使用cat打开/var/log/wtmp数据文件，显示乱码
解决方案：终端输入reset]]></description><category></category></item><item><title><![CDATA[MAC系统下的文件对比工具（Diff merge文件对比，文件merge）]]></title><link>https://blog.csdn.net/top123xcode/article/details/8959600</link><guid>https://blog.csdn.net/top123xcode/article/details/8959600</guid><author>top123xcode</author><pubDate>Wed, 22 May 2013 12:02:15 +0800</pubDate><description><![CDATA[在WINDOWS下面有BEYOND COMPARE，MAC下就用diffmerge吧，
引用官网一句“DiffMerge is an application to visually compare and merge files within Windows, Mac OS X and Linux.”
地址：http://www.sourcegear.com/diffmerge/]]></description><category></category></item><item><title><![CDATA[EXC_BREAKPOINT(code=EXC_ARM_BREAKPOINT,subcode=0xdefe)；Zombie，僵尸错误]]></title><link>https://blog.csdn.net/top123xcode/article/details/8935815</link><guid>https://blog.csdn.net/top123xcode/article/details/8935815</guid><author>top123xcode</author><pubDate>Thu, 16 May 2013 16:37:08 +0800</pubDate><description><![CDATA[经常出先类似错误“EXC_BREAKPOINT(code=EXC_ARM_BREAKPOINT,subcode=0xdefe)”，非常苦恼，今天总结一下这种错误的解决方法：
1. 点击“product”－>"scheme"->"edit Scheme"->"Diagnostics"-> 勾选“Enable Zombie Objects”(Zombie，僵尸，那大家应该知道此问题的别名了)]]></description><category></category></item><item><title><![CDATA[OC,iphone,把字符串加密成MD5 string]]></title><link>https://blog.csdn.net/top123xcode/article/details/7459237</link><guid>https://blog.csdn.net/top123xcode/article/details/7459237</guid><author>top123xcode</author><pubDate>Fri, 13 Apr 2012 21:02:02 +0800</pubDate><description><![CDATA[+(NSString *)createMD5:(NSString *)signString
{
    const char*cStr =[signString UTF8String];
    unsigned char result[16];
    CC_MD5(cStr, strlen(cStr), result);
    return[NSString stringWithFormat]]></description><category></category></item><item><title><![CDATA['Undefined symbols for architecture i386，clang: error: linker command failed with exit code 1]]></title><link>https://blog.csdn.net/top123xcode/article/details/7456889</link><guid>https://blog.csdn.net/top123xcode/article/details/7456889</guid><author>top123xcode</author><pubDate>Fri, 13 Apr 2012 10:50:22 +0800</pubDate><description><![CDATA['Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_CustomTabBar", referenced from objc-class-ref in
ViewController.o
ld: symbol(s) not found for architecture i386

clang: error: linker co]]></description><category></category></item><item><title><![CDATA[今天学习html5第二天了，该来写点东西了。html5实现画线，canvas]]></title><link>https://blog.csdn.net/top123xcode/article/details/7162659</link><guid>https://blog.csdn.net/top123xcode/article/details/7162659</guid><author>top123xcode</author><pubDate>Thu, 29 Dec 2011 17:11:33 +0800</pubDate><description><![CDATA[function drawDiagonal(){
			//取得canvas元素及其绘图上下文
		 var c = document.getElementById("diagonal");
		 var cxt = c.getContext("2d");
		 //使用绝对坐标来创建一条路径
		 cxt.beginPath();
		 cxt.moveTo(0,0);
		 cxt.lineT]]></description><category></category></item><item><title><![CDATA[shutdown配合at命令 实现定时关机，重启---]]></title><link>https://blog.csdn.net/top123xcode/article/details/6921264</link><guid>https://blog.csdn.net/top123xcode/article/details/6921264</guid><author>top123xcode</author><pubDate>Mon, 31 Oct 2011 14:16:33 +0800</pubDate><description><![CDATA[实现 Windows XP/2003 定时自动关机

     先说下系统自带的关机指令（shutdown）不带参数执行将会列出它的参数，常用参数为：
/s           关闭计算机
/r           关闭并重启动计算机
/f           强制正在运行的应用程序关闭而不事先警告用户
/t xxx     设置关闭前的超时为 xxx 秒。]]></description><category></category></item><item><title><![CDATA[oracle获取字符串长度函数length()和hengthb()]]></title><link>https://blog.csdn.net/top123xcode/article/details/6774697</link><guid>https://blog.csdn.net/top123xcode/article/details/6774697</guid><author>top123xcode</author><pubDate>Wed, 14 Sep 2011 15:23:33 +0800</pubDate><description><![CDATA[oracle获取字符串长度函数length()和hengthb()

lengthb(string)计算string所占的字节长度：返回字符串的长度，单位是字节
length(string)计算string所占的字符长度：返回字符串的长度，单位是字符
 
对于单字节字符]]></description><category></category></item><item><title><![CDATA[UINavigationController专栏--利用按钮宏定义构建一个简单的双项菜单]]></title><link>https://blog.csdn.net/top123xcode/article/details/6759947</link><guid>https://blog.csdn.net/top123xcode/article/details/6759947</guid><author>top123xcode</author><pubDate>Thu, 08 Sep 2011 14:51:40 +0800</pubDate><description><![CDATA[1、创建一个UIViewController子类
2、分配一个导航控制器，并给他的根视图指定一个自定义的视图控制器实例。
3、在自定义的视图控制器中，创建一个或两个按钮并将它们添加到视图的导航栏中。
4、构建回调例程，在用户点击按钮时候触发。
核心宏定义：--当传递标题和]]></description><category></category></item><item><title><![CDATA[iphone视图屏幕元素-像素大小  目前iphone，ipod touch 屏幕：320*480]]></title><link>https://blog.csdn.net/top123xcode/article/details/6756075</link><guid>https://blog.csdn.net/top123xcode/article/details/6756075</guid><author>top123xcode</author><pubDate>Thu, 08 Sep 2011 11:32:22 +0800</pubDate><description><![CDATA[在iphone开发秘籍中称之为 视图设计几何学
 目前iphone，ipod touch 屏幕：320*480
1、状态栏
     状态栏在iphone的顶端，显示设备的时间、连接性、电池状态、和运营商（iphone）或型号（ipod），一般情况20像素高。在打手机或显示]]></description><category></category></item><item><title><![CDATA[设计模式之五---装饰者模式]]></title><link>https://blog.csdn.net/top123xcode/article/details/6758084</link><guid>https://blog.csdn.net/top123xcode/article/details/6758084</guid><author>top123xcode</author><pubDate>Wed, 07 Sep 2011 22:00:08 +0800</pubDate><description><![CDATA[利用继承设计子类的行为，是在编译时候静态决定的，而且所有的子类都会继承到相同的行为。然而，如果利用组合的做法扩展对象的行为，就可以在运行时动态地进行扩展。
       设计原则：类应该对扩展开放，对修改关闭。
      装饰者模式：动态地将责任附加到对象上。若要扩展功能，]]></description><category></category></item><item><title><![CDATA[Foundation框架， 文件管理---之三]]></title><link>https://blog.csdn.net/top123xcode/article/details/6755835</link><guid>https://blog.csdn.net/top123xcode/article/details/6755835</guid><author>top123xcode</author><pubDate>Wed, 07 Sep 2011 11:09:03 +0800</pubDate><description><![CDATA[1、 iphone的文件管理器是NSFileManager类提供的一个单例。它可以列出文件夹的内容，以确定找到那些文件，然后执行基本的文件系统任务。下面的代码片段从两个文件夹取出一个文件列表。首先它查找了沙盒的Documents文件夹，然后在应用程序束中进行查找。
    NS]]></description><category></category></item><item><title><![CDATA[Foundation框架，数组---之二]]></title><link>https://blog.csdn.net/top123xcode/article/details/6755706</link><guid>https://blog.csdn.net/top123xcode/article/details/6755706</guid><author>top123xcode</author><pubDate>Wed, 07 Sep 2011 10:13:35 +0800</pubDate><description><![CDATA[5、数组
NSArray *array = [NSAray arrayWithObject:@"one",nil];
NSMutableArray *marray = [ NSMutableArray  arrayWithArray:array];
  5.1 监查数组，测]]></description><category></category></item><item><title><![CDATA[Foundation框架，几乎为我们提供了日常需要使用的所有核心实用工具类---之一]]></title><link>https://blog.csdn.net/top123xcode/article/details/6755694</link><guid>https://blog.csdn.net/top123xcode/article/details/6755694</guid><author>top123xcode</author><pubDate>Wed, 07 Sep 2011 09:57:25 +0800</pubDate><description><![CDATA[1、字符串
    NSString *mystring = [NSString stringwithFormat:@"the number is %D",3]
2、与C字符串相互转换
            转C：  [myString UTF8String]
 或[m]]></description><category></category></item><item><title><![CDATA[不用xib文件，直接用代码实现xib。实现一个toolbar，tableview，具体如效果图]]></title><link>https://blog.csdn.net/top123xcode/article/details/6751518</link><guid>https://blog.csdn.net/top123xcode/article/details/6751518</guid><author>top123xcode</author><pubDate>Mon, 05 Sep 2011 22:39:04 +0800</pubDate><description><![CDATA[1、class.m文件
不要忘记添加UITableViewDelegate,UITableViewDataSource>

- (void)viewDidLoad
{
    [superviewDidLoad];
    
    UIToolbar *tempT]]></description><category></category></item><item><title><![CDATA[设计模式入门之四]]></title><link>https://blog.csdn.net/top123xcode/article/details/6741270</link><guid>https://blog.csdn.net/top123xcode/article/details/6741270</guid><author>top123xcode</author><pubDate>Thu, 01 Sep 2011 23:31:39 +0800</pubDate><description><![CDATA[观察者模式：定义了对象之间的一对多依赖，这样一来，当一个对象改变状态时，它的所有依赖者都会收到通知自动更新。   
      实现观察者模式的方法之一（常见）：包含Subject（主题）与Observer（观察者）接口的类设计。
            主题是具有状态的对象]]></description><category></category></item><item><title><![CDATA[类似pushViewController的效果，但是是从底部弹出]]></title><link>https://blog.csdn.net/top123xcode/article/details/6739512</link><guid>https://blog.csdn.net/top123xcode/article/details/6739512</guid><author>top123xcode</author><pubDate>Thu, 01 Sep 2011 14:55:26 +0800</pubDate><description><![CDATA[类似[self.navigationController pushViewController:detailViewController animated:YES];的效果但是是从下面弹出页面的方法[self presentModalViewController:XX Anima]]></description><category></category></item><item><title><![CDATA[设计模式入门之三]]></title><link>https://blog.csdn.net/top123xcode/article/details/6726885</link><guid>https://blog.csdn.net/top123xcode/article/details/6726885</guid><author>top123xcode</author><pubDate>Sun, 28 Aug 2011 16:07:43 +0800</pubDate><description><![CDATA[已经很多天没有看设计模式了，今天继续，呵呵：
设计原则：多用组合（compositon），少用继承。
将多个类结合起来。
      设计模式：策略模式定义了算法簇，分别封装起来，让他们之间可以互相替换，此模式让算法的变化独立于使用算法的客户。
   建立可维护的OO系统]]></description><category></category></item><item><title><![CDATA[Couldn't register com.X.XX with the bootstrap server. Error: unknown error code.  错误]]></title><link>https://blog.csdn.net/top123xcode/article/details/6716681</link><guid>https://blog.csdn.net/top123xcode/article/details/6716681</guid><author>top123xcode</author><pubDate>Wed, 24 Aug 2011 22:47:19 +0800</pubDate><description><![CDATA[错误：Couldn't register com.XX.XXX with the bootstrap server. Error: unknown error code.
This generally means that another instance of this pr]]></description><category></category></item><item><title><![CDATA[设计模式2]]></title><link>https://blog.csdn.net/top123xcode/article/details/6710098</link><guid>https://blog.csdn.net/top123xcode/article/details/6710098</guid><author>top123xcode</author><pubDate>Mon, 22 Aug 2011 23:17:36 +0800</pubDate><description><![CDATA[原则2：针对接口编程，而不是针对实现编程。
针对接口编程，真正的意思是“针对超类型supertype编程”


举例： 针对实现编程：Dog d = new Dog（）；
                                     d.bark();]]></description><category></category></item></channel></rss>