Almost half of iOS developers surveyed also code for Android

Slightly less than half of iOS developers surveyed at WWDC also write applications for Android, a little over a third also code for BlackBerry devices and 36% focus only on iOS. These figures and more come from a Piper Jaffray survey of 45 iOS developers at WWDC.

Besides platform preferences, the survey also reveals the following:

  • 100% of developers write apps for the iPhone and 93% write for the iPad
  • only 7% of developers code for the Mac
  • 100% believe that iOS is the best platform for monetization
  • 100% believe iOS is the easiest platform for development
  • 51% of developers think iOS has the highest potential for growth, 41% believe in Android
  • 38% of iOS developers dislike Apple’s strict limitations

Piper Jaffray analyst Gene Munster points to the results of this survey as evidence that Apple’s dedicated and talented developers are one of its most valuable assets.

Almost half of iOS developers surveyed also code for Android originally appeared on TUAW – The Unofficial Apple Weblog on Mon, 13 Jun 2011 11:00:00 EST. Please see our terms for use of feeds.

Source | Permalink | Email this | Comments

iPhone 5 reportedly in final testing phases, nearing production

9to5 Mac is reporting that the next-generation iPhone is in the final stage phase before production begins. Quoting a “previously accurate Apple source,” 9to5 notes that some high-level Apple and carrier executives are testing near-final iPhone prototypes.

The source also claims that the new model will be released in September, and the Verizon model will still depend on Wi-Fi for FaceTime sessions (no word on if the AT&T model will handle FaceTime any differently that it currently does).

The September rumor his hardly new, as Reuters suggested it back in April. We’ll know soon enough. In the meantime, start saving your pennies.

iPhone 5 reportedly in final testing phases, nearing production originally appeared on TUAW – The Unofficial Apple Weblog on Mon, 13 Jun 2011 10:00:00 EST. Please see our terms for use of feeds.

Source | Permalink | Email this | Comments

Apple sued for trademark infringement over iCloud name

iCloud Communications, LLC of Arizona is suing Apple for trademark infringement. The company claims Apple’s use of the word iCloud is damaging to its business. According to the lawsuit, iCloud offers cloud computing products and services, telecommunication services, video conferencing and other internet services. The Arizona company is asking for preliminary and permanent injunctive relief, monetary relief and attorney’s fees. iCloud Communications is also asking for the destruction of all marketing materials bearing the iCloud name. The suit was filed in the US District Court of Arizona.

Apple sued for trademark infringement over iCloud name originally appeared on TUAW – The Unofficial Apple Weblog on Mon, 13 Jun 2011 09:30:00 EST. Please see our terms for use of feeds.

Source | Permalink | Email this | Comments

TUAW’s Daily iPhone App: Icebreaker Hockey

You may remember Backbreaker, the iOS football arcade game series by developers NaturalMotion. That same company has now used its proprietary physics engine to put together a game called Icebreaker Hockey, which obviously takes on the sport that’s popular with our Canadian friends in the north.

Just like Backbreaker, the game isn’t a straight hockey title, but rather plays like a concentrated version of hockey, with you controlling a player skating straight for the goal and having to juke around defenders and get your shot in when you can. It’s fun stuff, especially if you’re not too concerned about realism.

There are a few different modes to play with, and full Game Center integration for leaderboards and achievements. The weather’s heating up outside, so the ice rink may seem like a thing of the past these days, but you can still get your skate on with this one. Icebreaker Hockey is just US$0.99 on the App Store right now.

TUAW’s Daily iPhone App: Icebreaker Hockey originally appeared on TUAW – The Unofficial Apple Weblog on Mon, 13 Jun 2011 08:00:00 EST. Please see our terms for use of feeds.

Source | Permalink | Email this | Comments

Lion’s "Restart to Safari" feature allows Macs to act as web-only kiosk

