2009/07/24 14:42
This time we'll try to get a UIImage object from core graphics .
Without more ado, this is the viewDidLoad we need:
- (void)viewDidLoad {
|
2009/07/17 16:27
很简单,先把代码考到word中然后在贴上来就搞定! |
2009/07/17 16:16
Continue...
This time I want to draw a ellipse and some arcs.
# Create a rectangle.
CGRect theRect = CGRectMake(100, 200 |
2009/07/17 10:53
Quartz is not a kind of stone you know ;-), it's a fairly powerful and simple tech in iPhone development progress, now, stop just talk, let's get started!
First, create a project based on "View-based Application" template, name it, then add a new file under Class folder, based "objective-c class", subclass of UIView, click next and fill in a name(such as testView) to generate files.
Double-click the xib file under Resource folder, find out view item, Comm |
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 |
|
|
|