<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[EricSuper的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/EricSuper</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; EricSuper]]></copyright><item><title><![CDATA[UIWebView 显示本地html及引用资源]]></title><link>https://blog.youkuaiyun.com/EricSuper/article/details/7256061</link><guid>https://blog.youkuaiyun.com/EricSuper/article/details/7256061</guid><author>EricSuper</author><pubDate>Mon, 13 Feb 2012 20:30:53 +0800</pubDate><description><![CDATA[有些软件中可能会用到html页面，比如用在做帮助页面或者其它相关信息时。 这种情况下只需要将html页面文件以及索引用到的资源（图片、声音等） 都加入到bundle中，或者单独创建一个bundle， 在需要的时候调用UIWebView的相关方法即可
NSBundle* bundle = [NSBundle mainBundle];
NSString*  resPath = [bunder res]]></description><category></category></item><item><title><![CDATA[UIWebView如何打开本地的网页]]></title><link>https://blog.youkuaiyun.com/EricSuper/article/details/7255639</link><guid>https://blog.youkuaiyun.com/EricSuper/article/details/7255639</guid><author>EricSuper</author><pubDate>Mon, 13 Feb 2012 17:41:36 +0800</pubDate><description><![CDATA[1,在xib文件中加入UIWebView控件。连接Controller中的对应的IBOutlet。
@interface AboutViewController : UIViewController {
	IBOutlet UIWebView *webView;
}
@property(nonatomic,retain)  UIWebView *webView;
@end

2，将html文]]></description><category></category></item><item><title><![CDATA[Xcode中下载和使用离线文档]]></title><link>https://blog.youkuaiyun.com/EricSuper/article/details/7255051</link><guid>https://blog.youkuaiyun.com/EricSuper/article/details/7255051</guid><author>EricSuper</author><pubDate>Mon, 13 Feb 2012 15:04:33 +0800</pubDate><description><![CDATA[1. 在Xcode的Preference菜单中选Downloads-Documentation，点击希望下载的文档，点左下角的上箭头图标，展开该项目的详细信息。
2. 在详细信息中找到Feed地址，用Safari浏览器访问该地址，例如iOS 5的文档http://developer.apple.com/rss/com.apple.adc.documentation.AppleiPhone5_0.]]></description><category></category></item><item><title><![CDATA[Mac系统下显示隐藏文件]]></title><link>https://blog.youkuaiyun.com/EricSuper/article/details/7255047</link><guid>https://blog.youkuaiyun.com/EricSuper/article/details/7255047</guid><author>EricSuper</author><pubDate>Mon, 13 Feb 2012 15:03:44 +0800</pubDate><description><![CDATA[显示隐藏文件：

defaults write com.apple.finder AppleShowAllFiles -bool true
KillAll Finder


恢复隐藏
defaults write com.apple.finder AppleShowAllFiles -bool false
KillAll Finder]]></description><category></category></item><item><title><![CDATA[Xcode 4.1/4.2/4.2.1 免证书(iDP)开发+真机调试+生成IPA全攻略]]></title><link>https://blog.youkuaiyun.com/EricSuper/article/details/7254996</link><guid>https://blog.youkuaiyun.com/EricSuper/article/details/7254996</guid><author>EricSuper</author><pubDate>Mon, 13 Feb 2012 14:56:12 +0800</pubDate><description><![CDATA[开发环境使用的是目前为止最新的稳定版软件：Mac OS X Lion 10.7 + Xcode 4.1
目前Xcode 4.2 Preview版也已经发布，据说其修改方法跟4.1非常类似，只改动了一行代码，请参看参考文章的第二篇。本文仍以4.1版本为例。
更新：现在Xcode 4.2正式版和iOS 5均已发布，下面补充上4.2的修改方法。（2011-10-24）
各步骤会标明版本，比如（Xc]]></description><category></category></item><item><title><![CDATA[ScrollView Image ZOOM]]></title><link>https://blog.youkuaiyun.com/EricSuper/article/details/7254871</link><guid>https://blog.youkuaiyun.com/EricSuper/article/details/7254871</guid><author>EricSuper</author><pubDate>Mon, 13 Feb 2012 14:33:23 +0800</pubDate><description><![CDATA[[scrollView2 setMinimumZoomScale:1.0];
[scrollView2 setMaximumZoomScale:4.0];
[scrollView2 setDelegate:self];