An unadvertised feature has been found in the latest Lion Developer build, says MacRumors. It enables a Mac to be used as an internet kiosk and nothing else. The “Restart to Safari” can be found on the user lock screen and allows unauthorized users to use the Mac only to browse the Web. When in “Restart to Safari” mode, the only window that will appear is a Safari window.

There are several benefits to the “Restart to Safari” feature. First, it will allow unauthorized users (those without logins) of the Mac the use the computer as a web kiosk. This is a handy feature when a member of the same family, for instance, wants to quickly look up something on your work computer in the den. There’s no logging in or creating a separate user account. The Safari browser that they see will not show any of the bookmarks on the Mac either.

Another use for “Restart to Safari” is to allow the Mac to access the internet so that Find My Mac can locate the computer if it’s missing. If the laptop is stolen, the thief won’t be able to access your personal files, but may continue to use the Mac in “Restart to Safari” mode, thus enabling time for Find My Mac to locate the missing computer.

Lion’s “Restart to Safari” feature allows Macs to act as web-only kiosk originally appeared on TUAW – The Unofficial Apple Weblog on Mon, 13 Jun 2011 07:00:00 EST. Please see our terms for use of feeds.

Source | Permalink | Email this | Comments

Open Source: Multitude Of Useful Cocos2D Extensions

The extremely popular Cocos2D engine has many associated open source projects, so many with such specialized use that they typically get little mention, and end up never being heard of.

A new project has emerged known as Cocos2D Extensions that aims to place all the quality extensions within a single open source project has been created.

Here’s a list of what’s in the project so far as listed on the Github pag and available for iOS devices:

  • CCMenuAdvanced – CCMenu subclass with additional features: relativeAnchor, more align options, priority property, scrolling with swipe/trackpad/mousewheel
  • CCMenuItemSpriteIndependent – CCMenuItemSprite Subclass, that doesnt add normal/selected/disabled images (sprites) as children. It retains them and delegates rect & convertToNodeSpace: methods to normalImage_. So it’s possible to use CCSpriteBatchNode & add position sprites of menuItem anyway you want.
  • CCVideoPlayer – Simple Video Player for Cocos2D apps.
  • CCBigImage – Dynamic Tiled Node for holding Large Images.
  • CCSlider – Little Slider Control to allow the user to set the music/sfx/etc level in the range of 0.0f to 1.0f.
  • CCSendMessages – CCActionInstant subclass, that is more flexible than other CCActions that run functions. Can be used in many cases as blocks replacement.
  • CCScrollLayer – CCLayer subclass that lets you pass-in an array of layers and it will then create a smooth scroller. Complete with the “snapping” effect.
  • FilesDownloader – Downloader for a group of files with shared source path.

You can see the intro video for Cocos2D extensions here:

The Github page can be found here with download, and documentation in a wiki:
https://github.com/cocos2d/cocos2d-iphone-extensions

Looks like a very useful first release.

©2011 iPhone, iOS 4, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.

.

DeliciousTwitterTechnoratiFacebookLinkedInEmail

Best Resources In iOS Development – June 13th 2011

Another interesting week has come and gone for iOS developers featuring the announcement of iOS 5 and the initial release of the iOS 5 beta SDK for registered developers.

Hundreds of new features have been added in iOS 5 for consumers, and there have been many dramatic changes with the SDK with automated reference counting Core Image, a high level OpenGL ES framework, new Xcode instruments and more.  Expect many tutorials to be shared through this site regarding those new features once iOS 5 reaches official release.

Here are the most popular resources from the last week:

How To Write Better Game Descriptions For More Downloads – A set of guidelines how to write descriptions that actually create more game sales.

Tutorial: Developing A Music Creation App – An excellent tutorial illustrating how to create a looping music creation app.

Open Source: Better Looking Customizable Segmented Controls – A library allowing you to easily change the fonts, colors, and more within your segmented controls.

