Finding Next Available Name in Objective-C
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″.
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″.
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.