Login | Signup | Donate

Posted
27 Aug 2006 @ 22:22

Categories
Tutorial, Cocoa

Comments
No Comments

Rich Text File (RTF) Into NSTextView, Cocoa & Obj-C

I was searching for an example of how to do this for ages and came up with nothing. All the pros out there will probably say it is easy and give shorter ways of doing this but for noobs and people not in the know I wrote this little snippet. This is especially useful for creating easy to maintain change logs or for adding simple read-me and help files to your application.

First of all you will need to create a NIB file with some sort of controller class in it. In the controller class create an outlet of type ’NSTe…

[Read More →]

Posted
25 Aug 2006 @ 12:20

Categories

Comments
No Comments

It’s Finally Out The Door

At last iSyncIt 0.8 has been released. The main issue fixed with this version are the crashes that occurred, especially when syncing more than once, if you find any more problems don’t hesitate to contact me. I have also created new icons for the software, a more dock friendly (if you choose to put it on your dock) and more ‘Mac’ main icon and a more individual menu bar icon, unfortunately it is still not animated but i’m working on it. So download and …

[Read More →]

Posted
23 Aug 2006 @ 21:53

Categories

Comments
No Comments

It’s All Gone Web 2.0 [Updated]

Along with solving the iSyncIt problems I have decided to give the website a makeover (not that it’s really out of date). The makeover is not a serious attempt at making the website look more professional, more of an attempt to make it as ridiculously Web 2.0 like as possible. The main aim is to give the software pages a better appearance and allow images to feature more heavily in the website.

P.S. For legalities sake and the fact I don’t really know what’s going on with the Web 2.0 name, as far as I know O’Reill…

[Read More →]

Posted
20 Aug 2006 @ 21:40

Categories

Comments
No Comments

iSyncIt Crashes

I have now got to the bottom (I think) of the iSyncIt crashes that seem to affect a few versions of the software. I am currently in the process of fixing the bugs and a new release should be out within the next few weeks. Development is a little bit slower than normal at the moment because my brain is still in holiday mode and I am making plans for university.

[Read More →]

Posted
19 Aug 2006 @ 22:15

Categories
Ruby on Rails, Tutorial

Comments
No Comments

Textilize Alternative

The textilize methods in Rails has never really been what I wanted. When it wasn’t adding paragraphs it was messing with my line brakes but it made such a good job of making HTML and XHTML that validates. In order to make it work better I re-wrote the method to be more suitable.

Put the following in the ‘application_helper.rhtml’ file and call it using ‘custom_text("String")’.

def custom_text(text)
    if text.blank?
        ""
    else
        text = RedCloth.new(text).to_html
        if text[0..2] ...
		[Read More →]
	
View Archive