Tutorial: iOS Objective-C Unit Testing Frameworks And How To Use Them – Nice tutorial explaining the benefits of three different unit testing frameworks along with the basics of using them.

Tutorial: Easy Positional Audio With Cocos2D – A tutorial on how to use the CocosDenshion library included with Cocos2D to create positional audio.

Open Source: Library To Add Color (Even Gradients) To Tab Bar Icons – Easy to use library allowing for the often asked for feature of coloring tab bar icons, even allowing for gradients.

Open Source: Crash Report Organizing Library (Client And Server) – A great library for crash report organizing, that even allows you to tell your users if the problem they are reporting is being worked on.

Thanks for reading, please bookmark and share this post!

 

©2011 iPhone, iOS 4, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.

.

DeliciousTwitterTechnoratiFacebookLinkedInEmail

ButtonPressed example in iPhone

This is the ButtonPressed example. In this example we will see how to load another view after pressing button. So let see how it will worked.

Step 1: Open the Xcode, Create a new project using View base application. Give the application “ButtonPress”.

Step 2: Xcode automatically creates the directory structure and adds essential frameworks to it. You can explore the directory structure to check out the content of the directory.

Step 3: Xpand classes and notice Interface Builder created the ButtonPressViewController class for you and generated a separate nib, ButtonPressViewController.xib for the “ButtonPress”.

Step 4: We need to add three UIViewController in the class in the project. So select the project -> New File -> Cocoa Touch ->ViewController class and give the class name ”FirstView”, “SecondView” and “ThirdView”.

Step 5: We need to add background image in the Resource folder.

Step 6: Open the ButtonPressViewController.h file and make the following changes in the file:

#import <UIKit/UIKit.h>

@class ButtonPressViewController;
@interface ButtonPressAppDelegate : NSObject  {
}
@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet ButtonPressViewController *viewController;

@end

Step 7: Double click the ButtonPressViewController.xib file and open it to the Interface Builder. First select view and bring up Attributes Inspector change the background color “Black”. Now drag three button from the library and place it to the view window. Select the buttons from view window and bring up Attribute Inspector and change the Title name into “FirstView”,”SecondView” and “ThirdView”. Select the FirstView button from view and bring up Connection Inspector and connect Touch Up Inside to the Files owner icon and select FirstView: method . Do the same thing for other two buttons and select SecondView: and ThirdView: method. Save the .xib file, close it and go back to the Xcode.

Step 8: In the  ButtonPressViewController.m file make the following changes in the file:

#import "ButtonPressViewController.h"
#import "FirstView.h"
#import "SecondView.h"
#import "ThirdView.h"

@implementation ButtonPressViewController

(IBAction)FirstView:(id)sender
{
FirstView*firstView = [[FirstView alloc]
initWithNibName:@"FirstView"
bundle:nil];
[self.view addSubview:firstView.view];
}

(IBAction)SecondView:(id)sender
{
SecondView*secondView = [[SecondView alloc]
initWithNibName:@"SecondView"
bundle:nil];
[self.view addSubview:secondView.view];
}

(IBAction)ThirdView:(id)sender
{
ThirdView*thirdView = [[ThirdView alloc]
initWithNibName:@"ThirdView"
bundle:nil];
[self.view addSubview:thirdView.view];
}

(void)dealloc
{
[super dealloc];
}

(void)didReceiveMemoryWarning
{
// Releases the view if it doesn’t have a superview.
[super didReceiveMemoryWarning];

// Release any cached data, images, etc that aren’t in use.
}

#pragma mark – View lifecycle

(void)viewDidUnload
{
[super viewDidUnload];

}

