[12-08-2011]
Inspecting NSString value in XCode 4
In case you deal with long strings, you can examine their content within debugger using “Print Description”. And you should see results in the “All Output” – console.
In case you deal with long strings, you can examine their content within debugger using “Print Description”. And you should see results in the “All Output” – console.
Well, the case is that setting Homepage to “about:blank” is not enough. You have to change global applications’ preferences. Go to System Preferences, General and uncheck the box with description “Restore windows when quitting and re-opening apps”. BTW, I think I know why this feature is enabled. Safari 5 crashes so often, that after crash, […]
When you try to add your application to App Store make sure that your app in ICNS format. You can create this kind of file using following application 1. Open Photoshop Elements or anything else you use for editing 2. Copy image into Clipboard 3. Start Icon Composer 4. Paste Clipboard into Image Composer 5. […]
Well, there are things you definitely don’t want to do when you set up replication (even for the tests) :) One of these things is to set up replication log’s directory to be a “/tmp”. In that case you may encounter that “/tmp” had been scheduled for periodical cleaning after you found your logs missing […]
Summary: Ruby reference – sometimes hard to follow I think Book of Ruby was aimed as elementary for the Ruby language however, Huw didn’t achieved his goal at 100%. If you take a look at table of contents you can see that most of the basics of the language are covered. And this is certainly […]
Today, well … this week, actually, I have something to giveaway. Thanks to Apress, I have one, paperback, 612 pages long, thrilling book to giveaway. I am talking here about Beginning Android 3. In order to get a chance to get it you have to perform two steps: 1. Follow me at Twitter: http://twitter.com/#!/mkowsiak 2. […]
Well, you could write lots of things regarding Safari Books Online. If you subscribe it, you will have an access to enourmous number off books covering IT related topics. You can say, that access to materials is extremely easy, that you can bookmark your favorit books, add notes and find related contents basing on your […]
It’s fairly easy to hide application’s icon within Xcode 4. Open application’s file Info.plist (it will have by default following name $PROJECT_NAME-Info.plist). Insert new key/value: NSUIElement (String): 1
Summary: Android 3 basics explained Recently, I am involved into the project where Android is one of the technologies we use. This is quite fresh experience for me, since I am server side (Java) and iOS developer. I wanted to see how is it to be at the Android’s side, thus I decided to read […]
I can see loots of people complaining regarding missing Spaces within Mac OS X Lion. They also complain regarding Mission Control and it’s missing features. One of them is executing an application at particular Desktop. In fact this is not quite true that this feature is not available. You can put given app to a […]
Recently, I have found that MySQL doesn’t take foreign keys into account unless you use InnoDB A foreign key constraint is not required merely to join two tables. For storage engines other than InnoDB, it is possible when defining a column to use a REFERENCES tbl_name(col_name) clause, which has no actual effect, and serves only […]
<html> <body> <center> <table width=”95%” height=”95%” border=”0″> <tr> <td align=”center” valign=”middle”><img src=”image.png”/></td> </tr> </table> </center> </body> </html>
Summary:Alternative for Objective-C in iPhone development If you are working with CSS, HTML and JavaScript rather than with C++/C or Java it is worth considering to write applications using JavaScript instead of Objective-C. iPhone JavaScript can help you in here. This book provides you with a simple examples showing how to achieve various tasks like […]
Another publisher is willing to provide me with books in order to get them reviewed. Soon, you will read my review of “Beginning Android 3” by Mark Murphy; published by Apress.
Summary:Speed up? Yes, you can! Velocity Conference 2011 is all about “web speed”. Speed in various contexts. How fast your page is loading, how to measure it, which tools to use in order to measure traffic, how to deal with statistics in context of log file analysis, how to apply tricks that will increase the […]
If you plan to use GlassFish for remote debugging there are few things worth the consideration. 1. Use the same GlassFish version at both machines (server/local) 2. Use the same Java version at both installations 3. At local machine, use dry mode during installation (-n install_log_file) 4. At server, use kick start file and perform […]
If you upgrade your system to Lion, you will find that Java is missing. You will notice this after you try to start anything that requires java. Trick is, that you won’t get the message from Java application. It simply won’t start. In order to install Java, simply start Terminal and type in: java
Very simple single liner for adding all new files into SVN – from current directory and it’s subdirectories: svn add `svn status | grep “^?” | awk ‘{print $2}’ | sed ‘s/ /\\ /g’` Remove all “!” files from repo svn st | grep ‘^!’ | awk ‘{print $2}’ | sed ‘s/ /\\ /g’ | […]
It probably means that you have modified your CoreData model. New column maybe? In that case, you have to remove the application from simulator and deploy it once again in order to get it running.
If you ever wonder how to merge two PDFs into one there is a very simple solution. Select PDF files you want to merge and open them with Preview. Open Side Bar (Shift-Command-D). Rearrange pages by dragging them in correct place. After you are done choose: File -> Print Selected Pages… PDF -> Save as […]