<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_提示符 也玩 博客</title><subtitle type="text">提示符也来玩博客，谢谢大家光临，希望可以向大家学习，取得进步。</subtitle><id>http://feed.cnblogs.com/blog/u/15360/rss</id><updated>2011-10-14T11:14:43Z</updated><author><name>提示符</name><uri>http://www.cnblogs.com/tishifu/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/tishifu/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/15360/rss"/><entry><id>http://www.cnblogs.com/tishifu/archive/2011/08/13/2137461.html</id><title type="text">阅读博客园从0.1到0.2的升级笔记</title><summary type="text">刚刚将新的阅读博客园提交apple，等待审核，主要解决了以下问题：1.文本阅读模式字号调整到适合手机阅读。 2.美工细化，界面更美观。 3.程序结构调整，整体更流畅。顺便回顾下开发经历</summary><published>2011-08-13T10:32:00Z</published><updated>2011-08-13T10:32:00Z</updated><author><name>提示符</name><uri>http://www.cnblogs.com/tishifu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/tishifu/archive/2011/08/13/2137461.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/tishifu/archive/2011/08/13/2137461.html"/><content type="html">&lt;p&gt;刚刚将新的阅读博客园提交apple，等待审核，主要解决了以下问题：&lt;/p&gt;&#xD;
&lt;p&gt;1.文本阅读模式字号调整到适合手机阅读。&amp;nbsp;&lt;br /&gt;2.美工细化，界面更美观。&amp;nbsp;&lt;br /&gt;3.程序结构调整，整体更流畅。&lt;/p&gt;&#xD;
&lt;p&gt;先看看0.2的界面吧！&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img src="http://pic002.cnblogs.com/images/2011/11804/2011081317124034.png" alt="" width="300px" /&gt;&lt;img src="http://pic002.cnblogs.com/images/2011/11804/2011081317130881.png" alt="" width="300px" /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img src="http://pic002.cnblogs.com/images/2011/11804/2011081317132930.png" alt="" width="300px" /&gt;&lt;img src="http://pic002.cnblogs.com/images/2011/11804/2011081317134564.png" alt="" width="300px" /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;哎，说句题外话，看到我的手机信号没？都是台风惹的祸，把安装在家里的信号放大器刮掉了，报修到今天还没有弄好！&lt;/p&gt;&#xD;
&lt;p&gt;好了，言归正传，继续说0.2的改进。其实最大的改进是第一条：文本阅读模式字号调整到适合手机阅读。&lt;/p&gt;&#xD;
&lt;p&gt;我借用了HTML的知识，把从博客园读下来的RSS内容直接拼接成了一个标准的网页，并在Head头加上了控制缩放的代码实现。&lt;/p&gt;&#xD;
&lt;p&gt;下面就是代码，这行代码可以取消在UIWebView控件中缩放功能：&lt;/p&gt;&#xD;
&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #d62c24;"&gt;&lt;span color="#c02d9d" style="color: #c02d9d;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p style="font: normal normal normal 11px/normal Menlo; margin: 0px;"&gt;&lt;/p&gt;&#xD;
&lt;div &gt;&#xD;
&lt;pre &gt;&amp;lt;meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; minimum-scale=1.0; user-scalable=false;"&#xD;
        name="viewport"&amp;gt;&#xD;
