Love kills: the iPhone was too expensive for Apple, and decided to protect from the dangers of the cruel world. Have achieved the opposite. Break-ins, escapes from prison and other criminal romance. Epidemics of digital vermin have not yet been – but it was a miracle, sooner or later they were bound to happen. iPhone was on the verge of life and death…

Otherwise it could not be: those whose profession is to create worlds and life on those worlds (I’m talking about programmers) showed incredibly attractive artifact: pocket full computer with an incredible interface, but then locked it with a key, and asked…

To write web applications, because Mobile Safari is the same Safari that Mac OS X and Windows (which was still not quite true). So no SDK is not needed. Problems with distribution – no. Updates – at any time, and they are instantaneous.

I have nothing against web applications, but if a thrillingly interesting device is allowed to write them – what can stop wishing to get beyond these limitations?

MacWorld (magazine) reported on the discontent of developers for this reason. It’s worse than wrong is a mistake. What happened other than a riot call.

Apple owned all the rights to the iPhone, it suffered, I put my heart and soul. iPhone cost to create it, engineers, designers, and marketers shattered families, children deprived of parental care suffered and has fallen in with the wrong peers, health Abraham in length, two and a half years could not harm… But to break free, and once in the hands of millions of people, the iPhone has become their heritage, pride, the love.

Bans (with the best of intentions) never solve problems. They create a new, more dangerous and fatal. Creators of worlds and life in these worlds is not without difficulty, but in a stunningly short time, bypassed bans, and…

This is the third part of a series about iPhone and the like, the previous parts are here:

First part: MacWorld Expo 2007;
Second part: a Touch-based interface comes on the iPod.

Primitive jungle

A few months around the iPhone grew a whole industry.

SoC (System-on-Chip) Samsung S5L8900 (not Samsung S3C6400, as expected), on the core ARM1176JZ(F)-S v1.0 (normal clock frequency of 620 MHz, the iPhone was reduced to 412 MHz), was well known. For “programming in reverse” (I don’t like any of the standard translations of the term “reverse engineering”, ready to be…), there were no obstacles.

It was not even necessary to delve into machine code – the existing program translates them into easy-to-read Assembly instructions. To understand the assembler a lot of work, but if you really want, nothing is impossible.

In addition to the ARM1176JZ(F)-S, in a tiny pocket computer was even five or six cores for different purposes – and it’s funny, all of them which was identified, and was developed in the UK. As, incidentally, did ARM1176JZ(F)-S.

The “Hello World” program, with a detailed description and explanation of all the steps necessary for its recurrence, appeared online in late July 2007, a month after the iPhone. This page has become one of the most visited in the network. Hundreds of thousands eager to break the blockade! The program was written in Mac ie

Soon in a network there are hundreds (if not thousands) of publications on this topic, description, iPhone OS, and “chain of tools” (toolchain) for writing programs for his system. The easiest way this chain was to recreate in Windows. “Chains” was a dozen, they were immense, they had a lot of innuendo and error, but…

There was a “chain” for different Unices (including Mac OS X), but the main platform for software development by a wide margin, steel Windows PC. This is hardly pleasing to Apple.

 

By the end of summer there were hundreds of programs whose authors did not recognize any of the prohibitions of different purposes. Some of the programs burned the insides of the iPhone – those who have programmed for it in the Apple abide by very strict rules about which floor the creators were not even aware. the iPhone was absolutely defenseless.

Happened precisely what the iPhone wanted to protect, only this time on a catastrophic scale.

17 Oct 2007 Apple has published a letter jobs, in which he explained the motives of making a wrong decision and promised to reform. The SDK will be opened in February next year…

Remember the movie “Widow Maker” (“Maker of widows”) – Apple would handle this more efficiently than any nuclear submarine. And again it was all hands on deck.

March 6, 2008, Thursday, “Apple” town hall at the Apple campus, SDK

