Wednesday, January 11, 2012
Removing Xcode 3 shared build settings from Xcode 4
Monday, January 02, 2012
SOAP web services with iOS
Fresh on the codecentric blog is my new post about using SOAP web services from an iOS client application.
It features a short comparison of the current state of frameworks and tools with the Java world, and then focusses on the sudzc open source library that takes a very interesting approach in generating web service client artifacts by transforming the service's WSDL into Objective-C classes using XSL transformations.
The post is available in German as well.
Fresh on the codecentric blog is my new post about using SOAP web services from an iOS client application.
It features a short comparison of the current state of frameworks and tools with the Java world, and then focusses on the sudzc open source library that takes a very interesting approach in generating web service client artifacts by transforming the service's WSDL into Objective-C classes using XSL transformations.
The post is available in German as well.
Monday, October 17, 2011
Why good metrics do not equal good quality
A short while ago I posted an article on the codecentric blog about why good metrics can be, but need not be equal to good software quality. As I wrote earlier, I will add links to this blog whenever I post something of interest to the company site.
The post is available in both English and German at http://blog.codecentric.de/en/2011/10/why-good-metrics-values-do-not-equal-good-quality.
A short while ago I posted an article on the codecentric blog about why good metrics can be, but need not be equal to good software quality. As I wrote earlier, I will add links to this blog whenever I post something of interest to the company site.
The post is available in both English and German at http://blog.codecentric.de/en/2011/10/why-good-metrics-values-do-not-equal-good-quality.
Tuesday, August 02, 2011
List all open Safari tabs across windows
With the advent of persistent application state across reboots or application restarts as well as fullscreen apps in Mac OS X Lion that situation has gotten even worse.
The "Window" menu in Safari does not help too much, because it only shows the tabs of the currently focussed window. Today, while wondering why a website was not displaying correctly, I accidentally found a remarkably simple (and built-in!) way of showing all open tabs across all open Safari windows.
Just hit Cmd-Alt-A or pick "Activity" from the Window menu in any Safari window to open or focus the Activity overlay window.
It is usually used to determine what servers different parts of any given website are loaded from. However, even if you are not interested in that, this little popup contains a list of all currently open tabs, regardless of the window they are in.
Double clicking any entry in there will take you to the correct window and focus the desired tab. Nice and easy, not even an extension needs to be installed :) The only drawback I see is that you cannot sort that list, clicking the "Address" column header has no effect.
A final tip: When you open the window, it might have one or more of the entries expanded, making the list overly long. Even though there is no collapse-all feature I could find, you can rather quickly do so manually by selecting the top entry in the list and then repeatedly hit the left and down arrow keys. Left arrow will close the currently selected item, down arrow move to the next entry. Even with lots of tabs listed, within a few seconds you should make your way all the way down, leaving a nice clean list of tabs.
With the advent of persistent application state across reboots or application restarts as well as fullscreen apps in Mac OS X Lion that situation has gotten even worse.
The "Window" menu in Safari does not help too much, because it only shows the tabs of the currently focussed window. Today, while wondering why a website was not displaying correctly, I accidentally found a remarkably simple (and built-in!) way of showing all open tabs across all open Safari windows.
Just hit Cmd-Alt-A or pick "Activity" from the Window menu in any Safari window to open or focus the Activity overlay window.
It is usually used to determine what servers different parts of any given website are loaded from. However, even if you are not interested in that, this little popup contains a list of all currently open tabs, regardless of the window they are in.
Double clicking any entry in there will take you to the correct window and focus the desired tab. Nice and easy, not even an extension needs to be installed :) The only drawback I see is that you cannot sort that list, clicking the "Address" column header has no effect.
A final tip: When you open the window, it might have one or more of the entries expanded, making the list overly long. Even though there is no collapse-all feature I could find, you can rather quickly do so manually by selecting the top entry in the list and then repeatedly hit the left and down arrow keys. Left arrow will close the currently selected item, down arrow move to the next entry. Even with lots of tabs listed, within a few seconds you should make your way all the way down, leaving a nice clean list of tabs.
Tuesday, July 26, 2011
com.apple.dock.extra.xpc needs to take control
com.apple.dock.extra.xpc needs to take control of another process for debugging to continue. Type the name and password of a user in the "Developer Tools" group to allow this.
No problem, I thought, and entered my credentials. Alas, to no avail. My name and password were rejected, which had me a little panicked at first, because I thought the OS upgrade might somehow have botched my account, potentially locking me out of my Mac later.
Hitting cancel would only get rid of the message for a few seconds, then it would reappear, again and again.
Turns out the solution was quite easy: Go the Mac App Store and download Xcode 4.1. Once the installer has finished downloading, run it to replace the Snow Leopard version of Xcode 4.0 with a Lion compatible one. Once that is done, the message will not appear again.
Please note: Maybe I could somehow have fiddled with my accounts privileges and group memberships, but as I needed Xcode anyhow, installing the correct version seemed the logical thing to do.
And by the way: Should the Xcode 4.1 installer seem to take forever, make sure there not this little popup hidden behind some of the other Windows on screen:
The installer will stall, until you close iTunes and the iTunesHelper (which may be running, even if iTunes is not. Use Activity Monitor to quit iTunesHelper if needed.)
Update: Apple has released an update to the Xcode 4.1 installer (4.1.1), which will fix this (iTunes) problem. As the release notes say, if you have already installed it, there is no need to update, as the included software is the same as before:
com.apple.dock.extra.xpc needs to take control of another process for debugging to continue. Type the name and password of a user in the "Developer Tools" group to allow this.
No problem, I thought, and entered my credentials. Alas, to no avail. My name and password were rejected, which had me a little panicked at first, because I thought the OS upgrade might somehow have botched my account, potentially locking me out of my Mac later.
Hitting cancel would only get rid of the message for a few seconds, then it would reappear, again and again.
Turns out the solution was quite easy: Go the Mac App Store and download Xcode 4.1. Once the installer has finished downloading, run it to replace the Snow Leopard version of Xcode 4.0 with a Lion compatible one. Once that is done, the message will not appear again.
Please note: Maybe I could somehow have fiddled with my accounts privileges and group memberships, but as I needed Xcode anyhow, installing the correct version seemed the logical thing to do.
And by the way: Should the Xcode 4.1 installer seem to take forever, make sure there not this little popup hidden behind some of the other Windows on screen:
The installer will stall, until you close iTunes and the iTunesHelper (which may be running, even if iTunes is not. Use Activity Monitor to quit iTunesHelper if needed.)
Update: Apple has released an update to the Xcode 4.1 installer (4.1.1), which will fix this (iTunes) problem. As the release notes say, if you have already installed it, there is no need to update, as the included software is the same as before:
Thursday, July 21, 2011
Lion Finder Source List Icon Size
[Update]As can be read on Mac OS X Hints here, this setting also applies to the side bar in Mail.[/Update]
Apple has - as was to be expected - slightly modified the appearance of many Mac OS X controls in 10.7 "Lion". Some of those changes have caused protest and debate around the net, but I believe this is just the same as it is with face-lifted car designs, which means in a few weeks everyone will have gotten used to the new style and consider the previous version old-fashioned.
However, there is one particular little issue that I could tell I would not come to like immediately: The icons - and more importantly the font-size - in the Finder's left hand sidebar is way bigger than it was in Snow Leopard. This makes the source list look much more cluttered in my opinion.
At first, I headed for the Finder's View Options context menu, but there's nothing there to change the sidebars appearance. A little more digging then brought me to the General preference panel in System Preferences (previously called Appearance). There you can make the desired change:
The following pictures show the three choices (Small, Medium, Large) with Medium being the default. Set to Small the Finder looks much friendlier again.
Oh, and while you're at it, you might also want to change Show Scroll Bars setting to When scrolling, instead of Always or Automatically based on input device if you like me sometimes use an older mouse.
[Update]As can be read on Mac OS X Hints here, this setting also applies to the side bar in Mail.[/Update]
Apple has - as was to be expected - slightly modified the appearance of many Mac OS X controls in 10.7 "Lion". Some of those changes have caused protest and debate around the net, but I believe this is just the same as it is with face-lifted car designs, which means in a few weeks everyone will have gotten used to the new style and consider the previous version old-fashioned.
However, there is one particular little issue that I could tell I would not come to like immediately: The icons - and more importantly the font-size - in the Finder's left hand sidebar is way bigger than it was in Snow Leopard. This makes the source list look much more cluttered in my opinion.
At first, I headed for the Finder's View Options context menu, but there's nothing there to change the sidebars appearance. A little more digging then brought me to the General preference panel in System Preferences (previously called Appearance). There you can make the desired change:
The following pictures show the three choices (Small, Medium, Large) with Medium being the default. Set to Small the Finder looks much friendlier again.
Oh, and while you're at it, you might also want to change Show Scroll Bars setting to When scrolling, instead of Always or Automatically based on input device if you like me sometimes use an older mouse.
Monday, July 11, 2011
A Short Story on a Waste Of Time
This is about wasting a lot of time, effort and some energy on an unfortunately not so successful transition from smaller to bigger disks. Actors include a few external drives, Time Machine, an iMac with a dying system disk and me, being a little stupid. Fortunately there were no really serious consequences, however if I ever face a similar situation again, I might come here and read up on how to migrate systems and backups more sensibly.
This is about wasting a lot of time, effort and some energy on an unfortunately not so successful transition from smaller to bigger disks. Actors include a few external drives, Time Machine, an iMac with a dying system disk and me, being a little stupid. Fortunately there were no really serious consequences, however if I ever face a similar situation again, I might come here and read up on how to migrate systems and backups more sensibly.




