April 2010
2 posts
CALayer, shadows, and performance.
On iPad, we get shadows on CALayers..
So, you can do this:
aView.layer.shadowColor = [[UIColor darkGrayColor] CGColor];
aView.layer.shadowOffset = CGSizeMake(3., 3.);
aView.layer.shadowOpacity = 0.8;
aView.layer.shadowRadius = 5.;
However, you’ll notice that with a few of those onscreen and suddenly your splendidly fast iPad starts acting like it’s computing through a puddle of...
May 2009
1 post
1.2 & OS 3.0
Reflections 1.2 has been out for a month or so. We need to update this more often. :)
Biggest new feature is the ability to save photos to your camera roll for use as wallpaper.
iPhone OS 3 is coming, and thus far there are very few issues with Reflections. In fact, there is really only one issue and that one stems from some fighting I had to do to get the look and feel I wanted. Without doing...
February 2009
1 post
Version 1.1
The latest build of Reflections has been submitted to the App Store. :)
Major changes include the ability to save photos to your camera roll, and from there you can use them as Wallpaper! Also, a new tag view has been added for all you Flickr users who actually use tags as your primary means of organizing photos. Finally, to round out the significant stuff, the tag cluster view will now let you...
Best Backtrace *ever*
My kind of humor. :P
#0 0x933f3e17 in objc_exception_throw ()
#1 0x93a82eeb in +[NSException raise:format:arguments:] ()
#2 0x93a82f2a in +[NSException raise:format:] ()
#3 0x96f15e30 in _NSArrayRaiseInsertNilException ()
#4 0x96e342d4 in kHappyFunTable ()
#5 0x96e341e4 in kHappyFunTable ()
#6 0x30acdc20 in -[UINavigationController
pushViewController:transition:forceImmediate:]...
January 2009
6 posts
Macworld reviewed Reflections! Yay! →
4 tags
Cocoa: The Subview Hierarchy
More useful code.. this time to print out the entire hierarchy of subviews below any particular view. For maximum usefulness, put this in a category* of UIView:
- (void)OP_printSubviewsOfView:(UIView*)view {
static NSInteger depthCount = 0;
NSArray *subview_array = [view subviews];
NSMutableString *tabString = [NSMutableString
...
5 tags
Cocoa: The Responder Chain
Here is a helpful little method that you can use to print out the responder chain above a particular instance.
- (void)_printNextResponder {
id nextObj = self;
while (nextObj) {
NSLog(@"nextResponder %@",nextObj);
nextObj = [nextObj nextResponder];
}
}
1 tag
It’s not what you look at that matters, it’s what you see.
– Henry David Thoreau
Welcome
Orange Petal is a small team in Austin, Texas who have the audacious goal of building the 37signals of iPhone applications. Click that fancy RSS feed button up there and keep an automated electronic eye on us, you might just be surprised.