Talk Funnel

Ramin Firoozye's (occasional) Public Whisperings

Siri and third-party apps – Part I

Posted by: Ramin on May 4, 2012

Apple’s Siri personal assistant was one of the main advertised features of the iPhone 4S. It is a marriage of speaker-indepent voice-recognition technology and domain-aware AI. What sets it apart is how it’s integrated with back-end and on-device services and how it maintains context across multiple requests so it feels like you’re having a conversation […]

Semi-Modal (Transparent) Dialogs on the iPhone

Posted by: Ramin on September 29, 2009

Popping up a modal dialog on the iPhone is a fairly straightforward process: modalDialogViewController *modalController = [[modalDialogViewController alloc] initWithNibName:@"modalDialogView" bundle:nil]; [self presentModalViewController:modalController animated:YES]; [modalController release]; Dismissing it then is a simple matter of the modalController invoking: [self dismissModalViewControllerAnimated:YES]; But what if you want to show only half a page’s worth or maybe you need the […]

NSArray debugging on the iPhone

Posted by: Ramin on February 15, 2009

If you’re debugging on the iPhone and encounter a lot of NSArray objects, you’ll notice that dumping out the contents doesn’t give you too much information. To help remedy this situation, I whipped out a quick-and-dirty ‘helper’ to show a bit more detail. As with the UIView helper all you have to do is include […]

Easy UIView debugging on the iPhone

Posted by: Ramin on December 11, 2008

The user interface of the iPhone is based on a series of nested UIView objects, arranged in a view-subview/parent-child relationship. When building a complex application with a lot of views, sometimes it’s handy to be able to see exactly what that relationship is. But if you try to print out the value of a UIView […]