-(UIView *)viewForZoomingInScrollViewUISc]]></description><category></category></item><item><title><![CDATA[在scrollview中双击定点放大的代码]]></title><link>https://blog.youkuaiyun.com/EricSuper/article/details/7253608</link><guid>https://blog.youkuaiyun.com/EricSuper/article/details/7253608</guid><author>EricSuper</author><pubDate>Mon, 13 Feb 2012 00:05:50 +0800</pubDate><description><![CDATA[双击放大是 iPhone 的一个基本操作，第三方程序里引入这一功能的话，主要是在 scrollview 呈现一张图片或者 PDF 页面时，双击可以放大，主要代码如下

- (void)scrollViewDidEndZooming:(UIScrollView *)scrollView withView:(UIView *)view atScale:(float)scale
{
    NS]]></description><category></category></item><item><title><![CDATA[细说UIScrollView上的Touch 事件]]></title><link>https://blog.youkuaiyun.com/EricSuper/article/details/7253606</link><guid>https://blog.youkuaiyun.com/EricSuper/article/details/7253606</guid><author>EricSuper</author><pubDate>Mon, 13 Feb 2012 00:04:18 +0800</pubDate><description><![CDATA[1
 开篇

最近在项目中遇到一个 需求就是在一个可以左右拨动的页面上，添加一些交互功能，比如说点击某个页面会有文字变化，图片变换，最后有比较特殊的需求是做个像slider功能的可以拖动的按钮，并且有吸附功能，即当滑动停止在两个图标间的时候，可以滑向离自己比较近的图标。

(PS:本人是新手,哈哈，高手就全当路过吧），一看到的时候觉的没什么问题，很简单的不就是一个scrollview＋t]]></description><category></category></item><item><title><![CDATA[修改navigation Bar 中部的title内容]]></title><link>https://blog.youkuaiyun.com/EricSuper/article/details/7251648</link><guid>https://blog.youkuaiyun.com/EricSuper/article/details/7251648</guid><author>EricSuper</author><pubDate>Sat, 11 Feb 2012 21:30:04 +0800</pubDate><description><![CDATA[如果建立的是NavigationBar就是。

NavigationBar.topItem.title = @"your title";

如果是NavigationController。。那就是
self.navigationItem.title  = @"your title";]]></description><category></category></item><item><title><![CDATA[修改NavigationController中backbutton]]></title><link>https://blog.youkuaiyun.com/EricSuper/article/details/7251465</link><guid>https://blog.youkuaiyun.com/EricSuper/article/details/7251465</guid><author>EricSuper</author><pubDate>Sat, 11 Feb 2012 19:36:09 +0800</pubDate><description><![CDATA[在父viewController中如下设置:
    UIBarButtonItem *backbutton = [[UIBarButtonItem alloc]init];
    backbutton.title = @"返回列表";
    self.navigationItem.backBarButtonItem = backbutton;

    [backbutton re]]></description><category></category></item><item><title><![CDATA[@selector 里面的方法名加参数]]></title><link>https://blog.youkuaiyun.com/EricSuper/article/details/7242312</link><guid>https://blog.youkuaiyun.com/EricSuper/article/details/7242312</guid><author>EricSuper</author><pubDate>Wed, 08 Feb 2012 14:05:27 +0800</pubDate><description><![CDATA[iPhone:
 NSTimer and that thing called userInfo

Tuesday, May 12, 2009   



As I am implementing some stuff, I had reason to send along some information to a NSTimer's "onComplete" method. Eve]]></description><category></category></item><item><title><![CDATA[iPhone NavigationBar和UIToolbar基础]]></title><link>https://blog.youkuaiyun.com/EricSuper/article/details/7241026</link><guid>https://blog.youkuaiyun.com/EricSuper/article/details/7241026</guid><author>EricSuper</author><pubDate>Wed, 08 Feb 2012 00:58:43 +0800</pubDate><description><![CDATA[navigation bar 分为三个部分,左按钮,右按钮和中间的View.

在Controller中可以通过以三个方式来引用:

 


self . navigationItem. titleView
self . navigationItem. leftBarButtonItem
self . navigationItem. rightBarButtonItem
左右按]]></description><category></category></item><item><title><![CDATA[改变导航条样式]]></title><link>https://blog.youkuaiyun.com/EricSuper/article/details/7241025</link><guid>https://blog.youkuaiyun.com/EricSuper/article/details/7241025</guid><author>EricSuper</author><pubDate>Wed, 08 Feb 2012 00:56:52 +0800</pubDate><description><![CDATA[转载 http://hua397.iteye.com/blog/1181299

1.背景色:

(http://stackoverflow.com/questions/2259929/iphone-navigationbar-custom-background)网上说用category给UINavigationBar重写drawRect:

@implementation UINav]]></description><category></category></item><item><title><![CDATA[从零开始开发iPhone，教你如何在真机调试iPhone应用程序]]></title><link>https://blog.youkuaiyun.com/EricSuper/article/details/7235564</link><guid>https://blog.youkuaiyun.com/EricSuper/article/details/7235564</guid><author>EricSuper</author><pubDate>Sun, 05 Feb 2012 22:30:30 +0800</pubDate><description><![CDATA[钥匙串访问（Keychain Access）工具打开主菜单－ 证书助理(Certificate Assistant)－从证书代理请求证书（Request a Certificate From a Certificate Authority）输入iDP注册时的email，用户名自定义，选择“存储到磁盘”，选择‘Let me specify key pair information’。


选择]]></description><category></category></item><item><title><![CDATA[iPhone Tutorial: Adding a search bar in TableView]]></title><link>https://blog.youkuaiyun.com/EricSuper/article/details/7229997</link><guid>https://blog.youkuaiyun.com/EricSuper/article/details/7229997</guid><author>EricSuper</author><pubDate>Fri, 03 Feb 2012 00:42:12 +0800</pubDate><description><![CDATA[So to start create a new ViewBased Project and name it as MySearchScreenApp. You can start with any template you want but you can find in my previous posts why I always start with the most basic templ]]></description><category></category></item><item><title><![CDATA[__week and autorelease pool in ARC in Xcode 4.2]]></title><link>https://blog.youkuaiyun.com/EricSuper/article/details/7184569</link><guid>https://blog.youkuaiyun.com/EricSuper/article/details/7184569</guid><author>EricSuper</author><pubDate>Sun, 08 Jan 2012 01:27:28 +0800</pubDate><description><![CDATA[NSString __weak *string;
@autoreleasepool {
        string = [NSString stringWithFormat:@"%@", @"AAA"];
}

NSLog(@"string: %@", string);


it outputs as the following what you want.
string: (null)]]></description><category></category></item><item><title><![CDATA[Automatic Reference Counting]]></title><link>https://blog.youkuaiyun.com/EricSuper/article/details/7184566</link><guid>https://blog.youkuaiyun.com/EricSuper/article/details/7184566</guid><author>EricSuper</author><pubDate>Sun, 08 Jan 2012 01:26:19 +0800</pubDate><description><![CDATA[Friday Q&A 2011-09-30: Automatic Reference Counting
Since the moment Apple announced it, readers have asked me to write about Automatic Reference Counting, or ARC. Today is the day. I'll talk about A]]></description><category></category></item><item><title><![CDATA[Transitioning to ARC Release Notes]]></title><link>https://blog.youkuaiyun.com/EricSuper/article/details/7184352</link><guid>https://blog.youkuaiyun.com/EricSuper/article/details/7184352</guid><author>EricSuper</author><pubDate>Sat, 07 Jan 2012 22:53:18 +0800</pubDate><description><![CDATA[Automatic Reference Counting (ARC) is a compiler feature that provides automatic memory management of Objective-C objects. Rather than having to think about about retain and release operations, ARC al]]></description><category></category></item><item><title><![CDATA[Automatic Reference Counting]]></title><link>https://blog.youkuaiyun.com/EricSuper/article/details/7182673</link><guid>https://blog.youkuaiyun.com/EricSuper/article/details/7182673</guid><author>EricSuper</author><pubDate>Fri, 06 Jan 2012 23:14:24 +0800</pubDate><description><![CDATA[Automatic Reference Counting


1. About this document

1.1. Purpose1.2. Background
2. General3. Retainable object pointers

3.1. Retain count semantics3.2. Retainable object pointers as operan]]></description><category></category></item><item><title><![CDATA[Automatic Reference Counting]]></title><link>https://blog.youkuaiyun.com/EricSuper/article/details/7182669</link><guid>https://blog.youkuaiyun.com/EricSuper/article/details/7182669</guid><author>EricSuper</author><pubDate>Fri, 06 Jan 2012 23:13:16 +0800</pubDate><description><![CDATA[LLVM Home
Clang InfoAboutFeaturesComparisonsRelated
 ProjectsUser's ManualLanguage CompatibilityLanguage ExtensionsC++
 Status
Clang DevelopmentGet StartedGet InvolvedOpen ProjectsClang InternalsH]]></description><category></category></item></channel></rss>