Under the Bridge

Maid Clock

Ah yes, we’d forgotten to mention this; there’s another troll program up on the App Store these days! Well, “another” may be stretching it a bit, as it’s a new release of the previously mentioned Anime Clock with new graphics. And these new graphics, of course, are definitely going to break with the increasingly established tradition of troll-written programs featuring scantily clad attractive women, aren’t they? Weeellll, it turns out this version is called Maid Clock, so …

maidclock.jpg

… not so much, no. Yep, even without our active involvement in any way whatsoever, they just keep on coming. But hey, we’re always delighted to do our part to celebrate Japanese culture. Indeed, we do thoroughly recommend that should you ever visit Japan, you do make a point of checking out a maid café or dozen; it is an extremely unusual scene to those of us hailing from a culture which is … well, any that’s not Japanese, really. When we were over there a few weeks back visiting the great people at Wayz that we’ve done a selection of applications for, it was made certain of that we didn’t miss out:

cuteroom.jpeg

Yes, yes, the life of an iPhone programmer is a difficult and straining one, indeed. Thank you for all your sympathies. But hey, while you’re gearing up to visit Japan … you can always get the clock!

XPilot

Continue Reading →
4

Template: Newsreader

Feel like doing a newsreader style iPhone app? Well here we have for you something even better than sample code … an actual Xcode project template.

… The project is a starting point for creating your own tab-based newsreader apps: it includes a tab bar with 4 buttons each linked to a table view which you can fill with headlines.

Simply add a data model for your news feeds, then modify each pane’s controller class to display the data in the table view. Edit the 4 tab bar item icons, Default.png, and app icon to match your app’s theme, and you’re done.

Now that’s convenience, indeed!

Continue Reading →
2

Static Library Sharing

If you’re trying to share a static library between iPhone and OS X projects — here’s how to go about it, demonstrated with openssl:

… The Release build process sets up a universal binary. Thus, using the common technique described above, the linker ends up trying to link a PPC build of your binary against our static openssl library, which was only building either i386, or ARMv6. If you are using the code and instructions we described in our SQLCipher tutorial to use SQLCipher in your iPhone project, and you decide to use that technique for a Mac OS X project, this problem will affect you (if you are building the standard universal binary on release builds)…

Handy stuff to figure out; or, if it actually is openssl in particular you’d like to share, simply grab openssl-xcode off github!

h/t: iPhoneFlow!

Continue Reading →
0

NimbleBit Numbers 2009

Here is a really really excellent post on App Store returns for an indie iPhone game developer, NimbleBit to be exact:

… Seven months later I can still safely argue that there exists a comfortable and sustainable grey area between million dollar jackpots and ramen noodle dinners. As before we’re releasing the numbers for our games in the hopes that their analysis will be helpful to other indie developers. This numbers article will focus more on what worked in 2009, what mistakes we can learn from, and how we intend to keep the ball rolling in 2010…

Good stuff, read it all the way through if you’re planning on doing an indie iPhone game. Hey, even if you’re not, it’s still pretty interesting no doubt!

h/t: MobileOrchard!

Continue Reading →
0

Script: dsym-archiver

[UPDATE: Xcode 3.2.2 has, apparently, rendered this kind of workaround obsolete. W00t!]

Here’s a possibly handy with a little editing script for use with your iPhone development, which does two things:

This script is intended to be run during an Xcode build to archive your build’s dSYM bundles (needed for symbolicating crash logs received from iTunes Connect or beta testers’ feedback) and, for beta releases, to create an .ipa package to send to your beta testers.

There’s a few path assumptions that probably need fixing for your setup, and it needs to run as a separate target since the binary has to be signed for making an ipa to work, but hey it’s a useful start.

