Odynia.org blog
  • Home
  • Apple / Mac / iOS
    • iOS
    • iTransit
  • General
    • Dukan Diet
  • Web Development
    • Microsoft CRM
    • Xnyo
    • PHP
  • Unix / BSD
    • Server Build

Posts in category Apple / Mac / iOS

No Mac App Store?

Apr26th
2010
avatar Written by Rob

So people started to panic around rumours of a Mac App Store, and a locked down Mac OS X that would only install apps from the Apple-controlled store, saying it would be devastating for Mac developers.

Seems they emailed Steve Jobs who responded with a typically terse “Nope.”

I think that would be a disappointing result and as a Mac OS/iPhone OS developer I would seriously welcome the creation of a Mac App Store as an additional distribution channel. I don’t believe it would be feasible to lock down 10.7 to an app store without alienating all of their existing developers who make the platform what it is today, and indeed I would be in line to fight against it.

Apple gets the iPhone App Store just right though; its a simple distribution channel that gets 70% of revenue direct to the developer. While some other sales channels give you a bigger cut, you do get less exposure and let’s face it, exposure equals sales. The number of websites that have grown up around the App Store purely to track it show the interest in its products.

As an iPhone developer transitioning to Mac OS development a Mac App Store would also be a familiar way to distribute upcoming projects.

Given the email to Steve Jobs wasn’t specific enough to rule out the creation of a Mac App Store, I hope its something that Apple is still considering.

-bok

app store, Mac OS

iPad First Impressions

Apr21st
2010
avatar Written by Rob

So my iPad arrived today.

First of all, a huge thank you to decryption for getting me my iPad. You rock!

Secondly, yes I am typing this on said iPad, and yes the keyboard is nice but probably suited to long sessions of typing as previously reported.

So my thoughts? It’s definitely just a big iPod touch, which is absolutely fantastic!

The hardware itself is not revolutionary, and it doesn’t need to be. What it is though is the first device with a large sized multi-touch screen, the same sort of devices that have been depicted in science fiction novels, films and TV shows for many decades.

The possibilities are staggering, particularly for data display and manipulation. I can see so many places in business across many industries where an iPad with an industry-specific app could seriously revolutionise that industry. Imagine public transport where customer service staff have an iPad with an unimaginable amount of information both about the service they’re providing as well as points of interest and other relevant information all at their fingertips, instantly. (Note: the ideas above do not reflect those of my employer, they’re just my own thoughts)

I’ve played with as many free apps as I can get my hands on and I can see what some developers were aiming for; some hit their mark and delivered an awesome user experience, some did not. Thats likely not their fault – trying to design a user experience without the device you’re designing for is not an easy task, so hopefully updates for these apps will be forthcoming.

The 3rd party apps are where the beauty of this device lies. The supplied Apple apps do their job beautifully, but none are really revolutionary. It’s the same tasks we’ve always had on a new shiny toy. So I feel it will be the new apps that are just now in various stages of conceptualisation or development that will really make this device a must-have.

With two exceptions.

Safari

Safari on the iPad is an amazing experience. All the features that you love on the iPhone with double-tap to zoom in particular on a screen that is much better suited to the internets. The only thing missing is the ability to search within a page.

Maps

This is how you were meant to browse Google Maps. Its a totally immersive experience and I’ve already wasted a few hours rediscovering Google Maps.

When you go to purchase your iPad though you will more than likely want the 3G version, this device is designed to consume and there is nothing bigger than the internet to consume. Unless you only own an iPod touch and actually use it for more than just listening to music, in which case you might just survive.

I think I’ve written enough on this keyboard for now, I have several plans in my head for iPad apps, so I’ll blog a bit on design and development of those.

-bok

tramTRACKER in AFR

Dec8th
2009
avatar Written by Rob

Looks like a review of the tramTRACKER iPhone app was posted in the AFR today in amongst a review of a bunch of other iPhone apps.

"In metropolitan Melbourne the king of the localised apps is TramTracker, a way of hooking an iPhone into the real time transport information the system has been able to generate for years.

Recently ousted tram operator Yarra Trams must be cursing the timing of its failed contract renewal bid. If TramTracker for iPhone had run a couple of years before Judgement Day, they might have held onto the contract. The beauty of
TramTracker is not during the peak, when transport is regular – if unpleasantly overfull. It’s that more people will be prepared to travel at off-peak times. When you can reliably arrive at a stop a couple of minutes before a tram instead of risking a cold and wet or warm and windy 20-minute wait going in and coming home, a tram seems a fine way of getting to the CBD late on a Saturday afternoon.

It feels rather luxurious to sip a sparkler in the bar after the show at the Victorian Arts Centre until the iPhone announces that one’s personal transport is about to arrive, and step on the carriage a minute or two later."

Underlined UILabel

Oct14th
2009
avatar Written by Rob

Whoa, it’s been a while since posting!

Anyway, for a particular iPhone project I’ve been working on I’ve come across a requirement to be able to draw an underline underneath text on a UILabel. Google pointed me to a couple of tips, but lacked a complete solution.

Posted below is what I ended up with.

UnderLineLabel.h

Objective-C
1
2
3
4
5
6
7
8
9
10
11
12
13
#import <UIKit/UIKit.h>
/**
 * UnderLineLabel class
**/
@interface UnderLineLabel : UILabel {
    BOOL underline;
}
// call setUnderline to YES/NO to show/hide the underline, this doesn't force a redraw
@property (nonatomic,getter=isUnderlined) BOOL underline;
@end

UnderLineLabel.m

Objective-C
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#import "UnderLineLabel.h"
@implementation UnderLineLabel
@synthesize underline;
- (void)drawTextInRect:(CGRect)rect
{
    [super drawTextInRect:rect];
    if ([self isUnderlined])
    {
        // Get the size of the label
        CGSize dynamicSize = [self.text sizeWithFont:self.font constrainedToSize:CGSizeMake(99999, 99999) lineBreakMode:self.lineBreakMode];
        // Get the current graphics context
        CGContextRef context = UIGraphicsGetCurrentContext();
        // Make it a while line 1.0 pixels wide
        CGContextSetStrokeColorWithColor(context, [self.textColor CGColor]);
        CGContextSetLineWidth(context, 1.5);
        // find the origin point
        CGPoint origin = CGPointMake(0, 0);
        // horizontal alignment depends on the alignment of the text
        if (self.textAlignment == UITextAlignmentCenter)
            origin.x = (self.frame.size.width / 2) - (dynamicSize.width / 2);
        else if (self.textAlignment == UITextAlignmentRight)
            origin.x = self.frame.size.width - dynamicSize.width;
        // vertical alignment is always middle/centre plus half the height of the text
        origin.y = (self.frame.size.height / 2) + (dynamicSize.height / 2);
        // Draw the line
        CGContextMoveToPoint(context, origin.x, origin.y);
        CGContextAddLineToPoint(context, origin.x + dynamicSize.width, origin.y);
        CGContextStrokePath(context);
    }
}
- (void)dealloc {
    [super dealloc];
}
@end

All done!

-bok

iTransit Blog

Jan28th
2009
avatar Written by Rob

Hi all!

I’ve decided to separate the iTransit blog from what is essentially my personal blog.

You can find the new iTransit blog over at http://www.itransit.com.au/blog/

Thanks for reading!

-bok

iTransit
← Older Entries Newer Entries →
Avatars by Sterling Adventures

EvoLve theme by Theme4Press  •  Powered by WordPress Odynia.org blog
I write about things.