91 points · by sephine · 13y ago · 45 comments
---
@synthesize position = _position;
@synthesize lightManager = _lightManager;
@synthesize row = _row;
@synthesize column = _column;
@synthesize isPartOfRoute = _isPartOfRoute;
@synthesize topConnector = _topConnector;
@synthesize rightConnector = _rightConnector;
@synthesize lightState = _lightState;
@synthesize lightValue = _lightValue;
@synthesize gameLayer = _gameLayer;
@synthesize innerCircleSprite = _innerCircleSprite;
@synthesize outerCircleSprite = _outerCircleSprite;
@synthesize routedSprite = _routedSprite;
@synthesize valueSprite = _valueSprite;
@synthesize activeTimeRemaining = _activeTimeRemaining;
@synthesize cooldownTimeRemaining = _cooldownTimeRemaining;
@synthesize chargeTimeRemaining = _chargeTimeRemaining;
You only need to synthesize when you access the variable directly.
I always access via properties unless I'm within a setter for that property or if I want to bypass my own lazy loading getter code. So I'm left with only a few occasional @synthesize statements in most classes.
And in Xcode, run Edit > Refactor > Convert to Modern Objective-C Syntax. I don't think it helps remove unnecessary @synthesize, but it sure helps with those super-double-extra-verbose-old-style container subscripting accesses.
> You only need to synthesize when you access the variable
> directly.
You don't. @property will take care about creating ivars. So with @property (strong, nonatomic) NSString *foo you get _foo and accessors.The only place I need @synthesize is in NSManagedObject subclasses.
Most people on HN would be able to checkout and build the app, so why not just use iAd and offer an in-app purchase to remove ads (1$) for the version in store? That way you could collect some revenue and subsidize the cost of the developer license.
(edit) I don't mind ads per se, but I find it exceptionally irksome when others decide, for me, that I should be made aware of this product and that service. Thanks, but no.
Have you considered taking it further and monetizing your hard work?
You deserve to be rewarded for the entertainment you're providing.
I often have the same thought when designing apps: "Is this worth paying even 99¢ for?" I then try to improve the app design to the point where it is worth paying for, if I would end up spending a lot of time developing it that is.
But if Apple is hosting an app on their CDN and listing it in their DB they'd be losing money on the amount of work involved for handling all the free apps.
After that, $99 is not a big sacrifice and you quickly recuperate your money even if you sell your app for 99¢.
I am both an iOS and Mac developer ($99 x 2 per year) and I'm in the black and then some with a couple of apps sold between 99¢ and $2.99.
One of the best features of the app store is that from the consumers perspective its smooth, reliable and just works. Having lots of "cheap" app developers trying to save $100 / yr by hosting their app bin's themselves could results in an unreliable market place that ultimately drives people away from it.
Do you have any recommendations for useful resources (books, websites, etc.) for somebody just starting off?
And a nice game!
But why release exclusively on a platform controlled by an evil monopolist, considering you are apparently not seeking to shear the easily-parting-with-their-cash sheep that use it?
-------------
Nice game! <no mention of gender, it's irrelevant when all you do is think and type>
Do you plan on only releasing for iOS? I use <different platform> and would love to try your game.
I'm not a fan of Apple and can't see myself buying an iPhone anytime soon so I fear I'll be left out of the fun.
In any case thanks for sharing!
-------------
Also, girls are lovely, sweet and cuddly, with rainbows, unicorns, pink ponies and lots of other delicious stuff like that.
And they are rare as developers, so it's awesome there's some.
The tide is coming in though.
Also monopoly of iOS devices, monopoly of OSes for iPhone/iPad and control of a large proportion of smartphone market share with their closed locked-in platform.
Apple created this ecosystem and if we don't like it we can develop for any of the Android flavors and even Windows Phone.
The costs of the iOS and Mac developer programs are to keep Apple from losing money while they do all the heavy lifting for us developers.
Thanks to Apple I don't have to process credit card transactions, set up an app download system, handle refunds nor calculate the taxes to pay to the government.
For 30% of the revenue I'd consider that fair. I make so much more from sales that $99 + 30% is nothing if it lets me concentrate on what I love: developing apps!
I also used to develop J2ME games for a Japanese content aggregator back in 2005 and they took 69% of my earnings for providing the same services Apple does. I'm not being "robbed".
I'm curious, what's with the sense of entitlement? Do you really expect companies to offer these services for free? If not, what would be your idea of a fair price?