2009/07/07 18:03
128.121.146.228 twitter.com
128.121.146.228 www.twitter.com
128.121.146.101 assets0.twitter.com
128.121.146.101 assets1.twitter.com
128.121.146.101 static.twitter.com
128.121.146.229 assets2.twitter.com
128.121.146.229 assets3.twitter.com
65.74.185.41 twitter.zendesk.com
65.74.185.41 help.twitter.com
Add these into your hosts file, if you were banned by GFW. |
2009/07/07 16:59
Sometimes, we need to lock the whole screen when our application is running, fetching data from network for example, perhaps you may say, you can do it with the hidden property of each views. Yes! of course you can, but there's a simpler way to do so, just one line command:
[[UIApplication sharedApplication] beginIgnoringInteractionEvents];
All right, remember one thing, call the endIgnoringInteractionEvents after processing, like this:
[[UIApplication sharedApplicat |
2009/07/07 10:38
Management of User name & password is a extremely common issue in Development process of iPhone App dev. Every time when I create a new project, I must to consider this issue, and now, I post some tips about this here:
Usually, I save/retrieve the data with User defaults object like this:
[[NSUserDefaults standardUserDefaults |
2009/07/06 16:44
Actually, I want to migrate to a GAE based blog system, but the system is too instable to use, so, I'm back.
2 effects to subclass of UIView, first is a rotation effect :
CABasicAnimation *animation = [ |
2009/03/27 09:10
gh-unit is here: http://github.com/gabriel/gh-unit/tree/master
it is a unit-test framework for objective-c, both Mac and iPhone,
"""
It can be used with SenTestingKit, GTM or by itself.
For example, your test cases will be run if they subclass any of the following:
|
2009/03/13 09:30
Here:
http://graffletopia.com/stencils/358 |
2009/02/13 13:36
+(NSDate *)NSStringDateToNSDate:(NSString *)string {
NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
[formatter |
2009/02/12 14:05
If you need do a delay action before access some BT web service/api, perhaps this code snapshot can help you.
NSDate *now = [NSDate date];
NSDate *lastSubmission = [self lastAPISubmissionTime];
if (lastSubmission |
2009/02/04 09:30
从http://initiative.yo2.cn/archives/636736看到的,确实超级简单,赞!
python -m smtpd -n -c DebuggingServer 0.0.0.0:25 |
2009/01/17 20:46
* This moment will nap, you will have a dream; But this moment study, you will interpret a dream. |
|
|
|