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

<channel>
	<title>Marcus Olovsson</title>
	<atom:link href="http://marcusolovsson.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://marcusolovsson.com</link>
	<description>A blog about the web, computers, video games, Titanium, UX and everything else I would like to write about</description>
	<lastBuildDate>Wed, 01 May 2013 19:11:47 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>&#8594; &#8220;Ghost: Just a Blogging Plattform&#8221;</title>
		<link>http://www.kickstarter.com/projects/johnonolan/ghost-just-a-blogging-platform</link>
		<comments>http://marcusolovsson.com/ghost-just-a-blogging-plattform/#comments</comments>
		<pubDate>Wed, 01 May 2013 19:11:23 +0000</pubDate>
		<dc:creator>Marcus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://marcusolovsson.com/?p=275</guid>
			<description><![CDATA[<p>Will this be the next WordPress? I hope so!</p>
<p><img class="size-full wp-image-276 alignnone" alt="mBOAuWJ" src="http://marcusolovsson.com/wp-content/uploads/2013/05/mBOAuWJ.gif" width="300" height="186" /></p>
 <p><a href="http://marcusolovsson.com/?p=275">&#8734; Permalink</a></p>]]></description>
			<content:encoded><![CDATA[<p>Will this be the next WordPress? I hope so!</p>
<p><img class="size-full wp-image-276 alignnone" alt="mBOAuWJ" src="http://marcusolovsson.com/wp-content/uploads/2013/05/mBOAuWJ.gif" width="300" height="186" /></p>
 <p><a href="http://marcusolovsson.com/?p=275">&#8734; Permalink</a></p>]]></content:encoded>
			<wfw:commentRss>http://marcusolovsson.com/ghost-just-a-blogging-plattform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8594; &#8220;Stop technical debt from crushing coders!&#8221;</title>
		<link>http://www.boxuk.com/blog/stop-technical-debt-from-crushing-coders/</link>
		<comments>http://marcusolovsson.com/stop-technical-debt-from-crushing-coders/#comments</comments>
		<pubDate>Sat, 27 Apr 2013 09:01:14 +0000</pubDate>
		<dc:creator>Marcus</dc:creator>
				<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://marcusolovsson.com/?p=268</guid>
			<description><![CDATA[<p>A great piece about technical debt, especially if you haven&#8217;t heard about it before. It also reminds me that I need to learn more about TDD&#8230;</p>
<p><img class="alignnone" alt="" src="http://instame.me/uploads/9fW.gif" width="500" height="281" /></p>
 <p><a href="http://marcusolovsson.com/?p=268">&#8734; Permalink</a></p>]]></description>
			<content:encoded><![CDATA[<p>A great piece about technical debt, especially if you haven&#8217;t heard about it before. It also reminds me that I need to learn more about TDD&#8230;</p>
<p><img class="alignnone" alt="" src="http://instame.me/uploads/9fW.gif" width="500" height="281" /></p>
 <p><a href="http://marcusolovsson.com/?p=268">&#8734; Permalink</a></p>]]></content:encoded>
			<wfw:commentRss>http://marcusolovsson.com/stop-technical-debt-from-crushing-coders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My homemade watch-script</title>
		<link>http://marcusolovsson.com/my-homemade-watch-script/</link>
		<comments>http://marcusolovsson.com/my-homemade-watch-script/#comments</comments>
		<pubDate>Sun, 21 Apr 2013 20:43:36 +0000</pubDate>
		<dc:creator>Marcus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[sass]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://marcusolovsson.com/?p=247</guid>
			<description><![CDATA[<p>If you&#8217;ve used Sass, or any other preprocessed language, you&#8217;re probably familiar with the &#8220;watch-option&#8221;. It&#8217;s an option that watches over a folder and runs some kind of command when its content is changed.</p>
<p>As you might know, it&#8217;s considered as good practice to combine and minify all your CSS and JavaScript when deploying a website into production. This will not only reduce the file size, but also reduce the number of HTTP requests that&#8217;s needed to deliver your website.</p>
<p>I decided to make a watch-script that would combine both JavaScript and my Sass-files. By doing this, I don&#8217;t have to mess around in my HTML-files as much, and I can freely add or remove files (like libraries) without having to do any extra work.</p>
<h2>So without further ado&#8230;</h2>
<p>Below is the watch-script, you can find a <a href="https://gist.github.com/Arood/5430904">Gist</a> here as well. Add this file to your root directory, and change the top variables to match your needs. <code>JS_PATH</code> and <code>SASS_PATH</code> are the input directories, and <code>FINAL_JS</code> and <code>FINAL_CSS</code> is the output files.</p>
<pre class="brush: bash">#!/bin/sh

JS_PATH="_js"
FINAL_JS="scripts.js"

SASS_PATH="_sass"
FINAL_CSS="."

sha=0
previous_sha=0

update_sha()
{
    sha=`ls -lRT $JS_PATH $SASS_PATH | gsha1sum`
}

build () {
    # Build/make commands here
    rm $FINAL_JS
    touch $FINAL_JS
    cat $JS_PATH/*.js &gt;&gt; $FINAL_JS
    echo "  \033[0;32m$FINAL_JS\033[0m"
    sass --update $SASS_PATH:$FINAL_CSS
}

changed () {
    echo " ≫ Change detected. Rebuilding..."
    build
    previous_sha=$sha
}

compare () {
    update_sha
    if [[ $sha != $previous_sha ]] ; then changed; fi
}

run () {
    update_sha
    previous_sha=$sha
    while true; do

        compare

        read -s -t 1 &amp;&amp; (
            echo " ≫ Forced rebuild..."
            build
        )

    done
}

echo " ≫ Watching for changes. Press Ctrl-C to stop. Press enter to force rebuild."

run</pre>
<p>The script will scan for changes by running the <code>ls -lRT</code> command and hash the result with a sha1-tool. Note that I&#8217;m using <code>gsha1sum</code> here, since that&#8217;s what <a href="http://mxcl.github.io/homebrew/">Homebrew</a> installed for me, on some systems you might have to change that to <code>sha1sum</code>.</p>
<p>The watch-script will combine all files but it won&#8217;t minify the code, since I want to be able to debug code while developing. For minifying, I&#8217;ve made a little &#8220;deploy-script&#8221;, as seen below. You can find a <a href="https://gist.github.com/Arood/5430932">gist here</a>.</p>
<pre class="brush: bash">#!/bin/sh

JS_PATH="_js"
FINAL_JS="scripts.js"

SASS_PATH="_sass"
FINAL_CSS="."

echo " ≫ Building and minifying assets."

rm $FINAL_JS
touch $FINAL_JS
cat $JS_PATH/*.js &gt;&gt; $FINAL_JS
echo "  \033[0;32m$FINAL_JS\033[0m"
sass --force --update $SASS_PATH:$FINAL_CSS --style compressed

jsmin --overwrite scripts.js</pre>
<p>This script requires that you have <code>jsmin</code> installed. I installed it via <a href="https://npmjs.org/package/jsmin">NPM</a>. The Sass is compiled with the &#8220;compressed style&#8221;, which will remove comments and whitespace.</p>
<p>So yeah, these are some tools I use almost every day. I hope you&#8217;ll like them! And if you have any suggestions for how I can make them better, leave a comment!</p>
]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve used Sass, or any other preprocessed language, you&#8217;re probably familiar with the &#8220;watch-option&#8221;. It&#8217;s an option that watches over a folder and runs some kind of command when its content is changed.</p>
<p>As you might know, it&#8217;s considered as good practice to combine and minify all your CSS and JavaScript when deploying a website into production. This will not only reduce the file size, but also reduce the number of HTTP requests that&#8217;s needed to deliver your website.</p>
<p>I decided to make a watch-script that would combine both JavaScript and my Sass-files. By doing this, I don&#8217;t have to mess around in my HTML-files as much, and I can freely add or remove files (like libraries) without having to do any extra work.</p>
<h2>So without further ado&#8230;</h2>
<p>Below is the watch-script, you can find a <a href="https://gist.github.com/Arood/5430904">Gist</a> here as well. Add this file to your root directory, and change the top variables to match your needs. <code>JS_PATH</code> and <code>SASS_PATH</code> are the input directories, and <code>FINAL_JS</code> and <code>FINAL_CSS</code> is the output files.</p>
<pre class="brush: bash">#!/bin/sh

JS_PATH="_js"
FINAL_JS="scripts.js"

SASS_PATH="_sass"
FINAL_CSS="."

sha=0
previous_sha=0

update_sha()
{
    sha=`ls -lRT $JS_PATH $SASS_PATH | gsha1sum`
}

build () {
    # Build/make commands here
    rm $FINAL_JS
    touch $FINAL_JS
    cat $JS_PATH/*.js &gt;&gt; $FINAL_JS
    echo "  \033[0;32m$FINAL_JS\033[0m"
    sass --update $SASS_PATH:$FINAL_CSS
}

changed () {
    echo " ≫ Change detected. Rebuilding..."
    build
    previous_sha=$sha
}

compare () {
    update_sha
    if [[ $sha != $previous_sha ]] ; then changed; fi
}

run () {
    update_sha
    previous_sha=$sha
    while true; do

        compare

        read -s -t 1 &amp;&amp; (
            echo " ≫ Forced rebuild..."
            build
        )

    done
}

echo " ≫ Watching for changes. Press Ctrl-C to stop. Press enter to force rebuild."

run</pre>
<p>The script will scan for changes by running the <code>ls -lRT</code> command and hash the result with a sha1-tool. Note that I&#8217;m using <code>gsha1sum</code> here, since that&#8217;s what <a href="http://mxcl.github.io/homebrew/">Homebrew</a> installed for me, on some systems you might have to change that to <code>sha1sum</code>.</p>
<p>The watch-script will combine all files but it won&#8217;t minify the code, since I want to be able to debug code while developing. For minifying, I&#8217;ve made a little &#8220;deploy-script&#8221;, as seen below. You can find a <a href="https://gist.github.com/Arood/5430932">gist here</a>.</p>
<pre class="brush: bash">#!/bin/sh

JS_PATH="_js"
FINAL_JS="scripts.js"

SASS_PATH="_sass"
FINAL_CSS="."

echo " ≫ Building and minifying assets."

rm $FINAL_JS
touch $FINAL_JS
cat $JS_PATH/*.js &gt;&gt; $FINAL_JS
echo "  \033[0;32m$FINAL_JS\033[0m"
sass --force --update $SASS_PATH:$FINAL_CSS --style compressed

jsmin --overwrite scripts.js</pre>
<p>This script requires that you have <code>jsmin</code> installed. I installed it via <a href="https://npmjs.org/package/jsmin">NPM</a>. The Sass is compiled with the &#8220;compressed style&#8221;, which will remove comments and whitespace.</p>
<p>So yeah, these are some tools I use almost every day. I hope you&#8217;ll like them! And if you have any suggestions for how I can make them better, leave a comment!</p>
]]></content:encoded>
			<wfw:commentRss>http://marcusolovsson.com/my-homemade-watch-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8594; Retina for web workflow</title>
		<link>http://michieldegraaf.com/post/retina-for-web-workflow/</link>
		<comments>http://marcusolovsson.com/retina-for-web-workflow/#comments</comments>
		<pubDate>Wed, 23 Jan 2013 16:38:47 +0000</pubDate>
		<dc:creator>Marcus</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[retina]]></category>

		<guid isPermaLink="false">http://olovfsson.se/?p=202</guid>
			<description><![CDATA[<p>I already use <a href="http://macrabbit.com/slicy/">Slicy</a>, and it&#8217;s fantastic. That SASS mixin will be a nice addition to my own workflow!</p>
 <p><a href="http://olovfsson.se/?p=202">&#8734; Permalink</a></p>]]></description>
			<content:encoded><![CDATA[<p>I already use <a href="http://macrabbit.com/slicy/">Slicy</a>, and it&#8217;s fantastic. That SASS mixin will be a nice addition to my own workflow!</p>
 <p><a href="http://olovfsson.se/?p=202">&#8734; Permalink</a></p>]]></content:encoded>
			<wfw:commentRss>http://marcusolovsson.com/retina-for-web-workflow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8594; nil / Nil / NULL / NSNull</title>
		<link>http://nshipster.com/nil/</link>
		<comments>http://marcusolovsson.com/nil-nil-null-nsnull/#comments</comments>
		<pubDate>Mon, 14 Jan 2013 10:32:52 +0000</pubDate>
		<dc:creator>Marcus</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[objc]]></category>

		<guid isPermaLink="false">http://olovfsson.se/?p=157</guid>
			<description><![CDATA[<blockquote><p>Understanding the concept of nothingness is as much a philosophical issue as it is a pragmatic one. We are inhabitants of a universe of somethings, yet reason in a logical universe of existential uncertainties. As a physical manifestation of a logical system, computers are faced with the intractable problem of how to represent nothing with something.</p></blockquote>
<p>Wonderful!</p>
 <p><a href="http://olovfsson.se/?p=157">&#8734; Permalink</a></p>]]></description>
			<content:encoded><![CDATA[<blockquote><p>Understanding the concept of nothingness is as much a philosophical issue as it is a pragmatic one. We are inhabitants of a universe of somethings, yet reason in a logical universe of existential uncertainties. As a physical manifestation of a logical system, computers are faced with the intractable problem of how to represent nothing with something.</p></blockquote>
<p>Wonderful!</p>
 <p><a href="http://olovfsson.se/?p=157">&#8734; Permalink</a></p>]]></content:encoded>
			<wfw:commentRss>http://marcusolovsson.com/nil-nil-null-nsnull/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8594; How to customize your command prompt</title>
		<link>http://net.tutsplus.com/tutorials/tools-and-tips/how-to-customize-your-command-prompt/</link>
		<comments>http://marcusolovsson.com/how-to-customize-your-command-prompt/#comments</comments>
		<pubDate>Sun, 13 Jan 2013 20:27:57 +0000</pubDate>
		<dc:creator>Marcus</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[zsh]]></category>

		<guid isPermaLink="false">http://olovfsson.se/?p=154</guid>
			<description><![CDATA[<p>This is a great tutorial to make your Terminal in OS X a little bit more interesting. I&#8217;m going to try Andrews theme for a few days, the next step will probably be to add my own features. Perhaps I&#8217;ll look into making a Terminal-version of my <a title="Super Zen, a theme for Espresso" href="http://olovfsson.se/super-zen-a-theme-for-espresso/">Super Zen</a>-theme.</p>
 <p><a href="http://olovfsson.se/?p=154">&#8734; Permalink</a></p>]]></description>
			<content:encoded><![CDATA[<p>This is a great tutorial to make your Terminal in OS X a little bit more interesting. I&#8217;m going to try Andrews theme for a few days, the next step will probably be to add my own features. Perhaps I&#8217;ll look into making a Terminal-version of my <a title="Super Zen, a theme for Espresso" href="http://olovfsson.se/super-zen-a-theme-for-espresso/">Super Zen</a>-theme.</p>
 <p><a href="http://olovfsson.se/?p=154">&#8734; Permalink</a></p>]]></content:encoded>
			<wfw:commentRss>http://marcusolovsson.com/how-to-customize-your-command-prompt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Strict Theme for Tumblr</title>
		<link>http://marcusolovsson.com/strict-theme-for-tumblr/</link>
		<comments>http://marcusolovsson.com/strict-theme-for-tumblr/#comments</comments>
		<pubDate>Sun, 13 Jan 2013 11:54:59 +0000</pubDate>
		<dc:creator>Marcus</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[tumblr]]></category>

		<guid isPermaLink="false">http://olovfsson.se/?p=119</guid>
			<description><![CDATA[<p><a href="http://www.tumblr.com">Tumblr</a> is a popular blog platform, which allows users to create their own short-form blog. It&#8217;s really simple to just add a photo or a link, without feeling the need to write a bunch of text.</p>
<p><img class="alignnone size-full fullwidth wp-image-138" src="http://olovfsson.se/wp-content/uploads/2013/01/strict-340.png" alt="" width="680" height="340" /></p>
<p>A few years back I made a theme called Strict, that users could download and use for free. Later the guys at Tumblr released their theme directory, then known as the Theme Garden. Strict became pretty popular and has since then been installed over 150,000 times.</p>
<p><img class="alignnone size-full fullwidth wp-image-133" src="http://olovfsson.se/wp-content/uploads/2013/01/strict-showcase.png" alt="TEDxSFU BLOG, Lienan@Instagram, Erica Olofsson, cats cats cats" width="680" height="138" /></p>
<p>As you can see in the image above (<a href="http://tedxsfu.tumblr.com/">1</a>, <a href="http://lienan.tumblr.com/">2</a>, <a href="http://ericaolofsson.tumblr.com/">3</a>, <a href="http://mylifeaccordingtocats.tumblr.com/">4</a>), the theme can be customized a lot, with your own colors, bakground image or fonts. And of course, if you&#8217;re comfortable with CSS you can do pretty much anything!</p>
<p>You can install the theme by <a href="http://www.tumblr.com/theme/107">over here</a>, or read more about it <a href="http://strict-theme.tumblr.com/">here</a>.</p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.tumblr.com">Tumblr</a> is a popular blog platform, which allows users to create their own short-form blog. It&#8217;s really simple to just add a photo or a link, without feeling the need to write a bunch of text.</p>
<p><img class="alignnone size-full fullwidth wp-image-138" src="http://olovfsson.se/wp-content/uploads/2013/01/strict-340.png" alt="" width="680" height="340" /></p>
<p>A few years back I made a theme called Strict, that users could download and use for free. Later the guys at Tumblr released their theme directory, then known as the Theme Garden. Strict became pretty popular and has since then been installed over 150,000 times.</p>
<p><img class="alignnone size-full fullwidth wp-image-133" src="http://olovfsson.se/wp-content/uploads/2013/01/strict-showcase.png" alt="TEDxSFU BLOG, Lienan@Instagram, Erica Olofsson, cats cats cats" width="680" height="138" /></p>
<p>As you can see in the image above (<a href="http://tedxsfu.tumblr.com/">1</a>, <a href="http://lienan.tumblr.com/">2</a>, <a href="http://ericaolofsson.tumblr.com/">3</a>, <a href="http://mylifeaccordingtocats.tumblr.com/">4</a>), the theme can be customized a lot, with your own colors, bakground image or fonts. And of course, if you&#8217;re comfortable with CSS you can do pretty much anything!</p>
<p>You can install the theme by <a href="http://www.tumblr.com/theme/107">over here</a>, or read more about it <a href="http://strict-theme.tumblr.com/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://marcusolovsson.com/strict-theme-for-tumblr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert iOS resources to Android</title>
		<link>http://marcusolovsson.com/convert-ios-resources-to-android/</link>
		<comments>http://marcusolovsson.com/convert-ios-resources-to-android/#comments</comments>
		<pubDate>Fri, 11 Jan 2013 17:29:20 +0000</pubDate>
		<dc:creator>Marcus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[titanium]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://olovfsson.se/?p=143</guid>
			<description><![CDATA[<p>For Titanium-developers: you might be aware that if you want to use <a href="https://wiki.appcelerator.org/display/guides/Using+density-specific+resources+on+Android">density-specific resources</a> on Android (like @2x on iOS), you need to use the special <strong>android</strong>-folder in <strong>Resources</strong>.</p>
<p>In a recent project I made a bash-script to make this easier. This script will copy all resources from <strong>Resources/iphone/images</strong> to Resources/android/images, and move them around so you get a XHDPI-, HDPI- and MDPI-folder.</p>
<p>It currently has some limitations though, that I might resolve in the future if needed:</p>
<ul>
<li><span style="line-height: 13px;">You must provide an @2x file on iOS, even when it might not be required.</span></li>
<li>This script will remove <strong>Resources/android/images</strong> before copying, which might be an annoyance if you have Andorid-specific images.</li>
<li>It doesn&#8217;t care if there hasn&#8217;t been any changes to an image.</li>
</ul>
<p>If this isn&#8217;t a problem for you, or if you think you can modify the script to fit your needs, you can find it in a <a href="https://gist.github.com/3867270">gist here</a>.</p>
]]></description>
			<content:encoded><![CDATA[<p>For Titanium-developers: you might be aware that if you want to use <a href="https://wiki.appcelerator.org/display/guides/Using+density-specific+resources+on+Android">density-specific resources</a> on Android (like @2x on iOS), you need to use the special <strong>android</strong>-folder in <strong>Resources</strong>.</p>
<p>In a recent project I made a bash-script to make this easier. This script will copy all resources from <strong>Resources/iphone/images</strong> to Resources/android/images, and move them around so you get a XHDPI-, HDPI- and MDPI-folder.</p>
<p>It currently has some limitations though, that I might resolve in the future if needed:</p>
<ul>
<li><span style="line-height: 13px;">You must provide an @2x file on iOS, even when it might not be required.</span></li>
<li>This script will remove <strong>Resources/android/images</strong> before copying, which might be an annoyance if you have Andorid-specific images.</li>
<li>It doesn&#8217;t care if there hasn&#8217;t been any changes to an image.</li>
</ul>
<p>If this isn&#8217;t a problem for you, or if you think you can modify the script to fit your needs, you can find it in a <a href="https://gist.github.com/3867270">gist here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://marcusolovsson.com/convert-ios-resources-to-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8594; Removing the WebView shadow in Titanium</title>
		<link>http://developer.appcelerator.com/question/118810/how-to-disable-scrolling-and-shadows-in-a-webview#answer-233259</link>
		<comments>http://marcusolovsson.com/removing-the-webview-shadow-in-titanium/#comments</comments>
		<pubDate>Mon, 19 Nov 2012 08:59:43 +0000</pubDate>
		<dc:creator>Marcus</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[titanium]]></category>

		<guid isPermaLink="false">http://olovfsson.se/?p=104</guid>
			<description><![CDATA[<p>The Q&amp;A-post was written for 1.8.2, but it should work with newer versions of the SDK as well. In short, open the SDK-folder, go to <strong>iphone/Classes</strong> and open <strong>TiUIWebView.m</strong> in your favorite editor. Then add the following after <code>#pragma mark Public APIs</code>:</p>
<pre class="brush: objc">-(void)setHideShadow_:(id)arg
{
  for(UIView *wview in [[[webview subviews] objectAtIndex:0] subviews])
  {
    if([wview isKindOfClass:[UIImageView class]])
    {
      wview.hidden = [TiUtils boolValue:arg];
    }
  }
}</pre>
<p>Clean and rebuild your project, and you&#8217;ll be able to use the hideShadow-property.</p>
<pre class="brush: js">var webview = Ti.UI.createWebView({
  hideShadow: true
});</pre>
 <p><a href="http://olovfsson.se/?p=104">&#8734; Permalink</a></p>]]></description>
			<content:encoded><![CDATA[<p>The Q&amp;A-post was written for 1.8.2, but it should work with newer versions of the SDK as well. In short, open the SDK-folder, go to <strong>iphone/Classes</strong> and open <strong>TiUIWebView.m</strong> in your favorite editor. Then add the following after <code>#pragma mark Public APIs</code>:</p>
<pre class="brush: objc">-(void)setHideShadow_:(id)arg
{
  for(UIView *wview in [[[webview subviews] objectAtIndex:0] subviews])
  {
    if([wview isKindOfClass:[UIImageView class]])
    {
      wview.hidden = [TiUtils boolValue:arg];
    }
  }
}</pre>
<p>Clean and rebuild your project, and you&#8217;ll be able to use the hideShadow-property.</p>
<pre class="brush: js">var webview = Ti.UI.createWebView({
  hideShadow: true
});</pre>
 <p><a href="http://olovfsson.se/?p=104">&#8734; Permalink</a></p>]]></content:encoded>
			<wfw:commentRss>http://marcusolovsson.com/removing-the-webview-shadow-in-titanium/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Instameme!</title>
		<link>http://marcusolovsson.com/instameme/</link>
		<comments>http://marcusolovsson.com/instameme/#comments</comments>
		<pubDate>Mon, 08 Oct 2012 22:22:15 +0000</pubDate>
		<dc:creator>Marcus</dc:creator>
				<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://olovfsson.se/?p=77</guid>
			<description><![CDATA[<p>Instameme is an archive of <a href="http://en.wikipedia.org/wiki/Internet_meme">memes</a> that can be linked to in tweets, Facebook comments, or anywhere to enhance your opinions! The website was born during the URL-shortener era, and the goal is to make a website that lets you respond to posts with appropriate reaction gifs or memes.</p>
<p><img class="alignnone size-full wp-image-175" src="http://olovfsson.se/wp-content/uploads/2012/10/breezi_placeit-1.png" alt="Instame.me (image from PlaceIt by Breezi)" width="500" height="375" /></p>
<h3>January 2013 update</h3>
<p>In January 2013 I released a new version of Instameme. This update features a new responsive design that looks great both on your desktop and in your phone. If you own an iPhone, save the site to your homescreen for quick access!</p>
<p><img class="alignnone size-full wp-image-174" src="http://olovfsson.se/wp-content/uploads/2012/10/breezi_placeit.png" alt="Instame.me (image from PlaceIt by Breezi)" width="500" height="320" /></p>
<p>The new version also features a tag-based search function. Tags can be set when you upload new memes to the site.</p>
<p>&nbsp;</p>
]]></description>
			<content:encoded><![CDATA[<p>Instameme is an archive of <a href="http://en.wikipedia.org/wiki/Internet_meme">memes</a> that can be linked to in tweets, Facebook comments, or anywhere to enhance your opinions! The website was born during the URL-shortener era, and the goal is to make a website that lets you respond to posts with appropriate reaction gifs or memes.</p>
<p><img class="alignnone size-full wp-image-175" src="http://olovfsson.se/wp-content/uploads/2012/10/breezi_placeit-1.png" alt="Instame.me (image from PlaceIt by Breezi)" width="500" height="375" /></p>
<h3>January 2013 update</h3>
<p>In January 2013 I released a new version of Instameme. This update features a new responsive design that looks great both on your desktop and in your phone. If you own an iPhone, save the site to your homescreen for quick access!</p>
<p><img class="alignnone size-full wp-image-174" src="http://olovfsson.se/wp-content/uploads/2012/10/breezi_placeit.png" alt="Instame.me (image from PlaceIt by Breezi)" width="500" height="320" /></p>
<p>The new version also features a tag-based search function. Tags can be set when you upload new memes to the site.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://marcusolovsson.com/instameme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
