<?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>Imagineric</title>
	<atom:link href="http://imagineric.ericd.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://imagineric.ericd.net</link>
	<description>Interactive design and technology.</description>
	<lastBuildDate>Wed, 16 May 2012 01:27:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Flash vs HTML vs iOS</title>
		<link>http://imagineric.ericd.net/2012/05/15/flash-vs-html-vs-ios/</link>
		<comments>http://imagineric.ericd.net/2012/05/15/flash-vs-html-vs-ios/#comments</comments>
		<pubDate>Wed, 16 May 2012 01:27:48 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Apple Inc.]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://imagineric.ericd.net/?p=782</guid>
		<description><![CDATA[I honestly don&#8217;t know where Flash as a technology is going to be in a few years. Yes, we&#8217;ve seen the technology roadmap provided by Adobe, but I don&#8217;t honestly get the feeling that Flash is long for this world, ...]]></description>
			<content:encoded><![CDATA[<p>I honestly don&#8217;t know where Flash as a technology is going to be in a few years. Yes, we&#8217;ve seen the technology roadmap provided by Adobe, but I don&#8217;t honestly get the feeling that Flash is long for this world, which is sad.</p>
<p>I started out with Director and moved to Flash a million years ago. Building interface elements and widgets, moving into entire sites and then serious applications. The tools got better with time, the language when graduated to AS3 made a whole lot more sense to everyone, and things were humming along. And then change blew in from the side fills and now it seems that Flash is choking on it&#8217;s own vomit in the back of the van.</p>
<p>The one thing remaining cool in my quick take on e landscape is notion of author once and run on iOS and Android. So you&#8217;ve got AIR for Android doing it&#8217;s thing and some magic compiler doing it&#8217;s thing for iOS. You&#8217;re not authoring to the languages yourself which always left me feeling a little weird as a developer. Always releases behind without direct access to powerful features that you might need to subclass, etc.</p>
<p>I haven&#8217;t touched Flash in well over a year. I&#8217;ve been straight Objective-C, iOS, with a smattering of HTML/PHP/JavaScript. If you spend a little time with iOS and Objective-C, I think you pick it up quickly and love it. Personally I love Xcode. I&#8217;ve struggled with signing things in the past, but as a tool it&#8217;s freaking amazing. </p>
<p>Anyway, sorry to witness the decline of Flash. Happy I was part of it&#8217;s pinnacle.</p>
<img src="http://imagineric.ericd.net/?ak_action=api_record_view&id=782&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://imagineric.ericd.net/2012/05/15/flash-vs-html-vs-ios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iOS cross-fading images easily</title>
		<link>http://imagineric.ericd.net/2012/05/09/ios-cross-fading-images-easily/</link>
		<comments>http://imagineric.ericd.net/2012/05/09/ios-cross-fading-images-easily/#comments</comments>
		<pubDate>Wed, 09 May 2012 13:24:51 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[Apple Inc.]]></category>
		<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://imagineric.ericd.net/?p=778</guid>
		<description><![CDATA[If you find yourself in the need of providing an elegant slideshow with image crossfading, you have several paths that you can take. I however found a very simple and elegant bit of code that provides this functionality. All you ...]]></description>
			<content:encoded><![CDATA[<p>If you find yourself in the need of providing an elegant slideshow with image crossfading, you have several paths that you can take.</p>
<p>I however found a very simple and elegant bit of code that provides this functionality. All you need is an NSTimer and a selector (example only here):</p>
<pre class="brush:csharp">- (void)changeSlide
{
    slide++;
    if(slide &gt; 6)//an array count perhaps
        slide = 1;
    //create the string as needed, example only
    NSString *theName = [NSString stringWithFormat:@"img_%d.png", slide];
    UIImage * toImage = [UIImage imageNamed:theName];
    [UIView transitionWithView:self.view
                      duration:1.75f
                       options:UIViewAnimationOptionTransitionCrossDissolve
                    animations:^{
                        self.photoViewer.image = toImage;
                    } completion:NULL];
}</pre>
<p>With a single line of code you&#8217;re able to gracefully crossfade the current image with the new image. No need to create multiple UIImageViews, etc. Easy peasy and it works extremely well.</p>
<img src="http://imagineric.ericd.net/?ak_action=api_record_view&id=778&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://imagineric.ericd.net/2012/05/09/ios-cross-fading-images-easily/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iOS: Launch the Music application from your app</title>
		<link>http://imagineric.ericd.net/2012/05/09/ios-launch-the-music-application-from-your-app/</link>
		<comments>http://imagineric.ericd.net/2012/05/09/ios-launch-the-music-application-from-your-app/#comments</comments>
		<pubDate>Wed, 09 May 2012 12:59:03 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[Apple Inc.]]></category>
		<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://imagineric.ericd.net/?p=773</guid>
		<description><![CDATA[In an iOS application I am working on I found the need to be able to launch Apple&#8217;s Music player application. After googling a lot and posting to a developer email list, I found no solutions. I was however pointed ...]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter" title="Music Icon" src="http://cdn.imore.com/images/stories//2011/10/icon_music.jpg" alt="Music Icon" width="47" height="47" /></p>
<p>In an iOS application I am working on I found the need to be able to launch Apple&#8217;s Music player application. After googling a lot and posting to a developer email list, I found no solutions. I was however pointed to a wiki that lists iPhone URL schemes [<a title="URL Schemes" href="http://wiki.akosma.com/IPhone_URL_Schemes" target="_blank">link</a>]. This shows various ways to call up other applications on iOS devices. However the Music application isn&#8217;t listed there.</p>
<p>I took a shot in the dark and tried &#8220;music:&#8221; &#8211; and it works <img src='http://imagineric.ericd.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<pre class="brush:csharp">NSString *stringURL = @"music:";
NSURL *url = [NSURL URLWithString:stringURL];
[[UIApplication sharedApplication] openURL:url];</pre>
<p>So now you know too.</p>
<img src="http://imagineric.ericd.net/?ak_action=api_record_view&id=773&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://imagineric.ericd.net/2012/05/09/ios-launch-the-music-application-from-your-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Objective-C: UIButtons and Event Propagation / for(;;){</title>
		<link>http://imagineric.ericd.net/2012/04/27/objective-c-uibuttons-and-event-propagation-for/</link>
		<comments>http://imagineric.ericd.net/2012/04/27/objective-c-uibuttons-and-event-propagation-for/#comments</comments>
		<pubDate>Fri, 27 Apr 2012 18:41:48 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[Apple Inc.]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Objective-C]]></category>

		<guid isPermaLink="false">http://imagineric.ericd.net/?p=763</guid>
		<description><![CDATA[UIBUttons that won&#8217;t stop event propagation Today I needed to add a few UIButtons to an interface I had created as a Storyboard. However I am heavily using touchesBegan, touchesMoved, and touchesEnded. UIButtons swallow touch events like that and won&#8217;t ...]]></description>
			<content:encoded><![CDATA[<h3>UIBUttons that won&#8217;t stop event propagation</h3>
<p>Today I needed to add a few UIButtons to an interface I had created as a Storyboard. However I am heavily using touchesBegan, touchesMoved, and touchesEnded. UIButtons swallow touch events like that and won&#8217;t allow them pass through into my touches&lt;Condition&gt; code. That was a problem for me. You could subclass a UIButton and use it, but I am rather fond of placing some elements myself into a Storyboard. I found a nice solution online. Before the implementation in your view controller, add this code (I think I found it on StackOverflow somewhere):</p>
<div>
<pre class="brush:csharp">#pragma mark PassTouch

@interface UIButton (PassTouch)
@end

@implementation UIButton (PassTouch)
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
    [super touchesBegan:touches withEvent:event];
    [self.nextResponder touchesBegan:touches withEvent:event];
}
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
{
    [super touchesMoved:touches withEvent:event];
    [self.nextResponder touchesMoved:touches withEvent:event];
}
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
{
    [super touchesEnded:touches withEvent:event];
    //[self.nextResponder touchesEnded:touches withEvent:event];
}
@end
...</pre>
</div>
<p>This was a lot easier than subclassing a button, etc. The only thing is that all of your UIButtons are now going to pass events along. I commented that one line out in touchesEnded for the button since that bit was interfering with some of my code. Handy stuff that.</p>
<h3>A for loop that won&#8217;t quit</h3>
<p>I wanted to use a while loop for something (just a random number that wouldn&#8217;t be a repeat of the previous number). I stumbled upon some documentation that showed something I haven&#8217;t seen before. This is a style thing really as there are other ways to achieve the same and commonly needed results.</p>
<pre class="brush:csharp">    int rndValue;
    for(;;){
        rndValue = 0 + arc4random() % ([songsArray count] - 0);
        if(rndValue != currentRandomTrack){
            currentRandomTrack = rndValue;
            break;
        }
    }</pre>
<p>Check out that for loop. Until that condition is met to break, that for loop will run until someone kills the battery. Just another way to do it, but I hadn&#8217;t seen it before so I thought I&#8217;d pass it along. Pretty cool looking with the Snidley Whiplash eyes in there.</p>
<p>That&#8217;s all &#8211; have a great weekend.</p>
<img src="http://imagineric.ericd.net/?ak_action=api_record_view&id=763&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://imagineric.ericd.net/2012/04/27/objective-c-uibuttons-and-event-propagation-for/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WWDC 12</title>
		<link>http://imagineric.ericd.net/2012/04/25/wwdc-12/</link>
		<comments>http://imagineric.ericd.net/2012/04/25/wwdc-12/#comments</comments>
		<pubDate>Thu, 26 Apr 2012 03:24:50 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[Apple Inc.]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://imagineric.ericd.net/?p=757</guid>
		<description><![CDATA[Happy. I&#8217;m really excited to be attending WWDC this year. The last time I was in San Francisco for anything was for FlashForward I think. I&#8217;ve been to a few MacWorld conferences and have enjoyed a SteveNote from just behind ...]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ipodtouchisapro.com/wp-content/uploads/2012/04/69740_937_wwdc_12_du_11_au_15_juillet_prochain-200x200.jpg" alt="" align="left" hspace="6" /><strong>Happy</strong>.<br />
I&#8217;m really excited to be attending WWDC this year. The last time I was in San Francisco for anything was for FlashForward I think. I&#8217;ve been to a few MacWorld conferences and have enjoyed a SteveNote from just behind the press pool (close).</p>
<p>I feel lucky to have been able to get a ticket since they sold out so quickly. I&#8217;m lucky to be on the East coast and also lucky someone at work was talking with someone early in the morning who noticed tickets went on sale before I got my SMS message about it. I definitely would have missed out if not for that.</p>
<p><strong>Pilgrimage</strong>.<br />
Jeff LaMarche used to help run a bus pilgrimage to Apple on the Sunday before things kicked off, but it looks like <a href="http://iphonedevelopment.blogspot.com/2012/04/wwdc.html" target="_blank">this isn&#8217;t happening this year</a>. If anyone has heard of something else please leave a comment. I was thinking of renting a car but it&#8217;s a pretty long drive (2 hours?) to arrive someplace where I&#8217;d know not where to go or where to park, etc. It would be tough to do during the week and miss out on a lot. Perhaps I&#8217;ll just have to pass on it.</p>
<p>Anyway, my Twitter account: @eric_dolecki</p>
<img src="http://imagineric.ericd.net/?ak_action=api_record_view&id=757&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://imagineric.ericd.net/2012/04/25/wwdc-12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TAAB2 &#8211; Listen Now :)</title>
		<link>http://imagineric.ericd.net/2012/04/11/taab2-listen-now/</link>
		<comments>http://imagineric.ericd.net/2012/04/11/taab2-listen-now/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 15:56:00 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://imagineric.ericd.net/?p=752</guid>
		<description><![CDATA[Make sure your Spotify application is up and running for this to work properly.]]></description>
			<content:encoded><![CDATA[<p>Make sure your Spotify application is up and running for this to work properly.<br/><br/><iframe src="https://embed.spotify.com/?uri=spotify:user:edolecki:playlist:0zcnaB0IYIFULfX0GMaMis&#038;theme=white" width="580" height="680" frameborder="0" allowtransparency="true"></iframe></p>
<img src="http://imagineric.ericd.net/?ak_action=api_record_view&id=752&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://imagineric.ericd.net/2012/04/11/taab2-listen-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happy Easter: Polish Bialy Barszcz or Zurek Wielkanocny</title>
		<link>http://imagineric.ericd.net/2012/04/07/happy-easter-polish-bialy-barszcz-or-zurek-wielkanocny/</link>
		<comments>http://imagineric.ericd.net/2012/04/07/happy-easter-polish-bialy-barszcz-or-zurek-wielkanocny/#comments</comments>
		<pubDate>Sat, 07 Apr 2012 12:40:19 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://imagineric.ericd.net/?p=749</guid>
		<description><![CDATA[Here is a little recipe that has been handed down over many years &#8211; I have seen many other recipes that do not include vinegar (as it&#8217;s a shortcut but it comes from those working in the fields without great ...]]></description>
			<content:encoded><![CDATA[<p>Here is a little recipe that has been handed down over many years &#8211; I have seen many other recipes that do not include vinegar (as it&#8217;s a shortcut but it comes from those working in the fields without great means).</p>
<p>2 lbs. holiday kielbasa (has marjoram)<br />
1 lbs. pork spare ribs</p>
<p>Place in a large pot (huge) an cover with water 1/2 to 3/4&#8243; over. Boil until the kielbasa is cooked and the rib meat is gracefully falling from the bone. Remove from heat, remove the meat and place on a platter and refrigerate. Save the water as this will be used the next day to create a broth. Refrigerate. I don&#8217;t keep the pork usually, but you&#8217;re free to. Why waste it.</p>
<p>Next day:</p>
<p>Skim the fat that has congealed on the top of the water  and throw it away. Heat the water back up again and bring it to a boil.</p>
<p>In a small bowl, beat 2 eggs and 1/3 cup evaporated milk. Beat until blended.</p>
<p>Salt the water to taste.</p>
<p>Put in as much cider vinegar as you need into the water. I prefer a pretty sour broth so I end up using a lot. This dish requires a distinct acid component and bite&#8230; so be brave.</p>
<p>Turn the water down to low and spoon a little of the broth into the eggs &#8211; tbsp at a time. You put the broth into the egg mixture so the eggs don&#8217;t cook. If you were to pour the eggs into the broth straight away, you&#8217;d end up with a curdled mess. Once you&#8217;ve added enough broth so that it&#8217;s about 1/2 broth and 1/2 egg mixture you can then pour back into the broth.</p>
<p>You&#8217;ll need cubed ham, sliced kielbasa, hard boiled and cut up eggs, some ripped up pieces of authentic rye bread if you can manage it, and some volcanic horseradish. Put those into each serving bowl &amp; pour the broth atop the whole thing.</p>
<p>Easter tradition in my family.</p>
<p><a title="Another recipe" href="http://easteuropeanfood.about.com/od/polishsoups/r/whitebarszcz.htm" target="_blank">Here is an alternate recipe </a>that I&#8217;ve yet to try that doesn&#8217;t involve vinegar.</p>
<img src="http://imagineric.ericd.net/?ak_action=api_record_view&id=749&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://imagineric.ericd.net/2012/04/07/happy-easter-polish-bialy-barszcz-or-zurek-wielkanocny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FlashForward 2001</title>
		<link>http://imagineric.ericd.net/2012/04/02/flashforward-2001/</link>
		<comments>http://imagineric.ericd.net/2012/04/02/flashforward-2001/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 00:37:06 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[ActionScript]]></category>

		<guid isPermaLink="false">http://imagineric.ericd.net/?p=747</guid>
		<description><![CDATA[Yup &#8211; it&#8217;s old but some of the work stands up today. FF2K1 video (over 2 hours). It&#8217;s tiny in dimensions though :/]]></description>
			<content:encoded><![CDATA[<p>Yup &#8211; it&#8217;s old but some of the work stands up today.</p>
<p><a href="http://www.ericd.net/videos/ff_full.mov">FF2K1</a> video (over 2 hours). It&#8217;s tiny in dimensions though :/</p>
<img src="http://imagineric.ericd.net/?ak_action=api_record_view&id=747&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://imagineric.ericd.net/2012/04/02/flashforward-2001/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.ericd.net/videos/ff_full.mov" length="309621654" type="video/quicktime" />
		</item>
		<item>
		<title>Simple Analog 2 submitted to the App Store</title>
		<link>http://imagineric.ericd.net/2012/03/30/simple-analog-2-submitted-to-the-app-store/</link>
		<comments>http://imagineric.ericd.net/2012/03/30/simple-analog-2-submitted-to-the-app-store/#comments</comments>
		<pubDate>Sat, 31 Mar 2012 01:48:53 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[Apple Inc.]]></category>
		<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://imagineric.ericd.net/?p=743</guid>
		<description><![CDATA[Today I submitted a new application to the App Store &#8211; it&#8217;s a replacement for the free app called Analog that I released a million years ago. It&#8217;s still simple &#8211; even more so, but the engine has been improved ...]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Analog2" src="http://apps.ericd.net/wp-content/uploads/2012/03/an2.png" alt="Analog2" width="280" height="311" /></p>
<p>Today I submitted a new application to the App Store &#8211; it&#8217;s a replacement for the free app called Analog that I released a million years ago.</p>
<p>It&#8217;s still simple &#8211; even more so, but the engine has been improved and the UI is better. If you&#8217;re interested, <a href="http://apps.ericd.net/?page_id=120" target="_blank">check out the page</a> in my apps-devoted site (which needs flushed out).</p>
<img src="http://imagineric.ericd.net/?ak_action=api_record_view&id=743&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://imagineric.ericd.net/2012/03/30/simple-analog-2-submitted-to-the-app-store/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>It&#8217;s been quite a while&#8230;</title>
		<link>http://imagineric.ericd.net/2012/03/26/its-been-quite-a-while/</link>
		<comments>http://imagineric.ericd.net/2012/03/26/its-been-quite-a-while/#comments</comments>
		<pubDate>Mon, 26 Mar 2012 17:13:30 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://imagineric.ericd.net/?p=739</guid>
		<description><![CDATA[My apologies, I have been rather busy with life and also getting my new iPad (3?) set up for development and getting into the latest Xcode release. I&#8217;ve been working a lot with node.js and iOS and finally got a ...]]></description>
			<content:encoded><![CDATA[<p>My apologies, I have been rather busy with life and also getting my new iPad (3?) set up for development and getting into the latest Xcode release. I&#8217;ve been working a lot with node.js and iOS and finally got a solution rolled &#8211; it&#8217;s pretty involved regarding all of the stinking libraries that I need to include as well as all the Frameworks just to get some simple communication working properly.</p>
<p>I suppose that to anyone using the app(s) they would have no idea what&#8217;s involved under the hood and could care less. But for something that on the surface appears so easy, it&#8217;s really not. I&#8217;m at a turning point with some of the development &#8211; taking it into different directions, so the next few weeks should prove to be even more fun.</p>
<img src="http://imagineric.ericd.net/?ak_action=api_record_view&id=739&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://imagineric.ericd.net/2012/03/26/its-been-quite-a-while/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 2.015 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-05-17 04:00:55 -->

