<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" 
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
	<channel>
<title>Goldchest Avenue</title><link>http://www.kerusan.org/index.html</link><description>The sights from my window</description><dc:language>en</dc:language><dc:creator>kerusan@me.com</dc:creator><dc:rights>Copyright 2011 Kerusan&#x2c; Kjell Nilsson</dc:rights><dc:date>2011-10-16T10:03:22+02:00</dc:date><admin:generatorAgent rdf:resource="http://www.realmacsoftware.com/" />
<admin:errorReportsTo rdf:resource="mailto:kerusan@me.com" /><sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
<lastBuildDate>sön, 16 okt 2011 10:20:40 +0200</lastBuildDate><item><title>Apple &#x3c;3</title><dc:creator>kerusan@me.com</dc:creator><dc:subject>Home</dc:subject><dc:date>2011-10-16T10:03:22+02:00</dc:date><link>http://www.kerusan.org/files/e2e1153ebcc1831884051c11225b40cf-16.html#unique-entry-id-16</link><guid isPermaLink="true">http://www.kerusan.org/files/e2e1153ebcc1831884051c11225b40cf-16.html#unique-entry-id-16</guid><content:encoded><![CDATA[No one in my surrounding had any interest in what I discovered in the magazine I found at the press center in my home town back in 1977. The magazine had the name Byte and it where filled with interesting articles about computers and a new industry growing. Computing at that time was only for big companies who created lots of invoices and did other boring administrative tasks with them. But in Byte there were stories about microprocessors and boxed systems affordable for hobbyists. The first one that catch my interest was an Altair computer with lots of switches on the front with which it could be programed. Each switch represented a bit inside the computers memory, one row for the address and one for the content in that address.<br /><br />At that time I was a dropout that made my living driving a cab one or two nights a week and all the money I earned went to buy food and pay my little apartments rent. So buying a computer was just a dream. Most computers where also to technical to make any one excited, but I remember I spent lots of time planning what I would do with it if I had one. My experience with programming was, at that time, only making calculating programs that figured out my earnings after a night driving around in the cab. My mother had been kind enough to buy me a Texas Instruments TI58 and it had some programming functions that I used.<br /><br />I read every article over and over again,  especially about two guys in a garage selling a computer board that could be connected via a RF-converter to a TV. It still was way out of my budget but my dream started to materialize, some day I would buy one. My interest only grow stronger so I decided to pick up some studies again and go to a local high school to learn some more. Since I started study again my mother, who probably had lost her faith in me for some years, told me that she wanted to support my studies if I needed anything. She probably meant money for food ond cloths but I suddenly saw a fantastic chance getting the founding to buy me one of the boxes that tickled my fantasy. <br /><br />I had to read not only the articles one more time but also the ads. And there was lots of ads in Byte. After some time I felt that the only one that fitted my desire was the two Steve's next product, the Apple ][. It was a flat, nicely looking beige box with a keyboard in the front. It had all the functions I at that time felt I needed and it fitted my mothers budget, well almost. Since I already had a 17 inch color TV, which I had bought five years before, and a cassette player the system was complete. The TV had gathered all my friends at my flat every evening since i bought it, but now it served a new purpose and it fitted perfectly to my computer dreams.<br /><br />Why did this Apple ][ computer fit me so perfect it did not know at that time, it was just a strong feeling. I just thought it was perfect. Years later I realized that it was many things that made my feelings for it so strong, but at that time I just knew it was put together for me with some kind of love. Love for the product and love for the one that should use it.<br /><p style="text-align:center;"><br /><br /><img class="imageStyle" alt="JonathanMaktribute-285x285" src="http://www.kerusan.org/files/jonathanmaktribute-285x285.png" width="285" height="285" /></p>]]></content:encoded></item><item><title>Eagerly awaiting reading</title><dc:creator>kerusan@me.com</dc:creator><dc:subject>Home</dc:subject><dc:date>2011-07-04T07:36:24+02:00</dc:date><link>http://www.kerusan.org/files/440d498840850947eb3a904cd51c34bd-15.html#unique-entry-id-15</link><guid isPermaLink="true">http://www.kerusan.org/files/440d498840850947eb3a904cd51c34bd-15.html#unique-entry-id-15</guid><content:encoded><![CDATA[Always when the end of a month is approaching I find myself eagerly awaiting the moment when<a href="http://oleb.net/blog/2011/07/ios-and-mac-development-link-roundup-june-2011/" rel="external"> Ole Begeman&rsquo;s first blogpost of the month</a> is out. With this post he summarize the month that has passed on Twitter and other peoples blogs regarding programming, iOS, Mac, components, design and even patent issues. He manages to find most of the interesting (for me anyway) topics that has been discussed since last month.<br />]]></content:encoded></item><item><title>Show me if it works</title><dc:creator>kerusan@me.com</dc:creator><category>iOS</category><dc:date>2011-06-25T10:32:16+02:00</dc:date><link>http://www.kerusan.org/files/0c9c13c130a8f649fa703bf66c3c4fca-14.html#unique-entry-id-14</link><guid isPermaLink="true">http://www.kerusan.org/files/0c9c13c130a8f649fa703bf66c3c4fca-14.html#unique-entry-id-14</guid><content:encoded><![CDATA[In my current project I needed to use a SearchBar. The standard UISearchBar in UIKit is working fine but it lacks some user feedback. When a search is performed the user ought to have some kind of feedback. Especially when the search is performed over the internet and the mobile net. So including an UIActivityView in the search bar was a natural extension. <br /><br />Fortunately someone on &lsquo;<a href="http://stackoverflow.com/questions/1209842/replace-bookmarkbutton-with-activityindicator-in-uisearchbar" rel="external">StackOverflow</a>&rsquo; had asked for this before. The answer on the question pointed out how to get hold of the UITextField inside the UISearchBar, because there isn&rsquo;t any property for it. <br /><br />The only problem I had with this  was a UX one: Should the UIActivityIndicator sit on the left or the right side in the textfield? On the left there is an icon showing a magnifying glass and on the right is the clear button and if needed the bookmark button. So which of these icons is to be gone hidden during the actual search. Since the left one wasn&rsquo;t a button I choose that side, but if the Magnifying glass is a search option popup maybe it would maybe be better having it on the other side. Please let me know what you think.<br /><br />I have put the simple subclass of UISearchBar on <a href="https://github.com/kerusan/SearchTest" rel="external">GitHub here</a>. It&rsquo;s named OOSearchBar and has two methods startAnimating: and stopAnimating:, use them in the UISearchBarDelegate methods.<br />]]></content:encoded></item><item><title>I dont know where to go (at compile time)</title><dc:creator>kerusan@me.com</dc:creator><category>Objective-C</category><dc:date>2011-05-24T19:53:39+02:00</dc:date><link>http://www.kerusan.org/files/2b541674d29f05c710a8ea5bbeb4730f-13.html#unique-entry-id-13</link><guid isPermaLink="true">http://www.kerusan.org/files/2b541674d29f05c710a8ea5bbeb4730f-13.html#unique-entry-id-13</guid><content:encoded><![CDATA[I have used Objective-C for a long time and I love it. After using <a href="http://en.wikipedia.org/wiki/Clascal" rel="external">Clascal</a>, ObjectPascal and Smalltalk for some years I bought a NeXT Cube some 20+ years ago and found a language that almost gave me the dynamic of Smalltalk and the power of C.  ;-) <br />The Objective-C language has something that most other compiled language lacks, a runtime engine. This engine gives the program the ability to communicate with the &lsquo;language&rsquo; at runtime, and make the language do many things the compiler does. So even if the compiler is not actually there when the program runs, the program can still ask about how it&rsquo;s components and it&rsquo;s even able to make changes and extensions to itself. This may at first seems unneeded but after working with Objective-C for a time you will see the benefits and even become addicted. <br /><br />There are many new users of Objective-C now, because iOS have grown so popular and they using the blog media is writing tons of tips and tricks how to do wonders with the AppKit and the UI. Fortunately there are also some blogs written by wizards that has been digging deep into the language and is sharing their wisdom about this runtime engine. Here comes some of my favorite blogs I read in this subject:<br /><br />At first - <a href="http://pilky.me/view/21" rel="external">Martin Pilkinton - and his blog Pilky.me</a>, has an article on the basics of the Runtime and how the object model of Objective-C is constructed. This is a good start.<br /><br />Next, - <a href="http://www.mikeash.com/pyblog/" rel="external">Mike Ash&rsquo;s NSBlog</a> (@mikeash), here you will find your main source of C and Objective-C inner workings. The Objective-C runtime has an API of C functions but most of us thinks it is easier with messages. Mike has encapsulated the runtime in Objective-C classes and with those we don&rsquo;t have to handle pointers and functions. <a href="https://github.com/mikeash/MAObjCRuntime" rel="external">His little kit is found on GitHub, clone it.</a><br /><br />Switching and adding methods at runtime seems a little &lsquo;Look what I have done!&rsquo; but in the comments section of <a href="http://theocacao.com/document.page/327" rel="external">this blog entry made by Scott Stevenson</a> (@scottstevenson) about adding methods there is a discussion about its usefulness. <br /><br />Also at the NSConference 2010 Jeff LaMarche (@jeff_lamarche) made a speech about how he uses the runtime&rsquo;s abilities.<a href="http://zearfoss.wordpress.com/2011/05/21/jeff-lamarche-on-the-runtime-and-properties/" rel="external"> Pat Zearfoss wrote about and linked it here, watch it</a>.<br /><br />Some years ago on WWDC Steve Naroff asked the crowd what we liked to see in a new version of Objective-C, some of us shouted instance variables added with categories. This was one of my most longed for feature in the old NeXT times Objective-C implementation even if I found a hack reusing some pointer in the class to add an NSDictionary.<br />So, last (but not least) one of my favorite blogger Ole Begemann (@elo) has now pointed out a trick to add instance variables, sort of, to categories. He uses a new feature in Objective-C 2.0  using the runtime (thank you Mr. Naroff) to do this. <a href="http://oleb.net/blog/2011/05/faking-ivars-in-objc-categories-with-associative-references/" rel="external">So, Ole&rsquo;s has now found a nicer and cleaner solution than my old one and writes about it here.</a><br /><br />There are many more links about this subject and I will try to link to and write about them in another entry.<br /><br />]]></content:encoded></item><item><title>Trolls run &#x21;&#x21;&#x21;</title><dc:creator>kerusan@me.com</dc:creator><category>App Store</category><dc:date>2011-05-18T08:56:28+02:00</dc:date><link>http://www.kerusan.org/files/551e7338cd59e1ba147027f95c9c01d9-12.html#unique-entry-id-12</link><guid isPermaLink="true">http://www.kerusan.org/files/551e7338cd59e1ba147027f95c9c01d9-12.html#unique-entry-id-12</guid><content:encoded><![CDATA[The whole iOS indie community is talking about the troll, and its letters claiming they want 0.575% of every &ldquo;in app purchases&rdquo; of iOS apps. Many bloggers <a href="http://reverttosaved.com/2011/05/16/lodsys-responds-to-trolling-accusations-regarding-ios-in-app-payments/" rel="self">shout out loud</a> and Loadsys, this particular troll&rsquo;s name, have but up a <a href="http://www.lodsys.com/blog.html" rel="external">blog</a> trying to defend its rights.<br /><br />Since this is a legal issue and most people know little or nothing about it, me included, I found an informative blog <a href="http://fosspatents.blogspot.com/2011/05/what-app-developers-need-to-know-about.html#lodsysapple" rel="external">FOSS Patents</a> that tries to give some facts and another <a href="http://thisismynext.com/2011/05/17/lodsys-sends-ios-developers-cease-and-desist-letters-in-app-purchases-on/" rel="external">ThisIsMyNext</a> gives background on the subject. So what Lodsys wants is maybe not indie money but may aim at something bigger.<br />I have voted against the Software Patents here in Europa before and <a href="http://mur.mu.rs/?p=116" rel="external">mur.mu.rs</a> concludes rather well my opinion. <br /><br />And I can&rsquo;t but end this entry with <a href="http://twitter.com/#!/rwenderlich/" rel="external">Ray Wendelich&rsquo;s tweet</a>: &ldquo;And my personal thoughts: Software patents need to be abolished, and in the meantime: trolls, leave indie devs alone!&rdquo;<br /><br />So, run trolls run!!!  <br /><br />UPDATE: If Apple takes 30% and there is say 50 patent trolls with some obscure generalized patent claim taking the rest there will not be any software industry. <a href="http://www.guardian.co.uk/technology/2011/may/18/app-developers-sued-over-patent-claims" rel="external">Here is another one</a>.<br /><br />UPDATE2 2011-06-01: Loadsys have now sued the first companies and two of them are Swedish, IconFactory and IllusionLabs. In a conversation with @FOSSpatents Florian Muller is the Lodsys patents US only and therefor only counts for the income made on the AppStore&rsquo;s US market. Here is the <a href="http://fosspatents.blogspot.com/2011/05/lodsys-sues-7-app-developers-in-eastern.html" rel="external">FOSSpatent blog</a> about it.]]></content:encoded></item><item><title>I&#x27;m into controls</title><dc:creator>kerusan@me.com</dc:creator><category>iOS</category><dc:date>2011-05-06T15:51:58+02:00</dc:date><link>http://www.kerusan.org/files/8aba4e122b9d5a36f7c2fbb91f92dfce-11.html#unique-entry-id-11</link><guid isPermaLink="true">http://www.kerusan.org/files/8aba4e122b9d5a36f7c2fbb91f92dfce-11.html#unique-entry-id-11</guid><content:encoded><![CDATA[While writing a long blog entry that never gets finished I thought I&rsquo;d share a website where lots of public Cocoa controls are gathered. The site is named <a href="http://cocoacontrols.com/" rel="self">CocoaControls</a> and contains most of the more usable controls out there. No need to crawl the web to find them, just go there. It has not been easier to find, download and try them out. New ones are coming in daily!]]></content:encoded></item><item><title>Go with the flow</title><dc:creator>kerusan@me.com</dc:creator><category>iOS</category><dc:date>2011-04-24T19:58:27+02:00</dc:date><link>http://www.kerusan.org/files/f6797f24737490fa931ddbd3a4307ae3-9.html#unique-entry-id-9</link><guid isPermaLink="true">http://www.kerusan.org/files/f6797f24737490fa931ddbd3a4307ae3-9.html#unique-entry-id-9</guid><content:encoded><![CDATA[I was just about to convert our Mac CoverFlow classes  (my partner Martin Carlberg wrote them in our GIS project)  to iPhone, when I  realized that there is a nice implementation already written by Devin Ross at <a href="http://devinsheaven.com/" rel="external">DevinsHeaven</a>. It is part of a library called <a href="http://github.com/devinross/tapkulibrary" rel="external">Tapku library</a> that can be found at GitHub. I found it while reading the excellent blog <a href="http://www.applausible.com/index.html" rel="external">Applausible</a> who also has a little <a href="http://www.applausible.com/blog/?p=657" rel="external">tutorial</a> how to use the Tapku classes<span style="font:11px Menlo-Regular; color:#0E0EFF;">.<br /><br /></span>Another implementation I also found on GitHub was Alex Fajkowskij&rsquo;s <a href="https://github.com/thefaj/OpenFlow" rel="external">OpenFlow</a>. But based on a simple test and run I will try the Tapku library in my first CoverFlow app.]]></content:encoded></item><item><title>Releasetime any day now</title><dc:creator>kerusan@me.com</dc:creator><category>App Store</category><dc:date>2011-04-16T09:23:42+02:00</dc:date><link>http://www.kerusan.org/files/a939bb2ec284af9bc0449fe33198e51a-6.html#unique-entry-id-6</link><guid isPermaLink="true">http://www.kerusan.org/files/a939bb2ec284af9bc0449fe33198e51a-6.html#unique-entry-id-6</guid><content:encoded><![CDATA[... and you are a bit worried about the current review time on AppStore. Look no further than this <a href="http://reviewtimes.shinydevelopment.com/" rel="self">site</a>. It is made by <a href="http://twitter.com/daveverwer" rel="self">@daveverwer</a> on <a href="http://shinydevelopment.com/" rel="self">Shiny Development</a>. He made a <a href="http://shinydevelopment.com/blog/how-long-do-apps-take-to-review/" rel="self">blog entry</a> where he explains a little about the webpage. <br /><br />And do not forget so submit your own times to him!]]></content:encoded></item><item><title>Tools of choice</title><dc:creator>kerusan@me.com</dc:creator><category>Tools</category><dc:date>2011-04-10T17:17:13+02:00</dc:date><link>http://www.kerusan.org/files/e395f83eba4b63ceeb236b184a194d28-5.html#unique-entry-id-5</link><guid isPermaLink="true">http://www.kerusan.org/files/e395f83eba4b63ceeb236b184a194d28-5.html#unique-entry-id-5</guid><content:encoded><![CDATA[When developing iOS and MacOSX apps I have a toolset that I been using for a while now and I wish to share them for others that might not be aware of some of them.<br /><br />I have gone from XCode3 to XCode4 now and even if the new one still have a lot of bugs I like the workflow and the editors a lot better than in XCode3. Xcode comes with a fantastic set of profiling and analyzing tools called Instruments. Without it I feel completely lost and insecure. Really difficult bugs are traced down in minutes with Instruments like the Zombies, Alloc and Leaks. Also Apple gives us tools for analyzing OpenGL code like the Performance Detective.<br /><br />To design and make graphic resources I use <a href="http://www.pixelmator.com/" rel="self">Pixelmator</a> (I&rsquo;m not a Photoshop lover). Pixelmator has the strength I need and can handle, also I like the UI. <br /><br />As a compliment to image tweaking with Pixelmator I use <a href="http://likethought.com/opacity/" rel="self">Opacity</a> for making icons and buttons. It is a marvelous tools and not only does it jpg:s and png:s from vectors, it converts the vector graphics to code. UIView/NSView, CoreAnimation and Quartz code. This is really nice, since you can hide the graphic in code and icons and other graphic resources then goes smoothly into static libraries without distributing folders at the side with graphic files.This tool comes in two versions one standard and one pro. It costs not much money and I will assure you that you will benefit from it. You can even learn how to write the graphic code by just looking at the code it generates.<br /><br />Another tool I use is <a href="http://www.kevincallahan.org/software/accessorizer.html" rel="self">Accessorizer</a>, a code generator for snippets like servers and getter, dealloc and such. It its latest version it integrates nicely with XCode. It may not save that much code but to those of you that are quite new to ObjectiveC and iOS it makes the memory handling a lot easier because it knows the rules about alloc, retaining and releasing objects. I think this is the most common problem newcomers have when starting to make a iPhone app.<br /><br />Since most Apple code and frameworks comes without code it is not that easy to find out how it works internally. I use an old tool that where made in the good old NeXTStep days. It is a command line tool called <a href="http://www.codethecode.com/projects/class-dump/" rel="self">classdump</a> and it creates header declarations out of Mach-O files. Not a decompiler but good enough to get a clue how the inner workings of a closed framework is built. Classdump is the brainchild of <a href="http://homepage.mac.com/nygard/Projects/index.html" rel="self">Steve Nygard</a> , a longtime Objective-C guru who also have an interesting <a href="http://www.codethecode.com/blog/" rel="self">blog</a>.<br />]]></content:encoded></item><item><title>Where did I put my framework</title><dc:creator>kerusan@me.com</dc:creator><category>iOS</category><dc:date>2011-04-10T09:32:50+02:00</dc:date><link>http://www.kerusan.org/files/b35d2dd8f6b961232d2ff281ba36dff1-4.html#unique-entry-id-4</link><guid isPermaLink="true">http://www.kerusan.org/files/b35d2dd8f6b961232d2ff281ba36dff1-4.html#unique-entry-id-4</guid><content:encoded><![CDATA[After working with AppKit since 1989 (yes, I&rsquo;m that old, even older than <a href="http://twitter.com/johaneltes" rel="self">@johaneltes</a>) I am so used to package my ideas in frameworks so when I started to develop for the iOS platform I almost gave up. Why the .... have Apple only granted themselves to use this fantastic concept. Well, it turned out that there are other solutions and I might understand Apple for that paranoid security concern of theirs. <br /><br />There are other solutions to the problem even though the best parts of the .frameworks are capsulation and the ability to include resources of different kinds.<br /><br />One approach is to have your classes in groups that are created from folder that you drop into your different projects. But this don&rsquo;t get you the freedom to write stuff without sharing the code. It is possible to have the code and the resources in the same or in subgroups.<br /><br />Another way is to write static libraries with the classes you wish to share between projects. How to do this is explained in the <a href="http://www.icodeblog.com/2011/04/07/creating-static-libraries-for-ios/" rel="self">iCodeBlog</a>, excellent reading. The drawback with this solution is of cause that the static library can&rsquo;t contain resources.<br /><br /><br />]]></content:encoded></item><item><title>The akwardness of code signing</title><dc:creator>kerusan@me.com</dc:creator><category>iOS</category><dc:date>2011-04-05T20:15:51+02:00</dc:date><link>http://www.kerusan.org/files/3eb29ad61545bbfbb5d7ac046e3eecdd-3.html#unique-entry-id-3</link><guid isPermaLink="true">http://www.kerusan.org/files/3eb29ad61545bbfbb5d7ac046e3eecdd-3.html#unique-entry-id-3</guid><content:encoded><![CDATA[In this post I will share a link to a site written by Ray Wenderlich - <a href="http://www.raywenderlich.com/ " rel="external">http://www.raywenderlich.com/ </a>. He is a programmer / gamer on the iOS platform. In his latest post he explains something that most iOS developers hates - Codesigning, a subject driving almost everybody insane. If it has disturbed you, please read it. He has even made an object model over the entities Apple has used.]]></content:encoded></item><item><title>Restarting my blog</title><dc:creator>kerusan@me.com</dc:creator><category>Blog</category><dc:date>2011-04-05T19:51:53+02:00</dc:date><link>http://www.kerusan.org/files/9748ce29b1c7d0116edd6dbd24c1ead2-2.html#unique-entry-id-2</link><guid isPermaLink="true">http://www.kerusan.org/files/9748ce29b1c7d0116edd6dbd24c1ead2-2.html#unique-entry-id-2</guid><content:encoded><![CDATA[I decided to restart my blog. Some years has gone since I wrote something on www.kerusan.org, and I lost track of where I have put all my entries. So here is a complete new site with an empty archive. Last time I got inspired by RapidWeaver&rsquo;s ability to create a nice blog without breaking my neck. In those days it was RapidWeaver 3 and 4, now I have version 5 and I will continue to use it. But it was not RapidWeaver who inspired me this time, it was all the nice people out on the internet that has started to share programming skills to everybody. I hope I can share a little myself and also give some links to blogs that I follow. Many of them are totally awesome and shares insights about programming on iOS and MacOSX, design and life. They make my day and my work a real joy. Thanks to all of you!<br />]]></content:encoded></item></channel>
</rss>
