<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1910582327705849044</id><updated>2026-09-27T15:51:18.643+02:00</updated><category term="Apple"/><category term="Macintosh"/><category term="Objective-C"/><category term="Web"/><category term="iPhone"/><title type='text'>Dragonsreach</title><subtitle type='html'>| Divan Visagie</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dvisagie.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://dvisagie.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Divan Visagie</name><uri>http://www.blogger.com/profile/09768053621931906759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWwrjWoGyE9v8giI2PJ6TiPRNfspctatHI_V6xhlgjhYFsWig3GDp6Dy9s7mids4eZGrHI4cH-xL5jb2UJ9WtsKBQv8D9Wi3TiWt9K7mQqD83PpYnm4v8t9IRRfbH5EQ/s220/Tuxgun.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1910582327705849044.post-852882135653176186</id><published>2012-06-02T11:39:00.001+02:00</published><updated>2012-06-02T11:46:14.399+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apple"/><category scheme="http://www.blogger.com/atom/ns#" term="iPhone"/><category scheme="http://www.blogger.com/atom/ns#" term="Macintosh"/><category scheme="http://www.blogger.com/atom/ns#" term="Objective-C"/><title type='text'>Removing NSLogs from release build</title><content type='html'>NSLogs are great when debugging to see exactly what is going on but the downside is that they impact heavily on performance (I speak from experience on that one).&lt;br /&gt;
&lt;br /&gt;
Luckily there is a way to &quot;disable&quot; them on release builds of your application and still have them in your debug builds. we do this by simply adding the following macro to the prefix .pch file in your project or anywhere before the entry point to your application.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #643820;&quot;&gt;#ifdef&amp;nbsp;DEBUG&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #643820;&quot;&gt;#define&amp;nbsp;NSLog(...)&amp;nbsp;NSLog(__VA_ARGS__)&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #643820;&quot;&gt;#else&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #643820;&quot;&gt;#define&amp;nbsp;NSLog(...)&amp;nbsp;{}&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #643820;&quot;&gt;#endif&lt;/span&gt;
    &lt;br /&gt;
&lt;span style=&quot;color: #643820;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
If you want an&amp;nbsp;explanation here it is.&lt;br /&gt;
&lt;br /&gt;
When you build a Debug version of an application DEBUG is defined , if its a release build , DEBUG is not defined.This macro checks if DEBUG is defined , if it is it sets NSLog to what it should be , if DEBUG is not defined then NSLog is defined as an empty code block that as you should know will do nothing , thus saving on performance.</content><link rel='replies' type='application/atom+xml' href='http://dvisagie.blogspot.com/feeds/852882135653176186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dvisagie.blogspot.com/2012/06/removing-nslogs-from-release-build.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/852882135653176186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/852882135653176186'/><link rel='alternate' type='text/html' href='http://dvisagie.blogspot.com/2012/06/removing-nslogs-from-release-build.html' title='Removing NSLogs from release build'/><author><name>Divan Visagie</name><uri>http://www.blogger.com/profile/09768053621931906759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWwrjWoGyE9v8giI2PJ6TiPRNfspctatHI_V6xhlgjhYFsWig3GDp6Dy9s7mids4eZGrHI4cH-xL5jb2UJ9WtsKBQv8D9Wi3TiWt9K7mQqD83PpYnm4v8t9IRRfbH5EQ/s220/Tuxgun.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910582327705849044.post-5184338759303582791</id><published>2012-05-12T11:25:00.000+02:00</published><updated>2012-05-12T11:25:52.894+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apple"/><category scheme="http://www.blogger.com/atom/ns#" term="iPhone"/><category scheme="http://www.blogger.com/atom/ns#" term="Objective-C"/><title type='text'>Color status bar on iPhone</title><content type='html'>This is just a quick tip with some basic logic on how to get a colored status bar on an iphone app ,here i will be assuming that the app does not rotate so i will be placing all the code in appdelegate in the &lt;br /&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;-&amp;nbsp;(&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;BOOL&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)application:(&lt;/span&gt;&lt;span style=&quot;color: #5c2699;&quot;&gt;UIApplication&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;*)application&amp;nbsp;didFinishLaunchingWithOptions:(&lt;/span&gt;&lt;span style=&quot;color: #5c2699;&quot;&gt;NSDictionary&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;*)launchOptions&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
So the secret is really that there is no secret ,apples framework does not allow you to choose the color of the status bar so instead we set the status bar to the translucent &amp;nbsp;predefined style of&amp;nbsp;&lt;tt&gt;UIStatusBarStyleBlackTranslucent&lt;/tt&gt;&amp;nbsp;and then we draw a colored view behind it to make it appear as though the color of the bar has changed. Here is a sample where i &quot;tinted&quot; the statusbar cyan in the app delegate :&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;-&amp;nbsp;(&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;BOOL&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)application:(&lt;/span&gt;&lt;span style=&quot;color: #5c2699;&quot;&gt;UIApplication&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;*)application&amp;nbsp;didFinishLaunchingWithOptions:(&lt;/span&gt;&lt;span style=&quot;color: #5c2699;&quot;&gt;NSDictionary&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;*)launchOptions&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[[&lt;/span&gt;&lt;span style=&quot;color: #5c2699;&quot;&gt;UIApplication&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e;&quot;&gt;sharedApplication&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e;&quot;&gt;setStatusBarStyle&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e;&quot;&gt;UIStatusBarStyleBlackTranslucent&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e;&quot;&gt;animated&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;NO&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;];&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #5c2699;&quot;&gt;UIView&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;*colorStatBar&amp;nbsp;=&amp;nbsp;[[&lt;/span&gt;&lt;span style=&quot;color: #5c2699;&quot;&gt;UIView&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e;&quot;&gt;alloc&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e;&quot;&gt;initWithFrame&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e;&quot;&gt;CGRectMake&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #1c00cf;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #1c00cf;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #1c00cf;&quot;&gt;320&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #1c00cf;&quot;&gt;20&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)];&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;colorStatBar.&lt;/span&gt;&lt;span style=&quot;color: #5c2699;&quot;&gt;backgroundColor&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;=&amp;nbsp;[&lt;/span&gt;&lt;span style=&quot;color: #5c2699;&quot;&gt;UIColor&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e;&quot;&gt;cyanColor&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;];&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;colorStatBar.&lt;/span&gt;&lt;span style=&quot;color: #5c2699;&quot;&gt;bounds&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e;&quot;&gt;CGRectMake&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #1c00cf;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #1c00cf;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #1c00cf;&quot;&gt;320&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #1c00cf;&quot;&gt;20&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&lt;/span&gt;&lt;span style=&quot;color: #3f6e74;&quot;&gt;_window&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e;&quot;&gt;addSubview&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;:colorStatBar];&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;YES&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
Again this only works if your app does not rotate , though it wont take much modification to support that,the main thing here is that you need to understand that to color the statusbar you have to make it transparent and draw behind it. This is what your app should look like if you were to place this code snippet into your appdelegate.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg44M2iLmF6_TpRLu6xZFQUTyFJfUQYOlEigPBNuPfukpZhkU3cxfY3cQiyj4EgdVgGgzS9IrqDYOFMSYDyf17QeIXCx0iR1AuWFIQXBsVEHflwGG3RD8UuUcHAZCr6ZOAQyLz-oidTXjY/s1600/iOS+Simulator+Screen+shot+12+May+2012+11.18.17+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg44M2iLmF6_TpRLu6xZFQUTyFJfUQYOlEigPBNuPfukpZhkU3cxfY3cQiyj4EgdVgGgzS9IrqDYOFMSYDyf17QeIXCx0iR1AuWFIQXBsVEHflwGG3RD8UuUcHAZCr6ZOAQyLz-oidTXjY/s1600/iOS+Simulator+Screen+shot+12+May+2012+11.18.17+AM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dvisagie.blogspot.com/feeds/5184338759303582791/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dvisagie.blogspot.com/2012/05/color-status-bar-on-iphone.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/5184338759303582791'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/5184338759303582791'/><link rel='alternate' type='text/html' href='http://dvisagie.blogspot.com/2012/05/color-status-bar-on-iphone.html' title='Color status bar on iPhone'/><author><name>Divan Visagie</name><uri>http://www.blogger.com/profile/09768053621931906759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWwrjWoGyE9v8giI2PJ6TiPRNfspctatHI_V6xhlgjhYFsWig3GDp6Dy9s7mids4eZGrHI4cH-xL5jb2UJ9WtsKBQv8D9Wi3TiWt9K7mQqD83PpYnm4v8t9IRRfbH5EQ/s220/Tuxgun.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg44M2iLmF6_TpRLu6xZFQUTyFJfUQYOlEigPBNuPfukpZhkU3cxfY3cQiyj4EgdVgGgzS9IrqDYOFMSYDyf17QeIXCx0iR1AuWFIQXBsVEHflwGG3RD8UuUcHAZCr6ZOAQyLz-oidTXjY/s72-c/iOS+Simulator+Screen+shot+12+May+2012+11.18.17+AM.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910582327705849044.post-1016037319530975967</id><published>2012-04-06T13:35:00.000+02:00</published><updated>2012-04-07T12:46:21.067+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Objective-C"/><title type='text'>Using delegates in Objective-C</title><content type='html'>&lt;/br&gt;&lt;/br&gt;
Why use delegation?&lt;br /&gt;
&lt;br /&gt;
Well when writing Objective-C programs in Xcode we are encouraged to use the MVC(Model View Controller) structure.In MVC a model cannot send messages directly to a specific controller.This can become a problem if data in your model changes independantly and you need to update this information in your view via the controller(The model must never communicate directly with the view).This is where a delegate comes in,it allows messages to be sent from the model to a controller that is not specified in the model but is rather specified by the controller,in other words the controller specifies itself.&lt;br /&gt;
&lt;br /&gt;
If you dont really understand what im talking about so far ,don&#39;t worry.I didn&#39;t understand delegates either until I needed one,but hopefully by the end of this tutorial you will understand not only how to use a delegate ,but the reason you would want to use one.&lt;br /&gt;
&lt;br /&gt;
Program breakdown&lt;br /&gt;
&lt;br /&gt;
For this tutorial we will write a program that has a model that will change an integer value on a timer event and we will have a view with a label and a controller that will update the value displayed on the label.We will then use delegation to tell the controller when it needs to update the label by broadcasting messages from the model.&lt;br /&gt;
&lt;br /&gt;
First things first ,lets open up Xcode and create a single view based iPhone application With ARC(Automatic Reference Counting) enabled,I tried doing this without ARC before and alot of things broke and I actually wasn&#39;t able to fix it.I am also using storyboards,you can use Xibs if you know what you are doing.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEE-69H6ciao5LtqPhvDiY1CYq84zYAXzJOVZ7y427OTzBUWPOLDLIEh9h1tQSqrxQ2Lyc8IDxCGhGDP04Wqc7pZMLvMQqy2yp1f_QQiy-6HBcxPG66_F7buxG-Tp4pGltKQhN8B06lcU/s1600/Screen+Shot+2012-04-06+at+11.09.26+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;214&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEE-69H6ciao5LtqPhvDiY1CYq84zYAXzJOVZ7y427OTzBUWPOLDLIEh9h1tQSqrxQ2Lyc8IDxCGhGDP04Wqc7pZMLvMQqy2yp1f_QQiy-6HBcxPG66_F7buxG-Tp4pGltKQhN8B06lcU/s320/Screen+Shot+2012-04-06+at+11.09.26+AM.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Next lets add a label to the view and link it to our controller by selecting assistant editor and ctrl+dragging it into the Controller code.Make it an outlet and name it textLabel.&lt;br /&gt;
&lt;br /&gt;
Assistant Editor icon: &lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhnt9w3k9EI0U1oahYz_0guI2MPIaIy96NKEcGObL5zm6ckYWuCWIY3IWGTfxfcHqzTKvTVNOBbEOmZHhAN6xU5dX0oK4xqTjH455F9-zmLVjhkyGmoDvho8JatmFf-PouEFL6xvFsDQ/s1600/Screen+Shot+2012-04-06+at+11.26.45+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhnt9w3k9EI0U1oahYz_0guI2MPIaIy96NKEcGObL5zm6ckYWuCWIY3IWGTfxfcHqzTKvTVNOBbEOmZHhAN6xU5dX0oK4xqTjH455F9-zmLVjhkyGmoDvho8JatmFf-PouEFL6xvFsDQ/s1600/Screen+Shot+2012-04-06+at+11.26.45+AM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Creating an Outlet:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFzVCeA4HGse3VWwByXbObWu2f3FGe9z3AsKEv_FdJoigkqLKp9pPRbg50uzbc-ltG0CHi7Zn3zkVIELIMuF61yiOq9ochvFlGgrprNWAe1wIhG6Rdl-e9nAJV7jJBOl2HSJSnM-Fi7UI/s1600/Screen+Shot+2012-04-06+at+11.22.38+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;187&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFzVCeA4HGse3VWwByXbObWu2f3FGe9z3AsKEv_FdJoigkqLKp9pPRbg50uzbc-ltG0CHi7Zn3zkVIELIMuF61yiOq9ochvFlGgrprNWAe1wIhG6Rdl-e9nAJV7jJBOl2HSJSnM-Fi7UI/s320/Screen+Shot+2012-04-06+at+11.22.38+AM.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
This should generate the following code in ViewController.h:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #aa0d91;&quot;&gt;@property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;(&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;weak&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;nonatomic&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;IBOutlet&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #5c2699;&quot;&gt;UILabel&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;*textLabel;&lt;/span&gt;
    &lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
Now lets create our model,create a new Objective-C class That is a subclass of NSObject and name it NumberLooper or anything you deem appropraite.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisOnvwfVzBMHVNBqZSRi2lM7B80vkAO9LQiQ_w8GGvtodB6b6vBDOD7rZlF-aqik4WmGB2LUoKpuj_00H8SyBDqRQnsGFzZkB2e7oyc3Y_MrqyXWvY2lSr_de6jq3xilS5G4vs3ae4P6s/s1600/Screen+Shot+2012-04-06+at+12.02.24+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;228&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisOnvwfVzBMHVNBqZSRi2lM7B80vkAO9LQiQ_w8GGvtodB6b6vBDOD7rZlF-aqik4WmGB2LUoKpuj_00H8SyBDqRQnsGFzZkB2e7oyc3Y_MrqyXWvY2lSr_de6jq3xilS5G4vs3ae4P6s/s320/Screen+Shot+2012-04-06+at+12.02.24+PM.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Now lets start coding,in NumberLooper.h add the following code:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #643820;&quot;&gt;#import&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #c41a16;&quot;&gt;&amp;lt;Foundation/Foundation.h&amp;gt;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #aa0d91;&quot;&gt;@interface&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;NumberLooper&amp;nbsp;:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #5c2699;&quot;&gt;NSObject&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #5c2699;&quot;&gt;NSTimer&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;*timer;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;currentNumber;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #aa0d91;&quot;&gt;@property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;(&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;nonatomic&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;strong&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #5c2699;&quot;&gt;NSTimer&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;*timer;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;-(&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;void&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)startTimerLoop;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #aa0d91;&quot;&gt;@end&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
Now lets implement the model in NumberLooper.m &lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #643820;&quot;&gt;#import&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #c41a16;&quot;&gt;&quot;NumberLooper.h&quot;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #aa0d91;&quot;&gt;@implementation&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;NumberLooper&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #aa0d91;&quot;&gt;@synthesize&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;timer;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;-(&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;void&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)timerEvent:(&lt;/span&gt;&lt;span style=&quot;color: #5c2699;&quot;&gt;NSTimer&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;*)timer{&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007400;&quot;&gt;/*if&amp;nbsp;the&amp;nbsp;number&amp;nbsp;is&amp;nbsp;less&amp;nbsp;than&amp;nbsp;256&amp;nbsp;add&amp;nbsp;1&amp;nbsp;and&amp;nbsp;else&amp;nbsp;set&amp;nbsp;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #007400;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;the&amp;nbsp;number&amp;nbsp;to&amp;nbsp;0*/&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #3f6e74;&quot;&gt;currentNumber&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;lt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #1c00cf;&quot;&gt;256&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #3f6e74;&quot;&gt;currentNumber&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;++;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;else&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #3f6e74;&quot;&gt;currentNumber&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #1c00cf;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007400;&quot;&gt;//Display&amp;nbsp;the&amp;nbsp;number&amp;nbsp;in&amp;nbsp;the&amp;nbsp;console&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e;&quot;&gt;NSLog&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #c41a16;&quot;&gt;@&quot;%d&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #3f6e74;&quot;&gt;currentNumber&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;-(&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;void&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)startTimerLoop{&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;(!&lt;/span&gt;&lt;span style=&quot;color: #3f6e74;&quot;&gt;timer&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;){&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #3f6e74;&quot;&gt;timer&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=[&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #5c2699;&quot;&gt;NSTimer&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e;&quot;&gt;scheduledTimerWithTimeInterval&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #1c00cf;&quot;&gt;0.020&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e;&quot;&gt;target&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;self&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #2e0d6e;&quot;&gt;selector&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;@selector&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(timerEvent:)&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e;&quot;&gt;userInfo&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;nil&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e;&quot;&gt;repeats&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;YES&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;];&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e;&quot;&gt;NSLog&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #c41a16;&quot;&gt;@&quot;Timer&amp;nbsp;started.&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;else&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;{&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e;&quot;&gt;NSLog&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #c41a16;&quot;&gt;@&quot;Timer&amp;nbsp;is&amp;nbsp;already&amp;nbsp;running&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #aa0d91;&quot;&gt;@end&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
This will begin a loop that will constantly change the value of currentNumber once startTimerLoop is called,however if we ran the application now we wouldnt see this output in the console because satrtTimerLoop is never called,so lets call it ,go to ViewController.h and add &lt;br /&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #643820;&quot;&gt;#import&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #c41a16;&quot;&gt;&quot;NumberLooper.h&quot;&lt;/span&gt;
    &lt;/div&gt;
&lt;/div&gt;
then go to ViewController.m and add the following code to - (void)viewDidLoad:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #3f6e74;&quot;&gt;NumberLooper&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;*nl&amp;nbsp;=&amp;nbsp;[[&lt;/span&gt;&lt;span style=&quot;color: #3f6e74;&quot;&gt;NumberLooper&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e;&quot;&gt;alloc&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e;&quot;&gt;init&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;];&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[nl&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #26474b;&quot;&gt;startTimerLoop&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;];&lt;/span&gt;
    &lt;/div&gt;
&lt;/div&gt;
Now when we run the app on the simulator we can see the console output in Xcode of the number changing&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzLuZgSyXRDbetjaNLS9f88rLad0FBEZCwNtO0W7PzM440c9_AA0vHHyckGAdVgcmWE2_pAxNMXE_30F-RNKdmNtQXXWYfkHR-KmUqaSF_MsNLCxlmem3PJ3zgnXGijL8LzSVtRAeAYic/s1600/Screen+Shot+2012-04-06+at+12.15.34+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;62&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzLuZgSyXRDbetjaNLS9f88rLad0FBEZCwNtO0W7PzM440c9_AA0vHHyckGAdVgcmWE2_pAxNMXE_30F-RNKdmNtQXXWYfkHR-KmUqaSF_MsNLCxlmem3PJ3zgnXGijL8LzSVtRAeAYic/s320/Screen+Shot+2012-04-06+at+12.15.34+PM.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
As you can see the label is still not updating ,which is good because if it is then some sort of voodoo magic has occured because we haven&#39;t even written the delegate yet.I think its about time we do that.First we create a @protocol in the model in NumberLooper.h above the interface ,this lets us specify what messages are sent to the delegate: &lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #aa0d91;&quot;&gt;@protocol&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;NumberLooperDelegate&amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #5c2699;&quot;&gt;NSObject&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;gt;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;-(&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;void&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)numberHaschangedTo:(&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)number;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #aa0d91;&quot;&gt;@end&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #aa0d91;&quot;&gt;@interface&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;NumberLooper&amp;nbsp;:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #5c2699;&quot;&gt;NSObject&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;{  ...&lt;/span&gt;
    &lt;/div&gt;
&lt;/div&gt;
Then we set the delegate as a property in the interface,this property must always be strong.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #aa0d91;&quot;&gt;@property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;(&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;nonatomic&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;strong&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #5c2699;&quot;&gt;NSTimer&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;*timer;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #aa0d91;&quot;&gt;@property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;(&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;nonatomic&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;strong&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #3f6e74;&quot;&gt;NumberLooperDelegate&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;gt;&amp;nbsp;delegate;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;-(&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;void&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)startTimerLoop;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
Now lets move to the implementation in NumberLooper.m and synthesize the delegate:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #aa0d91;&quot;&gt;@synthesize&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;delegate;&lt;/span&gt;
    &lt;/div&gt;
&lt;/div&gt;
And now we send the message to the delegate in timerEvent just after we write the number to the console:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007400;&quot;&gt;//Display&amp;nbsp;the&amp;nbsp;number&amp;nbsp;in&amp;nbsp;the&amp;nbsp;console&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e;&quot;&gt;NSLog&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #c41a16;&quot;&gt;@&quot;%d&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #3f6e74;&quot;&gt;currentNumber&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007400;&quot;&gt;//send&amp;nbsp;the&amp;nbsp;message&amp;nbsp;to&amp;nbsp;the&amp;nbsp;delegate&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;self&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #3f6e74;&quot;&gt;delegate&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #26474b;&quot;&gt;numberHaschangedTo&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #3f6e74;&quot;&gt;currentNumber&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;];&lt;/span&gt;
    &lt;/div&gt;
&lt;/div&gt;
That wraps up all the code we need to implement in the model ,now lets move to ViewController.h,here we will tell ViewController that it can be a NumberLooperDelegate by adding &lt;numberlooperdelegate&gt; to the end of its subclass int the interface declaration like this:&lt;/numberlooperdelegate&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #aa0d91;&quot;&gt;@interface&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;ViewController&amp;nbsp;:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #5c2699;&quot;&gt;UIViewController&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #3f6e74;&quot;&gt;NumberLooperDelegate&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;gt;;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #aa0d91;&quot;&gt;@property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;(&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;weak&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;nonatomic&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;IBOutlet&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #5c2699;&quot;&gt;UILabel&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;*textLabel;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #aa0d91;&quot;&gt;@end&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
Now we implement the -(void)numberHasChangedTo: method that we declared in our @protocol in the @implementation of ViewController in ViewController.m:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: #643820;&quot;&gt;#pragma&amp;nbsp;mark&amp;nbsp;-&amp;nbsp;NumberLooperDelegate&amp;nbsp;-&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;-(&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;void&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)numberHaschangedTo:(&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)number{&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007400;&quot;&gt;//set&amp;nbsp;the&amp;nbsp;textlabel&amp;nbsp;text&amp;nbsp;value&amp;nbsp;to&amp;nbsp;the&amp;nbsp;number&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #3f6e74;&quot;&gt;textLabel&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #5c2699;&quot;&gt;text&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;=&amp;nbsp;[&lt;/span&gt;&lt;span style=&quot;color: #5c2699;&quot;&gt;NSString&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e;&quot;&gt;stringWithFormat&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #c41a16;&quot;&gt;@&quot;%d&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;,number];&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
The last thing that is left for us to do is to set ViewController as NumberLooper&#39;s delegate so that it knows who to send its message to ,we do this just before we call startLoopTimer using [NumberLooper Instance Name].delegate = self:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;-&amp;nbsp;(&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;void&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)viewDidLoad&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;super&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e;&quot;&gt;viewDidLoad&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;];&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #007400;&quot;&gt;//&amp;nbsp;Do&amp;nbsp;any&amp;nbsp;additional&amp;nbsp;setup&amp;nbsp;after&amp;nbsp;loading&amp;nbsp;the&amp;nbsp;view,&amp;nbsp;typically&amp;nbsp;from&amp;nbsp;a&amp;nbsp;nib.&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #3f6e74;&quot;&gt;NumberLooper&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;*nl&amp;nbsp;=&amp;nbsp;[[&lt;/span&gt;&lt;span style=&quot;color: #3f6e74;&quot;&gt;NumberLooper&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e;&quot;&gt;alloc&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2e0d6e;&quot;&gt;init&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;];&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;nl.&lt;/span&gt;&lt;span style=&quot;color: #3f6e74;&quot;&gt;delegate&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #aa0d91;&quot;&gt;self&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[nl&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #26474b;&quot;&gt;startTimerLoop&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;];&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;
    &lt;/div&gt;
&lt;div style=&quot;font-family: Menlo,Consolas,monospace; font-size: 12px; line-height: 14px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;
    &lt;/div&gt;
&lt;/div&gt;
Now when we run the application the label should update every time the value of currentNumber changes:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCo9ZA8Dv02wv09uh1NB29ZixXmQT7XpgEsjHRGhWSgrtzuLOm5lwEFdOIEFvxCbk_3oWIJOPd322nSFRrpZPbYKTDfBzLGLodg5wTxO6VdFiXH1FmbWlkHaDjqwiSv5w8rYkeTAIDmYc/s1600/Screen+Shot+2012-04-06+at+1.24.20+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCo9ZA8Dv02wv09uh1NB29ZixXmQT7XpgEsjHRGhWSgrtzuLOm5lwEFdOIEFvxCbk_3oWIJOPd322nSFRrpZPbYKTDfBzLGLodg5wTxO6VdFiXH1FmbWlkHaDjqwiSv5w8rYkeTAIDmYc/s320/Screen+Shot+2012-04-06+at+1.24.20+PM.png&quot; width=&quot;166&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
I hope you now have a good understanding of how to use delegates and why you would use them so that you can now go and try them out in your own apps.&lt;br /&gt;
&lt;br /&gt;
If your app did not compile or didn&#39;t work properly or you have any questiions or some part of the tutorial was unclear to you and you need help,feel free to comment,i will reply to questions when I have time.</content><link rel='replies' type='application/atom+xml' href='http://dvisagie.blogspot.com/feeds/1016037319530975967/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dvisagie.blogspot.com/2012/04/using-delegates-in-objective-c-why-use.html#comment-form' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/1016037319530975967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/1016037319530975967'/><link rel='alternate' type='text/html' href='http://dvisagie.blogspot.com/2012/04/using-delegates-in-objective-c-why-use.html' title='Using delegates in Objective-C'/><author><name>Divan Visagie</name><uri>http://www.blogger.com/profile/09768053621931906759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWwrjWoGyE9v8giI2PJ6TiPRNfspctatHI_V6xhlgjhYFsWig3GDp6Dy9s7mids4eZGrHI4cH-xL5jb2UJ9WtsKBQv8D9Wi3TiWt9K7mQqD83PpYnm4v8t9IRRfbH5EQ/s220/Tuxgun.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEE-69H6ciao5LtqPhvDiY1CYq84zYAXzJOVZ7y427OTzBUWPOLDLIEh9h1tQSqrxQ2Lyc8IDxCGhGDP04Wqc7pZMLvMQqy2yp1f_QQiy-6HBcxPG66_F7buxG-Tp4pGltKQhN8B06lcU/s72-c/Screen+Shot+2012-04-06+at+11.09.26+AM.png" height="72" width="72"/><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910582327705849044.post-9105728124905059436</id><published>2012-04-06T00:50:00.001+02:00</published><updated>2012-07-25T07:25:17.556+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apple"/><category scheme="http://www.blogger.com/atom/ns#" term="Macintosh"/><title type='text'>Lion&#39;s eat RAM&#39;s</title><content type='html'>I recently purchased a Mac-mini(Yes I own a Mac now) with relatively the same hardware specs as my(well the one I work with) MacBook pro,
Intel Core i5,Graphics 3000(or whatever) etc. The only difference being that the ram in the Mini was only 2GB and the Laptop has 4GB,we will come back to this later.&lt;br /&gt;
&lt;br /&gt;
The MacBook Pro experience:
My experience with the laptop has been great,never lagging and I really got used to using a track-pad instead of a mouse and found gestures very helpful for quick desktop management with a small screen.It was also very responsive and I keep tons of windows open all the time without problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://cache.gizmodo.com/assets/images/4/2011/07/macmini2011silver.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;360&quot; src=&quot;http://cache.gizmodo.com/assets/images/4/2011/07/macmini2011silver.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&amp;nbsp;When I got my Mac Mini,I popped it out of its box and plugged it in to my standard PC peripherals,switched it on and everything worked fine ,I got a few nice surprises too,I did not expect it to come with a wireless card or built in Bluetooth,just like it does on the MacBook.&lt;br /&gt;
&lt;br /&gt;
Then I tried to run Safari,iTunes and Xcode all at once(I do this often while working on the MacBook) and things where not so fine anymore ,the Dock was slow to respond and animate and everything was sticky.So I downloaded an app that shows memory usage in the finder bar,and Wow was I surprised,20MB free is the kind of thing you expect to see when running a hefty virtual machine,not 3 apps,it&#39;s crazy even for a 2 gig machine).&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Some research into the subject revealed that OSX Lion uses as much RAM as it can so that it has quick access to data for applications,making them more responsive,however I was getting the opposite on my Mini with 2GB of RAM,compared to the awesome performance of the 4GB in the MacBook,So to me it seemed that 2GB of RAM just wasn&#39;t enough for Lion.&lt;br /&gt;
&lt;br /&gt;
I decided to obtain a 4GB chip to stick along side one of the 1GB chips already in the Mac-Mini and I proved myself right.

From startup Lion gobbled up 2 of my RAMs(2GBs of RAM,I&#39;m trying to be metaphorical) but proceeded to be smooth and quick,exactly what I&#39;m used to on the MacBook Pro,after starting up a virtual machine and numerous other applications I noticed that nearly all of my 5GB of ram was gobbled up (I had 10MB free) but I didn&#39;t notice a performance drop like I did when I only had 2GB of ram.

So whats the point of this story?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Well the point is OSX Lion is great but if you intend running it,make sure your machine has at the very least 4GB of ram or your experience will be tarnished

PS: I realize that I may have written this article badly,but its 12:45AM so that&#39;s my excuse.</content><link rel='replies' type='application/atom+xml' href='http://dvisagie.blogspot.com/feeds/9105728124905059436/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dvisagie.blogspot.com/2012/04/my-new-macsperience.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/9105728124905059436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/9105728124905059436'/><link rel='alternate' type='text/html' href='http://dvisagie.blogspot.com/2012/04/my-new-macsperience.html' title='Lion&#39;s eat RAM&#39;s'/><author><name>Divan Visagie</name><uri>http://www.blogger.com/profile/09768053621931906759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWwrjWoGyE9v8giI2PJ6TiPRNfspctatHI_V6xhlgjhYFsWig3GDp6Dy9s7mids4eZGrHI4cH-xL5jb2UJ9WtsKBQv8D9Wi3TiWt9K7mQqD83PpYnm4v8t9IRRfbH5EQ/s220/Tuxgun.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910582327705849044.post-4542311472617622824</id><published>2012-02-06T01:06:00.000+02:00</published><updated>2012-04-07T13:02:47.545+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Web"/><title type='text'>HTML 5 simple game TEST(W,A,S,D to move F to shoot)</title><content type='html'>

  

  &lt;br /&gt;
&lt;section&gt;
    &lt;div&gt;
&lt;canvas &lt;=&quot;&quot; browser=&quot;&quot; canvas.=&quot;&quot; canvas=&quot;&quot; displayed=&quot;&quot; does=&quot;&quot; height=&quot;400&quot; html5=&quot;&quot; id=&quot;canvas&quot; if=&quot;&quot; is=&quot;&quot; not=&quot;&quot; support=&quot;&quot; text=&quot;&quot; this=&quot;&quot; width=&quot;750&quot; your=&quot;&quot;&gt;
    &lt;/canvas&gt;&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
var canvas;  
var ctx;
var x = 250;
var y = 300;
var dx = 4;
var dy = 4;
var WIDTH = 800;
var HEIGHT = 600; 

var bulletCount = 0;
var bullets = new Array();

	var w=0;
	var a=0;
	var s=0;
	var d=0;
	
	var f =0;

function circle(x,y,r) {
  ctx.beginPath();
  ctx.arc(x, y, r, 0, Math.PI*2, true);
  ctx.fill();
}

function rect(x,y,w,h) {
  ctx.beginPath();
  ctx.rect(x,y,w,h);
  ctx.closePath();
  ctx.fill();
}

 
function clear() {
  ctx.clearRect(0, 0, WIDTH, HEIGHT);
}

function init() {
  canvas = document.getElementById(&quot;canvas&quot;);
  ctx = canvas.getContext(&quot;2d&quot;);
  return setInterval(draw, 15);
}


function draw(){
	clear();
	checkControls();
	ctx.fillStyle = &quot;#FAF7F8&quot;;
	rect(0,0,WIDTH,HEIGHT);
	ctx.fillStyle = &quot;#444444&quot;;
	circle(x, y, 15);
	circle(x+7, y, 15);
	//draw the bullets
	if(bulletCount &gt; 0){
		for(var i = 0; i &lt; bulletCount; i++){
			circle(bullets[i][0],bullets[i][1],5);
			//update the bullet position
			bullets[i][1]-=7;
		}
	}
}

function fireBullet(){
	bullets[bulletCount] = new Array(x,y);
	bulletCount++;
}

//the following functions are related to input
document.onkeypress=function(e){
  
	var key = String.fromCharCode(e.charCode);
	
	if(key == &quot;d&quot;){
		d=1;
		a=0;
	}
	else if(key == &quot;a&quot;){
		a=1;
		d=0;
	}
		
	if(key == &quot;w&quot;){
		w=1;
		s=0;
	}
	else if(key == &quot;s&quot;){
		s=1;
		w=0;
	}
	
	if(key == &quot;f&quot;)
		f=1;
}
function checkControls()
{
	if(w)
		y-=dy;
	if(s)
		y+=dy;
	if(a)
		x-=dx;
	if(d)
		x+=dx;
	if(f)
		fireBullet();
}
document.onkeyup=function(ev){	
		w=0;a=0;s=0;d=0;
			f=0;
}

init();
&lt;/script&gt;

  &lt;/section&gt;

</content><link rel='replies' type='application/atom+xml' href='http://dvisagie.blogspot.com/feeds/4542311472617622824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dvisagie.blogspot.com/2012/02/html-5-game-testwasd-to-movef-to-shoot.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/4542311472617622824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/4542311472617622824'/><link rel='alternate' type='text/html' href='http://dvisagie.blogspot.com/2012/02/html-5-game-testwasd-to-movef-to-shoot.html' title='HTML 5 simple game TEST(W,A,S,D to move F to shoot)'/><author><name>Divan Visagie</name><uri>http://www.blogger.com/profile/09768053621931906759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWwrjWoGyE9v8giI2PJ6TiPRNfspctatHI_V6xhlgjhYFsWig3GDp6Dy9s7mids4eZGrHI4cH-xL5jb2UJ9WtsKBQv8D9Wi3TiWt9K7mQqD83PpYnm4v8t9IRRfbH5EQ/s220/Tuxgun.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910582327705849044.post-8893757095151606528</id><published>2012-02-05T20:35:00.001+02:00</published><updated>2013-08-10T21:29:31.578+02:00</updated><title type='text'>The World’s best operating system</title><content type='html'>&lt;div class=&quot;MsoNormal&quot;&gt;
This is a debate that has waged since the beginning of the
three major operating systems, namely&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Microsoft Windows, The Mac Operating system and the many
variations of Linux. For the purpose of this post I will be comparing using the
latest versions, so that is Microsoft Windows 7, Mac OSX Lion and well, Linux
is Linux.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Microsoft Windows is the operating system everybody should
be familiar with, it’s pretty much what people grow up with and become used to,
when you buy a pc, it more than likely comes with windows, you don’t get pc
games, you get “games for windows”, plus the average person’s question when
they see Linux on your pc is “What windows is that?”. Up until now though, I
have never been happy with windows, there were always error messages and
viruses and just general slowness and inefficiency. But from the moment I saw
windows 7, I liked it, not only did it look good, but it performed well and I
was able to use it for months without a single error, I nicknamed it Windows 1.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
I first started using Linux with Ubuntu 9.10 and was
immediately hooked. First of all, I love customization, and boy does Linux
allow customization. The vast array of free apps was another plus and I found
that I learned more about the workings of my computer in a year of using Linux
than I learned in years of using Windows. Unfortunately 10.04 was a real pain
to get to work with my Nvidia graphics card and I really only tried again with
11.04 with the new unity interface, things are getting a lot friendlier to
normal users and I was happy with 11.04. When 11.10 came along I was so eager
to try it I installed it over my 11.04,I now regret it because again the
graphics drivers were and issue, I couldn’t install them because the software
manager froze every time I opened it and there was no reverting back to synaptic,
I suppose one day when I feel like it, I will attempt to resolve the problem
using apt-get. If you are using a pc with a built-in Intel powered graphics
accelerator though, It’s a good OS for the pc (provided you aren’t an avid
gamer).&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Last but not least comes Mac OSX. My experience with the OS
is very limited because I don’t and never have owned a Mac, however I do run an
OSX Virtual Box and will play with a Mac every chance I get. Strangely I like it,
even though there is not much in the way of customization, it’s awesome to work
with &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;and I like its Linuxy feel. It is
also fast, very fast ,and that’s because its designed for only a few types of
hardware so it’s not bogged down with drivers ,it will still have minor errors
but it’s generally a smooth experience the entire time.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis4M3dXFzPSy5tUpXNztJfuHiuezD2Dj_yQZuwjEJbDPuddd1ggU5c6RoF540exI8ktvdU1DknalSG9U594d2kH_nxcHSOaSWBVS5etVlMiTiGQQl_SQjc2DQd8AolDPq9stSgwzEpa5M/s1600/10822ad1917e-xl.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;220&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis4M3dXFzPSy5tUpXNztJfuHiuezD2Dj_yQZuwjEJbDPuddd1ggU5c6RoF540exI8ktvdU1DknalSG9U594d2kH_nxcHSOaSWBVS5etVlMiTiGQQl_SQjc2DQd8AolDPq9stSgwzEpa5M/s320/10822ad1917e-xl.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
So ,the moment you have been waiting for, the final verdict,
what is the best? Well after much thought I have found that a man named Erwin &lt;a href=&quot;http://en.wikipedia.org/wiki/Schr%C3%B6dinger%27s_cat&quot;&gt;Schrödinger&lt;/a&gt;
already found the solution ,well sort of, because they are all the best ,and
they are all not the best . You see ,the answer is only really determined by
yourself, because each person is an individual and we all have our own likes
and dislikes , so it doesn’t matter which one is the best, it matters which one
is best for you, they all have their merits ,and keep in mind that competition
drives innovation. As a tech-nerd I could use all three without an issue &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;and will keep the Schrödinger’s cat point of
view. &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dvisagie.blogspot.com/feeds/8893757095151606528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dvisagie.blogspot.com/2012/02/worlds-best-operating-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/8893757095151606528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/8893757095151606528'/><link rel='alternate' type='text/html' href='http://dvisagie.blogspot.com/2012/02/worlds-best-operating-system.html' title='The World’s best operating system'/><author><name>Divan Visagie</name><uri>http://www.blogger.com/profile/09768053621931906759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWwrjWoGyE9v8giI2PJ6TiPRNfspctatHI_V6xhlgjhYFsWig3GDp6Dy9s7mids4eZGrHI4cH-xL5jb2UJ9WtsKBQv8D9Wi3TiWt9K7mQqD83PpYnm4v8t9IRRfbH5EQ/s220/Tuxgun.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis4M3dXFzPSy5tUpXNztJfuHiuezD2Dj_yQZuwjEJbDPuddd1ggU5c6RoF540exI8ktvdU1DknalSG9U594d2kH_nxcHSOaSWBVS5etVlMiTiGQQl_SQjc2DQd8AolDPq9stSgwzEpa5M/s72-c/10822ad1917e-xl.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910582327705849044.post-435171920397684014</id><published>2012-01-10T23:08:00.002+02:00</published><updated>2012-01-10T23:14:36.595+02:00</updated><title type='text'>Skyrim</title><content type='html'>Out of all the games I was anticipating in 2011, The Elder Scrolls: Skyrim&amp;nbsp; (Kelle: Keizaal in the Dragon tounge) was strangely not one of them.This was because I hated Oblivion and expected Skyrim to be the same.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.gamersmint.com/wp-content/uploads/2011/01/Elder-Scrolls-Skyrim-Leveling1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;184&quot; src=&quot;http://www.gamersmint.com/wp-content/uploads/2011/01/Elder-Scrolls-Skyrim-Leveling1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;I was very,very wrong. There were actually only two reasons I hated Oblivion, but they deterred me from actually attempting to finish the game.Reason one was that the inventory used illogical little icons and was as intuitive as Quantum mechanics(I to this day don&#39;t know how to drop an item in Oblivion) .Reason two was aesthetics,the people are the ugliest collection of creatures ive seen in a game,and thats just the humans... And then theres the water,lets just say it filled my head with strange thoughts of water coolers in the Bethesda office being filled with a strange matte blue liquid.&lt;br /&gt;
&lt;br /&gt;
In Skyrim they fixed it all ,everything is beautiful ,and finally someone got it into thier head that words are alot more intuitive than silly little pictures (they even tell you how to drop stuff in the inventory menu).I am a sucker for lore and there is plenty of it in this game,I got so immersed in the world of Skyrim I found myself reading online about the dragon language used in the game.Sad to say that the made up language is not a full language and only consists of the few hundred words needed by Bethesda to produce the game so there will never be nerds speaking fluent Dragon as there are speaking Klingon.(hint hint Bethesda)&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTUCfQITs6T-aZPWW9Qd2ppcsqjsDtP2fBzSwCx08Uej0WZkeEvj3k3Mzk9uc07bEM9lAVTXHpWj4uN9y4R26MEMg0YTJ6ewnQtypTrqGZ7dyue4ZD0S3DTe9rtfUFQKHLSYX54wmK9bk/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTUCfQITs6T-aZPWW9Qd2ppcsqjsDtP2fBzSwCx08Uej0WZkeEvj3k3Mzk9uc07bEM9lAVTXHpWj4uN9y4R26MEMg0YTJ6ewnQtypTrqGZ7dyue4ZD0S3DTe9rtfUFQKHLSYX54wmK9bk/s1600/Capture.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
After completing the questline twice I decided to do some cheating,this proved a lot of online chatter about the game to be false.My uber character at level 81(highest) with all skills at 100 and all perks&lt;br /&gt;
only dissapeared for around two seconds when suddenly changing to sneak in the middle of combat and I was not able to pickpocket clothes off people without them noticing.What is notable though is that in combat this fully leveled character could probably take on all nine devines at once and win(yes nine ,not 8 you thalmor elf!).&lt;br /&gt;
&lt;br /&gt;
There are tonns of quests to do in Skyrim ,alot of which have different ways to approach them and apparently they just keep generating until Alduin eats this world,but after a while you will notice they will become repetitive.Once you have reached that point you have two options,read all the interesting books scattered throughout the lands ,or head down to the nexus and pick up some mods,the selection of mods is already large and impressive, and keep in mind that the Creation kit hasent even been released to the public yet.&lt;br /&gt;
&lt;br /&gt;
Personally ,I enjoyed this game more than any other game I played this year,its completely immersive and I can&#39;t wait for the DLC because I actually feel bad getting bored with it.Well done Bethesda.&lt;br /&gt;
&lt;br /&gt;
As the dragons say: Brit.&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://dvisagie.blogspot.com/feeds/435171920397684014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dvisagie.blogspot.com/2012/01/skyrim.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/435171920397684014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/435171920397684014'/><link rel='alternate' type='text/html' href='http://dvisagie.blogspot.com/2012/01/skyrim.html' title='Skyrim'/><author><name>Divan Visagie</name><uri>http://www.blogger.com/profile/09768053621931906759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWwrjWoGyE9v8giI2PJ6TiPRNfspctatHI_V6xhlgjhYFsWig3GDp6Dy9s7mids4eZGrHI4cH-xL5jb2UJ9WtsKBQv8D9Wi3TiWt9K7mQqD83PpYnm4v8t9IRRfbH5EQ/s220/Tuxgun.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTUCfQITs6T-aZPWW9Qd2ppcsqjsDtP2fBzSwCx08Uej0WZkeEvj3k3Mzk9uc07bEM9lAVTXHpWj4uN9y4R26MEMg0YTJ6ewnQtypTrqGZ7dyue4ZD0S3DTe9rtfUFQKHLSYX54wmK9bk/s72-c/Capture.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910582327705849044.post-517832702009429655</id><published>2011-10-15T11:25:00.002+02:00</published><updated>2011-12-12T20:53:09.992+02:00</updated><title type='text'>Using The AeroGlass library</title><content type='html'>&lt;link href=&quot;Documentation_files/filelist.xml&quot; rel=&quot;File-List&quot;&gt;&lt;/link&gt;
&lt;link href=&quot;Documentation_files/editdata.mso&quot; rel=&quot;Edit-Time-Data&quot;&gt;&lt;/link&gt;

&lt;link href=&quot;Documentation_files/themedata.thmx&quot; rel=&quot;themeData&quot;&gt;&lt;/link&gt;
&lt;link href=&quot;Documentation_files/colorschememapping.xml&quot; rel=&quot;colorSchemeMapping&quot;&gt;&lt;/link&gt;

&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
 {font-family:Wingdings;
 panose-1:5 0 0 0 0 0 0 0 0 0;
 mso-font-charset:2;
 mso-generic-font-family:auto;
 mso-font-pitch:variable;
 mso-font-signature:0 268435456 0 0 -2147483648 0;}
@font-face
 {font-family:&quot;Cambria Math&quot;;
 panose-1:2 4 5 3 5 4 6 3 2 4;
 mso-font-charset:1;
 mso-generic-font-family:roman;
 mso-font-format:other;
 mso-font-pitch:variable;
 mso-font-signature:0 0 0 0 0 0;}
@font-face
 {font-family:Calibri;
 panose-1:2 15 5 2 2 2 4 3 2 4;
 mso-font-charset:0;
 mso-generic-font-family:swiss;
 mso-font-pitch:variable;
 mso-font-signature:-520092929 1073786111 9 0 415 0;}
@font-face
 {font-family:Tahoma;
 panose-1:2 11 6 4 3 5 4 4 2 4;
 mso-font-charset:0;
 mso-generic-font-family:swiss;
 mso-font-format:other;
 mso-font-pitch:variable;
 mso-font-signature:3 0 0 0 1 0;}
@font-face
 {font-family:Consolas;
 panose-1:2 11 6 9 2 2 4 3 2 4;
 mso-font-charset:0;
 mso-generic-font-family:modern;
 mso-font-pitch:fixed;
 mso-font-signature:-520092929 1073806591 9 0 415 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
 {mso-style-unhide:no;
 mso-style-qformat:yes;
 mso-style-parent:&quot;&quot;;
 margin-top:0in;
 margin-right:0in;
 margin-bottom:10.0pt;
 margin-left:0in;
 line-height:115%;
 mso-pagination:widow-orphan;
 font-size:11.0pt;
 font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
 mso-ascii-font-family:Calibri;
 mso-ascii-theme-font:minor-latin;
 mso-fareast-font-family:Calibri;
 mso-fareast-theme-font:minor-latin;
 mso-hansi-font-family:Calibri;
 mso-hansi-theme-font:minor-latin;
 mso-bidi-font-family:&quot;Times New Roman&quot;;
 mso-bidi-theme-font:minor-bidi;
 mso-ansi-language:EN-ZA;}
p.MsoHeader, li.MsoHeader, div.MsoHeader
 {mso-style-priority:99;
 mso-style-link:&quot;Header Char&quot;;
 margin:0in;
 margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 tab-stops:center 225.65pt right 451.3pt;
 font-size:11.0pt;
 font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
 mso-ascii-font-family:Calibri;
 mso-ascii-theme-font:minor-latin;
 mso-fareast-font-family:Calibri;
 mso-fareast-theme-font:minor-latin;
 mso-hansi-font-family:Calibri;
 mso-hansi-theme-font:minor-latin;
 mso-bidi-font-family:&quot;Times New Roman&quot;;
 mso-bidi-theme-font:minor-bidi;
 mso-ansi-language:EN-ZA;}
p.MsoFooter, li.MsoFooter, div.MsoFooter
 {mso-style-priority:99;
 mso-style-link:&quot;Footer Char&quot;;
 margin:0in;
 margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 tab-stops:center 225.65pt right 451.3pt;
 font-size:11.0pt;
 font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
 mso-ascii-font-family:Calibri;
 mso-ascii-theme-font:minor-latin;
 mso-fareast-font-family:Calibri;
 mso-fareast-theme-font:minor-latin;
 mso-hansi-font-family:Calibri;
 mso-hansi-theme-font:minor-latin;
 mso-bidi-font-family:&quot;Times New Roman&quot;;
 mso-bidi-theme-font:minor-bidi;
 mso-ansi-language:EN-ZA;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
 {mso-style-noshow:yes;
 mso-style-priority:99;
 mso-style-link:&quot;Balloon Text Char&quot;;
 margin:0in;
 margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:8.0pt;
 font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;
 mso-fareast-font-family:Calibri;
 mso-fareast-theme-font:minor-latin;
 mso-bidi-font-family:Tahoma;
 mso-ansi-language:EN-ZA;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
 {mso-style-priority:34;
 mso-style-unhide:no;
 mso-style-qformat:yes;
 margin-top:0in;
 margin-right:0in;
 margin-bottom:10.0pt;
 margin-left:.5in;
 mso-add-space:auto;
 line-height:115%;
 mso-pagination:widow-orphan;
 font-size:11.0pt;
 font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
 mso-ascii-font-family:Calibri;
 mso-ascii-theme-font:minor-latin;
 mso-fareast-font-family:Calibri;
 mso-fareast-theme-font:minor-latin;
 mso-hansi-font-family:Calibri;
 mso-hansi-theme-font:minor-latin;
 mso-bidi-font-family:&quot;Times New Roman&quot;;
 mso-bidi-theme-font:minor-bidi;
 mso-ansi-language:EN-ZA;}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst
 {mso-style-priority:34;
 mso-style-unhide:no;
 mso-style-qformat:yes;
 mso-style-type:export-only;
 margin-top:0in;
 margin-right:0in;
 margin-bottom:0in;
 margin-left:.5in;
 margin-bottom:.0001pt;
 mso-add-space:auto;
 line-height:115%;
 mso-pagination:widow-orphan;
 font-size:11.0pt;
 font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
 mso-ascii-font-family:Calibri;
 mso-ascii-theme-font:minor-latin;
 mso-fareast-font-family:Calibri;
 mso-fareast-theme-font:minor-latin;
 mso-hansi-font-family:Calibri;
 mso-hansi-theme-font:minor-latin;
 mso-bidi-font-family:&quot;Times New Roman&quot;;
 mso-bidi-theme-font:minor-bidi;
 mso-ansi-language:EN-ZA;}
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle
 {mso-style-priority:34;
 mso-style-unhide:no;
 mso-style-qformat:yes;
 mso-style-type:export-only;
 margin-top:0in;
 margin-right:0in;
 margin-bottom:0in;
 margin-left:.5in;
 margin-bottom:.0001pt;
 mso-add-space:auto;
 line-height:115%;
 mso-pagination:widow-orphan;
 font-size:11.0pt;
 font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
 mso-ascii-font-family:Calibri;
 mso-ascii-theme-font:minor-latin;
 mso-fareast-font-family:Calibri;
 mso-fareast-theme-font:minor-latin;
 mso-hansi-font-family:Calibri;
 mso-hansi-theme-font:minor-latin;
 mso-bidi-font-family:&quot;Times New Roman&quot;;
 mso-bidi-theme-font:minor-bidi;
 mso-ansi-language:EN-ZA;}
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast
 {mso-style-priority:34;
 mso-style-unhide:no;
 mso-style-qformat:yes;
 mso-style-type:export-only;
 margin-top:0in;
 margin-right:0in;
 margin-bottom:10.0pt;
 margin-left:.5in;
 mso-add-space:auto;
 line-height:115%;
 mso-pagination:widow-orphan;
 font-size:11.0pt;
 font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
 mso-ascii-font-family:Calibri;
 mso-ascii-theme-font:minor-latin;
 mso-fareast-font-family:Calibri;
 mso-fareast-theme-font:minor-latin;
 mso-hansi-font-family:Calibri;
 mso-hansi-theme-font:minor-latin;
 mso-bidi-font-family:&quot;Times New Roman&quot;;
 mso-bidi-theme-font:minor-bidi;
 mso-ansi-language:EN-ZA;}
span.BalloonTextChar
 {mso-style-name:&quot;Balloon Text Char&quot;;
 mso-style-noshow:yes;
 mso-style-priority:99;
 mso-style-unhide:no;
 mso-style-locked:yes;
 mso-style-link:&quot;Balloon Text&quot;;
 mso-ansi-font-size:8.0pt;
 mso-bidi-font-size:8.0pt;
 font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;
 mso-ascii-font-family:Tahoma;
 mso-hansi-font-family:Tahoma;
 mso-bidi-font-family:Tahoma;}
span.HeaderChar
 {mso-style-name:&quot;Header Char&quot;;
 mso-style-priority:99;
 mso-style-unhide:no;
 mso-style-locked:yes;
 mso-style-link:Header;}
span.FooterChar
 {mso-style-name:&quot;Footer Char&quot;;
 mso-style-priority:99;
 mso-style-unhide:no;
 mso-style-locked:yes;
 mso-style-link:Footer;}
.MsoChpDefault
 {mso-style-type:export-only;
 mso-default-props:yes;
 mso-ascii-font-family:Calibri;
 mso-ascii-theme-font:minor-latin;
 mso-fareast-font-family:Calibri;
 mso-fareast-theme-font:minor-latin;
 mso-hansi-font-family:Calibri;
 mso-hansi-theme-font:minor-latin;
 mso-bidi-font-family:&quot;Times New Roman&quot;;
 mso-bidi-theme-font:minor-bidi;
 mso-ansi-language:EN-ZA;}
.MsoPapDefault
 {mso-style-type:export-only;
 margin-bottom:10.0pt;
 line-height:115%;}
 /* Page Definitions */
 @page
 {mso-footnote-separator:url(&quot;Documentation_files/header.htm&quot;) fs;
 mso-footnote-continuation-separator:url(&quot;Documentation_files/header.htm&quot;) fcs;
 mso-endnote-separator:url(&quot;Documentation_files/header.htm&quot;) es;
 mso-endnote-continuation-separator:url(&quot;Documentation_files/header.htm&quot;) ecs;}
@page Section1
 {size:595.3pt 841.9pt;
 margin:1.0in 1.0in 1.0in 1.0in;
 mso-header-margin:35.4pt;
 mso-footer-margin:35.4pt;
 mso-footer:url(&quot;Documentation_files/header.htm&quot;) f1;
 mso-paper-source:0;}
div.Section1
 {page:Section1;}
 /* List Definitions */
 @list l0
 {mso-list-id:197546870;
 mso-list-type:hybrid;
 mso-list-template-ids:735991340 470351873 470351875 470351877 470351873 470351875 470351877 470351873 470351875 470351877;}
@list l0:level1
 {mso-level-number-format:bullet;
 mso-level-text:\F0B7;
 mso-level-tab-stop:none;
 mso-level-number-position:left;
 text-indent:-.25in;
 font-family:Symbol;}
ol
 {margin-bottom:0in;}
ul
 {margin-bottom:0in;}
--&gt;
&lt;/style&gt;





&lt;br /&gt;
&lt;div class=&quot;Section1&quot;&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span lang=&quot;EN-ZA&quot; style=&quot;font-size: 26pt; line-height: 115%;&quot;&gt;AeroGlass
Library&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot; style=&quot;font-size: 18pt; line-height: 115%;&quot;&gt;Version 1.2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot;&gt;Contents:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot; style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-ZA&quot;&gt;Usage with Windows forms&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot; style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-ZA&quot;&gt;Usage with WPF forms&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot;&gt;The AeroGlass library accesses the
dwmapidll to extend the frames of windows for use with the C# language, this
gives the effect of having more glass areas on a window or making a window look
as if it is completely glass. The library aims to make implementing this method
easier so that you can achieve this effect with minimal code and will not have
to access the dll yourself,version 1.2 of the library is compatible with both
windows forms and WPF forms, though the implementation differs slightly. This
documentation covers the implementations of both types.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span lang=&quot;EN-ZA&quot; style=&quot;font-size: 14pt; line-height: 115%;&quot;&gt;Usage with windows forms&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot;&gt;There are 2 ways of implementing glass on a
Windows form using the AeroGlass library, one is to use the GlassPane controls
AutoExtend property and the other is to use code, let us first take a look at
the AutoExtend property method.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span lang=&quot;EN-ZA&quot; style=&quot;font-size: 12pt; line-height: 115%;&quot;&gt;AutoExtend&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot;&gt;Before we begin it is worth noting that if
you use the AutoExtend method you can only place one GlassPane, if you place
another it will not work or errors may occur, it is for this reason that
AutoExtend is false by default.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot;&gt;For AutoExtend to work, the glass pane must
be docked, this will be explained later in the code section. To make a form
with an extended glass frame using this method, add the control to your toolbox
by right clicking the toolbox and selecting choose items&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixnvkZ8zertS2BgrJSlr7qsOQKRdJwJKlRi7o7LZBzCLB0FZumvRnn1i8HZPpWZ3mgut9rpuMmQlbxQ8YaWqf0_adeSWslxSd9nxG7tVX1dw-wZ-yH8ALsYY4LZ5pH4ByLehyg7WN1eE4/s1600/image001.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;266&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixnvkZ8zertS2BgrJSlr7qsOQKRdJwJKlRi7o7LZBzCLB0FZumvRnn1i8HZPpWZ3mgut9rpuMmQlbxQ8YaWqf0_adeSWslxSd9nxG7tVX1dw-wZ-yH8ALsYY4LZ5pH4ByLehyg7WN1eE4/s400/image001.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot;&gt;Following this, place the GlassPane&amp;nbsp; control , dock it as you wish and set the
AutoExtend property to true, here I have docked mine on the bottom of the form.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwkn6Dwcv6-NxbB7IwcHGyp7Lxx0TjY822UMuI1nIpERfmAfuLsrDVxwubNGmpWDPVHjgp3xgreGvcEmNOiIIW53_558diS4gJipJnPe8asuiSASEW33riRScWvDjyJNYn6ZqsQG-pCwE/s1600/image003.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwkn6Dwcv6-NxbB7IwcHGyp7Lxx0TjY822UMuI1nIpERfmAfuLsrDVxwubNGmpWDPVHjgp3xgreGvcEmNOiIIW53_558diS4gJipJnPe8asuiSASEW33riRScWvDjyJNYn6ZqsQG-pCwE/s400/image003.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot;&gt;Now running the application should produce
the following result:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8mHF36vMNzrKmay482uVjLa1pOx9au8-2xv_a_bx_NOqE7ciL-gSPFMir1q3X-zlrAY68TLBW4chfsNhb_VWJesMMxFqy4BLqt2iwdpV74YCVCG8S3wDc2NONP_Y5_jaXvxSAkT3BpWU/s1600/image005.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8mHF36vMNzrKmay482uVjLa1pOx9au8-2xv_a_bx_NOqE7ciL-gSPFMir1q3X-zlrAY68TLBW4chfsNhb_VWJesMMxFqy4BLqt2iwdpV74YCVCG8S3wDc2NONP_Y5_jaXvxSAkT3BpWU/s320/image005.png&quot; width=&quot;317&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span lang=&quot;EN-ZA&quot; style=&quot;font-size: 12pt; line-height: 115%;&quot;&gt;Using Code&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot;&gt;Now let us take a look at using code to
implement an extended glass frame.When using code ,you are still required to
use the GlassPane,this is because all the code actually does is extend the
frame of the window inwards, if we just use the code and not the GlassPane the
inner part of the window will still cover the extended frame. This can be seen
if you look carefully at the image below.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyB0jD0dW1s_LzfaVtIFsdgP6gvQifkPJtbfSGXDbuknaStJ1WiokWNiCub2FKqwqo6iFzL37KfK2RWa7hyMEeR3zgYHylaqQJ7mHCm5ODlFji6qgljAKjGhilSh-gwnBMM3mRy233fu0/s1600/image006.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyB0jD0dW1s_LzfaVtIFsdgP6gvQifkPJtbfSGXDbuknaStJ1WiokWNiCub2FKqwqo6iFzL37KfK2RWa7hyMEeR3zgYHylaqQJ7mHCm5ODlFji6qgljAKjGhilSh-gwnBMM3mRy233fu0/s1600/image006.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot;&gt;To use the library ,we must first add a
reference to the AeroGlass dll, placing a GlassPane on the form will
automatically do this, then we add the using statement to use the Classes
in&amp;nbsp; the library.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;using&lt;/span&gt;&lt;span lang=&quot;EN-ZA&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt; AeroGlass;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot;&gt;Now, in the form class, create a new
instance of the Glass class:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot; style=&quot;color: #2b91af; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;Glass&lt;/span&gt;&lt;span lang=&quot;EN-ZA&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt; g = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;Glass&lt;/span&gt;();&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot;&gt;Place a GlassPane on your form and dock it
as you desire, I have docked mine on the bottom as I did previously, but this
time AutoExtend is set to false. Then in the Form_Load event, call the extendFrame
function:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;g.extendFrame(0, glassPane1.Height,
0, 0, &lt;span style=&quot;color: blue;&quot;&gt;this&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot;&gt;The extendFrame function has the following
parameters: intTop ,int Bottom, int Left, int Right Form form. ”this” refers to
the current form. Note that I used the height of the GlassPane as my margin
width for the bottom margin. Running this code will yield the same result as
seen previously&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span lang=&quot;EN-ZA&quot; style=&quot;font-size: 14pt; line-height: 115%;&quot;&gt;Usage with WPF forms&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot;&gt;Using the AeroGlass Library with a WPF form
is a little different but the concept is still the same. Starting with a Blank
WPF form, select the main grid in the center&amp;nbsp;
of the form and give it a name ,have named mine mainGrid.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1YL9lOF70_AVl5TFs7Ozoswt_-Jviu8tGtJFOTB4DZO0E6-SuQuk3cXi3t83Y73jZiMpXxhYz3oeSHLDROOR-RCw4NuM_-gp6GT_EEdMdnLyZcpsFAQLzMUMPhHFaSIASBjWL1LZyzTs/s1600/image007.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;118&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1YL9lOF70_AVl5TFs7Ozoswt_-Jviu8tGtJFOTB4DZO0E6-SuQuk3cXi3t83Y73jZiMpXxhYz3oeSHLDROOR-RCw4NuM_-gp6GT_EEdMdnLyZcpsFAQLzMUMPhHFaSIASBjWL1LZyzTs/s400/image007.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot;&gt;Next ,add a reference to the AeroGlass dll
and include the following using statement in the code of your window:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;using&lt;/span&gt;&lt;span lang=&quot;EN-ZA&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; AeroGlass;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot;&gt;Then in
the class:&lt;/span&gt;&lt;span lang=&quot;EN-ZA&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot; style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;WpfGlass&lt;/span&gt;&lt;span lang=&quot;EN-ZA&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;wg = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;WpfGlass&lt;/span&gt;();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot;&gt;Finally
we add this line to the Window_loaded event:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;wg.extendFrame((&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt;)mainGrid.Height, 0, 0, 0, &lt;span style=&quot;color: blue;&quot;&gt;this&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot;&gt;As you
can see, the structure of this last statement is the same as that used in the
Windows Form, the only difference is that the height of mainGrid had to be cast
as an integer. Running this should result in the following:&lt;/span&gt;&lt;span lang=&quot;EN-ZA&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpD_pxBq4SgDsqeIorrWF1klPFrARJUf-GqScvEndLnOF9MtkAk3B8jTrIzvNumbbJFmb7SYpMIt0akI3MS5SxtktMtuJEqekLLoV_F6vIVs5DtBwb0EUrY8fHrG4lhv1MHxTblK-kuvs/s1600/image009.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;270&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpD_pxBq4SgDsqeIorrWF1klPFrARJUf-GqScvEndLnOF9MtkAk3B8jTrIzvNumbbJFmb7SYpMIt0akI3MS5SxtktMtuJEqekLLoV_F6vIVs5DtBwb0EUrY8fHrG4lhv1MHxTblK-kuvs/s400/image009.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;EN-ZA&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot;&gt;Don’t
like a completely glass window, simply change the size of the grid or choose
different properties and parameters to parse or overlay the window with
different controls.&lt;/span&gt;&lt;span lang=&quot;EN-ZA&quot; style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-ZA&quot;&gt;Here I have overlaid a semi-transparent
rectangle to give a nice effect and added a semi-transparent textbox control:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1910582327705849044&quot; name=&quot;_GoBack&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAIzyI7fJi7_jgweBAWlbnNhgm_4pSFguPyJaJ-d9iYwIdXvGLAY2OLpeYLvTsVXd85eEXyqdOZhlFoacFVn0abvGO4Jd0NeK-kAJE1Sv_93tulefOu5GkZSKFKMIG6bjEdTulPhd1m_w/s1600/image011.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;242&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAIzyI7fJi7_jgweBAWlbnNhgm_4pSFguPyJaJ-d9iYwIdXvGLAY2OLpeYLvTsVXd85eEXyqdOZhlFoacFVn0abvGO4Jd0NeK-kAJE1Sv_93tulefOu5GkZSKFKMIG6bjEdTulPhd1m_w/s400/image011.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
Download PDF &lt;a href=&quot;https://sourceforge.net/projects/aeroglass/files/Readme.pdf/download&quot;&gt;here&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dvisagie.blogspot.com/feeds/517832702009429655/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dvisagie.blogspot.com/2011/10/using-aeroglass-library-i-recentlyvery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/517832702009429655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/517832702009429655'/><link rel='alternate' type='text/html' href='http://dvisagie.blogspot.com/2011/10/using-aeroglass-library-i-recentlyvery.html' title='Using The AeroGlass library'/><author><name>Divan Visagie</name><uri>http://www.blogger.com/profile/09768053621931906759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWwrjWoGyE9v8giI2PJ6TiPRNfspctatHI_V6xhlgjhYFsWig3GDp6Dy9s7mids4eZGrHI4cH-xL5jb2UJ9WtsKBQv8D9Wi3TiWt9K7mQqD83PpYnm4v8t9IRRfbH5EQ/s220/Tuxgun.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixnvkZ8zertS2BgrJSlr7qsOQKRdJwJKlRi7o7LZBzCLB0FZumvRnn1i8HZPpWZ3mgut9rpuMmQlbxQ8YaWqf0_adeSWslxSd9nxG7tVX1dw-wZ-yH8ALsYY4LZ5pH4ByLehyg7WN1eE4/s72-c/image001.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910582327705849044.post-6948167306092966678</id><published>2011-10-01T12:07:00.001+02:00</published><updated>2013-02-07T16:09:18.183+02:00</updated><title type='text'>My C# 2D Game</title><content type='html'>A couple of months ago i started writing a 2D shooter game using OpenTK(The Open Tool Kit) in C#,i got far but I ran into some issues,that ,due to my lack of knowledge and experience with the language caused be to abandon the project.I recently picked up the project again and in three days I was able to rewrite the game to the point at which I last stopped(this originally took me months),and the code is much more efficient.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYFbqSsWlX3stnTW3xxok8VoDuAtanb6adwEQ2M4iC8cZde9_1CEQLY1gbRbJAKIUx6I4m0EKd_-lc8y0vMziQFqRx8OpfxVcqWPMKyrF4Vl_6-jEJ8IsOwt1DACFxqP67i9NtyqKNJ_E/s1600/299619_2517178252526_1345329291_32965906_80859054_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYFbqSsWlX3stnTW3xxok8VoDuAtanb6adwEQ2M4iC8cZde9_1CEQLY1gbRbJAKIUx6I4m0EKd_-lc8y0vMziQFqRx8OpfxVcqWPMKyrF4Vl_6-jEJ8IsOwt1DACFxqP67i9NtyqKNJ_E/s320/299619_2517178252526_1345329291_32965906_80859054_n.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Luckily I have found ways to overcome certain problems and even though the collision checking is slightly dodgy it is now a simple working game that loads levels from a level file format I developed myself.It is my hope to soon release a &quot;bemo&#39;&quot; so that people can see what I&#39;m doing and I can maybe get some feedback.I use the term &quot;bemo&quot; to refer to a beta-demo containing only a few levels ,like a demo,but using the beta game code.&lt;br /&gt;
&lt;br /&gt;
So far the level files can only be produced by typing them out,I am working on documentation for the format so it will be easy for users to generate their own levels.Hopefully a GUI based level editor will be made,whether written by me ,or a programmer who understands my documentation(Hint) .&lt;br /&gt;
&lt;br /&gt;
I still have not named the game and I am open to suggestions on name,story,etc&lt;br /&gt;
&lt;br /&gt;
EDIT:&lt;br /&gt;
&lt;br /&gt;
The engine is fairly workable , and while I havent worked on the game in about a year , the source is available on GitHub &lt;a href=&quot;https://github.com/divanvisagie/CS2DS&quot;&gt;here&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://dvisagie.blogspot.com/feeds/6948167306092966678/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dvisagie.blogspot.com/2011/10/my-c-2d-game.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/6948167306092966678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/6948167306092966678'/><link rel='alternate' type='text/html' href='http://dvisagie.blogspot.com/2011/10/my-c-2d-game.html' title='My C# 2D Game'/><author><name>Divan Visagie</name><uri>http://www.blogger.com/profile/09768053621931906759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWwrjWoGyE9v8giI2PJ6TiPRNfspctatHI_V6xhlgjhYFsWig3GDp6Dy9s7mids4eZGrHI4cH-xL5jb2UJ9WtsKBQv8D9Wi3TiWt9K7mQqD83PpYnm4v8t9IRRfbH5EQ/s220/Tuxgun.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYFbqSsWlX3stnTW3xxok8VoDuAtanb6adwEQ2M4iC8cZde9_1CEQLY1gbRbJAKIUx6I4m0EKd_-lc8y0vMziQFqRx8OpfxVcqWPMKyrF4Vl_6-jEJ8IsOwt1DACFxqP67i9NtyqKNJ_E/s72-c/299619_2517178252526_1345329291_32965906_80859054_n.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910582327705849044.post-6049818882787480965</id><published>2011-09-13T20:57:00.001+02:00</published><updated>2012-04-07T12:53:26.999+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apple"/><category scheme="http://www.blogger.com/atom/ns#" term="Macintosh"/><title type='text'>MacBook Pro with Lion,WiFi problems?</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.thecoresite.com/images/MacBookProFamily_Lion.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;
If you don&#39;t know already I am a fan of Apples products,this is coupled with a strange fact.I have never,ever owned anything made by Apple besides the copy of Snowleopard I run on a VirtualBox.&lt;br /&gt;
&lt;br /&gt;
I may not own one ,but I think I can speak with authority on the topic of &quot;MacBook Pro with Lion,WiFi problems?&quot; because of what I have seen on another machine and what I have Internet-ed.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.thecoresite.com/images/MacBookProFamily_Lion.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;91&quot; src=&quot;http://www.thecoresite.com/images/MacBookProFamily_Lion.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
I have seen Lion run on a 2008 15 inch MacBook Pro - no WiFi problems ,why? It was fully updated.The reason I am actually posting this is that I recently tried helping someone with this problem on a not fully updated MacBook Pro(hence the extensive internet research).Of all the strange hacks and ideas the only eureka moments on the internet are when some guy posts ,&quot;I updated and now it works&quot;. So there,if you are having WiFi problems on your MacBook pro with Lion,Update,it seems like it works and it makes more sense than &quot;8.8.8.8&quot;.&lt;br /&gt;
&lt;br /&gt;
The person I attempted to help was unfortunately reluctant to follow my advice,I might just say that&#39;s&amp;nbsp; their problem,not mine,but it is my problem because they own a MacBook and I don&#39;t :( . </content><link rel='replies' type='application/atom+xml' href='http://dvisagie.blogspot.com/feeds/6049818882787480965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dvisagie.blogspot.com/2011/09/macbook-pro-with-lionwifi-problems.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/6049818882787480965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/6049818882787480965'/><link rel='alternate' type='text/html' href='http://dvisagie.blogspot.com/2011/09/macbook-pro-with-lionwifi-problems.html' title='MacBook Pro with Lion,WiFi problems?'/><author><name>Divan Visagie</name><uri>http://www.blogger.com/profile/09768053621931906759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWwrjWoGyE9v8giI2PJ6TiPRNfspctatHI_V6xhlgjhYFsWig3GDp6Dy9s7mids4eZGrHI4cH-xL5jb2UJ9WtsKBQv8D9Wi3TiWt9K7mQqD83PpYnm4v8t9IRRfbH5EQ/s220/Tuxgun.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910582327705849044.post-3849835147084845817</id><published>2011-09-08T15:53:00.000+02:00</published><updated>2011-09-08T20:59:04.228+02:00</updated><title type='text'>Setting up Qt Creator for assembly</title><content type='html'>&lt;style type=&quot;text/css&quot;&gt;
	&lt;!--
		@page { margin: 2cm }
		P { margin-bottom: 0.21cm }
	--&gt;
	
&lt;/style&gt;

&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
After fiddling with inline asssembly
(not very successfully)  ,I recently decided to try writing proper
assembly and compiling with NASM in Linux. After writing a hello
world using gedit and having a terminal open for compiling,linking
and running I had a thought.,there has to be a better way to do this.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
So I tried Qt Creator ,because I know
it&#39;s easy to add custom build and run commands,and what do you
know? I got it to work. Here&#39;s how,my screenshots and assembly code are in Linux but the set up should be the same regardless of the operating system,if you are not using Linux then just use the same commands you use to assemble in your operating system.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
First off ,create a new console
application:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghBChtgZF5ABYcXAVDRpGXSgJJCcqA7Thrq6fCd3snswRiuY9dnnUcGViK0lPjO5vsGJTrp0dZnH_KssU0maBH7kNgfUQHDZG5caQyGPCGt7rqDpGNKE1ZsLrWUSsBDnYfT9BHQ51bVRM/s1600/Screenshot.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;312&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghBChtgZF5ABYcXAVDRpGXSgJJCcqA7Thrq6fCd3snswRiuY9dnnUcGViK0lPjO5vsGJTrp0dZnH_KssU0maBH7kNgfUQHDZG5caQyGPCGt7rqDpGNKE1ZsLrWUSsBDnYfT9BHQ51bVRM/s400/Screenshot.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
I named mine ASM&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Rename the main.cpp to main.asm and
delete all the text inside.then insert some assembly:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5x__yHI4p4JeAQf82o9kP8x54UX_PTJdqGhvVcd2rlXt5q06y4egTifSBsIx77SidCQdg8-FJB_srfwicjPwhJAepQr6VUe3mQNeJovGjrX9Xc0l4u9PgUNibm_poH0g3myNnKJ2980s/s1600/Screenshot-1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;151&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5x__yHI4p4JeAQf82o9kP8x54UX_PTJdqGhvVcd2rlXt5q06y4egTifSBsIx77SidCQdg8-FJB_srfwicjPwhJAepQr6VUe3mQNeJovGjrX9Xc0l4u9PgUNibm_poH0g3myNnKJ2980s/s400/Screenshot-1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Now open up the “Project” tab and
edit the build settings,remove the current build and clean steps and
remove the “-build-desktop” from the end of the build directory
line.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Now add two custom build steps,these
would be the two commands that you would usually use to compile
assembly&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
“nasm -f elf main.asm” and “ld -s
-o ASM main.o
” (“ld -m elf_i386 main.o -o ASM” if you are a
x86_64 user)&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Take note where I used “ASM” this
is the name I gave the Qt project in the beginning. &lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Heres what it should look like,remember
to check “Enable custom process step”&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLzAgZZ5nNK3PsmkTcLfqd2wj7-edJBhi7-IoR2FOj77FEvWI949-dirq3oGB2YLi5spPOpTOHSxmr7xjISxDtkPWd1SuQiB288FQYDSdFdPlwzPpw5XKt5_Ftf7N_pTbcN2_ZTG89t40/s1600/Screenshot-2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;363&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLzAgZZ5nNK3PsmkTcLfqd2wj7-edJBhi7-IoR2FOj77FEvWI949-dirq3oGB2YLi5spPOpTOHSxmr7xjISxDtkPWd1SuQiB288FQYDSdFdPlwzPpw5XKt5_Ftf7N_pTbcN2_ZTG89t40/s400/Screenshot-2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
And thats it ,now when you hit the run
button the assembly is built and run and you can see the output under
“application output”.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgK1WoNrdyy7NCCyWlHcbHXy8I8Lkah8fk1L7AxALXn0-63h9z6ZiFVovT33JQYdpxuhQKJLJNF9Hl5L1A0iO2FMaOkYoSBbgTwfc5t5YUlI58rNYid5jd_B6a6ktD5EoBLSM3IhQzo5dM/s1600/Screenshot-3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;160&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgK1WoNrdyy7NCCyWlHcbHXy8I8Lkah8fk1L7AxALXn0-63h9z6ZiFVovT33JQYdpxuhQKJLJNF9Hl5L1A0iO2FMaOkYoSBbgTwfc5t5YUlI58rNYid5jd_B6a6ktD5EoBLSM3IhQzo5dM/s400/Screenshot-3.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dvisagie.blogspot.com/feeds/3849835147084845817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dvisagie.blogspot.com/2011/09/setting-up-qt-creator-for-assemblylinux.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/3849835147084845817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/3849835147084845817'/><link rel='alternate' type='text/html' href='http://dvisagie.blogspot.com/2011/09/setting-up-qt-creator-for-assemblylinux.html' title='Setting up Qt Creator for assembly'/><author><name>Divan Visagie</name><uri>http://www.blogger.com/profile/09768053621931906759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWwrjWoGyE9v8giI2PJ6TiPRNfspctatHI_V6xhlgjhYFsWig3GDp6Dy9s7mids4eZGrHI4cH-xL5jb2UJ9WtsKBQv8D9Wi3TiWt9K7mQqD83PpYnm4v8t9IRRfbH5EQ/s220/Tuxgun.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghBChtgZF5ABYcXAVDRpGXSgJJCcqA7Thrq6fCd3snswRiuY9dnnUcGViK0lPjO5vsGJTrp0dZnH_KssU0maBH7kNgfUQHDZG5caQyGPCGt7rqDpGNKE1ZsLrWUSsBDnYfT9BHQ51bVRM/s72-c/Screenshot.png" height="72" width="72"/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910582327705849044.post-516116727846118841</id><published>2011-09-06T22:03:00.000+02:00</published><updated>2011-09-07T08:57:25.846+02:00</updated><title type='text'>Need I say more?</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;object class=&quot;BLOGGER-youtube-video&quot; classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0&quot; data-thumbnail-src=&quot;http://2.gvt0.com/vi/W9_DQjQbtTY/0.jpg&quot; height=&quot;266&quot; width=&quot;320&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/W9_DQjQbtTY&amp;fs=1&amp;source=uds&quot; /&gt;


&lt;param name=&quot;bgcolor&quot; value=&quot;#FFFFFF&quot; /&gt;


&lt;embed width=&quot;320&quot; height=&quot;266&quot;  src=&quot;http://www.youtube.com/v/W9_DQjQbtTY&amp;fs=1&amp;source=uds&quot; type=&quot;application/x-shockwave-flash&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Ok ok I will say more,for those of you who don&#39;t already know,Tux(the penguin) is the Linux mascot,and the robot represents Microsoft&#39;s Windows.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
If you want to know more about Linux there is a link to Wikipedia &lt;a href=&quot;http://en.wikipedia.org/wiki/Linux&quot;&gt;here&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
If you want to try it out ,here is a link to the most popular distribution: &lt;a href=&quot;http://www.ubuntu.com/&quot;&gt;http://www.ubuntu.com/&lt;/a&gt; &lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;a href=&quot;http:///&quot;&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://dvisagie.blogspot.com/feeds/516116727846118841/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dvisagie.blogspot.com/2011/09/need-i-say-more.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/516116727846118841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/516116727846118841'/><link rel='alternate' type='text/html' href='http://dvisagie.blogspot.com/2011/09/need-i-say-more.html' title='Need I say more?'/><author><name>Divan Visagie</name><uri>http://www.blogger.com/profile/09768053621931906759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWwrjWoGyE9v8giI2PJ6TiPRNfspctatHI_V6xhlgjhYFsWig3GDp6Dy9s7mids4eZGrHI4cH-xL5jb2UJ9WtsKBQv8D9Wi3TiWt9K7mQqD83PpYnm4v8t9IRRfbH5EQ/s220/Tuxgun.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910582327705849044.post-7681200309752100595</id><published>2011-09-06T15:07:00.000+02:00</published><updated>2012-04-07T13:02:03.527+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Web"/><title type='text'>Prettyfying with CSS</title><content type='html'>&lt;style type=&quot;text/css&quot;&gt;
	&lt;!--
		@page { margin: 2cm }
		P { margin-bottom: 0.21cm }
		A:link { so-language: zxx }
	--
	
&lt;/style&gt;



&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
The internet is filled with tutorials
on how to do nice effects with CSS,so I decided to  fill it more by
doing a tutorial on 3 effects: Rounded corners,Shadows and gradients.
At the end I will show you an example of what can be done when you
string these 3 together.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
WARNING: A lot of this stuff may not
work in Older browsers,if your browser does not support these styles
,the following link may help &lt;a href=&quot;http://www.mozilla.org/&quot; name=&quot;here&quot;&gt;http://www.mozilla.org/&lt;/a&gt;.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
If you need to see the pictures below more clearly,click them.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
First off ,lets create two files one
html file and one CSS file hello.html and style.css.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Lets start with setting up the CSS so
we can get a nice layout.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
body
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
{
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
font-family:Arial;	
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
background-attachment:fixed;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
width:800px;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
margin:5px auto;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
background-color:#696969;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
font: normal 10pt
Arial,Helvetica,sans-serif;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
}
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
#pageDiv 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
{
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
background-color:#ffffff;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
padding:3px;
	&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Then set up the html file.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&amp;lt;html&amp;gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&amp;lt;link rel=&quot;stylesheet&quot;
href=&quot;style.css&quot; type=&quot;text/css&quot;&amp;gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&amp;lt;head&amp;gt;Hello world&amp;lt;/head&amp;gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&amp;lt;body&amp;gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&amp;lt;div id=&quot;pageDiv&quot;&amp;gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Here is some content&amp;lt;br/&amp;gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
There isnt much
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&amp;lt;/div&amp;gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&amp;lt;/body&amp;gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&amp;lt;/html&amp;gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Opening hello.html with your browser
should result in something like this:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7B2KFOI61g67bo4rF90-iXxEgwwzl03uWD9HcZalKHG2zxyvdiEoTDiW3_la83wiPVyRJ_thW_BSJgYnzq28YB62jQjSQztaDkCRul2oarIt2LR9VldU5UxPVz9tllqtS4sCFV6VwXA0/s1600/Screenshot.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;65&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7B2KFOI61g67bo4rF90-iXxEgwwzl03uWD9HcZalKHG2zxyvdiEoTDiW3_la83wiPVyRJ_thW_BSJgYnzq28YB62jQjSQztaDkCRul2oarIt2LR9VldU5UxPVz9tllqtS4sCFV6VwXA0/s400/Screenshot.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;Rounded corners&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Now lets round the corners of pageDiv
by adding the following code to the #pageDiv block of the css.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
-moz-border-radius: 10px;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
-webkit-border-radius: 10px;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
border-radius: 10px;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
The three lines all do the same thing
but for different browsers.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Your website should now look like this:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjps98c6T9OfZ2NiyLKEXSVkyLRZC7gH9ddZTmSGLYDR0_oLbilkrkqoqWKRFLqKcI627EbV1gi4nIEpQl82019ypL2hkSDQMYAAdLymPY10MEJIkFW6metEM0smBq8IbxLIBlu33x1Hmg/s1600/Screenshot-1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;52&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjps98c6T9OfZ2NiyLKEXSVkyLRZC7gH9ddZTmSGLYDR0_oLbilkrkqoqWKRFLqKcI627EbV1gi4nIEpQl82019ypL2hkSDQMYAAdLymPY10MEJIkFW6metEM0smBq8IbxLIBlu33x1Hmg/s400/Screenshot-1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;Shadows&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
To Add shadows ,simply add this code to
#pageDiv:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
-moz-box-shadow: 5px 5px 5px #424242;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
-webkit-box-shadow: 5px 5px 5px
#424242;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
box-shadow: 5px 5px 5px #424242;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Result below:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrjVM1Yn4GXzuBVeqrlE7eY1Eju8yJo2znmBBzee5PtcY7Kv9axLGUb1p9-IXUvxUc2-ufy3OERKiMjjKN_eWcjyxzeU6PNZU14877ykjkM-Ggn3reoQTwU6LDf77lwb-yUWR0eAIQJ2s/s1600/Screenshot-2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;46&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrjVM1Yn4GXzuBVeqrlE7eY1Eju8yJo2znmBBzee5PtcY7Kv9axLGUb1p9-IXUvxUc2-ufy3OERKiMjjKN_eWcjyxzeU6PNZU14877ykjkM-Ggn3reoQTwU6LDf77lwb-yUWR0eAIQJ2s/s400/Screenshot-2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;Gradients&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;
Now lets add a
gradient to the background,do this by adding the following code to
the #pageDiv block of your CSS&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;
filter:
progid:DXImageTransform.Microsoft.gradient(startColorstr=&#39;#DEDEDE&#39;,
endColorstr=&#39;#B3B3B3&#39;);
&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;
background:
-webkit-gradient(linear, left top, left bottom, from(#DEDEDE),
to(#B3B3B3)); 
&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;
background:
-moz-linear-gradient(top,  #DEDEDE,  #B3B3B3); 
&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;
The result is
shown below:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfbr4SaBabzHW1aalnt0f1ipH8MGGeukotEfPYtmU4TtsTsC2mjiCovpkfBXBGeiL9Qd4H6jbCZPM9byQYwRkc5ckCp_kRue5HZL83ObSy1GbvkXyeyklqf8pvKaTw8h_yyhQq2uw3sNo/s1600/Screenshot-3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;41&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfbr4SaBabzHW1aalnt0f1ipH8MGGeukotEfPYtmU4TtsTsC2mjiCovpkfBXBGeiL9Qd4H6jbCZPM9byQYwRkc5ckCp_kRue5HZL83ObSy1GbvkXyeyklqf8pvKaTw8h_yyhQq2uw3sNo/s400/Screenshot-3.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;Example&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;
Below is a web
page I made using only these styles,the only thing that is on this
page that I haven’t listed is the inner shadows I used on the
navigation links in the header.&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;
To make an Inner
shadow ,you can use the following code:&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;
-moz-box-shadow:inset
0 0 10px #000000;
&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;
-webkit-box-shadow:inset
0 0 10px #000000;
&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;
box-shadow:inset 0
0 10px #000000;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir15G83bmrETWsxGYAx-egSug3S0QXXZERBt51PIMU_jrUY82z4kjPUTXDnYkovIQakn_rEzpRCUzGPp3iR66ScRkLxJGgTH_2sp-z3AwPEgOASSxiQhXUZobCToJ94ZSUfsnpW2fIEmQ/s1600/Screenshot-4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;235&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir15G83bmrETWsxGYAx-egSug3S0QXXZERBt51PIMU_jrUY82z4kjPUTXDnYkovIQakn_rEzpRCUzGPp3iR66ScRkLxJGgTH_2sp-z3AwPEgOASSxiQhXUZobCToJ94ZSUfsnpW2fIEmQ/s400/Screenshot-4.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dvisagie.blogspot.com/feeds/7681200309752100595/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dvisagie.blogspot.com/2011/09/prettyfying-with-css.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/7681200309752100595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/7681200309752100595'/><link rel='alternate' type='text/html' href='http://dvisagie.blogspot.com/2011/09/prettyfying-with-css.html' title='Prettyfying with CSS'/><author><name>Divan Visagie</name><uri>http://www.blogger.com/profile/09768053621931906759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWwrjWoGyE9v8giI2PJ6TiPRNfspctatHI_V6xhlgjhYFsWig3GDp6Dy9s7mids4eZGrHI4cH-xL5jb2UJ9WtsKBQv8D9Wi3TiWt9K7mQqD83PpYnm4v8t9IRRfbH5EQ/s220/Tuxgun.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7B2KFOI61g67bo4rF90-iXxEgwwzl03uWD9HcZalKHG2zxyvdiEoTDiW3_la83wiPVyRJ_thW_BSJgYnzq28YB62jQjSQztaDkCRul2oarIt2LR9VldU5UxPVz9tllqtS4sCFV6VwXA0/s72-c/Screenshot.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910582327705849044.post-8706771926369802865</id><published>2011-09-05T12:13:00.001+02:00</published><updated>2011-09-05T12:14:09.948+02:00</updated><title type='text'>Rapid Firefox</title><content type='html'>Sometimes in the tech world you get this feeling that you are 
slightly behind,like not all of your programs are up to date and they 
may be a year or two old.&lt;br /&gt;
&lt;br /&gt;
Lately though some programs 
have updates that&amp;nbsp; are so regular that if your program was up to date a 
couple of hours ago ,it isn&#39;t any more. Firefox is one of those 
programs,in fact it has the tiniest release intervals ive ever seen,I 
think it should be renamed.Maybe something like Tasmanian Devil(with a 
jetpack).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUL5R3mSdkyH3g1K19zOAUCf4_erEFbj8O4KmnvFsZt1Qz7F0Fl2RXuYbEV4TQEyiy7LHmFQIFztcL8F-eue1MGnz32r3m1X20ywguKpAy6pQhZKblQO7R6QJLiZxEHc_VQW7rjKqd210/s1600/Firefox_4.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUL5R3mSdkyH3g1K19zOAUCf4_erEFbj8O4KmnvFsZt1Qz7F0Fl2RXuYbEV4TQEyiy7LHmFQIFztcL8F-eue1MGnz32r3m1X20ywguKpAy6pQhZKblQO7R6QJLiZxEHc_VQW7rjKqd210/s200/Firefox_4.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I&#39;m
 not complaining about this ,Frequent updates are a good thing ,I&#39;m just
 suggesting some more appropriate naming.&quot;Rapid release&quot; just doesn&#39;t do
 Firefox&#39;s bewildering update release speed justice.Its kind of like 
describing the way a minigun fires its rounds as &quot;rapid release&quot;. It 
just sounds wrong.Come to think of it &quot;rapid fire&quot; would be a better way
 to describe things than &quot;rapid release&quot; (for both Firefox and the 
minigun).&lt;br /&gt;
&lt;br /&gt;
At least with the &quot;rapid fire&quot; we know that 
the people who maintain Firefox are actually working really hard(I 
wonder if they sleep at all) ,and who cares what the worlds fastest 
browser is when you use the one with the fastest updates?&lt;br /&gt;
&lt;br /&gt;
Well done Firefox crew for working so hard,may you ,um ,&quot;release&quot; many more.</content><link rel='replies' type='application/atom+xml' href='http://dvisagie.blogspot.com/feeds/8706771926369802865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dvisagie.blogspot.com/2011/09/sometimes-in-tech-world-you-get-this.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/8706771926369802865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/8706771926369802865'/><link rel='alternate' type='text/html' href='http://dvisagie.blogspot.com/2011/09/sometimes-in-tech-world-you-get-this.html' title='Rapid Firefox'/><author><name>Divan Visagie</name><uri>http://www.blogger.com/profile/09768053621931906759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWwrjWoGyE9v8giI2PJ6TiPRNfspctatHI_V6xhlgjhYFsWig3GDp6Dy9s7mids4eZGrHI4cH-xL5jb2UJ9WtsKBQv8D9Wi3TiWt9K7mQqD83PpYnm4v8t9IRRfbH5EQ/s220/Tuxgun.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUL5R3mSdkyH3g1K19zOAUCf4_erEFbj8O4KmnvFsZt1Qz7F0Fl2RXuYbEV4TQEyiy7LHmFQIFztcL8F-eue1MGnz32r3m1X20ywguKpAy6pQhZKblQO7R6QJLiZxEHc_VQW7rjKqd210/s72-c/Firefox_4.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910582327705849044.post-1846625452435816274</id><published>2011-09-05T02:28:00.000+02:00</published><updated>2011-09-05T02:28:54.036+02:00</updated><title type='text'>FIRST</title><content type='html'>Well well ,my first blog ,and about time too, my nerd progress has been slow thanks to the limited Internet in lovely South Africa. As the title should tell you (I hope it does,I&#39;m such a noob) ,this blog is about me,a Student/Programmer.The blog will be mainly aimed at programming and tech subjects and events that affect me /etc/.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVyt4UofxbOm3wtu8eJgWNFKoGbEEzZ0QEq2oJtAwPuVjGK0efFHrnNbFKb9nrEWhlTlVuwM6FuEnOebkk1RplC9oK5y4TVfRlo2OyNpEIVElyE7kvHvf48C2H-seuWHkTCH3laxAmS7E/s1600/Carbon-Fiber-Apple-Linux-by-Creato937.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVyt4UofxbOm3wtu8eJgWNFKoGbEEzZ0QEq2oJtAwPuVjGK0efFHrnNbFKb9nrEWhlTlVuwM6FuEnOebkk1RplC9oK5y4TVfRlo2OyNpEIVElyE7kvHvf48C2H-seuWHkTCH3laxAmS7E/s1600/Carbon-Fiber-Apple-Linux-by-Creato937.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;One thing you should know is that I am a fan of both Apple and Linux.I don&#39;t own anything made by Apple but I would really like to.&lt;br /&gt;
&lt;br /&gt;
I also Have a project on source-forge: &lt;a href=&quot;https://sourceforge.net/projects/qpigz/&quot;&gt;https://sourceforge.net/projects/qpigz/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I look forward to posting more stuff and hopefully being more interesting than I am being now,probably because its 2:27 in the morning...&lt;br /&gt;
&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dvisagie.blogspot.com/feeds/1846625452435816274/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dvisagie.blogspot.com/2011/09/first.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/1846625452435816274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910582327705849044/posts/default/1846625452435816274'/><link rel='alternate' type='text/html' href='http://dvisagie.blogspot.com/2011/09/first.html' title='FIRST'/><author><name>Divan Visagie</name><uri>http://www.blogger.com/profile/09768053621931906759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWwrjWoGyE9v8giI2PJ6TiPRNfspctatHI_V6xhlgjhYFsWig3GDp6Dy9s7mids4eZGrHI4cH-xL5jb2UJ9WtsKBQv8D9Wi3TiWt9K7mQqD83PpYnm4v8t9IRRfbH5EQ/s220/Tuxgun.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVyt4UofxbOm3wtu8eJgWNFKoGbEEzZ0QEq2oJtAwPuVjGK0efFHrnNbFKb9nrEWhlTlVuwM6FuEnOebkk1RplC9oK5y4TVfRlo2OyNpEIVElyE7kvHvf48C2H-seuWHkTCH3laxAmS7E/s72-c/Carbon-Fiber-Apple-Linux-by-Creato937.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>