JAKERI

Icon

Consulting/Development in Java, Objective-C for web based systems and iPhone

Gasmacken 2.0 sent to Apple for review

Gasmacken 2.0 was submitted for review to iTunes App store last friday. It usually takes 1.5 to 2 weeks before approved (if no bugs or violations found).

More information presented to the user. Such as prices, opening hours, owner, contact information and extra information.

Gasmacken på Aftonbladet

Aftonbladet skriver om Gasmacken!
Screen shot 2009-10-12 at 17.22.18

Gasmacken available for sale

My latest iPhone application Gasmacken has been approved by Apple!

Gasmacken

Gasmacken is an application that automatically fetches an updated list of all CNG (Compressed Natural Gas) refuelling stations in Sweden and displays them on a map.

Features

  • List all CNG stations in Sweden
  • Show your current location
  • Automatic updates of CNG stations in Sweden
  • Show directions with with built in Maps application

Swedish information about Gasmacken

Gasmacken är ett program som automatiskt hämtar en uppdaterad lista över alla gasmackar i Sverige och presenterar dem på en karta.

Funktioner

  • Lista med alla tankställen för fordonsgas i Sverige
  • Positionering med inbyggd GPS
  • Automatisk uppdatering av listan med tankställen för fordonsgas
  • Vägbeskrivning med inbyggd kartapplikation

Screenshot 2009.09.25 22.39.53Screenshot 2009.09.25 22.40.18

UILocalizedIndexedCollation, no Swedish localization

In my latest app, Gasmacken I tried to use UILocalizedIndexedCollation (from example TableViewSuite example 3) for creating a localized version of the A-Z list (A-Ö in swedish) on the right side in a table view. But to my surprise I could not get any difference in table view running in Swedish or English. The list was created in english locale. Apples example TableViewSuite uses UILocalizedIndexedCollation and does not work either.

TableViewSuite example 3

TableViewSuite example 3 running with swedish locale, no A-Ö

I trashed the use of UILocalizedIndexedCollation and created the list manually, without localization support it only supports A-Ö sorting now. Should I classify this as a bug and report it to Apple?

Screenshot 2009.09.25 22.40.18

This is what I wanted from UILocalizedIndexedCollation

Does it support any other locales, Japanese, German, French, Chinese etc? Not Swedish as I thought.

Excerpt from documentation of UILocalizedIndexedCollation.

The UILocalizedIndexedCollation class is a convenience for organizing, sorting, and localizing the data for a table view that has a section index. The table view’s data source then uses the collation object to provide the table view with input for section titles and section index titles.

Table views with section indexes are ideal for displaying and facilitating the access of data composed of many items organized by a sequential ordering scheme such as the alphabet. Users tap an index title to jump to the corresponding section. The initial table view of the Phone/Contacts application on the iPhone is an example. Note that the section titles can be different than the titles of the index.