Showing posts with label Dashboard-dev. Show all posts
Showing posts with label Dashboard-dev. Show all posts

Tuesday, May 6, 2008

Dashcode 2.0 beta (136)

The iPhone SDK includes new versions of Dashcode and Xcode!

Please have in mind that Dashcode upgrades the existing projects making them incompatible with previous versions.

Thursday, April 24, 2008

Widgets and the defaults command

You can use the defaults command (from Terminal.app) to learn more about the options of a Widget.

Example: defaults read widget-com.apple.widget.translation
gives:
{
    "41a9b19e2d5c5543-fromLanguage" = 3;
    "41a9b19e2d5c5543-toLanguage" = 5;
    fromLanguage = 3;
    toLanguage = 5;
}

Found it in Dashboard-dev mailing list.

Monday, April 7, 2008

Do not use a directory called "resources" inside a Widget

If you have a folder called "resources" inside your Widget, this will create troubles with the Widget's concept of "Resources". Do not use that name.


(from the dashboard-dev mailing list)

Tuesday, March 18, 2008

Use @loader_path instead of @executable_path

If the Widget plugin is not at @executable_path, it will not be able to find a framework via @executable_path/../Frameworks/... So how can you load a framework in a Widget plugin.

The solution is to use @loader_path instead of @executable_path.

(from the dashboard-dev mailing list)