(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

@end

Step 9: Open the FirstView.h file and make the following changes in the file:

#import <UIKit/UIKit.h>

@interface FirstView : UIViewController {

}
(IBAction)BackButton:(id)sender;

@end

Step 10: Double click the FirstView.xib file and open it to the Interface Builder. First select the view and bring up Attribute Inspector and change the background color. Drag the label from the library and place it to the view window and change the Text of the label. Drag the Navigation Bar from the library and place it to the top position of the view window. Now drag the button from the library and place it on the navigation bar. Select the button and bring up Attribute Inspector and select the “backbutton.png” and bring up Connection Inspector, connect Touch Up Inside to the File’s Owner icon and select BackButton: method. Now save the .xib file , close it and go back to Xcode.

Step 11: In the FirstView.m file make the following changes in the file:

#import "FirstView.h"

@implementation FirstView

(IBAction)BackButton:(id)sender
{
[self.view removeFromSuperview];
}

(id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
// Custom initialization
}
return self;
}

(void)dealloc
{
[super dealloc];
}

(void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];

}

#pragma mark – View lifecycle

(void)viewDidLoad
{
[super viewDidLoad];

}

(void)viewDidUnload
{
[super viewDidUnload];

}

(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

@end

Step 12: Open the SecondView.h file and make the following changes in the file:

#import <UIKit/UIKit.h>

@interface SecondView : UIViewController {

}

(IBAction)BackButton:(id)sender;

@end

Step 13: Double click the SecondView.xib file and open it to the Interface Builder. First select the view and bring up Attribute Inspector and change the background color. Drag the label from the library and place it to the view window and change the Text of the label. Drag the Navigation Bar from the library and place it to the top position of the view window. Now drag the button from the library and place it on the navigation bar. Select the button and bring up Attribute Inspector and select the “backbutton.png” and bring up Connection Inspector, connect Touch Up Inside to the File’s Owner icon and select BackButton: method. Now save the .xib file , close it and go back to Xcode.

Step 14: In the SecondView.m file make the following changes:

#import "SecondView.h"

@implementation SecondView

(IBAction)BackButton:(id)sender
{
[self.view removeFromSuperview];
}

(id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
// Custom initialization
}
return self;
}

(void)dealloc
{
[super dealloc];
}

(void)didReceiveMemoryWarning
{
// Releases the view if it doesn’t have a superview.
[super didReceiveMemoryWarning];

// Release any cached data, images, etc that aren’t in use.
}

#pragma mark – View lifecycle

(void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view from its nib.
}

(void)viewDidUnload
{
[super viewDidUnload];
// Release any retained subviews of the main view.
// e.g. self.myOutlet = nil;
}

(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
// Return YES for supported orientations
return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

@end

Step 15: Open the ThirdView.h file and make the following changes :

#import <UIKit/UIKit.h>

@interface ThirdView : UIViewController {

}
(IBAction)BackButton:(id)sender;
@end

Step 16: Double click the ThirdView.xib file and open it to the Interface Builder. First select the view and bring up Attribute Inspector and change the background color. Drag the label from the library and place it to the view window and change the Text of the label. Drag the Navigation Bar from the library and place it to the top position of the view window. Now drag the button from the library and place it on the navigation bar. Select the button and bring up Attribute Inspector and select the “backbutton.png” and bring up Connection Inspector, connect Touch Up Inside to the File’s Owner icon and select BackButton: method. Now save the .xib file , close it and go back to Xcode.

Step 17: In the ThirdView.m file make the following changes:

#import "ThirdView.h"

@implementation ThirdView

(IBAction)BackButton:(id)sender
{
[self.view removeFromSuperview];
}

(id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
// Custom initialization
}
return self;
}

(void)dealloc
{
[super dealloc];
}

(void)didReceiveMemoryWarning
{
// Releases the view if it doesn’t have a superview.
[super didReceiveMemoryWarning];

// Release any cached data, images, etc that aren’t in use.
}

#pragma mark – View lifecycle

(void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view from its nib.
}

(void)viewDidUnload
{
[super viewDidUnload];
// Release any retained subviews of the main view.
// e.g. self.myOutlet = nil;
}

