<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Thomas Spycher &#187; Apple</title>
	<atom:link href="http://tspycher.com/category/technisches/apple-technisches/feed/" rel="self" type="application/rss+xml" />
	<link>http://tspycher.com</link>
	<description></description>
	<lastBuildDate>Sat, 07 Jan 2012 15:34:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Safari 5.1 does not like https sites</title>
		<link>http://tspycher.com/safari-5-1-does-not-like-https-sites/</link>
		<comments>http://tspycher.com/safari-5-1-does-not-like-https-sites/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 08:53:48 +0000</pubDate>
		<dc:creator>Thomas Spycher</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Application Review]]></category>
		<category><![CDATA[Engineering]]></category>
		<category><![CDATA[Technisches]]></category>
		<category><![CDATA[10.7]]></category>
		<category><![CDATA[HTTPS]]></category>
		<category><![CDATA[Lion]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://tspycher.com/?p=654</guid>
		<description><![CDATA[After the update to OSX 10.7 Lion which ships Safari 5.1 i could no more open any HTTPS Sites with Safari. After googling around i found the Solution. You have just to delete the following file: ~/Library/Preferences/com.apple.security.revocation.plist Thats all&#8230; Since i&#8217;ve updated to 10.7 i&#8217;m faced with several bugs! Huge Bugs, which prevent me from [...]]]></description>
			<content:encoded><![CDATA[<p>After the update to OSX 10.7 Lion which ships Safari 5.1 i could no more open any HTTPS Sites with Safari. After googling around i found the Solution. You have just to delete the following file:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">~<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>Preferences<span style="color: #000000; font-weight: bold;">/</span>com.apple.security.revocation.plist</pre></div></div>

<p>Thats all&#8230;</p>
<p>Since i&#8217;ve updated to 10.7 i&#8217;m faced with several bugs! Huge Bugs, which prevent me from working productive!</p>
]]></content:encoded>
			<wfw:commentRss>http://tspycher.com/safari-5-1-does-not-like-https-sites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iTunes sharing over VPN</title>
		<link>http://tspycher.com/itunes-sharing-over-vpn/</link>
		<comments>http://tspycher.com/itunes-sharing-over-vpn/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 09:56:50 +0000</pubDate>
		<dc:creator>Thomas Spycher</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Gedanken]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Netzwerk]]></category>
		<category><![CDATA[Technisches]]></category>
		<category><![CDATA[Beacon]]></category>
		<category><![CDATA[Homesharing]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[Sharing]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://tspycher.com/?p=649</guid>
		<description><![CDATA[If your are one of those people who have VPN access to their home IT infrastructure you may have wonder why iTunes sharing does not work while connected the the VPN. This is due to a limitation of VPN which does not forward any broad/multicast messages. But there is help! With the tool Network Beacon [...]]]></description>
			<content:encoded><![CDATA[<p>If your are one of those people who have VPN access to their home IT infrastructure you may have wonder why iTunes sharing does not work while connected the the VPN. This is due to a limitation of VPN which does not forward any broad/multicast messages. But there is help! With the tool <a href="http://www.chaoticsoftware.com/" target="_blank">Network Beacon</a> you are able to send self created beacons over the VPN connection to a remote device. I&#8217;ve tried it, and its working like a charm !<span id="more-649"></span></p>
<p>Use the follwing Settings to set up the Beacon</p>
<p><a href="http://tspycher.com/wp-content/upload/2011/07/Screen-shot-2011-07-19-at-11.46.25.png" rel="lightbox[649]"><img class="aligncenter size-medium wp-image-650" title="Screen shot 2011-07-19 at 11.46.25" src="http://tspycher.com/wp-content/upload/2011/07/Screen-shot-2011-07-19-at-11.46.25-200x168.png" alt="" width="200" height="168" /></a></p>
<p>You just have to replace the proxy settings with your own IP and Hostname.</p>
<p>Next i gonna to do is to figure out the settings for turning on HomeSharing over VPN.</p>
]]></content:encoded>
			<wfw:commentRss>http://tspycher.com/itunes-sharing-over-vpn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bad UIImagePickerController</title>
		<link>http://tspycher.com/bad-uiimagepickercontroller/</link>
		<comments>http://tspycher.com/bad-uiimagepickercontroller/#comments</comments>
		<pubDate>Fri, 08 Apr 2011 20:37:40 +0000</pubDate>
		<dc:creator>Thomas Spycher</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Cocoa & Objective-C]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Engineering]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[BlogIt]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[Problem]]></category>
		<category><![CDATA[UIImagePickerController]]></category>
		<category><![CDATA[zero-one]]></category>

		<guid isPermaLink="false">http://tspycher.com/?p=597</guid>
		<description><![CDATA[It took me more than 2 hours to fix this &#8220;Memory warning&#8221; issue with the UIImagePickerController. My Application worked very well in the simulator. On the Phone i got this Memory warning every time i took a picture with the camera. The picker returned an UIImage = nil. This is my code: -&#40;void&#41;viewDidLoad &#123; self.imgPicker [...]]]></description>
			<content:encoded><![CDATA[<p>It took me more than 2 hours to fix this &#8220;Memory warning&#8221; issue with the UIImagePickerController. My Application worked very well in the simulator. On the Phone i got this Memory warning every time i took a picture with the camera. The picker returned an UIImage = nil. This is my code:</p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;"><span style="color: #002200;">-</span><span style="color: #002200;">&#40;</span><span style="color: #a61390;">void</span><span style="color: #002200;">&#41;</span>viewDidLoad 
<span style="color: #002200;">&#123;</span>
     self.imgPicker <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span>UIImagePickerController alloc<span style="color: #002200;">&#93;</span> init<span style="color: #002200;">&#93;</span>; 
     self.imgPicker.allowsImageEditing <span style="color: #002200;">=</span> <span style="color: #a61390;">YES</span>;
     self.imgPicker.delegate <span style="color: #002200;">=</span> self; 
     self.imgPicker.sourceType <span style="color: #002200;">=</span> UIImagePickerControllerSourceTypePhotoLibrary;
<span style="color: #002200;">&#125;</span>
&nbsp;
<span style="color: #002200;">-</span><span style="color: #002200;">&#40;</span><span style="color: #a61390;">void</span><span style="color: #002200;">&#41;</span>imagePickerController<span style="color: #002200;">:</span><span style="color: #002200;">&#40;</span>UIImagePickerController <span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span>picker didFinishPickingMediaWithInfo<span style="color: #002200;">:</span><span style="color: #002200;">&#40;</span><span style="color: #400080;">NSDictionary</span> <span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span>info 
<span style="color: #002200;">&#123;</span>
     dispimage <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span>info objectForKey<span style="color: #002200;">:</span>UIImagePickerControllerOriginalImage<span style="color: #002200;">&#93;</span>retain<span style="color: #002200;">&#93;</span>;
     <span style="color: #002200;">&#91;</span>picker dismissModalViewControllerAnimated<span style="color: #002200;">:</span><span style="color: #a61390;">YES</span><span style="color: #002200;">&#93;</span>; 
<span style="color: #002200;">&#125;</span>
&nbsp;
<span style="color: #002200;">-</span><span style="color: #002200;">&#40;</span>IBAction<span style="color: #002200;">&#41;</span>open
<span style="color: #002200;">&#123;</span>
    <span style="color: #a61390;">if</span><span style="color: #002200;">&#40;</span>self.imgPicker <span style="color: #002200;">==</span> <span style="color: #a61390;">nil</span><span style="color: #002200;">&#41;</span>
    <span style="color: #002200;">&#123;</span> 
         self.imgPicker <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span>UIImagePickerController alloc<span style="color: #002200;">&#93;</span> init<span style="color: #002200;">&#93;</span>; 
         self.imgPicker.allowsImageEditing <span style="color: #002200;">=</span> <span style="color: #a61390;">YES</span>;
         self.imgPicker.delegate <span style="color: #002200;">=</span> self; 
         self.imgPicker.sourceType <span style="color: #002200;">=</span> UIImagePickerControllerSourceTypePhotoLibrary;
    <span style="color: #002200;">&#125;</span>
    <span style="color: #002200;">&#91;</span>self presentModalViewController<span style="color: #002200;">:</span>self.imagePicker animated<span style="color: #002200;">:</span><span style="color: #a61390;">YES</span><span style="color: #002200;">&#93;</span>; 
    <span style="color: #002200;">&#91;</span>self.imagePicker release<span style="color: #002200;">&#93;</span>; 
<span style="color: #002200;">&#125;</span>
&nbsp;
<span style="color: #002200;">-</span><span style="color: #002200;">&#40;</span>IBAction<span style="color: #002200;">&#41;</span> print
<span style="color: #002200;">&#123;</span> 
      <span style="color: #a61390;">if</span><span style="color: #002200;">&#40;</span>dispimage <span style="color: #002200;">!=</span> <span style="color: #a61390;">nil</span><span style="color: #002200;">&#41;</span>
      <span style="color: #002200;">&#123;</span>
            imageView.image<span style="color: #002200;">=</span>dispimage; 
      <span style="color: #002200;">&#125;</span>
<span style="color: #002200;">&#125;</span>;</pre></div></div>

<p>And the solution? I&#8217;ve just to closed all open applications, which where a lot! It seems to me it is also a memory leak bug in current 4.0.x releases. Hopefully it will be fixed with the next iOS release.</p>
<p>So long, i&#8217;m going to bed now.</p>
]]></content:encoded>
			<wfw:commentRss>http://tspycher.com/bad-uiimagepickercontroller/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Free some space on OSX</title>
		<link>http://tspycher.com/free-some-space-on-osx/</link>
		<comments>http://tspycher.com/free-some-space-on-osx/#comments</comments>
		<pubDate>Thu, 24 Mar 2011 06:00:45 +0000</pubDate>
		<dc:creator>Thomas Spycher</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Persönliches]]></category>
		<category><![CDATA[Technisches]]></category>
		<category><![CDATA[Apple Mail]]></category>
		<category><![CDATA[Free Space]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://tspycher.com/?p=573</guid>
		<description><![CDATA[I&#8217;ve got about 56 GB more free HD space on my Mac OSX. All i&#8217;ve done is just disabling the option of keeping copies of my mails locally for offline viewing. Damn, i have more than 50GB mail data? Oukay, thats a different topic&#8230; Especially if you&#8217;ve done an search in your mailbox every mails [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve got about 56 GB more free HD space on my Mac OSX. All i&#8217;ve done is just disabling the option of keeping copies of my mails locally for offline viewing. Damn, i have more than 50GB mail data? Oukay, thats a different topic&#8230; Especially if you&#8217;ve done an search in your mailbox every mails gets downloaded from the server. Due to i&#8217;m working with an IMAP Account i really do not need offline copies.</p>
<p><a href="http://tspycher.com/wp-content/upload/2011/03/Screen-shot-2011-03-17-at-7.21.48-PM.png" rel="lightbox[573]"><img class="aligncenter size-medium wp-image-574" title="Screen shot 2011-03-17 at 7.21.48 PM" src="http://tspycher.com/wp-content/upload/2011/03/Screen-shot-2011-03-17-at-7.21.48-PM-194x200.png" alt="" width="194" height="200" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://tspycher.com/free-some-space-on-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working with XML in Objective-C on iOS</title>
		<link>http://tspycher.com/working-with-xml-in-objective-c-on-ios/</link>
		<comments>http://tspycher.com/working-with-xml-in-objective-c-on-ios/#comments</comments>
		<pubDate>Tue, 15 Mar 2011 05:30:07 +0000</pubDate>
		<dc:creator>Thomas Spycher</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Gedanken]]></category>
		<category><![CDATA[Technisches]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://tspycher.com/?p=519</guid>
		<description><![CDATA[If you are an iOS coder you probably know, there is no XML Framework like XMLDocument for OSX applications. You just have an XMLParser object which is everything else than funny! There are a lot of 3th Party classes for working with XML (just reading or read and write). I&#8217;ve tested some of them. They [...]]]></description>
			<content:encoded><![CDATA[<p>If you are an iOS coder you probably know, there is no XML Framework like XMLDocument for OSX applications. You just have an XMLParser object which is everything else than funny! There are a lot of 3th Party classes for working with XML (just reading or read and write). I&#8217;ve tested some of them. They are often very tricky to integrate or not feature complete. For example missing XPath maks your Life with XML hard&#8230;</p>
<p>The way to go is <a href="https://github.com/TouchCode" target="_blank">TouchXML</a>! This Framework works like a charm! Using <a href="http://foobarpig.com/iphone/touchxml-installation-guide.html" target="_blank">this introduction </a>for installing the Framework to your project, lets you use XML data within seconds.</p>
]]></content:encoded>
			<wfw:commentRss>http://tspycher.com/working-with-xml-in-objective-c-on-ios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iOS 4.3 direct download links</title>
		<link>http://tspycher.com/ios-4-3-direct-download-links/</link>
		<comments>http://tspycher.com/ios-4-3-direct-download-links/#comments</comments>
		<pubDate>Mon, 14 Mar 2011 07:13:57 +0000</pubDate>
		<dc:creator>Thomas Spycher</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Gedanken]]></category>
		<category><![CDATA[Persönliches]]></category>
		<category><![CDATA[Technisches]]></category>
		<category><![CDATA[4.3]]></category>
		<category><![CDATA[ios]]></category>

		<guid isPermaLink="false">http://tspycher.com/?p=547</guid>
		<description><![CDATA[For all those who woke up this morning and recognized, that their iPhone Beta OS has been expired and iTunes still says: &#8220;dude, you&#8217;r up 2 date&#8221; here are the direct download links: iPhone 4 iPhone 3GS iPad iPod touch (4th Generation) iPod touch (3th Generation)]]></description>
			<content:encoded><![CDATA[<p>For all those who woke up this morning and recognized, that their iPhone Beta OS has been expired and iTunes still says: &#8220;dude, you&#8217;r up 2 date&#8221; here are the direct download links:</p>
<ul>
<li><a href="http://appldnld.apple.com/iPhone4/041-0330.20110311.Cswe3/iPhone3,1_4.3_8F190_Restore.ipsw">iPhone 4</a></li>
<li><a href="http://appldnld.apple.com/iPhone4/041-0328.20110311.Lkhy6/iPhone2,1_4.3_8F190_Restore.ipsw">iPhone 3GS</a></li>
<li><a href="http://appldnld.apple.com/iPhone4/041-0329.20110311.Cvfre/iPad1,1_4.3_8F190_Restore.ipsw">iPad</a></li>
<li><a href="http://appldnld.apple.com/iPhone4/061-9588.20110311.GtP7y/iPod4,1_4.3_8F190_Restore.ipsw">iPod touch</a> (4th Generation)</li>
<li><a href="http://appldnld.apple.com/iPhone4/061-8366.20110311.Fr45t/iPod3,1_4.3_8F190_Restore.ipsw">iPod touch</a> (3th Generation)</li>
</ul>
<p><a href="http://tspycher.com/wp-content/upload/2011/03/Screen-shot-2011-03-14-at-08.16.16.png" rel="lightbox[547]"><img class="aligncenter size-medium wp-image-551" title="Screen shot 2011-03-14 at 08.16.16" src="http://tspycher.com/wp-content/upload/2011/03/Screen-shot-2011-03-14-at-08.16.16-200x82.png" alt="" width="200" height="82" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://tspycher.com/ios-4-3-direct-download-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XCode und Objective-C 2.0</title>
		<link>http://tspycher.com/xcode-und-objective-c-2-0/</link>
		<comments>http://tspycher.com/xcode-und-objective-c-2-0/#comments</comments>
		<pubDate>Sun, 24 Oct 2010 15:23:24 +0000</pubDate>
		<dc:creator>Thomas Spycher</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Gedanken]]></category>
		<category><![CDATA[Homepage]]></category>
		<category><![CDATA[Technisches]]></category>
		<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://tspycher.com/?p=367</guid>
		<description><![CDATA[Ich denke es ist mal an der Zeit meine Eindrück, über die Welt der Entwicklung, aus Apples Auge, ein paar Worte zu verlieren. Im Rahmen meiner Weiterbildung beschäftige ich mich seit 1.5 Jahren mit C/C++. Java habe ich in den letzten Jahren auch programmiert, jedoch sehr wenig. Die meisten Zeilen Code habe ich in PHP [...]]]></description>
			<content:encoded><![CDATA[<p>Ich denke es ist mal an der Zeit meine Eindrück, über die Welt der Entwicklung, aus Apples Auge, ein paar Worte zu verlieren. Im Rahmen meiner Weiterbildung beschäftige ich mich seit 1.5 Jahren mit C/C++. Java habe ich in den letzten Jahren auch programmiert, jedoch sehr wenig. Die meisten Zeilen Code habe ich in PHP und Perl geschrieben &#8211; bis jetzt.</p>
<p>Seit nun etwas mehr als 6 Monaten programmiere ich immer wieder etwas in Objective-C. Das Resultat sind zahlreiche Codeschnippsel welche in einem Verzeichnis &#8220;Experimente&#8221; in meinem Subversion Repository liegen. Effektiv ist eine iPhone App einen kurzen Schritt vor seiner Vollendung.<br />
Der Anfang in Objective-C war steinig, verwirrend und meine Kopfhaut war anfänglich ziemlich wund vom vielen Kratzen. Der Syntax und Aufbau des Codes lässt sich schwer mit dem von C++ vergleichen. Nach langem schwertun wurde mir auch bewusst, dass es komplett falsch ist, diese beiden Sprach miteinander zu vergleichen! Objective-C hat seinen Ursprung schliesslich auch nicht in C++ sondern in C. Alles bereits vorhandene Programmierwissen ausgeblendet, startete ich einen zweiten Versuch mit der Sprache klar zu kommen. Es funktionierte!</p>
<p>Objective-C ist eine &#8220;menschenfreundliche&#8221; Programmiersprache. Sich ständig wiederholende Methoden, wie z.b. Setter/Getter Methoden wurden komplett <a href="http://en.wikipedia.org/wiki/Objective-c#Properties" target="_blank">vereinfacht</a>. Hier sei angemerkt, dass ich nur von Objective-C 2 spreche!<br />
Was ein C++ oder Java Programmierer unter Interfaces verstehen würde sind bei Apples Sprache <a href="http://en.wikipedia.org/wiki/Objective-c#Protocols" target="_blank">Protokolle</a>. Diese sind als Vertrag mit dem Programmierer zu verstehen. Ein Protokoll definiert Methoden die zwingend und solche die optional implementiert werden müssen resp. können. Hält sich der Entwickler nicht daran wird er sich mit dem Compiler in die Haare kriegen.<br />
Wesentlich anderst ist der Aufruf von Methoden einer Klasse. Diese werden übrigens nicht mehr strikt in public, private,protected, virtual kategorisiert. Vielmehr unterscheidet man unter Instanz- und Statischen <a href="http://en.wikipedia.org/wiki/Objective-c#Interface" target="_blank">Methoden</a>. Die Parameter einer Methode werden zwingend beschrieben. Dies macht den Code für den Menschen lesbar, als würde er einen Satz lesen.</p>
<p>[APIObjekt sendeAnfrage:anfrage anUrl:url];</p>
<p>Wobei &#8220;sendeAnfrage&#8221; und &#8220;anUrl&#8221; keinen Einfluss auf den Code haben. Sie beschreiben ausschliesslich den Methodenaufruf resp. dessen Parameter.</p>
<p>Bemerkenswert ist auch die gewonnene Dynamik dank den <a href="http://en.wikipedia.org/wiki/Objective-c#Messages" target="_blank">Selektoren</a>. Mit diesen können Nachrichten, so werden Methodenaufrufe genannt, an Klassen verschickt werden. Sprich, eine Methode dynamisch aufgerufen werden. Wobei auch erst überprüft werden kann ob die entsprechende Klasse überhaupt auf diese Nachricht antworten kann.<br />
Ebenfalls möchte ich an diesem Punkt noch die <a href="http://en.wikipedia.org/wiki/Objective-c#Categories" target="_blank">Kategorien</a> erwähnen. Angenommen der String Klasse von Cocoa fehlt eine tolle Funktion die ich meinem Programm nutzen möchte, musste ich bis jetzt diese Klasse spezifizieren und dann diese in meinem Code verwenden. Im schlimmsten Fall würde dies bedeuten, dass ich tausende von Codezeilen durchsuchen und meine Klasse anstelle der alten einsetzen müsste. Mit Kategorien kann ich neue Methoden zu bestehenden Klassen anghängen. Somit sind diese Methoden ohne erbrechtliche Geschichten überall in meinem Code vorhanden. Cool, nicht?</p>
<p>Programmieren in Objective-C bedeutet Spass! Schönen Code zu schreiben wird somit einiges einfacher. Nun zur Schattenseite&#8230; Ja, es gibt tatsächlich eine!<br />
Speichermanagement wird GROSS geschrieben in Objective-C. Es gibt drei Möglichkeiten seinen Arbeitsspeicher sauber zu halten.</p>
<ul>
<li> Manuelles aufräumen des Speichers</li>
<li>Autoreleasepools, welche die Objekte anhand ihres internen Zählers eliminieren.</li>
<li>Garbage-Collection</li>
</ul>
<p>Letzteres wird von den eingefleischten Apple Entwicklern verteufelt zudem gibt es in den iOS Geräten kein GC! Wird beim programmieren nicht äusserst sorgfältig auf den Speicher aufgepasst, beisst einem sein eigenes Programm ganz sicher bald in den Allerwertesten! Ist es soweit, und bei jedem wird dies der Fall sein, greift man gerne auf die Analyse Tools von XCode zurück!</p>
<p>Fazit: Objective-C 2.0 hat einiges vom Zauberstaub der Zukunftsfee abgekriegt! Aber einfach so mal Objective-C lernen ist nicht&#8230; Dafür ist die Sprache zu komplex! Hat man sich mit der Sprache angefreundet findet man schnell gefallen an Apples Cocoa Framework. Dieses bietet für &#8211; fast &#8211; alle Situation einen schnuckelige Klasse bereit. Leider sind diese wirklich zum teil nur schnuckelig. Fehlende Methoden für z.b. Base64 Encoding, HMAC Verschlüsselung und fehlende API Klassen für XML-RPC und REST-API, verhindern eine innige, heisse Beziehung mit Cocoa!<br />
Glücklicherweise findet man im Internet viele fertige Klassen, die dieses Defizit irgendwie, mit viel Klebeband, aufheben.<br />
Noch ein letztes Wort zur Entwicklungsumgebung <a href="http://en.wikipedia.org/wiki/Xcode" target="_blank">XCode</a>. Jeder, der mit der Version 3.x gearbeitet hat und die Version 4 gesehen hat, wird mir recht geben, dass die Aktuelle Version (3.irgendwas) mit einem Sportwagen mit Slicks im Regen zu vergleichen ist. Das Teil schleudert und man verliert schnell den überblick und streift mal eine Leitplanke! XCode 4 hingegen, fühlt sich eher wie ein britischer Sportwagen mit einer angemessenen Bereifung an! Die nahtlos integrierten Versionierungs Hilfsmittel lassen jeden Entwickler entspannt arbeiten!</p>
]]></content:encoded>
			<wfw:commentRss>http://tspycher.com/xcode-und-objective-c-2-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple, nicht nur geile Produkte&#8230;</title>
		<link>http://tspycher.com/apple-nicht-nur-geile-produkte/</link>
		<comments>http://tspycher.com/apple-nicht-nur-geile-produkte/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 15:01:22 +0000</pubDate>
		<dc:creator>Thomas Spycher</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Gedanken]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Marketing]]></category>

		<guid isPermaLink="false">http://newblog.spychernet.com/?p=203</guid>
		<description><![CDATA[Der Akku des über 3 Jahre alten Macbooks meines Vaters ist regelrecht explodiert. Garantie hatte das Teil auch nur total 1 Jahr. Von dieser ist im Normalfall der Akku ausgeschlossen. Mit dem Glauben an das Gute im Menschen und in Grosskonzerne, hat mein Vater das defekte Teil verpackt und einen netten Brief, mit der Bitte [...]]]></description>
			<content:encoded><![CDATA[<p>Der Akku des über 3 Jahre alten Macbooks meines Vaters ist regelrecht explodiert. Garantie hatte das Teil auch nur total 1 Jahr. Von dieser ist im Normalfall der Akku ausgeschlossen.</p>
<p><span id="more-203"></span>Mit dem Glauben an das Gute im Menschen und in Grosskonzerne, hat mein Vater das defekte Teil verpackt und einen netten Brief, mit der Bitte das Teil zu ersetzen, dazu gelegt und dies an Apple Schweiz in Zürrich geschickt. Nach wenigen Tagen hat sich bereits eine nette Dame aus Schweden gemeldet und ein paar Einzelheiten zu diesem Fall nachgefragt. Schlussendlich meinte sie, dass sie den Fall zurück an Zürchen geben werde und die dann entscheiden ob der Akku ersetzt würde oder nicht.</p>
<p>Ebenfalls nur ein paar Tage später lag auf der Post ein komplett neuer Akku welcher nun das Notebook wieder ordentlich mit Strom versorgt.</p>
<p>Mich persönlich beeindruckt dieser Fall in allen Bereichen sehr stark. Ein solch grosser Konzern interessiert sich wirklich für den kleinsten Kunden. Apple hat den Fall äusserst speditiv, freundlich und natürlich zur vollsten Zufriedenheit des Kunden abgewickelt. Vorbildlich!</p>
]]></content:encoded>
			<wfw:commentRss>http://tspycher.com/apple-nicht-nur-geile-produkte/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

