Xcode 4.01

no comments

The new Xcode is available…but…you have to pay for it now.  $4.99 in the Mac App Store or be a paying member of the iOS or Mac Developer program.  I am a bit…disappointed. Well, java is still free. Isn’t it.  Oracle?  Are you listening?  Android?

 

iOS 4.3 SDK is new

no comments

Xcode 3.2.6 and iOS SDK 4.3 Here we go again with the huge download.  😉  4.14 GB.

 

Touch (-ing) a Roku and a Book

no comments

I received an iPod Touch for Christmas and so with wife’s iPad I have both form factors available.  Though both are “retina” I think so I might need to find an older iPhone or touch to make sure.

Also got a Roku XD/S which seems to need a iPod app to remote control it.  The one’s I find extant seem to be for the Soundbridge, not the Streaming Player. Seems fairly easy to program a remote controller; I found the SDK docs here.  “The External Control Guide” shows that the Roku is discoverable with SSDP and controllable with simple HTTP POSTs, such as

POST /keypress/Home HTTP/1.1

Also, I went to Borders with a gift card and left with Advanced iOS 4 Programming: Developing Mobile Applications for Apple iPhone, iPad, and iPod touch by Maher Ali.  But I returned it a few day’s later because it’s like $29 less from Amazon with free shipping.  (!)  What do I do with my Border gift card now?

iOS 4.2 SDK is available now

no comments

At the Apple developer site.  That’s ….

Yes, I know I’m a little late with this.

another update

no comments

Dev Tools are updated again for iPhone iOS 4.02.  I wish we didn’t have to download the whole thing (2.49GB) every time there is an update.  I suppose I should get a get a fast internet connection….

the future without Apple

no comments

On July 26th, the Librarian of the Library of Congress allowed that jailbreaking is not an infringement of the DMCA.

Here is the press release:
Librarian of Congress Announces DMCA Section 1201 Rules for Exemptions Regarding Circumvention of Access-Control Technologies

and an excerpt:

Persons who circumvent access controls in order to engage in noninfringing uses of works in these six classes will not be subject to the statutory prohibition against circumvention.

(2) Computer programs that enable wireless telephone handsets to execute software applications, where circumvention is accomplished for the sole purpose of enabling interoperability of such applications, when they have been lawfully obtained, with computer programs on the telephone handset.

See the Wiki page on jailbreaking the Apple iOS.

What will be the effect of this?  I have already heard of a web site you can display in Safari on your iPhone that will allow you to jailbreak it with the push of a button. <Jailbreakme>

Will there be competing App Stores?  A lot of people don’t like to use iTunes, now can there be alternatives? Bittorrent app on your iPad?

An iPhone is a wireless telephone handset so it would be including in this decision. How about an iPod touch? An iPad with or without 3G. An iPod touch or iPad with a skype app or installed?   Or, actually, I would think that having the Facetime app installed (or similar, competing) makes anything a wireless telephone handset.

Seriously, it would be nice to be able to develop an app, using Xcode, package it and distribute it to your friends without going through the Apple app store.  Or conduct a Beta test with a large group of people all over the world.

rotating

no comments

To get the HelloWorld to autorotate is just too simple.  Update the xxxxViewController.m and uncomment the shouldAutorotateToInterfaceOrientation method, and have it return a YES value.


// Override to allow orientations other than the default portrait orientation. –
(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
// Return YES for supported orientations
return (YES); }

But, then, rotated, things aren’t centered properly:

iPad uncentered after autorotate

iPad uncentered after autorotate

so, fixing that will be the next thing I suppose.

I like O’Reilly books….

new xcode

no comments

The iPhone simulator that comes with the new version of the XCode SDK (3.2.3) seems to work much better.  I spent quite a bit of time trying to figure out why the HelloWorld app behaved correctly in iPhone simulation but was not quite the same in the iPad simulation.  Now they act the same and in the expected manner.

Nr. 1 simulating iPhone

no comments

Found the answer to my simulator question, how to get Xcode to launch the simulator in iPhone mode instead of iPad mode for a universal app. See here.

  1. Build your application for the Simulator 3.2 SDK. Just build (⌘B) it, not ‘build and run’.
  2. Change your target SDK to ‘Simulator – 3.0’.
  3. Run (⌘⌥R) or Debug (⌘⌥Y) your application.

A bit of a kludge, but thanks Alan, this seems to work.

Did you want to buy an iPad?   [amazonify]B00365F6G4[/amazonify]

Nr. 1

no comments

Write your first iPod app: article

HelloWorld sample app on iPhone simulator

Hello You?

Being me, I had to do a little extra just to stress myself.  I made HelloWorld a “universal” app–which means it should work on the iPhone (and iPod Touch) as well as the iPad.  I used two nibs.  Build and Run always seems to bring up the iPad view in the simulator–have to figure out how to get it to run the iPhone.

It occurs to me that one of the reasons Apple is so successful is due to the very large amount of developer documentation available. IBM and Microsoft are/were pretty good at that too. It’s a monumental task to keep documentation up to date. So much of what is in the Apple OS dates back to NeXT which starting in 1985. ( Wikipedia article).

Switch to our desktop site