自定义博客皮肤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 1615

原创 ASIDownloadCache缓存例子

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

2013-08-27 16:53:00 1125 1

原创 iPad UIModalPresentationFormSheet 键盘不隐藏

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

2013-04-18 12:54:35 847

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

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

2011-11-22 12:08:23 356

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

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

2011-11-22 10:42:40 2180

原创 获取文件路径

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

2011-11-22 10:40:34 293

原创 压缩 缩放 图片

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

2011-11-22 10:38:22 408

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

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

2011-11-22 10:36:42 1078

原创 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 2905

原创 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 520

原创 获取手机唯一标识码

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

2011-11-22 10:32:56 1491

原创 UIView 圆角 边框

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

2011-11-22 10:30:59 616

原创 获取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 555

原创 本人的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 685

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

Beginning iPhone and iPad Web Apps: Scripting with HTML5, CSS3, and JavaScript

Beginning iPhone and iPad Web Apps: Scripting with HTML5, CSS3, and JavaScript Beginning iPhone and iPad Web Apps: Scripting with HTML5, CSS3, and JavaScript

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

《iPhone应用程序编程指南》中文版.pdf

《iPhone应用程序编程指南》中文版 iPhone SDK为创建iPhone的本地应用程序提供必需的工具和资源。在用户的 Home屏幕上,iPhone的本地应用程序表示为图标。它们和运行在Safari内部 的web应用程序不同,在基于iPhone OS的设备上,它们作为独立的执行程序 来运行。本地应用程序可以访问iPhone和iPod Touch的所有特性,比如加速 计、位置服务、和多点触摸接口,正是这些特性使设备变得更加有趣。本地应 用程序还可以将数据保存在本地的文件系统中,甚至可以通过定制的URL类型 来和安装在设备上的其它程序进行通讯。

2011-04-02

AppStore掘金--iPhone SDK 应用程序开发(英文版).pdf

AppStore掘金--iPhone SDK 应用程序开发(英文版).pdf

2011-04-02

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

iPhone+开发秘籍(带你深入iPhone开发秘境)

iPhone+开发秘籍(带你深入iPhone开发秘境) iPhone+开发秘籍(带你深入iPhone开发秘境) iPhone+开发秘籍(带你深入iPhone开发秘境) iPhone+开发秘籍(带你深入iPhone开发秘境)

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

Cocoa Programming For Mac OS X 中文

Cocoa Programming for Mac OS X 3rd 中文翻译版 英文原版:共35章 现有章节:共17章

2011-01-30

Objective-C 入门指南 中文

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

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 Human Interface Guidelines(iPhone 人机交互指南) 中文版

介绍 iPhone 和 iPod touch 是整合了革命性的多点触摸的先进设备,包含了众多强大的特性, 例如电子邮件和即时通讯能力、全功能浏览器、iPod 和电话功能(iPhone)。iPhone 操作系 统是运行在 iPhone 和 iPod touch 上的系统软件。 随着 iPhone SDK 的到来,这些强大的功能也渗入到了开发环节。对于面向 iPhone 操作 系统的设备,基于 web 的应用的也可以使用 iPhone SDK 来创建原生的程序。 阅读此文档有助于了解可以在 iPhone OS 中可以开发的应用类型以及优秀应用的人机 交互原则。你可以了解在你设计应用的的用户界面和用户体验时所应该遵从的原则。无论你 是资深电脑软件的开发者、资深移动设备应用开发者抑或初学者,此手册可以帮助你设计用 户所需要的应用。 注意:此文档仅简要的介绍了基于 iPhone OS 的 web 类应用开发。如果想要更深入的了 解在 iPhone OS 下的 web 类设计,请参阅《iPhone Human Interface Guidelines for Web Applications》。 文档组织 iPhone 人机交互指南分为两部分,每一部分分为若干章节。 第一部分“规划你的 iPhone 应用”描述了 iPhone OS 的环境和可以开发的应用类型。 同时也包括和基础的人机交互设计原则和如何在你的 iPhone 应用设计中应用这些原则。 第二部分“设计应用的用户界面”,深入介绍了在 iPhone 应用中可以用来创建用户界面 的组件。此部分介绍了可用的各类视图和控件,并就如何有效的使用它们做以指导。

2011-08-18

[iPhone开发书籍大全].More.iPhone.3.Development.Tackling.iPhone.SDK.3.pdf

More iPhone 3 Development: Tackling iPhone SDK 3 Copyright © 2009 by Dave Mark and Jeff LaMarche All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher. ISBN-13 (pbk): 978-1-4302-2505-8 ISBN-13 (electronic): 978-1-4302-2743-4 Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1 Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. President and Publisher: Paul Manning Lead Editor: Clay Andres Developmental Editor: Douglas Pundick Technical Reviewer: Mark Dalrymple Editorial Board: Clay Andres, Steve Anglin, Mark Beckner, Ewan Buckingham, Gary Cornell, Jonathan Gennick, Jonathan Hassell, Michelle Lowman, Matthew Moodie, Duncan Parkes, Jeffrey Pepper, Frank Pohlmann, Douglas Pundick, Ben Renow-Clarke, Dominic Shakeshaft, Matt Wade, Tom Welsh Coordinating Editor: Kelly Moritz Copy Editor: Marilyn Smith and Ralph Moore Compositor: MacPS, LLC Indexers: John Collin and Julie Grady Artist: April Milne Cover Designer: Anna Ishchenko Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail orders-ny@springer-sbm.com, or visit http://www.springeronline.com. For information on translations, please e-mail info@apress.com, or visit http://www.apress.com. Apress and friends of ED books may be purchased in bulk for academic, corporate, or promotional use. eBook versions and licenses are also available for most titles. For more information, reference our Special Bulk Sales– eBook Licensing web page at http://www.apress.com/info/bulksales. The information in this book is distributed on an “as is” basis, without warranty. Although every precaution has been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information contained in this work. The source code for this book is available to readers at http://www.apress.com. You will need to answer questions pertaining to this book in order to successfully download the code. ii To Deneen, Daniel, Kelley, and Ryan, LFU4FRNMWWA. . . —Dave To the most important people in my life, my wife and kids. —Jeff

2011-08-11

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

Android应用开发详解.pdf

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

2011-06-30

空空如也

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

TA关注的人

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