Archive for the ‘coding’ Category

Custom Modules in YUI 3

YUI 3 uses modules to group functionality and to only load what is used. This post describes how to create custom modules. The typical way modules are used is within the use() statement: In the above example the modules node and event are loaded. Let’s see how custom modules may be included in the same [...]

Instance and class based plugins in YUI 3

Using plugins in YUI 3 is a way to add functionality to existing objects in YUI (very much like you would use prototype to augment a function to a normal JavaScript object). Objects in YUI all derive from Y.Base. Note that this post is about YUI 3 and not YUI 2. However, the current YUI [...]

Progressive enhancements with JavaScript and CSS

It is clear that IE6 is not going away just yet, at least not for mainstream websites targeting a large (and non-tech) audience. Quite some time and effort is put into making design and functionality work in IE6 which otherwise works perfectly well in more modern browsers. This is inefficient, but just because IE6 support [...]

iPhone Developer Meetup Stockholm

Just organized the first meetup of Sweden iPhone Developer User Group in Stockholm. Presentations available here and a report from the evening at iphone24.se (in Swedish).

Xcode won’t build for iPhone 3.0.1

After updating to iPhone 3.0.1 (the SMS security fix) Xcode refuses to build and deploy to the iPhone, claiming it doesn’t support that version. However, 3.0 (and not 3.0.1) is currently the latest supported version. To fix this, execute the following (everything in one line) in a terminal to create a softlink for 3.0.1 to [...]