Leah and I went to Philadelphia on a weekend trip this past weekend. For me, it was two days of experiments. All of which are for our trip to Naples/Pompeii later in July.
A bunch of us from the NY Alt.NET and Stephen Forte have organized a Agile Firestarter event on June 27th. Being the build monkey of the group, I'll be presenting the Continuous Integration session.
UIView
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event {
UITouch *touch = [touches anyObject];
NSInteger tapCount = [touch tapCount];
if (tapCount == 2) {
[scrollView_ setZoomScale:zoomScale animated:YES];
}
}
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
{
[super touchesEnded:touches withEvent:event];
[self.nextResponder touchesEnded:touches withEvent:event];
}
Let's say you want to use UIActionSheet to show three buttons to the user with a cancel buttons in a UIView, which itself is managed by a UITabBarController:
UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:@"Action Title" delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:nil otherButtonTitles:@"Option 1", @"Option 2", @"Option 3", nil];
actionSheet.actionSheetStyle = UIActionSheetStyleDefault;
[actionSheet showInView:self.view];
[actionSheet release];
UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:@"Action Title" delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:nil otherButtonTitles:@"Option 1", @"Option 2", @"Option 3", nil];
actionSheet.actionSheetStyle = UIActionSheetStyleDefault;
ApplicationDelegate *appDelegate = (ApplicationDelegate *)[[UIApplication sharedApplication] delegate];
UITabBarController *tabBarController = appDelegate.tabBarController;
[actionSheet showInView:tabBarController.view];
[actionSheet release];
Last Tuesday I travelled down to Philadelphia to speak at the Philly ALT.NET meeting. Brian Donahue, the group organiser, invited me to talk about my experience of developing iPhone application from a .NET perspective. Over 20 people turned up and I was surprised that most of them already owned an iPhone and a Mac (remember this is a .NET group afterall).
Last Wednesday's NY Alt.NET meeting topic was Continuous Integration. Being a ThoughtWorker and had worked on build and deployment project at an enterprise level, it fells naturally to me to not only prepare the presentation material but also present it.
Don't know what that stands for*? Watch Alex Blumberg and Adam Davidson from NPR's Planet Money explain our economic crisis on KCRW
I went to the dentist for a checkup today for the first time in over 2 years. First of all, I am not one of those 'I hate/scare of dentist' type person. All those drilling and cleaning implements don't scare me at all. What I don't welcome is the pushy dentists who always want to me to have some operation or other, despite how unnecessary it may be. For example, the last few dentists I visited always commented on the slightly impacted wisdom teeth I had, and how I should have them taken out "just in case". The first time I was told, my thought was "Why?" They are not causing me any problem now. Why can't I have them out if and when they become a problem? Funnier still, the last dentist suggested that I had all of my wisdom teeth taken out, and at his office! Ah, no thanks!
Cheers Alex, with your help I have now resolved the issue. So big thanks for taking time out.There was a... read more
on Inoperative Cancel button in UIActionSheet