![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
IPhone
mickysnowy
这个作者很懒,什么都没留下…
展开
-
use scalar properties for primitive data types
1down vot If you have "Use scalar properties for primitive data types" selected when you generated the NSManagedObject subclasses for your entities, it will use scalar properties like int a转载 2012-04-12 00:37:34 · 2054 阅读 · 0 评论 -
IPhone加速计
转:http://bukkake.iteye.com/blog/941157 加速计是iPhone非常吸引人的特性之一,借由本特性产生了很多极具创意的游戏和便于用于的操作,令人惊叹的使用加速计无疑对开发iPhone程序是加分的亮点。 iPhone内置的加速计是三维全方向感知的,手机平面左右两侧对应加速计x轴负正,手机上下对应y轴正负,垂直手机平面朝里朝外对应z轴正负转载 2012-04-11 22:59:10 · 572 阅读 · 0 评论 -
对字符串等进行MD5加密
#import ... // Function definition NSString * md5( NSString *str ) { const char *cStr = [str UTF8String]; unsigned char result[16]; CC_MD5( cStr, strlen(cStr), result ); return [NSString stringWithF转载 2012-04-12 21:38:11 · 450 阅读 · 0 评论 -
synthesize只有一个变量指针 不会分配空间
rt原创 2012-04-12 23:37:53 · 336 阅读 · 0 评论 -
secure transmission of the credentials
原文 The easiest way for secure transmission of the credentials is to use Https. On successful authentication you'll receive a "cookie" that you can store locally in the user defaults. That cookie wi转载 2012-04-12 20:11:10 · 276 阅读 · 0 评论 -
ios5.0 在app内跳转到设置的方法和列举
原文 听到的最新解释是5.0开放 5.1关闭 搞毛呀 apple~ 在ios5.0之后apple 开放了 app 对setting 的链接,既用户可以通过app 自己的方法实现setting的跳转,其实方法也很简单主要是一下 2个代码: 1 2 NSURL *url=[NSURL URLWithString:@"prefs:root=WIFI"]; [转载 2012-04-13 15:56:32 · 2023 阅读 · 0 评论 -
Detect the current input character in UITextField(iOS)
2down votefavorite share [g+]share [fb]share [tw] I want to know the current input character the user just inputted.Comparing the old and the new input string seems to work, bu原创 2012-04-21 21:46:58 · 557 阅读 · 0 评论 -
NSUserDefaults
卸载程序后NSUserDefaults保存的程序数据消失,停止运行程序数据仍然有效。 http://blog.sina.com.cn/s/blog_4cfeda8601011mro.html NSUserDefaults类提供了一个与默认系统进行交互的编程接口。NSUserDefaults对象是用来保存,恢复应用程序相关的偏好设置,配置数据等等。默认系统允许应用程序自定义它的行为去迎合转载 2012-05-12 16:27:59 · 808 阅读 · 0 评论 -
UIBarButtomItem:The set of possible titles to display on the bar button.
possibleTitles The set of possible titles to display on the bar button. @property(nonatomic, copy) NSSet *possibleTitles Discussion Use this property to provide a hint to the system on h转载 2012-05-24 15:57:47 · 470 阅读 · 0 评论