(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
// Return YES for supported orientations
return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

@end

Step 18: Now compile and run the application on the Simulator.

You can Download SourceCode from here ButtonPress

Weekend rumor roundup: Apple Retail event, new MacBook Airs, unlocked iPhones, more

Several rumors with varying degrees of credibility came up over the weekend. According to AppleInsider, Twitter user @chronicwire (reportedly a source of past Apple leaks) reports that Apple’s retail stores are setting up to launch Apple’s annual Back to School promotion on Wednesday.

The same source initially reported that the Back to School promo will coincide with the launch of new MacBook Airs, but he has since retracted that claim. Instead, Chronic claims the part numbers he initially thought represented new MacBook Airs indicate that Apple will start selling versions of the GSM iPhone 4 that are not carrier-locked to AT&T.

Although the MacBook Air is widely expected to have a refresh soon, this is the first we’ve heard of unlocked iPhones being offered for sale in the U.S., and it’s something we’ll file under “We’ll believe it when we see it.” The iPhone is already sold free and clear of carrier locks in several markets, but GSM model iPhones sold in the U.S. remain carrier-locked to AT&T unless you jailbreak.

Chronic has also released screenshots that supposedly come from an “internal build” of iOS 5. These screenshots show that Nuance voice recognition, expected to be integrated in iOS 5 but not discussed at WWDC, is still in development. Other sources have claimed these voice recognition features weren’t ready to be shown off at WWDC but should be good to go by the time iOS 5 launches this fall.

Finally, a reader has informed us that New Zealand’s online Apple Store is now showing shipping times of 5-7 business days for the 1 TB Time Capsule and 1-2 weeks for the 2 TB model. These extended shipping times are also showing up in Apple’s Australian and UK stores, and the Canadian Apple Store is showing a 1-2 week delay for the 1 TB Time Capsule. The U.S. store and most international stores are not showing the same delay, but they’re further indicative of the Time Capsule supply constraints we reported last week, which may mean a product refresh is imminent.

We’ll be keeping a very close eye on Apple’s online store on the Tuesday overnight shift, and we’ll let you know if anything new comes up.

Weekend rumor roundup: Apple Retail event, new MacBook Airs, unlocked iPhones, more originally appeared on TUAW – The Unofficial Apple Weblog on Sun, 12 Jun 2011 23:35:00 EST. Please see our terms for use of feeds.

Source | Permalink | Email this | Comments

Rumor: Steve Jobs says iWeb and MobileMe hosting are going away

Those of us with a vested interest in iWeb have been perplexed by the lack of interest shown by Apple in the former iLife web design app. Couple this with the pending demise of MobileMe on June 30, 2012, and that confusion turns into concern. MacRumors featured a post a few hours ago about an iWeb/MobileMe fan who was so concerned about the lack of iWeb love coming from Apple that the user sent Steve Jobs an email.

In the email the iWeb user asked, “Will I need to find an alternative website builder and someone to host my sites?” The alleged response from the CEO of Apple: “Yep.”

iWeb’s discontinuation wouldn’t be completely surprising. When iLife ’11 debuted late last year, the lack of a new version of iWeb frustrated a number of users. When iCloud was announced last week, there was no indication that websites created with iWeb and hosted on MobileMe would have a migration path to the new world of Apple cloud computing.

There are many free website alternatives to a MobileMe-hosted iWeb site, such as WordPress.com, Blogger, Tumblr, and Posterous; paid options include Squarespace, Drupal Gardens and hundreds more. In addition, Facebook is an excellent alternative for both individuals or companies who just want to create a simple web presence to inform friends or customers of what’s going on. If your needs are for a straightforward yet powerful WYSIWIG web authoring environment, both RapidWeaver and Sandvox deliver much of iWeb’s power with more flexibility for non-MobileMe hosting.

For those who still want to have their websites designed in iWeb and hosted somewhere other than on MobileMe, you might want to start looking for low-cost web hosting soon.

Rumor: Steve Jobs says iWeb and MobileMe hosting are going away originally appeared on TUAW – The Unofficial Apple Weblog on Sun, 12 Jun 2011 22:00:00 EST. Please see our terms for use of feeds.

Source | Permalink | Email this | Comments

iPhone 4’s Operation Doorbell reveals mystery ringer

One of our readers sent us a story that was too good not to share. James, an iOS developer living in the UK, cleverly rigged his iPhone 4 against the peephole in his front door to catch a prankster that had been ringing his doorbell and running away every morning. His story is below.

For the past week, every single morning between 8 AM and 9 AM, someone has been ringing the doorbell to our flat several times and running away. We knew it was another resident of the flats — as the outer door is locked and requires a buzzer to get in, our doorbell is obviously next to the internal door. I tried many times to catch the culprit, but the best I could do after leaping out of bed and rushing to the door was to hear the sound of footsteps running on one of the lower floors.

I’m not a morning person, as I’m usually up late learning how to build apps. I then came up with a plan to simply wait by the door and watch through the peephole. This was a failure, as not only is craning my head to watch the peephole for an hour uncomfortable, it also prevented me from being able to carry on my usual morning routine of massive coffee consumption.

Then I had a brainwave! I noticed the camera on my iPhone 4 was the same size as the peephole. With a bit of fiddling and adjusting the zoom I was able to stick my phone to the door using blue tac, thus providing a convenient window to the outside world and the ability to capture a pic of the culprit to use as evidence.

I had planned to try and stream live video from the peephole, into my iPhone and stream it to my iPad or MacBook. Sadly, I never managed to go that far as I couldn’t find an app for that.

Sure enough though, this morning my girlfriend and I were sitting by the door, coffee in hand and able to chill out and watch the iPhone screen from a distance. As we hoped the culprit approached our door and rang the doorbell several times. I hit the camera button and got a great pic, catching him red handed. Turned out to be the kid next door on his way to school!

After grabbing the pic and quickly opening the door with a loud “HELLOOO!” and watching the poor rascal’s skeleton leap out of his body in shock, we were able to show his mother the picture and peace was restored.

Great story, James, and it only goes to show that people are finding unconventional uses for iPhones all the time.

iPhone 4’s Operation Doorbell reveals mystery ringer originally appeared on TUAW – The Unofficial Apple Weblog on Sun, 12 Jun 2011 21:20:00 EST. Please see our terms for use of feeds.

Source | Permalink | Email this | Comments

Talkcast tonight, 10pm ET: The WWDC after-party

Nursing hangovers and with brains full of iCloud, Lion, iOS 5 and other secret goodness, the worldwide community of Apple developers marks another WWDC in the books. We’ll look back at the week that was (and what a week it was!) and look ahead at the week to come; join us, won’t you?

To participate on TalkShoe, you can use the browser-only client, the embedded Facebook app, or download the classic TalkShoe Pro Java client; however, for maximum fun, you should call in. For the web UI, just click the TalkShoe Web button on our profile page at 4 HI/7 PDT/10 PM EDT Sunday. To call in on regular phone or VoIP lines (yay for free cell phone weekend minutes!): dial (724) 444-7444 and enter our talkcast ID, 45077 — during the call, you can request to talk by keying in *8.

If you’ve got a headset or microphone handy on your Mac, you can connect via the free Blink or X-Lite SIP clients; basic instructions are here (if you like Blink, the pro version is available in the Mac App Store). Skype users with SkypeOut credit can simply call the main TalkShoe number; it’s also a free call with Google Voice’s browser plugin. Talk to you tonight.

Talkcast tonight, 10pm ET: The WWDC after-party originally appeared on TUAW – The Unofficial Apple Weblog on Sun, 12 Jun 2011 16:15:00 EST. Please see our terms for use of feeds.

Source | Permalink | Email this | Comments