Thursday, 9 August 2012

How do you make images wobble like on the iPhone home screen?


If you want to make your views, images, etc. wobble, like the home screen, you could do something like this:
    CGAffineTransform leftWobble = CGAffineTransformRotate(CGAffineTransformIdentity, RADIANS(-15.0));
    CGAffineTransform rightWobble = CGAffineTransformRotate(CGAffineTransformIdentity, RADIANS(15.0));

    view.transform = leftWobble;  // starting point

    [UIView beginAnimations:@"wobble" context:view];
    [UIView setAnimationRepeatAutoreverses:YES];
    [UIView setAnimationRepeatCount:5]; // adjustable
    [UIView setAnimationDuration:0.125];
    [UIView setAnimationDelegate:self];
    view.transform = rightWobble; // end here & auto-reverse
    [UIView commitAnimations];
You would also need to add this define:
#define RADIANS(degrees) ((degrees * M_PI) / 180.0)

Thursday, 17 May 2012

Niche Technologies- iOS 6: Apple drops Google Maps, debuts in-house ‘Maps’ in 3D mode

Apple has an incredible headline feature in development for iOS 6: a completely in-house maps application. Apple will drop the Google Maps program running on iOS since 2007 in favor for a new Maps app with an Apple backend. The application design is said to be fairly similar to the current Google Maps program on the iPhone, iPad, and iPod touch, but it is described as a much cleaner, faster, and more reliable experience.

While Apple has always had full control of the actual iOS Maps application design, the backend has belonged to Google. That will change with iOS 6 thanks to their purchases of Placebase, C3 Technologies, and Poly9; acquisitions that Apple has used to create a complete mapping database.

Now that the application is fully in-house, it is being referred to simply as “Maps” (some people call the current version Google Maps because of the backend). We reported prior to the launch of iOS 5 that Apple and Google had extended their Maps deal, and now it is obvious when that deal ends.

Signifying the application’s complete re-write is a new logo for iOS Maps: it is basically a redesigned version of the current iOS Maps icon with a view of Apple’s 1 Infinite Loop Campus, but redrawn with a new color scheme. Apple’s replacement for Google Street View will likely also be an in-house solution. C3 Technologies worked on street view capability as shown in the photo above.

The most important aspect of the new Maps application is a powerful new 3D mode. The 3D mode does not come enabled by default, but users simply need to click a 3D button that is conveniently and visibly stored in the app. Perhaps under the fold like the current traffic, pin, and map view buttons. This 3D mode is said to essentially be technology straight from C3 Technologies: beautiful, realisitic graphics based on de-classified missile target algorithms.

Wednesday, 16 May 2012

Niche technologies-IOS 6 FEATURES: 10 NEW FEATURES IN NEW IOS 6

"We’re thrilled with sales of over 35 million iPhones and almost 12 million iPads in the March quarter … The new iPad isoff to a great start, and across the year you’re going to see a lot more of the kind of innovation that only Apple can deliver.”


Here are the IOS 6 features:

1. Siri support for iPad 3, 2, iPhone 5, iPhone 4S devices
2. New Notification Center interface
3. Facebook Integration
4. IM Support in Messages
5. iPhone / iPod Touch Multitask Gestures
6. New 3D Maps
6. GPS integrated into 3D Maps
7. AirDrop for iOS
8. New iCloud with Notes,iPhoto Album, Reminders
9. Ability to delete default apps
10.New Notification banners