<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Red peanuts - Cocoa</title>
    <link>http://devteam.taktik.be/</link>
    <description>Taktik's development blog</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.4.1 - http://www.s9y.org/</generator>
    <pubDate>Wed, 23 Jul 2008 09:03:03 GMT</pubDate>

    <image>
        <url>http://devteam.taktik.be/templates/bulletproof/img/s9y_banner_small.png</url>
        <title>RSS: Red peanuts - Cocoa - Taktik's development blog</title>
        <link>http://devteam.taktik.be/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Layer-hosting vs layer-backed views in Core Animation</title>
    <link>http://devteam.taktik.be/index.php?/archives/3-Layer-hosting-vs-layer-backed-views-in-Core-Animation.html</link>
            <category>Cocoa</category>
    
    <comments>http://devteam.taktik.be/index.php?/archives/3-Layer-hosting-vs-layer-backed-views-in-Core-Animation.html#comments</comments>
    <wfw:comment>http://devteam.taktik.be/wfwcomment.php?cid=3</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://devteam.taktik.be/rss.php?version=2.0&amp;type=comments&amp;cid=3</wfw:commentRss>
    

    <author>nospam@example.com (Antoine Baudoux)</author>
    <content:encoded>
    I found this important remark in the Core Animation programming guide :&lt;br /&gt;
&lt;blockquote&gt;The instance of MenuView is set as the layer-hosting view of rootLayer. The order of these two calls is important. By first setting the layer to rootLayer and then setting setWantsLayer: to YES our layer is used rather than the one that the view would create. This is the key difference between layer-hosting views and layer-backed views.&lt;br /&gt;
&lt;br /&gt;
[self setLayer:rootLayer];&lt;br /&gt;
[self setWantsLayer:YES];&lt;br /&gt;
&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Wed, 23 Jul 2008 11:00:38 +0200</pubDate>
    <guid isPermaLink="false">http://devteam.taktik.be/index.php?/archives/3-guid.html</guid>
    
</item>
<item>
    <title>Cryptography on your MacOS X program</title>
    <link>http://devteam.taktik.be/index.php?/archives/2-Cryptography-on-your-MacOS-X-program.html</link>
            <category>Cocoa</category>
            <category>Tip of the day</category>
    
    <comments>http://devteam.taktik.be/index.php?/archives/2-Cryptography-on-your-MacOS-X-program.html#comments</comments>
    <wfw:comment>http://devteam.taktik.be/wfwcomment.php?cid=2</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://devteam.taktik.be/rss.php?version=2.0&amp;type=comments&amp;cid=2</wfw:commentRss>
    

    <author>nospam@example.com (Denis Muquardt)</author>
    <content:encoded>
    For this first tip, I just want to help you performing basic operations like generating digests (MD5, SHA1, …) or dealing with asymetric keys in your programs. &lt;br /&gt;
&lt;br /&gt;
On the Mac OS X platform, there are basically two libraries providing these crypto capabilities : &lt;br /&gt;
&lt;br /&gt;
1 - openSSL&lt;br /&gt;
2 - Apple CDSA&lt;br /&gt;
&lt;br /&gt;
For the first one, just import the header(s) you need from &lt;em&gt;/usr/include/openssl&lt;/em&gt; and then link your product with the &lt;em&gt;/usr/lib/libsecurity.dylib&lt;/em&gt;.&lt;br /&gt;
With CDSA, you have to add the &lt;em&gt;/System/Library/Frameworks/Security.framework&lt;/em&gt; to your Xcode project and then link your product with it.&lt;br /&gt;
&lt;br /&gt;
It seems to me that openSSL is easier to use but the choice between these two libraries may be triggered by politics.&lt;br /&gt;
&lt;br /&gt;
For the CDSA documentation, I strongly recommend you to download and read the examples provided by Apple : CryptoSample&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Tue, 01 Jul 2008 08:26:01 +0200</pubDate>
    <guid isPermaLink="false">http://devteam.taktik.be/index.php?/archives/2-guid.html</guid>
    
</item>
<item>
    <title>Echo is released</title>
    <link>http://devteam.taktik.be/index.php?/archives/1-Echo-is-released.html</link>
            <category>Cocoa</category>
    
    <comments>http://devteam.taktik.be/index.php?/archives/1-Echo-is-released.html#comments</comments>
    <wfw:comment>http://devteam.taktik.be/wfwcomment.php?cid=1</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://devteam.taktik.be/rss.php?version=2.0&amp;type=comments&amp;cid=1</wfw:commentRss>
    

    <author>nospam@example.com (Antoine Baudoux)</author>
    <content:encoded>
    &lt;div class=&quot;serendipity_imageComment_right&quot; style=&quot;width: 110px&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;a class=&#039;serendipity_image_link&#039; href=&#039;http://devteam.taktik.be/uploads/Echo-mainscreen1.png&#039; target=&quot;_blank&quot;&gt;&lt;!-- s9ymdb:4 --&gt;&lt;img width=&quot;110&quot; height=&quot;68&quot;  src=&quot;http://devteam.taktik.be/uploads/Echo-mainscreen1.serendipityThumb.png&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;serendipity_imageComment_txt&quot;&gt;The echo main screen, with some explanations&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
This is the first beta release of the Echo application.&lt;br /&gt;
&lt;br /&gt;
Echo can be used to do automated program/interface testing.&lt;br /&gt;
&lt;br /&gt;
Echo can record mouse/keyboard activity and play them back. It can also take screen captures when recording (alt + esc keys). Screen captures act like CheckPoints that will determine if your test succeeds or fails.&lt;br /&gt;
&lt;br /&gt;
You can then define one or more zones of interest on the screen captures. When playing back, Echo will check that the zones of interest are strictly equal to the recorded zones. This allows you to check that your program behaves as expected.&lt;br /&gt;
&lt;br /&gt;
For now only absolute zones can be defined. This means that the windows/views must be exactly positioned (even a 1 pixel offset will make the test fail). You could use a debug menu in your tested application (or a hidden key combo) that would position the windows correctly. Future version will include anchor zones that will allow for relative zone comparing.&lt;br /&gt;
&lt;br /&gt;
With Echo you can :&lt;br /&gt;
&lt;br /&gt;
Define tests, which are a group of test cases. &lt;br /&gt;
Define and record test cases. This is the unit of testing in Echo. You then record (ctrl + esc) a serie of key/mouse events and screen captures (called checkpoints in Echo) attached to the case.&lt;br /&gt;
Run test cases : selecting a case and clicking on “run case” will launch the case playback.&lt;br /&gt;
Examine case playback results. Each case playback has its associated case result. There you can see if your case failed or succeeded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Keyboard shortcuts&lt;br /&gt;
&lt;br /&gt;
Ctrl + esc : start/stop recording of a case. You must have a case selected.&lt;br /&gt;
Ctrl + Alt + esc : start/stop playback of a case. You must have a case selected.&lt;br /&gt;
Alt + esc : Create a checkpoint (For now only a screen capture).&lt;br /&gt;
&lt;br /&gt;
Known limitations/bugs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Once recorded you can&#039;t modify a case, you can only delete it&lt;br /&gt;
- Only Absolute zone positioning/checking for now&lt;br /&gt;
- The only actions available are those recorded, i.e. Mouse/Keyboard events. Future versions should include Shell script actions (setUp/TearDown, etc...) and other action types.&lt;br /&gt;
- The only Check point available is a screen capture check. Future checks should include shell scripts, password typing, and other checkPoint types.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Info/Remarks&lt;br /&gt;
&lt;br /&gt;
Please send any info/remark to ab@taktik.be&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://devteam.taktik.be/uploads/Echo0.1.dmg&quot; title=&quot;Echo0.1.dmg&quot; target=&quot;_blank&quot;&gt;Echo0.1.dmg&lt;/a&gt; 
    </content:encoded>

    <pubDate>Fri, 04 Jan 2008 18:30:36 +0100</pubDate>
    <guid isPermaLink="false">http://devteam.taktik.be/index.php?/archives/1-guid.html</guid>
    
</item>

</channel>
</rss>