Posts from January 2012

Jan
11
2012

Finding Next Available Name in Objective-C



Posted in iOS

Useful method for finding the next available unique name in a batch of strings.

Eg: give it A list of { “Name”, “Name 1″, “Name 2″ } and it will return “Name 3″.

Read more »

Jan
3
2012

Internal Subnav with BlogEngine.NET



Posted in ASP.NET

One of the great ASP.NET web apps I’ve started using is BlogEngine.NET, a fairly simple yet powerful CMS. While it handles basic CMS type functionality without problems, there are something which it doesn’t make particularly easy, such as displaying navigation trees.

This can be largely overcome by extending some of the controls which BlogEngine ships with, such as the post list. I changed this to display a list of sub pages for the current page. Once you set a page’s parent page, the subnav is rendered on the masterpage.

Read more »