- 浏览: 340235 次
- 性别:
- 来自: 武汉
最新评论
-
leslie89757:
[img][img][img][img][img][img][ ...
CocoaPods 安装使用 -
hanmeizhi:
very useful to me. Thanks
Dismissing MPMoviePlayerViewController the right way -
luzj:
这个考虑不周全, 在iOS5的键盘高度就不是这个值了,这样写死 ...
UITextView: move view when keyboard appears -
xjg19870111:
不错。
objective-c NSString 常用操作 -
juedui0769:
现在已经不行了!
android源码下载
文章列表
Since iOS 5 as a developer you can finally change the tint/design of some elements without much trouble. Changing the background of your UINavigationBar just became so much easier.
@selector(appearance)
The classes that support the UIAppearance protocol have access to an appearance selector. This r ...
ios5自定义UISegmentedControl
You need to provide the following images:
segment background selected (this has both left and right caps)
segment background unselected (this has both left and right caps)
segment middle, left selected, right unselected
segment middle, left unselected, right selected ...
1. 高度30,高清就是60px,高度必须是60,系统默认的按钮高度,拉伸的是宽度,所以高度必须符合要求,宽度自定
画圆角时保证最底部留有2个像素的空余,留给投影效果,不要完全画满画布
2. 圆角给到4px,高清就是8px,程序拉伸时的代码就是:
UIImage *barButton = [[UIImage imageNamed:@"ic_barbuttonitem_bkg.png"] resizableImageWithCapInsets:UIEdgeInsetsMake(0, 4, 0, 4)];
[[UIBarButtonItem appearan ...
全局自定义控件
- 博客分类:
- iphone development
http://useyourloaf.com/blog/2012/08/24/using-appearance-proxy-to-style-apps.html
http://www.raywenderlich.com/12320/photoshop-for-developers-making-a-leather-navigation-bar
iPhone Default.png loading image doesn’t display
I had a problem where the Default.png image wouldn’t load on startup of an iPhone app. I Googled as per normal operation and found someone suggest you do a build -> clean.
Worked!
So if you have trouble getting your Default.png splash image to lo ...
自定义进度条
- 博客分类:
- iphone development
UIProgressView and Custom Track and Progress Images (iOS 5 properties)
Here's what's going on:
The images you provide to the UIProgressView are basically being shoved in to UIImageViews, and the UIImageView is stretching the image to fill the space.
If you simply do:
[progressView setTrackImage:[ ...
原文地址:http://akosma.com/2011/09/20/a-proposed-architecture-for-network-bound-ios-apps/
One of my most popular answers in StackOverflow is the one I gave to the following question: “What is the best architecture for an iOS application that makes many network requests?”
The problem is the following: l ...
After having tried several approaches, this is one architecture that is giving me excellent results, is easy to document, understand, maintain and extend:
I have a single object taking care of network connectivity, let's call it a "network manager". Typically this object is a singleton (cr ...
设计网站资源备忘
- 博客分类:
- iphone development
大量Photoshop Pattern
http://subtlepatterns.com/
设计教程
http://designwoop.com/2012/06/10-detailed-iphone-application-design-tutorials/
自动生成噪点图片:
http://www.noisetexturegenerator.com/
psd资源下载
www.downloadpsd.com
自定义UITableviewCellSeparator
#import <UIKit/UIKit.h>
@interface DoubleSeparatorCell : UITableViewCell {
UIView *upperLine;
UIView *lowerLine;
}
@property (nonatomic ,retain) UIView *upperLine;
@property (nonatomic ,retain) UIView *lowerLine;
@end
#import "Double ...
内存管理指南官方链接
- 博客分类:
- iphone development
Advanced Memory Management Programming Guide
https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/MemoryMgmt/Articles/MemoryMgmt.html
内存管理法则
- 博客分类:
- iphone development
Basic Memory Management Rules
基本内存管理原则
The memory management model is based on object ownership. Any object may have one or more owners. As long as an object has at least one owner, it continues to exist. If an object has no owners, the runtime system destroys it automatically. To make sure it is cl ...
技术文章收藏
- 博客分类:
- iphone development
Intro to SOAP Web Services
http://www.icodeblog.com/2008/11/03/iphone-programming-tutorial-intro-to-soap-web-services/
Core Text editor,文本围绕图片布局
http://mattwilkinsonswork.blogspot.nl/
Open Source iOS Control For Quickly Adding A Parallax Scrolling Effect To Your UIViews
可伸缩拉展的图片布局
http://maniacdev. ...
Original Article Link: http://www.icodeblog.com/2011/09/30/dynamically-controlling-your-application-from-the-web/
Often times you find yourself in a situation where you might want to control your application remotely. You may want to enable/disable features at a certain time, push messages to all o ...