<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[lswh_01的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/lswh_01</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; lswh_01]]></copyright><item><title><![CDATA[uitableview scrollRectToVisible(要显示的区域)]]></title><link>https://blog.youkuaiyun.com/lswh_01/article/details/18633309</link><guid>https://blog.youkuaiyun.com/lswh_01/article/details/18633309</guid><author>lswh_01</author><pubDate>Wed, 22 Jan 2014 00:35:51 +0800</pubDate><description><![CDATA[//使底部显现
   
if (_bIsOpen) {
        [self.tableView
scrollRectToVisible:CGRectMake(0, (indexPath.row+1) *
self.tableView.rowHeight, treeNodeCell.frame.size.width,
53) animated:YES];
    }]]></description><category></category></item><item><title><![CDATA[批处理]]></title><link>https://blog.youkuaiyun.com/lswh_01/article/details/18624833</link><guid>https://blog.youkuaiyun.com/lswh_01/article/details/18624833</guid><author>lswh_01</author><pubDate>Tue, 21 Jan 2014 21:40:50 +0800</pubDate><description><![CDATA[chmod +x /Users/zhaojunjie/Documents/workSpace/APP/iDMSS3.2_1230/Lib/Release/libAV_NetSDK_i386.a]]></description><category></category></item><item><title><![CDATA[IOS不支持 addObjectsFromArray 改用arrayWithArray]]></title><link>https://blog.youkuaiyun.com/lswh_01/article/details/18448653</link><guid>https://blog.youkuaiyun.com/lswh_01/article/details/18448653</guid><author>lswh_01</author><pubDate>Sat, 18 Jan 2014 13:33:18 +0800</pubDate><description><![CDATA[boxData = [NSMutableArray
arrayWithArray:dataSource];

//    [boxData addObjectsFromArray:dataSource];]]></description><category></category></item><item><title><![CDATA[CGAffineTransformMakeRotation旋转图像]]></title><link>https://blog.youkuaiyun.com/lswh_01/article/details/18404947</link><guid>https://blog.youkuaiyun.com/lswh_01/article/details/18404947</guid><author>lswh_01</author><pubDate>Fri, 17 Jan 2014 13:12:39 +0800</pubDate><description><![CDATA[UIImage *image = [UIImage
imageNamed:@"addcamera_scanning_area.png"];
   
UIImageView *imageView = [ [ 
UIImageView alloc ] initWithFrame:CGRectMake((MAINSCREEN_WIDTH - scanRectWidth)/2.0,
EXTRA_]]></description><category></category></item><item><title><![CDATA[[tableView deselectRowAtIndexPath:indexPath animated:YES]]]></title><link>https://blog.youkuaiyun.com/lswh_01/article/details/18359063</link><guid>https://blog.youkuaiyun.com/lswh_01/article/details/18359063</guid><author>lswh_01</author><pubDate>Thu, 16 Jan 2014 15:17:17 +0800</pubDate><description><![CDATA[取消选中状态]]></description><category></category></item><item><title><![CDATA[stringByReplacingOccurrencesOfString 生成新的NSString]]></title><link>https://blog.youkuaiyun.com/lswh_01/article/details/18304997</link><guid>https://blog.youkuaiyun.com/lswh_01/article/details/18304997</guid><author>lswh_01</author><pubDate>Wed, 15 Jan 2014 11:06:49 +0800</pubDate><description><![CDATA[NSString *strMsg =
_L(@"mp4_convert_result");

                   strMsg = [strMsg stringByReplacingOccurrencesOfString:@"$1$"
withString:[NSString
stringWithFormat:@"%d",total]];

            ]]></description><category></category></item><item><title><![CDATA[在子线程上调主线程]]></title><link>https://blog.youkuaiyun.com/lswh_01/article/details/18262977</link><guid>https://blog.youkuaiyun.com/lswh_01/article/details/18262977</guid><author>lswh_01</author><pubDate>Tue, 14 Jan 2014 14:44:10 +0800</pubDate><description><![CDATA[dispatch_queue_t main =
dispatch_get_main_queue();
       
