Category Archives: Links
iAd Producer Updated to 2.1.1 & WWDC Session Video Available
Apple have updated iAd Producer to 2.1.1. Looks like mainly bug fixes and some UI tweaks.
This update contains various improvements, including fixes that:
• Correct handling of assets with normal and high-resolution versions.
• Address issues with animation preview on canvas.
If you’re a registered Apple iOS developer you can get it from the Developer Portal.
You can also view the iAd Producer WWDC video, session 605 available on iTunes.
iOS SHA512 Hex String
Here’s an Objective C method that’ll return a SHA512 hex of a given string:
-(NSString*) sha512:(NSString*)input {
const char *cstr = [input cStringUsingEncoding:NSUTF8StringEncoding];
NSData *data = [NSData dataWithBytes:cstr length:input.length];
uint8_t digest[CC_SHA512_DIGEST_LENGTH];
CC_SHA512(data.bytes, data.length, digest);
NSMutableString* output = [NSMutableString stringWithCapacity:CC_SHA512_DIGEST_LENGTH * 2];
for(int i = 0; i < CC_SHA512_DIGEST_LENGTH; i++)
[output appendFormat:@"%02x", digest[i]];
return output;
}
You'll need to include:
#include
£ PHP Issue
If you’re outputting strings with certain characters in PHP you may find they’re showing as  to fix this make sure you’re setting the character encoding right by using the htmlentities function:
htmlentities("£123.45",ENT_QUOTES,"UTF-8")
This encodes the correct html entities for the values using UTF-8 encoding.
App Store Keyword Searching Optimisation Tips
From the iTunes Connect FAQ: [Developer login required]
“Your app is searchable by your app name, your keywords and your company name.”
This means you don’t have to waste valuable keywords by including your app or company name in the 100 byte keyword limit.
To gain a few more characters you can also remove the spaces in-between keywords and separate them with commas: just,like,this.
However; don’t be a dick. It’s tempting to fill your app name up with many keywords, this makes your app look cheap – don’t do it!