If you’re wondering just why making an .ipa is worth any trouble whatsoever, rumour has it that making an .ipa is an effective way of getting around The Problem That No Doubt You Have Encountered if you do any ad hoc builds for Windows users –That Problem being that the @(#$&@!!! things never work. OK, we exaggerate … but they certainly do cause problems on a regular basis. Personally, we’ve had a good deal of luck remedying that by zipping up our .apps with this fine product,

ZipMacFiles4PC

as it seems that the problem is due to something in the .app folder which sometimes doesn’t get decompressed properly on a Windows machine, and keeping it in .ipa (which is just your .app zipped with some enclosing folders) format through to dropping it on Windows iTunes avoids that. We’ll go to the trouble of checking to see if that is indeed the case next time we run into a complaining Windows user. And perhaps, we’ll even do it without sending first our usual response of “Oh, your problem is very easy to fix. Simply visit your local Apple Store, and BUY YOURSELF A MAC!” since that never really seems to go over all that well, for some strange reason. We certainly don’t understand, it seems a perfectly logical and reasonable solution, don’t you agree?

h/t: iPhoneSDK!

Continue Reading →
2

Tip: iTunes Links

Just in case you managed to miss this so far, Technical Q&A QA1633 has the official scoop on creating easy to read iTunes Store URLs for a specific application and/or company. The three types are:

  • Company Name:
    http://itunes.com/apps/<companyname>

  • Application Name:
    http://itunes.com/apps/< applicationname >

  • Application by Company:
    http://itunes.com/apps/<companyname>/< applicationname >

The rules for constructing <companyname> and <applicationname> are basically to convert the text displayed in the App Store to lowercase ASCII and remove anything without an obvious counterpart in that set, with the exception that “&” becomes “and”. Like these examples:

  • Sega => http://itunes.com/apps/sega
  • ngmoco, Inc. => http://itunes.com/apps/ngmocoinc
  • Chen’s Photography & Software =>
    http://itunes.com/apps/chensphotographyandsoftware
  • Ocarina => http://itunes.com/apps/ocarina
  • Watchmen: Justice is Coming =>
    http://itunes.com/apps/watchmenjusticeiscoming
  • Brain Challenge™ => http://itunes.com/apps/brainchallenge
  • Spanish Class 2 – Bueno, entonces… ¿qué pasó con el cinco? =>

    http://itunes.com/apps/spanishclass2buenoentoncesquepasoconelcinco

There are some extra caveats, like that these are not guaranteed to be unique in which case they bring up a search page, so it’s very likely a good idea to hand craft and test these individually rather than construct them programmatically. But hey, baby steps.

Continue Reading →
0

Selling Bookmarklets

Now this is an intriguing twist on the App Store discussed over here at Mobile Orchard: Let’s say you’ve written a clever piece of JavaScript to extend Mobile Safari, like for instance

So, instead of writing a complete Safari replacement to add the missing Find In Page capability, you write JavaScript to take the search term and then find it in the page. Add that JavaScript as a bookmark and you’re all set.

Now, let’s say you feel like monetizing that. Through the App Store. The App Store? Why yes, through the App Store!

Vais’ twist is this: he’s selling his bookmarklet in the App Store for $0.99. His angle is clever: he’s created a simple app that places the bookmarklet JavaScript on the pasteboard. The user can then add a bookmark and set its location by pasting the JavaScript…

Now that’s a cool idea. Wouldn’t have occurred to us that Apple allows such a thing, but the proof is in the pudding. Where by “the pudding” we mean “the App Store”, of course. So there you go, if you have some clever browser extension code, now you know how to monetize it!

Continue Reading →
0

Barcode scanning

So let’s say you want to put barcode scanning into your iPhone app. Sounds like a lot of work, yes? Well, no, there’s actually three options:

1. You develop your own barcode reader. Open source libraries like zxing are a great start, but they will not work on the iPhone 3G, still the most common iPhone out there. Most commercial libraries have the same limitation.

2. You license the pic2shop barcode scanner library and SDK. We spent hundreds of hours to make it work quickly and accurately on all iPhone models. Get more information from Vision Smarts’ web site.

3. You take advantage of the pic2shop: custom URL scheme to launch pic2shop, read the barcode, and get the barcode digits back in your app, for free.

Hey, that last one sounds interesting, yes? Aside from that depending on somebody else’s app bit. But they claim that won’t be a problem,

This method requires that your users install pic2shop. However, pic2shop is, and will remain, free, so it does not cost you or your users anything. Moreover, pic2shop is lightweight (less than 400k), and loads very fast.

Takes a little effort to set up a custom URL scheme and so forth, as detailed here, but hey it’s pretty hard to beat the price. An interesting side effect of that strategy is that you can also barcode enable your Web sites, since the invocation is a URL:

Web developers, the above link ["pic2shop://scan?callback=p2sclient%3A//EAN"] is all you have to do to integrate barcode scanning in your site. In your case, the callback will be a regular URL pointing to your web app.

That’s pretty nifty, indeed.

h/t: iPhoneFlow!

Continue Reading →
0

Class: AutoScrollLabel

Here’s a handy little class … well, handy if you want your UILabel to be a scrolling marquee. Fairly straightforward to do that in any number of ways, but this particular one is mildly notable for leveraging native facilities:

… The scrolling is implemented using two UILabels contained in a UIScrollView. Each label contains an identical copy of the text and the labels are resized to be just large enough to hold the text without any truncation.

If the text in the UILabel is wider than the containing UIScrollView, then the two UILabels are laid out side-by-side, and the scroll view is animated to scroll from the beginning of one label to the beginning of the next label. The second label is there just to give the illusion of the text looping forever.

The class registers itself as the delegate for the scrolling animation block, so when the animation block ends, it waits the defined pause time, and then just performs another animated scroll, in which case the scroll view is reset back to the beginning of the first label and the process is repeated.

And that’s it! Pretty simple. The animation block feature of a UIView does all the hard work.

Yes, we do tend to overlook just how powerful an engine we have sitting there with UIViewAnimation, indeed. So here’s another reminder!

h/t: iPhoneSDK!

Continue Reading →
0

TweetPhoto API

Feel like sending photos to Twitter from your iPhone app? Yes? Well, let us put you on our Christmas list then, “Intended Present: A Life” …

… er, we mean, we’re here to help. And not cynical about the value proposition in the slightest.

Any-ways, of the veritable plethora of services that have sprung up to serve this nonexistent need (OK, we’re done being cynical now, we swear) seems that TweetPhoto should be the choice of the discerning iPhone developer, as only they provide an open source Objective-C API:

The TweetPhoto Objective-C library is a set of drop in classes designed to allow developers to get up and running quickly with the TweetPhoto Photo Sharing API.

This library includes every feature you’ll need to manage the entire photo sharing experience within your application – from uploading photos, commenting, favoritng, and voting to social feeds, user feeds, and everything in between…

Indeed. Who could possibly resist?

h/t: MobileOrchard!

Continue Reading →
1
Page 70 of 113 «...4050606869707172...»