“FYI, I am very newbie in iPhone development.” I had upgraded Xcode to 4.2 beta 4 and realised that there is no more templates for iOS 4. Obviously, it did not include iOS 4 SDK because it said “with iOS 5 SDK”, duh! I could not go back to Xcode beta 3 since I upgraded…
Month: July 2011
unserialize() [function.unserialize]: Error at offset 00000 of 0000 bytes
If serialize string contains ‘&’, then the error occurs when unserialize the string. unserialize() [function.unserialize]: Error at offset 00000 of 0000 bytes Simply change ‘&’ to ‘&’, by replacing it. $string = str_replace(‘&’, ‘&’, $string); $test_array = unserialize($string);
CSS Custom Fonts for all browsers
Use Font Squirrel to create compatible fontface: http://www.fontsquirrel.com/fontface/generator Confirmed working in IE, Chrome, Firefox 1. Upload font file and get zip file 2. Copy CSS code to your code 3. Done Not compatible for IE: From Symphony of dot net: http://symphony-of-dot-net.blogspot.com/2010/03/making-css-custom-font-works-with-ie.html @font-face { font-family: my_font; src: url(‘my_font.eot’); src: local(my_font), url(‘my_font.ttf’) format(‘opentype’); } p…