bernard-web.com
Pierre Bernard - Blog
http://bernard-web.com/pierre/blog
My little hideout on the net. The Unofficial Apple Weblog. Key-Value Observing Done Right. Again. May 21, 2010 04:36 PM Cocoa. I love using KVO for all sorts of things: side-effect, flagging UI as dirty, resetting caches, …. Writing the observeValueForKeyPath:ofObject:change:context: method has long since become tedious. So I created a TextExpander. Snippet to write it for me. Mike Ash wrote a interesting blog post. Andy Matuschak has proposed a very convenient API. Inspired by Mike's and Andy's writings...
mac-objective-c.blogspot.com
Cocoa Tidbits: March 2009
http://mac-objective-c.blogspot.com/2009_03_01_archive.html
Sunday, 29 March 2009. In an attempt to create a video game, I came across the problem of creating a maze (see figure). Like in most games you need to go from point A to point B via a number of corridors. Now my problem was to find a good algorithm to create mazes, and after some research on the Internet I found several of them (see wikipedia. For an explanantion) . My first attempt was to use the simpelst algorithm , being the Depth-first search. The algorithm goes as follows :. Cell x: x ] ;. MazeCell ...
mac-objective-c.blogspot.com
Cocoa Tidbits: October 2013
http://mac-objective-c.blogspot.com/2013_10_01_archive.html
Tuesday, 15 October 2013. Mobile Ads do not work (for app developers). In my humble opinion mobile ads just doesn' work for App developers as a mean to generate revenue from their apps. You have an average CTR of 0.21% , but you only get one cent or two cent per click. Meaning that you need millions of viewers per month to get a decent revenue. In my own experience I had an app with AdMob ads, and indeed I got a daily CTR of 0.17/0.2/0.22; much in line with the average CTR found. View my complete profile.
mac-objective-c.blogspot.com
Cocoa Tidbits: June 2012
http://mac-objective-c.blogspot.com/2012_06_01_archive.html
Saturday, 16 June 2012. It has been ages. Since I published something. But now I'm back, I was too busy with setting up my own business, start developing for iOS 5 and iPad, etc. So it was a very hectic 1 year and a half. I have now 8 apps on the appstore (and 1 under review) and my experiences are mixed , the free ones are very well downloaded , the payed however. Anyway for those who want to know what my apps are here we go :. Same as above is a port from the iPhone version for iOS 5 and higher. Hardco...
mac-objective-c.blogspot.com
Cocoa Tidbits: April 2009
http://mac-objective-c.blogspot.com/2009_04_01_archive.html
Wednesday, 22 April 2009. NSDateFormatter in OSX 10.4.11. Today I found some strange behaviour in the NSDateFormatter :. If I execute the following code :. NSDateFormatter *timeFormatter = [ [NSDateFormatter alloc] init] autorelease];. NSDate *stringTime = [NSDate date];. NSString *formattedDateStringTime = [timeFormatter stringFromDate:stringTime];. TheTime setStringValue: formattedDateStringTime] ;. Then , instead of displaying the time, it shows me the date. If I add the following line on top :. I cop...
ikhoyo.blogspot.com
ikhoyo: Dynamic Tabs for the iPad
http://ikhoyo.blogspot.com/2011/05/dynamic-tabs-for-ipad.html
App development for the iPhone and iPad. Saturday, May 28, 2011. Dynamic Tabs for the iPad. Each of the detail views will be contained in a UINavigationController. Using some IB tricks, we can put each detail view in it's own xib. As you know if you've read any of my previous posts, I'm a big fan of Interface Builder, and I think you should leverage it wherever possible. In this case we'll be using it wire almost the entire UI, with very little external code needed. Directory and open the ikhoyo-public.
ikhoyo.blogspot.com
ikhoyo: July 2011
http://ikhoyo.blogspot.com/2011_07_01_archive.html
App development for the iPhone and iPad. Friday, July 1, 2011. Networking Library for iPhone and iPad. I've added a very useful and complete networking library to my open source GitHub repo. After you clone the repo. Open the ikhoyo-public workspace in the workspaces. Directory, and then look in the ikhoyo-net project. There is also some example code in the ikhoyo-top project. The sample retrieves some data from Socrata. The example gets some Socrata data and builds a database table using SQLite. Chupamo...
SOCIAL ENGAGEMENT