- 浏览: 340103 次
- 性别:
- 来自: 武汉
最新评论
-
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源码下载
文章列表
Django、MySQL、MySQLdb、PyDev、Python的安装不赘述,网上都有教程,按照教程做不会有什么问题
这里记录过程中遇到的问题:
import django;不报错。。但是创建Django项目时报Django not found
import MySQLdb;不报错。。但是Eclipse项目Run as Django报 Error loading MySQLdb module: No module named MySQLdb
这两个问题都是由Python的Interpreter引起,虽然interpreter可以自动扫描,但是并不智能,需要手工把Python的site- ...
OriginalLink: http://decoding.wordpress.com/2012/01/23/how-to-setup-django-and-mysql-python-on-mac-os-x-lion/
Django is an excellent web-framework written in Python.
Here is a quick setup guide for installing Django and MySQL-python on Mac OS X Lion.
Setup Django
- Download latest Django here
- ...
Original Link: http://rowboatrevolution.com/2012/02/uitableview-parallax-background-a-la-path/
Path does a clever little parallax trick when you overscroll the main timeline view. This effect gives a nice sense of depth between the tableview and background image.
Reproducing it is quite easy, and o ...
Dodaddy购买域名 不赘述,如果用信用卡支付的话扣款非常快!
HostMonster购买Server Hosting服务,选择完项目,提交表单后需要验证帐户,有两种途径,一种是通过国际电话,你会发现你的电话没有开通国际电话业务,并且国际电话费用昂贵;第二种,通过邮件传送,本人传送了2次,耗时2个工作日,实际上一次即可完成,我用VISA卡支付,使用Paypal支付的同学请参考其他教程,你需要拍下信用卡正面、反面照片(信用卡号正面前12位数、背面最后三位需要遮挡,用PS涂掉即可,这是你的隐私,一定要注意,弄的被老外盗刷你的信用卡就不好了),还需要身份验证,我用的是驾照,没驾照用护照,没护照用身 ...
UIButton touch is delayed when in UIScrollView
解决UIButton的touch事件在 UIScrollView中延迟的情况:
Try to set UIScrollView delaysContentTouches property to NO.
_scrollView.delaysContentTouches = NO; //延迟
[button addTarget:self action:@selector(changeButtonBackGroundColor:) forControlEvents:UIContro ...
Original Link: http://stuartkhall.com/posts/ios-development-tips-i-would-want-if-i-was-starting-out-today
iOS Development Tips I Would Want If I Was Starting Out Today
Making iOS apps is getting easier and easier with each new release of Xcode. However, all the new features and approaches means the ...
iCloud includes Backup, which automatically backs up a user’s iOS device daily over Wi-Fi. Everything in your app’s home directory is backed up, with the exception of the application bundle itself, the caches directory, and temp directory. Purchased music, apps, books, the Camera Roll, device setting ...
ios程序发布测试打包备忘
1. 获取测试机UDID
手机连接电脑,打开iTunes-摘要-点击序列号,设备概要界面显示设备udid-反键-拷贝
2. 添加设备
取得UDID后,进入开发者中心-iOS Provisioning Portal-Devices-Add Devices,一个地方填名称,一个地方填你从Tester那里拿到的udid
3. 生成ad hoc证书
开发者中心-Provisioning Portal-Provisioning-Distribution-New Profile,选择“Ad Hoc”,然后选择Tester的设备ID,创建完毕后下载到本地,双击导入xcode
4. ...
原文地址:http://www.zhihu.com/question/20674161
香港Apps开发以外包业务为主,从零售、媒体、金融到娱乐、教育、政府等等,各行各业的企业和机构都希望拥有一个或一系列Apps以提高竞争力。不仅仅是传统行业公司,即使本地有强大I ...
网站模版
- 博客分类:
- iphone development
http://twitter.github.com/bootstrap/
wordpress
Infinite UIScrollView
http://www.touchwonders.com/infinite-scrolling-messing-with-uiscrollview/
头文件:
#import
@class ArticleViewController;
@interface ArticleScrollViewController : UIViewController {
//不使用数组,看起来更明了,为了节省内存同时还要看起来无缝,3个view最好
ArticleViewController *article1;
Arti ...
Pulsating UIView
Original Address: http://tim-specht.de/?p=695
I needed to create a pulsating UIImageView (this will work for any subclass including itself of UIView without any changes) and solved that task using chained UIViewAnimation so I wanted to share that bunch of code with you.
//this m ...
http://www.smashingmagazine.com/2009/07/01/clever-jpeg-optimization-techniques/
Building a SearchView with UISearchBar and UITableView
Original Article Address: http://jduff.github.com/2010/03/01/building-a-searchview-with-uisearchbar-and-uitableview/
SearchViewController.h
//
// SearchViewController.h
//
#import <UIKit/UIKit.h>
@interface SearchViewController : ...
1. Changing the title of the “cancel” button
If you want to localize your UISearchBar or just want to apply a unique text matching your application just implement the following UISearchDisplayControllerDelegate method:
-(void)searchDisplayControllerWillBeginSearch:(UISearchDisplayController *)cont ...