码迷,mamicode.com
首页 >  
搜索关键字:note to self    ( 21530个结果
label添加手势(触摸改变其背景颜色)
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ self.window = [[UIWindowalloc] initWith....
分类:其他好文   时间:2014-05-26 00:02:36    阅读次数:277
python实现图片爬虫
#encoding:utf-8 import sys reload(sys) sys.setdefaultencoding('utf8') from sgmllib import SGMLParser import re import urllib class URLLister(SGMLParser): def start_a(self, attrs): url = [v ...
分类:编程语言   时间:2014-05-25 22:47:56    阅读次数:340
两个控制器之间的通信
//A控制器中- (void)toDo{ [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(nearbyToRootVcCommunication) name:@"nearbyToRootVcCo...
分类:其他好文   时间:2014-05-25 19:16:58    阅读次数:228
堆排序理解 完整代码
/*自我修改* Note: 堆排序(Heap Sort)*/#include using namespace std;// 输出当前堆的排序状况void PrintArray(int data[], int size){ for (int i=1; i a[i]) // 符号修改后形成...
分类:其他好文   时间:2014-05-25 19:07:25    阅读次数:227
UIAlertView
UIAlertView 1.Title 获取或设置UIAlertView上的标题。   2.Message 获取或设置UIAlertView上的消息       UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"Title" message:@"message" delegate:self cancelBu...
分类:其他好文   时间:2014-05-25 16:37:56    阅读次数:194
常用android的smali注入代码
常用android的smali注入代码 1.增加log信息 const-string v3,"SN" invoke-static {v3,v0}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I   2.弹出消息框 new AlertDialog.Builder(self) .setTitl...
分类:移动开发   时间:2014-05-25 09:00:41    阅读次数:324
LeetCode: Length of Last Word [057]
【题目】 Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word does not exist, return 0. Note: A word is defined as a character sequence consists of non-space ...
分类:其他好文   时间:2014-05-25 07:39:05    阅读次数:256
Tiny6410_SMDK从SD卡直接启动裸板代码
今天折腾了一天终于可以可以直接从SD卡启动6410的裸板程序了,这也让我实现了完全在linux下开发裸板代码。详细过程如下: 1.通过查SMDK6410_IROM_APPLICATION NOTE_REV 1.00,可以查到如下 其中BL1是开发板自动运行的固件代码 从上可以知道应将代码烧到最后地址-(1025+1+16)*512字节处 2.测试代码如下:   1     ....
分类:其他好文   时间:2014-05-25 04:46:13    阅读次数:261
IOS学习笔记 -- 基础-疯狂猜图实现流程
1. 搭建界面1> 上半部分,固定的,可以用Storyboard实现2> 下半部分,根据题目变化,可以考虑用代码实现2. 图片的放大缩小1> 放大过程(1) 增加蒙版(遮罩),蒙版默认alpha = 0(2) 将图片移动到视图的顶层[self.view bringSubviewToFront:图片的...
分类:移动开发   时间:2014-05-25 03:17:42    阅读次数:358
Debug_Tabbar_Image
自定义的tabbaritem图片比系统的高出一截来Solution:self.tabbar.tabBar.layer.masksToBounds=YES;//边界隐藏但是由于设置masksToBounds属性为true所以Layer的阴影效果也就没有了
分类:其他好文   时间:2014-05-24 15:32:32    阅读次数:179
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!