At 10 a.m. Pacific time, at the town hall (Town Hall) Apple held a press conference, that Steve named Apple Special Event, but official it was called the iPhone Software Roadmap Event (connect a “road map software for iPhone” and “event” like, the essence I translated).

Here’s a video (duration – 01:17:53):

Up to 00:17:17 discussed topics unrelated to the SDK.

Steve spoke about the success of the iPhone: second place in the American smartphone market, RIM took first with 41%, Apple 28%, and achieved this in just 8 months. 71% of visits to the Internet from mobile devices – from Mobile Safari, that is the iPhone.

Then there was 10 minutes of Phil Schiller: integration in iPhone Active Link and MS Excepte, and all about iPhone for the enterprise. Impressive, but that’s not our theme.

And in the beginning of the 17 th minute Phil was replaced by Scott Forstall, and began importantly. He started with web applications, some of which really were masterpieces.

And then… with 00:19:49 to 01:02:28 Scott described the iPhone SDK as a place for entertaining and easy wins. That is easy, said Scott himself, and invited to experience the iPhone SDK “taste” programmers from several companies repeated it like a spell (otherwise, apparently, they are not to be released from campus)…

How cram Mac OS X into the device with 128 Megabytes of RAM and clocked at 412 MHz, even in conditions of severe energy deficit, will write another time. This is a separate issue.

From what Scott told us about the SDK (and iPhone OS, which is still not so called, though it was version 2.0), much was not. Interface Builder to develop for iPhone in the Apple were not used. Processing IB required a lot of time, I decided to do without it.

Interface Builder: iPhone OS appeared in the penultimate beta SDK (if I remember correctly). Its integration with the iPhone was horrible. But, with the help of specialized vocabulary and musical instruments of peoples of the North, it could be used…

Birth defects are costly for IB – many chose not to use them, as I didn’t want to spend time learning its quirks, thought it to fetter the flight of their imagination and limit their freedom. Especially those who started to write programs for iPhone in the era of the “sharpshooters”. Prejudices, but…

And with the integration of Instruments was not all right. Himself SDK required mass of revisions, corrections and clarifications…

However, Scott no complaints: not to tell all about the difficulties awaiting those who dare to program for iPhone. That would be counterproductive.

Download the SDK and try it out (in the simulator)… cool – but for this I had to buy an Intel Mac. My PowerPC development for the iPhone was unavailable.

And then, starting with 01:02:28 in the video, Steve presented the most important and crucial…

App Store

On each device (iPhone and iPod touch) is a program in which your app will be available on each device.

You can buy the software it will be in the iTunes Store on a Mac or PC (if the program size exceeded some limit, 10 or 20 Megabytes, you can buy it was only through iTunes).

All the worries associated with paying users will acquire programs, takes on Apple (if you have tried to solve these problems yourself, you will understand my joy about this).

The author decides how much will be sold, its product (from $ 0.99 to $ 999.99, in increments of $ 1 is I).

Author 70% (payout once a month, if the amount exceeds some minimum), Apple – 30%, service the App Store. The company is not going to make money on the App Store.

In all cases I’ve encountered I – the author – had only 30 or 40% of revenues, so “a plus”.

Free software Apple will service for free. Also “in plus”.

Well, a few circumstances “in the negative”: it is important that your iPhone is safe and reliable. Decent, law-abiding, to meet the aesthetic ideas of Apple… the last I add.

For this, placement in the App Store, each program will have to undergo a thorough check. To send the program to check only the participant of the iPhone Developer Program membership in the program is a paid ($99 a year).

Check for developers – free, the number of attempts is not limited, the validation time from days to two weeks, usually day 2 or 3.

In this program, temporarily set is limited. Only accepts US residents (no, not spies, high – level U.S. citizens or persons permanently living there), and the number of seats is limited. The program runs in test mode and debug, sorry for…

And most importantly, App Store is the only way to distribute programs for the iPhone.

Something tells us that all will not be easy, but the reality exceeded expectations…

To be continued

Advertisements