dispatch_async(main, ^{

           [DHMsgCenter
PushMsg:_L(@"common_msg_get_cfg_failed")];
        });]]></description><category></category></item><item><title><![CDATA[输入字符过滤]]></title><link>https://blog.youkuaiyun.com/lswh_01/article/details/18224863</link><guid>https://blog.youkuaiyun.com/lswh_01/article/details/18224863</guid><author>lswh_01</author><pubDate>Mon, 13 Jan 2014 16:36:57 +0800</pubDate><description><![CDATA[#define ILLEGALCHAR @"[`~!@#$%^&*+=|{}()':;',\\[\\]！@#¥%⋯⋯&*（）——+|{}【】‘；：”“’。，、？]
 "//空格也不允许




#define SHOULD_INPUT_CHAR {NSCharacterSet *aSet = [NSCharacterSet characterSetWithCharactersInStr]]></description><category></category></item><item><title><![CDATA[对于UITableViewStyleGrouped类型的UITableView的背景色设置问题]]></title><link>https://blog.youkuaiyun.com/lswh_01/article/details/18046293</link><guid>https://blog.youkuaiyun.com/lswh_01/article/details/18046293</guid><author>lswh_01</author><pubDate>Thu, 09 Jan 2014 17:49:22 +0800</pubDate><description><![CDATA[self.tableView.backgroundView =
nil;]]></description><category></category></item><item><title><![CDATA[presentmodel 的navigationController设置]]></title><link>https://blog.youkuaiyun.com/lswh_01/article/details/18040931</link><guid>https://blog.youkuaiyun.com/lswh_01/article/details/18040931</guid><author>lswh_01</author><pubDate>Thu, 09 Jan 2014 14:49:51 +0800</pubDate><description><![CDATA[if (m_titleImage ==
nil) {
       
m_titleImage = [UIImage
imageNamed:@"title_bg.png"];
    }

    
   
if ([self.navigationController.navigationBar
respondsToSelector:@selector(setBackgroun]]></description><category></category></item><item><title><![CDATA[mac下svn问题 ——svn:  command not found]]></title><link>https://blog.youkuaiyun.com/lswh_01/article/details/17682363</link><guid>https://blog.youkuaiyun.com/lswh_01/article/details/17682363</guid><author>lswh_01</author><pubDate>Mon, 30 Dec 2013 15:48:33 +0800</pubDate><description><![CDATA[mac下svn问题 —— command not found

在mac os 10.8中，svn Command line tools是没有自动安装的，这样的话，svn 命令行就会失效，解决办法：
1.打开xcode偏好设置（comand+，）-->"Download" -->Components:

2.点击“Command line tools”下载，下载完成之后安装。
3.安装]]></description><category></category></item><item><title><![CDATA[IOS中十六进制的颜色转换为UIColor]]></title><link>https://blog.youkuaiyun.com/lswh_01/article/details/17440297</link><guid>https://blog.youkuaiyun.com/lswh_01/article/details/17440297</guid><author>lswh_01</author><pubDate>Fri, 20 Dec 2013 13:56:45 +0800</pubDate><description><![CDATA[#pragma mark - 颜色转换 IOS中十六进制的颜色转换为UIColor  
+ (UIColor *) colorWithHexString: (NSString *)color  
{  
    NSString *cString = [[color stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNe]]></description><category></category></item><item><title><![CDATA[UIButton调整字体大小]]></title><link>https://blog.youkuaiyun.com/lswh_01/article/details/17417421</link><guid>https://blog.youkuaiyun.com/lswh_01/article/details/17417421</guid><author>lswh_01</author><pubDate>Thu, 19 Dec 2013 16:05:43 +0800</pubDate><description><![CDATA[m_userInfoBtn = [[UIButton
alloc] initWithFrame:CGRectMake(0,
0, MAINSCREEN_WIDTH -
60, 
45)];

 m_userInfoBtn.titleLabel.adjustsFontSizeToFitWidth =
