iOS – Sort NSDictionary/NSMutableDictionary keys
It passed a long time since my last post. I was very busy on some iOS projects.
I now will try to take time to post more frequently.
I come back with a small smart tip about sorting NSDictionary on keys. I had to do it with categories title as keys.
The important thing to get in mind is that you cannot sort a NSDictionary but only a NSArray from the dictionary.
You can sort you dictionary by multiple selector, as : caseInsensitiveCompare, localizedCaseInsensitiveCompare, etc. Take a look in the doc.
Exemple :
-
for (id k in keys) {
-
[outputDico setObject:[myDico objectForKey:k] forKey:k];
-
}
Take a look in the Apple documentation for more details.
iOS6 – UserLocation in MapKit Tip
Hi, here's a small tip very userfull. I've past so much time to solve this issue by code, but the solutions was so easy.
I was working on an application update from iOS 5.0 to iOS 6.0 and the issue was that the user location was no more displayed on the map. I was activating the user location with this code :
-
- (void)viewDidLoad {
-
...
-
_map.showsUserLocation = YES;
-
...
-
}
But with this, nothing shows...
The clue is to activate the user location in interface builder, just check the appropriate box :
Hope this helps.
See ya.
TYPO3 – Page QRCode 0.2.0 available
Hi, I've released this weekend Page QRCode 0.2.0 for TYPO3.
Changelog :
- Working plugin flexform
- Translations working
TYPO3 – DAN NoFollow 1.3.2 bugfix update
Hi, in the update 1.3.1 of DAN NoFollow, a bug was introduced.
This update fix this bug, so you're invited to update as soon as possible.
DAN NoFollow 1.3.0 available on TER
Hi, I've updated DAN NoFollow.
Now it adds 'rel="nofollow"' to your external links in the menus.

