The GShortcut extension for Safari enables you to have a browser bar containing all the shortcuts to Google’s service. The browser bar is fully customizable, you can re-arrange the icons, discard icons, group them together with space in between them and more…

Find out more about this plugin (intallation / usage details) over here.
Apple has introduced a new macro which enables you to detect if you are running on a iPhone or on a iPad. The USER_INTERFACE_IDIOM() macro will return either UIUserInterfaceIdiomPhone or UIUserInterfaceIdiomPad corresponding to the device that it is running on.
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
// Running on a iPad
} else if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) {
// Running on a iPhone
}
The check can be used in the following way, since it is used at runtime you can use this check for example to generate a different UI for both the iPad / iPhone.
Registered developers can now download Xcode 4 developer preview 2. Xcode 4 introduces some major improvements since version 3, the various application like Interface Builder are now integrated into Xcode itself making it easier to work with it. One of the biggest advantages is that the multi-window setup has now changed to single-window setup. So when you have multiple Nib files open you won’t have a large amount of small windows anymore.

Another big advantage to the integration of Interface Builder with Xcode is that there is now more interaction between your code and the user interface designer. For example, it can now generate the outlets and actions for you. Just drag the component to your source file and it will make suggestions.

Another nice feature that was already present in other popular development environments is the ability to suggest solutions to simple programming errors called Fix-It. It will… Read more >
Recent Comments