YES;//调整字体大小]]></description><category></category></item><item><title><![CDATA[取版本号]]></title><link>https://blog.youkuaiyun.com/lswh_01/article/details/17370177</link><guid>https://blog.youkuaiyun.com/lswh_01/article/details/17370177</guid><author>lswh_01</author><pubDate>Tue, 17 Dec 2013 08:58:44 +0800</pubDate><description><![CDATA[NSString *version = [[[NSBundle mainBundle] infoDictionary] objectForKey:(NSString *)kCFBundleVersionKey];]]></description><category></category></item><item><title><![CDATA[UIView 设置背景图片的方法]]></title><link>https://blog.youkuaiyun.com/lswh_01/article/details/17301765</link><guid>https://blog.youkuaiyun.com/lswh_01/article/details/17301765</guid><author>lswh_01</author><pubDate>Fri, 13 Dec 2013 14:27:24 +0800</pubDate><description><![CDATA[UIView *onExpandView = [[UIView
alloc]initWithFrame:CGRectMake(0,
37, 320, 
61)];

    UIColor *bgColor = [UIColor
colorWithPatternImage: [UIImage
imageNamed:@"devicemanager_bg.png"]];
    [on]]></description><category></category></item><item><title><![CDATA[mac系统如何显示和隐藏文件]]></title><link>https://blog.youkuaiyun.com/lswh_01/article/details/17299695</link><guid>https://blog.youkuaiyun.com/lswh_01/article/details/17299695</guid><author>lswh_01</author><pubDate>Fri, 13 Dec 2013 11:36:50 +0800</pubDate><description><![CDATA[mac系统如何显示和隐藏文件




苹果Mac OS X操作系统下，隐藏文件是否显示有很多种设置方法，最简单的要算在Mac终端输入命令。显示/隐藏Mac隐藏文件命令如下(注意其中的空格并且区分大小写)：显示Mac隐藏文件的命令：defaults write com.apple.finder AppleShowAllFiles  YES隐藏Mac隐藏文件的命令：defaults writ]]></description><category></category></item><item><title><![CDATA[定制cell]]></title><link>https://blog.youkuaiyun.com/lswh_01/article/details/17278141</link><guid>https://blog.youkuaiyun.com/lswh_01/article/details/17278141</guid><author>lswh_01</author><pubDate>Thu, 12 Dec 2013 10:11:42 +0800</pubDate><description><![CDATA[当定制的cell中有控件add上去的且需要对控件进行变化时
在if(cell == nil)中写好控间的tag,然后cell.contentView addSubview,
在外层做控间的变化操作
 CustButton* button = (CustButton*)[cell.contentView
viewWithTag:TAG_CHECKBUTTON];

       
  ]]></description><category></category></item><item><title><![CDATA[sqlite 操作]]></title><link>https://blog.youkuaiyun.com/lswh_01/article/details/17262237</link><guid>https://blog.youkuaiyun.com/lswh_01/article/details/17262237</guid><author>lswh_01</author><pubDate>Wed, 11 Dec 2013 13:54:29 +0800</pubDate><description><![CDATA[添加


char* update = 
"INSERT INTO MULTIFAVOR (FAVORID ,  NAME  ,WNDMOD,CURRENTPAGE) VALUES(?,?,?,?); ";
sqlite3_stmt *statement2;
if (sqlite3_prepare_v2(database, update
 , -1, &statement2, 
n]]></description><category></category></item><item><title><![CDATA[cell 加 图片]]></title><link>https://blog.youkuaiyun.com/lswh_01/article/details/17244251</link><guid>https://blog.youkuaiyun.com/lswh_01/article/details/17244251</guid><author>lswh_01</author><pubDate>Tue, 10 Dec 2013 14:55:03 +0800</pubDate><description><![CDATA[左边图片：

 

UIImageView *cellImg = [[UIImageView
alloc] 
initWithImage:[UIImage
imageNamed:@"cameralist_camera1.png"]];
        cellImg.frame =
CGRectMake(10,
0, 40, 
40);
        [cell.cont]]></description><category></category></item><item><title><![CDATA[NSString char  互转]]></title><link>https://blog.youkuaiyun.com/lswh_01/article/details/17143899</link><guid>https://blog.youkuaiyun.com/lswh_01/article/details/17143899</guid><author>lswh_01</author><pubDate>Thu, 05 Dec 2013 16:51:04 +0800</pubDate><description><![CDATA[NSString* tmp = [NSString
stringWithUTF8String:mFavor->m_szName];




strncpy(deviceTemp->m_szDeviceName, [pDevice.devname
UTF8String],79);]]></description><category></category></item></channel></rss>