&lt;/pre&gt;&#xD;
&lt;/div&gt;&#xD;
&lt;p style="font: normal normal normal 11px/normal Menlo; margin: 0px;"&gt;&lt;/p&gt;&#xD;
&lt;p&gt;在安卓上同样使用的时候发现不能禁止其浏览器缩放，看来只能控制iOS。&lt;/p&gt;&#xD;
&lt;p&gt;关于字体的大小控制，我使用em控制而不是px，这样更好控制。&lt;/p&gt;&#xD;
&lt;p&gt;美工方面的改变就不在这里啰嗦了，这是美工的事情，找个美工都能搞定，在这里就贴上0.1版的界面做个对比吧！&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img src="http://pic002.cnblogs.com/images/2011/11804/2011081317325780.png" alt="" width="300px" /&gt;&lt;img src="http://pic002.cnblogs.com/images/2011/11804/2011081317331226.png" alt="" width="300px" /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img src="http://pic002.cnblogs.com/images/2011/11804/2011081317332571.png" alt="" width="300px" /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;程序结构的调整，先贴上我的程序文件结构图&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img src="http://pic002.cnblogs.com/images/2011/11804/2011081317400485.png" alt="" /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;原来使用Navigation Controller是在RootViewController里面，造成了进入单个频道页面时返回按钮变成了没有向右箭头的那种（如0.1版界面图2），而且切换效果不一致，是消失而不是滑出。&lt;/p&gt;&#xD;
&lt;p&gt;学习iphone开发这段时间买到的书，看到的网上的文章都是Xcode3.X的，当使用Xcode4时问题就会出来了，变化还是蛮大的。所以0.1版就在结构上变成个混合体。&lt;/p&gt;&#xD;
&lt;p&gt;其实对于Xcode4，可以理解成从VS2003到VS2005的改变，首先IB被整合到了一起，所以不用来回切换。另外很多功能确实可以不用代码而是在界面完成。在0.2版本中，我的改变就是注释掉代码，在界面完成工作。这些工作依旧可以通过代码来实现，和.net的一样的，在这里我就不说代码了，到网上一搜很多的，这里说说直接在界面完成。&lt;/p&gt;&#xD;
&lt;p&gt;看看我的MainWindow.xib结构和主要的属性设置&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img src="http://pic002.cnblogs.com/images/2011/11804/2011081317521465.png" alt="" /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;如果所示，在Window里面我增加了一个Navigation Controller，然后将里面的View Controller的Custom Class改为了我自己建的RootViewController，然后Xcode会自动将View Controller改为Root View Controller，这里Xcode还是比较智能的。好了之后就只需要将Window中的rootViewController和Navigation Controller链接就可以了。这样的操作等于在代码中写rootViewController=？？或者addsubView()。这样我的程序就注释掉了如下代码：&lt;/p&gt;&#xD;
&lt;div &gt;&#xD;
&lt;pre &gt;- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions&#xD;
{&#xD;
    // Override point for customization after application launch.&#xD;
    &#xD;
    //self.rootViewController.view = _rootViewController.view;&#xD;
    &#xD;
    [self.window makeKeyAndVisible];&#xD;
    &#xD;
    return YES;&#xD;
}&#xD;
&lt;/pre&gt;&#xD;
&lt;/div&gt;&#xD;
&lt;p&gt;接下来，整个程序使用Navigation Controller作为整个程序导航器，使用如下代码完成参数传递和推入界面：&lt;/p&gt;&#xD;
&lt;div &gt;&#xD;
&lt;pre &gt;ChildrenChannel *childrenChannel=[[ChildrenChannel alloc] init];&#xD;
    [childrenChannel setEntity:entity];//传入参数，方法自己在类里面写&#xD;
    [self.navigationController pushViewController:childrenChannel animated:YES];//推入新界面&#xD;
&lt;/pre&gt;&#xD;
&lt;/div&gt;&#xD;
&lt;p&gt;类似的操作也可以方便程序的快速编写，这里以后肯定也有争论，如同.net中使用不使用用户控件，但是对新手而言可以快速建立程序，也可以避免一些错误。而且比较直观。但是还是要弄清楚原理，这里推荐宝玉写的文章：&lt;a href="http://www.cnblogs.com/dotey/archive/2011/05/12/2043939.html"&gt;基于Xcode4开发第一个iPhone程序：&amp;ldquo;Hello World&amp;rdquo;&lt;/a&gt;&amp;nbsp;&lt;a href="http://www.cnblogs.com/dotey/archive/2011/06/09/2075954.html"&gt;第二个iPhone应用程序：&amp;ldquo;Say Hello&amp;rdquo;&lt;/a&gt;&amp;nbsp;，里面有很好的简介。&lt;/p&gt;&#xD;
&lt;p&gt;最后，关于里面的一些小技巧，总结放到最好，大家可能对这些更感兴趣，呵呵&lt;/p&gt;&#xD;
&lt;p&gt;一、改变UINavigationBar的背景：&lt;/p&gt;&#xD;
&lt;div &gt;&#xD;
&lt;pre &gt;@implementation UINavigationBar(CustomImage)&#xD;
&#xD;
-(void)drawRect:(CGRect)rect&#xD;
{&#xD;
    UIImage *backgroundImage=[UIImage imageNamed:@"Background.png"];&#xD;
    [backgroundImage drawInRect:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)];&#xD;
}&#xD;
&#xD;
@end&#xD;
&lt;/pre&gt;&#xD;
&lt;/div&gt;&#xD;
&lt;p&gt;切记放到主delegate的后部，不要放置在类里面。&lt;/p&gt;&#xD;
&lt;p&gt;二、改变UINavigation标题为图片：&lt;/p&gt;&#xD;
&lt;div &gt;&#xD;
&lt;pre &gt;//设置标题Image&#xD;
    &#xD;
    UIImageView *titleView=[[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 320, 40)];&#xD;
    [titleView setImage:[UIImage imageNamed:@"IndexLogo.png"]];&#xD;
    self.navigationItem.titleView=titleView;&#xD;
