码迷,mamicode.com
首页 >  
搜索关键字:note to self    ( 21530个结果)
网页字体设置你了解吗?
http://ued.ctrip.com/blog/?p=3589#more-3589以前做项目的时候就依葫芦画瓢的设置 { font-family:arial,”microsoft yahei”,simsun,sans-self; } 等类似的字体,然而当更多的设备和系统出现后,以前这样的设置已不...
分类:Web程序   时间:2014-09-03 16:42:16    阅读次数:209
UI中的导航切换影响UIScrollView的问题
在 iOS7中,如果某个UIViewController的self.view第一个子视图是UIScollView,同时当这个 UIViewController被push或initWithRootController成为 UINavigationController控制的Controller时,这个UIViewController的view的子视图 UIScollView的所有子视图,都会被下移64px。这个..
分类:其他好文   时间:2014-09-03 15:07:17    阅读次数:159
ios UISearchController
1.searchResultsUpdater:设置显示搜索结果的控制器 ????_mySearchController.searchResultsUpdater?=?self; 2.dimsBackgroundDuringPresentation:设置开始搜索时背景显示与否 ????_mySearchControll...
分类:移动开发   时间:2014-09-03 13:23:17    阅读次数:196
代码截屏与触摸事件常用函数(iOS)
代码截屏分五步: 首先在视图控制器上创建一个视图 UIView *aView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 568)]; aView.backgroundColor = [UIColor blackColor];[self.view addSubview:aView];[aView release]; ...
分类:移动开发   时间:2014-09-03 13:04:36    阅读次数:222
LeetCode Single Number
Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime complexity...
分类:其他好文   时间:2014-09-03 12:55:46    阅读次数:227
iOS中的 self,super,copy等关键字问题
@synthesize关键字: 根据@property设置,自动生成成员变量相应的存取方法,从而可以使用点操作符来方便的存取该成员变量 。@implementation 关键字,表明类的实现 @end 结束self 关键字 :类似于java中的this,是隐藏参数,指向当前调用方法的类。super ...
分类:移动开发   时间:2014-09-03 12:33:06    阅读次数:302
获取js连接参数js_args
获取js连接参数,如下以链接:console.log(_getArgs('skin')); //结果:green/*!* _path 获取组件核心文件lhgdialog.js所在的绝对路径* _args 获取lhgdialog.js文件后的url参数组,如:lhgdialog.js?self=tru...
分类:Web程序   时间:2014-09-03 11:08:46    阅读次数:475
Merge Sorted Array <leetcode>
Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is greater or equal...
分类:其他好文   时间:2014-09-03 11:05:46    阅读次数:168
数论 - n元线性同余方程的解法
note:n元线性同余方程因其编程的特殊性,一般在acm中用的很少,这里只是出于兴趣学了一下n元线性同余方程的概念:形如:(a1*x1+a2*x2+....+an*xn)%m=b%m ..................(1)当然也有很多变形,例如:a1*x1+a2*x2+...+an*x...
分类:其他好文   时间:2014-09-03 09:37:26    阅读次数:207
使用ZXingObjC扫描二维码横竖屏对应
/** 根据屏幕的方向设置扫描的方向 * @author maguang * @param parameter * @return result */- (void)showaCapture{ CGAffineTransform transform; if (self.interface...
分类:其他好文   时间:2014-09-03 08:22:16    阅读次数:422
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!