自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Weever

iPhone开发基础的东西,更多是自己的总结

  • 博客(14)
  • 资源 (48)
  • 收藏
  • 关注

原创 UIModalPresentationFormSheet 改变加变大小

[self presentViewController:nav animated:YES completion:nil];    // 改变弹出界面大小——iPad    nav.view.superview.height -= 200;

2014-06-27 15:40:43 1694

原创 ASIDownloadCache缓存例子

/*    ASIUseDefaultCachePolicy     这是一个默认的缓存策略“ASIAskServerIfModifiedWhenStaleCachePolicy”,这个很明白,见名知意(它不能与其它策略组合使用)        ASIDoNotReadFromCacheCachePolicy    所读数据不使用缓存    

2013-08-27 16:53:00 1178

原创 iPad UIModalPresentationFormSheet 键盘不隐藏

UIModalPresentationFormSheet 键盘不隐藏在iPad中使用UINavigationController,UINavigationController的modalPresentationStyle为UIModalPresentationFormSheet时,弹出键盘,调用resignFirstrRsponder后键盘不隐藏。新建Category,重写

2013-04-18 12:54:35 895

原创 根据字符 删除 可变数组、字符串 中的信息

// 从父字符串中删除子字符串 NSMutableString *sourceString = [NSMutableString stringWithString:@"abcdefghijklmn"]; NSString *delStrFromStr = @"adef"; NSLog(@"sourceString %@", sourceString); i

2011-11-22 12:08:23 386

原创 缩放图片 双击 双指捏合

.h文件#import@interface ScrollPhotoViewController : UIViewController { UIImage *image; IBOutlet UIImageView *imageView; IBOutlet UIScrollView *scroll;}@property (nonatomic, retain) UII

2011-11-22 10:42:40 2226

原创 获取文件路径

Documents路径==#define kFilename@"data.plist" // 文件名- (NSString *)dataFilePath{ NSArray *paths =NSSearchPathForDirectoriesInDomains( NSDocumentDirecto

2011-11-22 10:40:34 333

原创 压缩 缩放 图片

图片的一些压缩处理来自iphone4开发基础教程18-Camerastatic UIImage*shrinkImage(UIImage *original, CGSize size) { CGFloat scale = [UIScreen mainScreen].scale; CGColorSpaceRef colorSpace =CGColorSpaceCreateDev

2011-11-22 10:38:22 438

原创 字符串 去除 空格和换行符

NSString *str = @" 啊啊啊啊啊啊沙发\n\n";NSString *trimStr = [str stringByTrimmingCharactersInSet: [NSCharacterSet whitespaceAndNewlineCharacterSet]];

2011-11-22 10:36:42 1135

原创 mac下 framework 路径

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.2.1.sdk/System/Library/Frameworks/其中的iPhoneOS2.2.1.sdk改为自己的

2011-11-22 10:35:37 3049

原创 iPhone TextField 邮箱验证

NSString*emailRegE=@"[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?";// Use NSPredica

2011-11-22 10:34:20 558

原创 获取手机唯一标识码

看到获取UDID,在IOS5.0已经过时了,原文说明------------------------------------------------------------------------------------------------------------Deprecated in iOS 5.0uniqueIdentifierAn alphanumeric str

2011-11-22 10:32:56 1543

原创 UIView 圆角 边框

导入头文件   #import  添加代码view为要设置的button、imageview、view等等 // 边框 view.layer.borderColor = [[UIColor lightGrayColor] CGColor]; view.layer.borderWidth = 1; // 圆角 view.laye

2011-11-22 10:30:59 647

原创 获取IOS设备字体

代码: for (NSString *family in [UIFont familyNames]) { NSLog(@"%@", family); for (NSString *font in [UIFont fontNamesForFamilyName:family]){ NSLog(@"\t%@", font); }

2011-11-22 10:29:43 583

原创 本人的IOS 学习链接

Apple苹果开发者登录页面http://developer.apple.com/ios/manage/overview/index.actionIOS开发者http://developer.apple.com/ios苹果iTunes Connecthttps://itunesconnect.apple.com/苹果论坛https://devforums.apple.com/commu

2011-11-22 10:18:33 726

Android应用开发详解.pdf

Android应用开发详解.pdf 中文版

2011-06-30

Objective-C for Absolute Beginners: iPhone, iPad, and Mac Programming Made Easy

Objective-C for Absolute Beginners: iPhone, iPad, and Mac Programming Made Easy Objective-C for Absolute Beginners: iPhone, iPad, and Mac Programming Made Easy

2011-05-04

Learn iPhone and iPad cocos2d Game Development

Learn iPhone and iPad cocos2d Game Development Learn iPhone and iPad cocos2d Game Development

2011-05-04

Enterprise iPhone and iPad Administrator’s Guide

Enterprise iPhone and iPad Administrator’s Guide Enterprise iPhone and iPad Administrator’s Guide

2011-05-04

Beginning iPad Application development

Beginning iPad Application developmen introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xxv ⊲ Parti chaPter 1 chaPter 2 chaPter 3 chaPter 4 chaPter 5 chaPter 6 ⊲ Part ii chaPter 7 chaPter 8 chaPter 9 chaPter 10 ⊲ Part iii chaPter 11 chaPter 12 chaPter 13 ⊲ Part iv chaPter 14 chaPter 15 chaPter 16 chaPter 17 chaPter 18 getting Started Getting Started with iPad Programming . Write Your First Hello World! Application Views, Outlets, and Actions . . . . . . . . . . . . View Controllers . . . . . . . . . . . . . . . . . . . . . . Keyboard Inputs . . . . . . . . . . . . . . . . . . . . . . Screen Rotations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 diSPlaying and PerSiSting data? Using the Table View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Application Preferences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . File Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Database Storage Using SQLite3 . . . . . . . . . . . . . . . . . . . . . . . . advanced iPad Programming techniqueS Simple Animations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Recognizing Gestures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Accessing the Accelerometer . . . . . . . . . . . . . . . . . . . . . . . . . . . network Programming techniqueS Web Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Bluetooth Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Bonjour Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Apple Push Notification Services . . . . . . . . . . . . . . . . . . . . . . . . Displaying Maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185 . . . . . . . 233 . . . . . . . 253 . . . . . . . 269 . . . . . . . 287 . . . . . . . 305 . . . . . . . 349 . . . . . . . 365 . . . . . . . 385 . . . . . . . 405 . . . . . . . 419 . . . . . . . 441 Continues . .3 . 23 . 45 . 77 . 141 ⊲ Partv aPPendiceS aPPendix a Answers to Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483 aPPendix B Getting Around in Xcode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495 aPPendix c Getting Around in Interface Builder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507 aPPendix d Crash Course in Objective-C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 519 index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 545

2011-05-04

Wiley - iPhone SDK 3 Programming (2009).pdf

Wiley - iPhone SDK 3 Programming (2009).pdf 英文

2011-04-19

iPhone sdk3 开发指南源码.zip

iPhone sdk3 开发指南源码.zip

2011-04-19

Objective-C 中文手册(Objective-C Beginner's Guide)

Objective-C 中文手册(Objective-C Beginner's Guide) Objective-C 中文手册(Objective-C Beginner's Guide)

2011-04-06

Memory_Management_Programming_Guide_for_Cocoa.pdf 英文版

Introduction In any program you write, you must ensure that you manage resources effectively and efficiently. One such resource is your program’s memory. In an Objective-C program, you must make sure that objects you create are disposed of when you no longer need them. In a complex system, it could be difficult to determine exactly when you no longer need an object. Cocoa defines some rules and principles that help making that determination easier.

2011-04-01

iPhone 开发实战 目录

本书简介 本书全面探讨了iPhone平台的两种编程方式——Web开发和SDK编程。全书结合示例对这两种编程方 式的基本流程、基本原理和基本原则给出了详细而通俗的讲解。在Web开发方面,分别介绍了三个 iPhone Web库,即WebKit、iUI和Canvas,并讨论了Web开发环境Dashcode,最后阐述Web应用程序 的调试。在SDK开发方面,详细描述其各种组件和功能,包括Xcode、Interface Builder、视图控制器 、用户交互、SDK工具包、加速计和GPS、媒体、图形等。 本书适合所有iPhone开发人员学习参考。

2011-03-30

CocoaFundamentals.pdf

Chapter 1 What Is Cocoa? 15 Chapter 2 Cocoa Objects 59 Chapter 3 Adding Behavior to a Cocoa Program 111 Chapter 4 Cocoa Design Patterns 141 Appendix A The Core Application Architecture on Mac OS X 201 Appendix B Other Cocoa Architectures on Mac OS X 239

2011-02-09

Programming in Objective-C 2.0(Objective-C 2.0编程) 英文版

Objective-C 2.0编程 Programming in Objective-C 2.0 Stephen G. Kochan

2011-01-30

Objective-C 培训教程

主要章节提示: 第一章程序整体语法结构 第二章数据类型 第三章字符串 第四章内存管理 第五章对象的初始化 第六章存取器 第七章继承 第八章动态绑定和id 类型 第九章分类和协议 第十章属性列表 第十一章复制对象 第十二章归档

2011-01-30

Objective-C 2.0程序设计(原书第2版) .(美)Stephen.G.Kochan.扫描版.part2

上传限制了,继之前的.part1 Objective-C 2.0程序设计(原书第2版) .(美)Stephen.G.Kochan.扫描版.part2

2011-01-30

Objective-C 2.0程序设计(原书第2版) .(美)Stephen.G.Kochan.扫描版.part1

Objective-C 2.0程序设计(原书第2版) .(美)Stephen.G.Kochan.扫描版.part1

2011-01-30

Objective-C 入门指南 中文

Objective-C 入门指南 中文 Objective-C 入门指南 Objective-C 入门指南 Objective-C 入门指南 Objective-C 入门指南

2011-01-30

iphone SDK 3 开发快速上手 中文

iphone SDK 3 开发快速上手 中文 本书基于iphone sdk 3,介绍用来创建iphone应用程序的工具。从最常用的任务和UI元素开始,讲解如何使用标签页和表格、文件和网络、单多触点显示,..............

2011-01-30

iPhone Human Interface Guidelines(iPhone 人机交互指南) 英文版

Introduction iPhone and iPod touch are sophisticated devices that combine the revolutionary Multi-Touch interface with powerful features, such as email and instant-messaging capability, a full-featured web browser, iPod, and, in iPhone, a mobile phone. iPhone OS is the system software that runs on iPhone and iPod touch. With the advent of the iPhone SDK, these powerful features are extended to include significant developer opportunities. In addition to creating web content for use on iPhone OS–based devices, developers can use the iPhone SDK to create native applications people can store and use on their devices. Read this document to learn about the range of application types you can develop for iPhone OS and the human interface design principles that form the foundation of great iPhone applications. In this document you learn how to follow those principles as you design a superlative user interface and user experience for your iPhone application. Whether you’re an experienced computer application developer, an experienced mobile-device application developer, or a newcomer to the field, the guidelines in this document will help you produce iPhone applications users want. Organization of This Document iPhone Human Interface Guidelines is divided into two parts, each of which contains several chapters: ■ The first part, “Planning Your iPhone Software Product” (page 13) describes the iPhone OS environment and the types of software you can develop for it. It also covers fundamental human interface design principles and describes how to apply these principles to the design of your iPhone application. ■ The second part, “Designing the User Interface of Your iPhone Application” (page 61), delves into the components you use to create the user interface of your iPhone application. It describes the various views and controls that are available to you and provides guidance on how to use them effectively.

2011-08-18

iPhone开发秘籍第2版中文扫描版.part6

iPhone开发秘籍第2版中文扫描版.part6 全部完了

2011-08-11

iPhone开发秘籍第2版中文扫描版.part5

iPhone开发秘籍第2版中文扫描版.part5 共6部分,第5部分

2011-08-11

iPhone开发秘籍第2版中文扫描版.part4

iPhone开发秘籍第2版中文扫描版.part4 共6部分,第4部分

2011-08-11

iPhone开发秘籍第2版中文扫描版.part3

iPhone开发秘籍第2版中文扫描版.part3 共6部分,第3部分

2011-08-11

iPhone开发秘籍第2版中文扫描版.part2

iPhone开发秘籍第2版中文扫描版.part2 共6部分,第2部分

2011-08-11

iPhone开发秘籍第2版中文扫描版.part1

iPhone开发秘籍第2版中文扫描版.part1 共6部分,第1部分

2011-08-11

Android中文API合集3.pdf

Android中文API合集3.pdf Android中文API合集3.pdf

2011-07-08

Android中文API合集.zip

Android中文API合集(83篇) Android中文翻译组 chm 版(附带mac chm阅读器Chmox)

2011-07-08

Android应用开发揭秘.part2

Android应用开发揭秘.part2 Android应用开发揭秘.part2

2011-07-05

Android应用开发揭秘.part1

Android应用开发揭秘.part1 Android应用开发揭秘.part1

2011-07-05

RarMachine_464.zip

RAR 文件压缩及解压工具。直接拖放即可压缩或者解压缩;也可以集成到 Finder 右键菜单,但只支持单个文件(夹),选中多个文件然后右键压缩的话会出错,不过可以把多个文件放到一个文件夹里然后压缩文件夹即可。 压缩出来的 RAR 文件在 Windows 上使用没有任何问题,不会出现中文变乱码的情况。

2011-07-04

BetterZip-2.0.1.zip

可能是 Mac OS X 上最好的压缩、解压缩软件了。支持常见的压缩格式,可以像 WinRAR 一样打开压缩包浏览,而且软件语言有简体中文。

2011-07-04

Google Android SDK 开发范例大全.part2

Google Android SDK 开发范例大全.part2 中文扫描版

2011-07-04

Google Android SDK 开发范例大全.part1

Google Android SDK 开发范例大全.part1 中文扫描版

2011-07-04

Google Android SDK开发范例大全_源码.rar

Google Android SDK开发范例大全_源码.rar Google Android SDK开发范例大全_源码.rar

2011-06-30

Android应用开发详解_源码.rar

Android应用开发详解_源码.rar Android应用开发详解_源码.rar

2011-06-30

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除