&lt;/pre&gt;&#xD;
&lt;/div&gt;&#xD;
&lt;p&gt;三、日期时间的转换（这个我想吐槽，比起.net，这个太麻烦了）：&lt;/p&gt;&#xD;
&lt;div &gt;&#xD;
&lt;pre &gt;NSDateFormatter *dateFormatter=[[NSDateFormatter alloc] init];&#xD;
    [dateFormatter setLocale:[[NSLocale alloc] initWithLocaleIdentifier:@"en_US"]];&#xD;
    [dateFormatter setDateFormat:@"eee, dd MMM yyyy HH:mm:ss ZZZ"];&#xD;
    &#xD;
    NSDate *date=[dateFormatter dateFromString:[self getStringByTag:@"pubDate" Index:[indexPath row]]];&#xD;
    &#xD;
    &#xD;
    NSDateFormatter *dateToStringFormatter=[[NSDateFormatter alloc] init];&#xD;
    [dateToStringFormatter setDateFormat:@"发布时间：yyyy-MM-dd HH:MM"];&#xD;
    NSString *nsDate=[dateToStringFormatter stringFromDate:date];&#xD;
    &#xD;
  &#xD;
&lt;/pre&gt;&#xD;
&lt;/div&gt;&#xD;
&lt;p&gt;最后希望大家多看看Xcode的帮助文档，虽然是英文的。例如现在提交程序，可以直接通过Xcode4进行，不需要单独使用Application Loader提交。&lt;/p&gt;&#xD;
&lt;p&gt;一般审核会在一周内完成，至于审核的问题大家看看apple的审核文档。在这里，app store是不能提交beta版本的，我在这里犯错了。&lt;/p&gt;&#xD;
&lt;p&gt;等待0.2的审核通过&amp;hellip;&amp;hellip;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img src="http://pic002.cnblogs.com/images/2011/11804/2011081318250347.png" alt="" /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; text-indent: 0px; padding: 0px;"&gt;阅读博客园 iphone应用程序（非官方）&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; text-indent: 0px; padding: 0px;"&gt;app stroe 地址：&lt;br style="padding: 0px; margin: 0px;" /&gt;&lt;a href="http://itunes.apple.com/cn/app/id454973243?mt=8" style="color: #494949; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: normal; text-decoration: underline; line-height: normal; padding: 0px; margin: 0px;"&gt;http://itunes.apple.com/cn/app/id454973243?mt=8&lt;/a&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/tishifu/aggbug/2137461.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/tishifu/archive/2011/08/13/2137461.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/tishifu/archive/2011/08/10/2133487.html</id><title type="text">阅读博客园 iphone应用程序发布（非官方）！</title><summary type="text">阅读博客园 iphone应用程序发布（非官方）！app stroe：http://itunes.apple.com/cn/app/id454973243?mt=8受限于博客园RSS订阅源20、10条的限制，只能查看最新的20、10条信息。</summary><published>2011-08-10T03:37:00Z</published><updated>2011-08-10T03:37:00Z</updated><author><name>提示符</name><uri>http://www.cnblogs.com/tishifu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/tishifu/archive/2011/08/10/2133487.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/tishifu/archive/2011/08/10/2133487.html"/><content type="html">&lt;p&gt;阅读博客园 iphone应用程序发布（非官方）！&lt;/p&gt;&#xD;
&lt;p&gt;app stroe：&lt;br /&gt;&lt;a href="http://itunes.apple.com/cn/app/id454973243?mt=8"&gt;http://itunes.apple.com/cn/app/id454973243?mt=8&lt;/a&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img alt="" src="http://pic002.cnblogs.com/images/2011/11804/2011081011291427.jpg" /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;受限于博客园RSS订阅源20、10条的限制，只能查看最新的20、10条信息。&lt;/p&gt;&lt;img src="http://www.cnblogs.com/tishifu/aggbug/2133487.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/tishifu/archive/2011/08/10/2133487.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/tishifu/archive/2011/07/27/2118694.html</id><title type="text">Object-C时间与字符串的转化 因多语言设置中造成返回Nil的解决方法</title><summary type="text">[dateFormattersetLocale:[[NSLocalealloc]initWithLocaleIdentifier:@&amp;quot;en_US&amp;quot;]];原因：为dateFormatter增加Locale就可以了。</summary><published>2011-07-27T10:15:00Z</published><updated>2011-07-27T10:15:00Z</updated><author><name>提示符</name><uri>http://www.cnblogs.com/tishifu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/tishifu/archive/2011/07/27/2118694.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/tishifu/archive/2011/07/27/2118694.html"/><content type="html">&lt;p style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; font: normal normal normal 11px/normal Menlo; color: #3d1e81; margin: 0px;"&gt;&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #000000;"&gt;[dateFormatter&amp;nbsp;&lt;/span&gt;setLocale&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #000000;"&gt;:[[&lt;/span&gt;&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #703daa;"&gt;NSLocale&lt;/span&gt;&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;alloc&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #000000;"&gt;]&amp;nbsp;&lt;/span&gt;initWithLocaleIdentifier&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #000000;"&gt;:&lt;/span&gt;&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #d12e1b;"&gt;@"en_US"&lt;/span&gt;&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #000000;"&gt;]];&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; font: normal normal normal 11px/normal Menlo; color: #3d1e81; margin: 0px;"&gt;&lt;/p&gt;&#xD;
&lt;p style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; font: normal normal normal 11px/normal Menlo; color: #3d1e81; margin: 0px;"&gt;&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #ff0000;"&gt;原因：为dateFormatter增加Locale就可以了。&lt;/span&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/tishifu/aggbug/2118694.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/tishifu/archive/2011/07/27/2118694.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/tishifu/archive/2011/07/27/2118119.html</id><title type="text">Object-C时间与字符串的转化</title><summary type="text">NSDateFormatter*dateFormatter=[[NSDateFormatteralloc]init]; [dateFormattersetDateFormat:@&amp;quot;eee, dd MMM yyyy HH:mm:ss ZZZ&amp;quot;]; NSDate*date=[dateFormatterdateFromString:｛需要转化的字符串｝]; NSDateFormatter*dateToStringFormatter=[[NSDateFormatteralloc]init]; [dateToStringFormattersetDateFormat:@&amp;quot;发布</summary><published>2011-07-27T04:59:00Z</published><updated>2011-07-27T04:59:00Z</updated><author><name>提示符</name><uri>http://www.cnblogs.com/tishifu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/tishifu/archive/2011/07/27/2118119.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/tishifu/archive/2011/07/27/2118119.html"/><content type="html">&lt;p style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; font: normal normal normal 11px/normal Menlo; color: #703daa; margin: 0px;"&gt;&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;NSDateFormatter&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #000000;"&gt;&amp;nbsp;*dateFormatter=[[&lt;/span&gt;NSDateFormatter&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #3d1e81;"&gt;alloc&lt;/span&gt;&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #000000;"&gt;]&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #3d1e81;"&gt;init&lt;/span&gt;&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #000000;"&gt;];&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; font: normal normal normal 11px/normal Menlo; color: #d12e1b; margin: 0px;"&gt;&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #000000;"&gt;&amp;nbsp; &amp;nbsp; [dateFormatter&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #3d1e81;"&gt;setDateFormat&lt;/span&gt;&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #000000;"&gt;:&lt;/span&gt;@"eee, dd MMM yyyy HH:mm:ss ZZZ"&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #000000;"&gt;];&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; font: normal normal normal 11px/normal Menlo; min-height: 13px; margin: 0px;"&gt;&lt;/p&gt;&#xD;
&lt;p style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; font: normal normal normal 11px/normal Menlo; margin: 0px;"&gt;&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #703daa;"&gt;NSDate&lt;/span&gt;&amp;nbsp;*date=[dateFormatter&amp;nbsp;&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #3d1e81;"&gt;dateFromString&lt;/span&gt;:｛需要转化的字符串｝];&lt;/p&gt;&#xD;
&lt;p style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; font: normal normal normal 11px/normal Menlo; min-height: 13px; margin: 0px;"&gt;&lt;/p&gt;&#xD;
&lt;p style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; font: normal normal normal 11px/normal Menlo; min-height: 13px; margin: 0px;"&gt;&lt;/p&gt;&#xD;
&lt;p style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; font: normal normal normal 11px/normal Menlo; margin: 0px;"&gt;&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #703daa;"&gt;NSDateFormatter&lt;/span&gt;&amp;nbsp;*dateToStringFormatter=[[&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #703daa;"&gt;NSDateFormatter&lt;/span&gt;&amp;nbsp;&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #3d1e81;"&gt;alloc&lt;/span&gt;]&amp;nbsp;&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #3d1e81;"&gt;init&lt;/span&gt;];&lt;/p&gt;&#xD;
&lt;p style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; font: normal normal normal 11px/normal Menlo; margin: 0px;"&gt;[dateToStringFormatter&amp;nbsp;&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #3d1e81;"&gt;setDateFormat&lt;/span&gt;:&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #d12e1b;"&gt;@"&lt;/span&gt;&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; font: normal normal normal 11px/normal 'Heiti SC Light'; color: #d12e1b;"&gt;发布时间：&lt;/span&gt;&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #d12e1b;"&gt;yyyy-MM-dd HH:MM"&lt;/span&gt;];&lt;/p&gt;&#xD;
&lt;p style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; font: normal normal normal 11px/normal Menlo; margin: 0px;"&gt;&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #703daa;"&gt;NSString&lt;/span&gt;&amp;nbsp;*nsDate=[dateToStringFormatter&amp;nbsp;&lt;span style="font-family: arial, sans-serif, Verdana, 宋体, 微软雅黑; font-size: 9pt; color: #3d1e81;"&gt;stringFromDate&lt;/span&gt;:date];&lt;/p&gt;&lt;img src="http://www.cnblogs.com/tishifu/aggbug/2118119.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/tishifu/archive/2011/07/27/2118119.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/tishifu/archive/2010/10/01/1840601.html</id><title type="text">成功使用Windows Live Writer 2010发布日志</title><summary type="text">&amp;#160;  开始成功使用Windows Live Writer 2010发布日志了。  微软的东东还是不错的。</summary><published>2010-10-01T10:09:00Z</published><updated>2010-10-01T10:09:00Z</updated><author><name>提示符</name><uri>http://www.cnblogs.com/tishifu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/tishifu/archive/2010/10/01/1840601.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/tishifu/archive/2010/10/01/1840601.html"/><content type="html">&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://images.cnblogs.com/cnblogs_com/tishifu/Windows-Live-Writer/1cd1e0fa8385_FC47/image_thumb.png" width="240" height="184" /&gt;   &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;开始成功使用Windows Live Writer 2010发布日志了。&lt;/p&gt;  &lt;p&gt;微软的东东还是不错的。&lt;/p&gt;&lt;img src="http://www.cnblogs.com/tishifu/aggbug/1840601.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/tishifu/archive/2010/10/01/1840601.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/tishifu/archive/2009/05/17/1458572.html</id><title type="text">需求控制（上）——由CRM开发想到（二）</title><summary type="text">为什么进行需求控制？需求如何控制？</summary><published>2009-05-16T17:21:00Z</published><updated>2009-05-16T17:21:00Z</updated><author><name>提示符</name><uri>http://www.cnblogs.com/tishifu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/tishifu/archive/2009/05/17/1458572.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/tishifu/archive/2009/05/17/1458572.html"/></entry><entry><id>http://www.cnblogs.com/tishifu/archive/2009/03/14/1411218.html</id><title type="text">需求到底是什么？——由CRM开发想到（一）</title><summary type="text">很久没有在博客园写随笔了，今天补上，O(&amp;#8745;_&amp;#8745;)O哈哈~。需求到底是什么？特别是对于软件开发来说，需求是最为关键也是一个项目能否成功的判定标准，然而，正式这个标准，让需求背负了太多的东西。为什么从CRM定义想到需求到底是什么这个问题，只是因为最近项目做的是CRM，对CRM的定义，似乎就是原始的需求意向，然而就是这个定义，却更让需求无所适从。CRM：客户关系管理系统。关键字：...</summary><published>2009-03-13T18:33:00Z</published><updated>2009-03-13T18:33:00Z</updated><author><name>提示符</name><uri>http://www.cnblogs.com/tishifu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/tishifu/archive/2009/03/14/1411218.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/tishifu/archive/2009/03/14/1411218.html"/></entry><entry><id>http://www.cnblogs.com/tishifu/archive/2008/07/26/1252259.html</id><title type="text">SqlDbType 与 .Net 类型对应关系</title><summary type="text">自作多情想把sql里面的Float转化成.net里面的float（System.Single）结果报错。后来仔细查查才知道忽视了细节 BigInt Int64。64 位的有符号整数。 Binary Byte 类型的 Array。二进制数据的固定长度流，范围在 1 到 8,000 个字节之间。 Bit Boolean。无符号数值，可以是 0、1 或 nullNothingnullptrnull 引用...</summary><published>2008-07-26T14:57:00Z</published><updated>2008-07-26T14:57:00Z</updated><author><name>提示符</name><uri>http://www.cnblogs.com/tishifu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/tishifu/archive/2008/07/26/1252259.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/tishifu/archive/2008/07/26/1252259.html"/></entry><entry><id>http://www.cnblogs.com/tishifu/archive/2008/07/15/1243679.html</id><title type="text">千寻(qianxun.com)，2年了</title><summary type="text">还记得大一大概就是这段时间进入的千寻制作团队实习，一个月后离开。在千寻，自己给团队带来的麻烦似乎到现在还历历在目，我留给千寻的就是麻烦吧。而千寻给我的经验和理念，却让我受用了很久。直到现在我都不得不承认现在所学到的东西还不及那次短短一个月的千寻经历。原来千寻团队中的成员现在大概还在的只有一个人了。也是上次请教这个曾经做过我师傅的人技术方面问题后问及才得知的——只有他那个时候还留在千寻，而现在，又几...</summary><published>2008-07-15T14:03:00Z</published><updated>2008-07-15T14:03:00Z</updated><author><name>提示符</name><uri>http://www.cnblogs.com/tishifu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/tishifu/archive/2008/07/15/1243679.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/tishifu/archive/2008/07/15/1243679.html"/></entry><entry><id>http://www.cnblogs.com/tishifu/archive/2008/06/28/1231815.html</id><title type="text">数据库自动备份按照日期命名执行的sql语句</title><summary type="text">DECLARE @path NVARCHAR(2000)SET @path = '【绝对本地路径】\【要备份的文件名】(' + CONVERT(NVARCHAR(4), DATEPART(YEAR, getdate())) + '-' + CONVERT(NVARCHAR(2), DATEPART(MONTH, getdate())) + '-' + CONVERT(NVARCHAR(2), DA...</summary><published>2008-06-28T14:08:00Z</published><updated>2008-06-28T14:08:00Z</updated><author><name>提示符</name><uri>http://www.cnblogs.com/tishifu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/tishifu/archive/2008/06/28/1231815.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/tishifu/archive/2008/06/28/1231815.html"/></entry></feed>
