Skip to main content


Showing posts with the label objective-c

Weather for your business?

A beautiful iPhone app before the year end. It is a business analytics app. In App Store:

Directory with extra fun

Employee look up app with fun ideas.

How to add parallax effect to your apps

UIInterpolatingMotionEffect *interpolationHorizontal = [[UIInterpolatingMotionEffect alloc]initWithKeyPath:@"center.x" type:UIInterpolatingMotionEffectTypeTiltAlongHorizontalAxis]; interpolationHorizontal.minimumRelativeValue = @-10.0; interpolationHorizontal.maximumRelativeValue = @10.0; UIInterpolatingMotionEffect *interpolationVertical = [[UIInterpolatingMotionEffect alloc]initWithKeyPath:@"center.y" type:UIInterpolatingMotionEffectTypeTiltAlongVerticalAxis]; interpolationVertical.minimumRelativeValue = @-10.0; interpolationVertical.maximumRelativeValue = @10.0; UIMotionEffectGroup *interpolationGroup = [[UIMotionEffectGroup alloc]init]; interpolationGroup.motionEffects = [NSArray arrayWithObjects:interpolationHorizontal, interpolationVertical, nil]; if([aView respondsToSelector:@selector(addMotionEffect:)]){ [aView addMotionEffect:interpolationGroup]; }

Experiencing Sencha Touch: VW Dealer app

Sencha Touch, a high-performance HTML5 mobile application framework. We used Sencha to build an iPad application that allows Volkswagen field managers and dealers to show customers everything about VW cars. Application features: Work offline. Update application data without reinstalling the app. Support multiple events. Capture customer information locally and upload to server later on. Vehicle gallery and videos slide show. Vehicle trim specs, color specs, technical specs, pricing. Vehicle comparison.  Since this app needs to work with iPad 1st generation, memory management became very important. We spent good amount of time to tweak the app to have small memory footprint.  The app is being used at places with no wifi. When the application is installed, it downloads all data from a server and stored on the iPad using HTML5 local file system feature. App uses high quality gallery images, so using manifest method would exceed the browser storage limit. The app its

iPhone app: real time video sharing

An native iPhone app prototype that steams camera video between two iPhones. Not very complex, but it took a good amount of research and learning. Major classes are NSOperation, AVFoundation and GameKit. Multi-threading is necessary to prevent UI lockup, so NSOperation is used.  AVFoundation - (void)captureOutput:(AVCaptureOutput *)captureOutput didOutputSampleBuffer (CMSampleBufferRef)sampleBuffer fromConnection:(AVCaptureConnection *)connection is the key element to capture video frames from camera.  GameKit peer-to-peer communication via Bluetooth is used to send and receive data between two devices.  Result was that I was able to reach about 4 frames per second. Did not get to try Game Center peer-to-peer via local WiFi. I believe that will increase the frame rate.

iPhone App iFreak!

My first published iPhone application. You can take a picture of yourself and snap your face into a movie character's body. Add other props on top of it. All elements can be rotate, scale using multi-touch. Give a name for the final character. Post the final image to your Facebook Feed, save to your photo album or send it via email. Of course it has some general information about the movie including photos, trailer and synopsis. Time spent: 3 weeks Programming: Cocoa Touch, Objective-C App URL: