<?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>coylums.com</title>
	<atom:link href="http://coylums.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://coylums.com</link>
	<description>My bright ideas about stuff</description>
	<lastBuildDate>Thu, 17 Jun 2010 03:11:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>iPhone Application UIAlertView Alert Tutorial</title>
		<link>http://coylums.com/2010/06/iphone-application-uialertview-alert-tutorial/</link>
		<comments>http://coylums.com/2010/06/iphone-application-uialertview-alert-tutorial/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 03:10:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://coylums.com/?p=254</guid>
		<description><![CDATA[
One simple bit of code that I used in the iPhone application that I recent put together was creating a an alert, much like you see when you receive a SMS message.
When creating an alert view an iPhone application you allocation and initialize an instance of the UIAlertView.  With alert views it is generally [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://coylums.com/2010/06/iphone-application-uialertview-alert-tutorial/" title="Permanent link to iPhone Application UIAlertView Alert Tutorial"><img class="post_image alignnone frame" src="http://www.coylums.com/wp-content/themes/thesis_17/custom/photos/iphone_ui_alert_view_photo.jpg" width="458" height="100" alt="iPhone Application UIAlertView Alert Tutorial" /></a>
</p><p>One simple bit of code that I used in the iPhone application that I recent put together was creating a an alert, much like you see when you receive a SMS message.</p>
<p>When creating an alert view an iPhone application you allocation and initialize an instance of the UIAlertView.  With alert views it is generally custom to alloc and initWithTitle.  An example would be:</p>
<p><code>UIAlertView *alert = [[[UIAlertView alloc] initWithTitle:@"Do you like Alerts?"</code></p>
<p><span id="more-254"></span></p>
<p>The message that is being alert can be added to this allocation and initialization also.</p>
<p><code>UIAlertView *alert = [[[UIAlertView alloc] initWithTitle:@"Do you like Alerts?" message:@"With this alert you have two possible buttons to press."</code></p>
<p>You can specify that the alert instance that we created be its own delegate by adding &#8220;delegate:self&#8221; after passing message string as a parameter:</p>
<p><code>delegate:self</code></p>
<p>Setting itself as the delegate lets the compiler know that the alert is receiving its information from itself and not from another source.  Like the code suggests you can add options for the buttons on the alert view that are unique to you and your application. We&#8217;re going to specify the cancel button title by passing the string &#8216;@&#8221;No Thanks&#8230;&#8221;&#8216; to cancelButtonTitle.  This will set the cancel button the alert to &#8220;No Thanks&#8230;&#8221;.</p>
<p>We can let the alert know that we&#8217;re not going to assign any more buttons by passing &#8220;nil&#8221;, the Objective-C version of &#8220;null&#8221; to otherButtonTitles.  At the same time we&#8217;re going to autorelease this alert since we do not want to keep it around for long, just long enough to display the alert.  When we put it all together we get:</p>
<p><code>UIAlertView *alert = [[[UIAlertView alloc] initWithTitle:@"Do you like Alerts?" message:@"Would you like to sync all of your filters to the same date?" delegate:self cancelButtonTitle:@"No Thanks..." otherButtonTitles:nil] autorelease];</code></p>
<p>Since the object has been created we can also utilize methods specific to UIAlertView of our instance of that class.  For instance we can add:</p>
<p><code>[alert addButtonWithTitle:@"Well... Okay!"];</code></p>
<p>This will add another button to our alert that possesses the title &#8220;Well&#8230; Okay!&#8221;.</p>
<p>Now all that is left is to show the alert view that we&#8217;ve created to the screen on the iphone.  To do that we add:</p>
<p><code>[alert show];</code></p>
<p>This will display out messed on the screen.</p>
<p><img src="http://www.coylums.com/wp-content/themes/thesis_17/custom/photos/iphone_ui_alert_view.jpg" width="458px" height="544px" alt="iPhone Application UIAlertView Alert Tutorial Finished Product Photo" /></p>
<p><code><br />
	UIAlertView *alert = [[[UIAlertView alloc] initWithTitle:@"Do you like Alerts?" message:@"With this alert you have two possible buttons to press." delegate:self cancelButtonTitle:@"No Thanks..." otherButtonTitles:nil] autorelease];<br />
	// optional - add more buttons:<br />
	[alert addButtonWithTitle:@"Well... Okay!"];<br />
	[alert show];<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://coylums.com/2010/06/iphone-application-uialertview-alert-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Journey Through iPhone Application Development</title>
		<link>http://coylums.com/2010/06/my-journey-through-iphone-application-development/</link>
		<comments>http://coylums.com/2010/06/my-journey-through-iphone-application-development/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 00:14:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://coylums.com/?p=247</guid>
		<description><![CDATA[
Hello World!  I&#8217;m currently working on an iPhone app for the company I work for, Flanders Filters.  This is my first endeavor into the world of iPhone application development.  I have learned so much and I&#8217;m currently learning a lot about the concept of MVC (Model View Controller) and object-oriented programming in [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://coylums.com/2010/06/my-journey-through-iphone-application-development/" title="Permanent link to My Journey Through iPhone Application Development"><img class="post_image alignnone frame" src="http://www.coylums.com/wp-content/themes/thesis_17/custom/photos/iphone_application_development.jpg" width="458" height="100" alt="My Journey Through iPhone Application Development" /></a>
</p><p>Hello World!  I&#8217;m currently working on an iPhone app for the company I work for, Flanders Filters.  This is my first endeavor into the world of iPhone application development.  I have learned so much and I&#8217;m currently learning a lot about the concept of <a href="http://en.wikipedia.org/wiki/Model–view–controller">MVC (Model View Controller)</a> and object-oriented programming in general.  The object-oriented approach to programming makes perfect sense.  I find myself thinking about every day things in an object-oriented way.</p>
<p>My goal for the next month is to complete the application and break the development process down into a series of blog posts to help others in the areas I felt were not very clear when searching on the internet and in books I&#8217;ve read.  I would also like to include code samples that can be used repeatedly in the iPhone Development process.</p>
]]></content:encoded>
			<wfw:commentRss>http://coylums.com/2010/06/my-journey-through-iphone-application-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ride Digital Wave Website Launch</title>
		<link>http://coylums.com/2010/06/ride-digital-wave-website-launch/</link>
		<comments>http://coylums.com/2010/06/ride-digital-wave-website-launch/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 22:58:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://coylums.com/?p=230</guid>
		<description><![CDATA[
Ride Digital Wave is a website that I recently coded up for a client.  The site is simplistic in design, it was photoshopped by the client and I broke it up in a website for Bryan, the client.
The site was not too complex, pretty much a basic HTML and CSS layout. The PrettyPhoto jquery [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://coylums.com/2010/06/ride-digital-wave-website-launch/" title="Permanent link to Ride Digital Wave Website Launch"><img class="post_image alignnone frame" src="http://www.coylums.com/wp-content/themes/thesis_17/custom/photos/digital_wave_productions.jpg" width="458" height="100" alt="Ride Digital Wave Productions - ridedigitalwave.com" /></a>
</p><p>Ride Digital Wave is a website that I recently coded up for a client.  The site is simplistic in design, it was photoshopped by the client and I broke it up in a website for Bryan, the client.</p>
<p>The site was not too complex, pretty much a basic HTML and CSS layout. The <a href="http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/">PrettyPhoto</a> jquery light box was to used to display the video when the Digital Wave box is clicked on the site.
<p>The site&#8217;s main focus is to promote Bryan&#8217;s film techniques and to showcase a film reel that Bryan produced.  Please check out <a href="ridedigitalwave.com">Ride Digital Wave</a> for more information and to see Bryan&#8217;s work!</p>
<p>If you have any questions please feel free to comment on this post.</p>
]]></content:encoded>
			<wfw:commentRss>http://coylums.com/2010/06/ride-digital-wave-website-launch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Question Answered by Chris Coyier</title>
		<link>http://coylums.com/2009/04/css-question-answered-by-chris-coyier/</link>
		<comments>http://coylums.com/2009/04/css-question-answered-by-chris-coyier/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 17:49:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[background-images]]></category>
		<category><![CDATA[chris coyier]]></category>
		<category><![CDATA[css-tricks]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://coylums.com/?p=156</guid>
		<description><![CDATA[
Chris Coyier, of CSS-Tricks, tweeted the other day asking for questions for an upcoming article he&#8217;s writing for Smashing Magazine.  I&#8217;m currently working on a website for a design course that I&#8217;m taking and had a couple questions regarding background-images.  I produced a table using PHP and wanted the current date to be [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://coylums.com/2009/04/css-question-answered-by-chris-coyier/" title="Permanent link to CSS Question Answered by Chris Coyier"><img class="post_image alignnone frame" src="http://www.coylums.com/wp-content/themes/thesis_17/custom/photos/php_stock_photo.jpg" width="458" height="100" alt="CSS Question Answered by Chris Coyier of CSS-Tricks" /></a>
</p><p>Chris Coyier, of CSS-Tricks, tweeted the other day asking for questions for an upcoming article he&#8217;s writing for Smashing Magazine.  I&#8217;m currently working on a website for a design course that I&#8217;m taking and had a couple questions regarding background-images.  I produced a table using PHP and wanted the current date to be highlighted using a background-image in CSS.  I had some issues and e-mailed Chris.  He promptly responded with the following information.  Enjoy!<br />
<br/><br />
<span id="more-156"></span></p>
<hr/>
<p>Hey William,</p>
<p>This is really a rock-and-a-hard-place scenario. CSS background-images are not resizeable, so that&#8217;s out. The other way to include an image on the page is an inline <img ... />. There are resizeable, so we may be onto something. The go-to method for stretching an image to the size of it&#8217;s parent is to use absolute positioning and set the top, bottom, left, and right values to zero. Unfortunately, the parent needs to have relative positioning for this to work, and table cells to not accept relative positioning. </p>
<p>Divs, however, do accept relative positioning. So a div inside will stretch to the width of the parent table cell, but not the necessarily the height, and we are unable to force it because of the no-relative-positioning-on-table-cells problem from above. </p>
<p>With CSS alone, we can almost get it:  </p>
<p><code>&lt;td class=&quot;currentDay&quot;&gt;<br />
   &lt;div&gt;</p>
<p>      &lt;img src=&quot;images/circle.png&quot; class=&quot;circle&quot; alt=&quot;&quot; /&gt;</p>
<p>      19<br />
   &lt;/div&gt;<br />
&lt;/td&gt;</p>
<p>td                  { padding: 5px; vertical-align: middle; text-align: center; }<br />
td div              { position: relative; }<br />
.circle             { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }</code></p>
<p>The height is still a problem though, and I&#8217;m not seeing a pure CSS solution. What we need to do is set the height and width of that image to be the exact height and width of the table cell that it&#8217;s in. We can lean on a bit of jQuery to do that math for us:</p>
<p><code>$(function() {</p>
<p>    var theImage = $(&quot;.circle&quot;);</p>
<p>    var theCell = theImage.parent().parent();</p>
<p>    var theWidth = parseInt(theCell.css(&quot;width&quot;)) + parseInt(theCell.css(&quot;padding-left&quot;)) + parseInt(theCell.css(&quot;padding-right&quot;));</p>
<p>    var theHeight = parseInt(theCell.css(&quot;height&quot;)) + parseInt(theCell.css(&quot;padding-top&quot;)) + parseInt(theCell.css(&quot;padding-bottom&quot;));</p>
<p>    $(&quot;.circle&quot;)<br />
        .width(theWidth)</p>
<p>        .height(theHeight)<br />
        .css({<br />
            &quot;top&quot;: -parseInt(theCell.css(&quot;padding-top&quot;)),<br />
            &quot;left&quot;: -parseInt(theCell.css(&quot;padding-left&quot;))<br />
        });</p>
<p>});</code></p>
<p>Kind of a lot of work for such a seeminly simple problem, but at least it works and it&#8217;s adaptable.</p>
<p><a href="http://css-tricks.com/examples/ImageToCellSize/">http://css-tricks.com/examples/ImageToCellSize/</a></p>
<p>-Chris</p>
<p>I hope this helps some people.  Thanks again Chris!!</p>
]]></content:encoded>
			<wfw:commentRss>http://coylums.com/2009/04/css-question-answered-by-chris-coyier/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript Prime Number Generator</title>
		<link>http://coylums.com/2009/04/javascript-prime-number-generator/</link>
		<comments>http://coylums.com/2009/04/javascript-prime-number-generator/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 23:22:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[generator]]></category>
		<category><![CDATA[prime]]></category>
		<category><![CDATA[prime number]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://coylums.com/?p=140</guid>
		<description><![CDATA[
I&#8217;m currently enrolled in a javascript course right now and I reached my first real challenge recently.  I was to generate all prime numbers between 1 and 1000.  Also I had to create the numbers within a table which printed 10 numbers on a row and then started a new row.  It [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://coylums.com/2009/04/javascript-prime-number-generator/" title="Permanent link to Javascript Prime Number Generator"><img class="post_image alignnone frame" src="http://www.coylums.com/wp-content/themes/thesis_17/custom/photos/javascript_stock_photo.jpg" width="458" height="95" alt="Javascript Prime Number Generator Image" /></a>
</p><p>I&#8217;m currently enrolled in a javascript course right now and I reached my first real challenge recently.  I was to generate all prime numbers between 1 and 1000.  Also I had to create the numbers within a table which printed 10 numbers on a row and then started a new row.  It  took forever, with a few suggestions from my friend Brad, but I came to a solution with a lot of time spent and a couple of loops.  I had some issues finding information online so I wanted to help someone in the future that needs some assistance like I could have used!  Please feel free to check it out and make please make some suggestions because I&#8217;m still learning too!<br />
<br />
<a href="http://coylums.com/files/prime_number_generator_serve.php"><b>Download</b> Prime Number File</a><br />
<br />
<span id="more-140"></span><br />
<img class="aligncenter size-full wp-image-143" title="woolard_w_primenumbershtml" src="http://coylums.com/http://coylums.com/wp-content/uploads/2009/04/woolard_w_primenumbershtml.jpg" alt="woolard_w_primenumbershtml" width="388" height="554" /></p>
]]></content:encoded>
			<wfw:commentRss>http://coylums.com/2009/04/javascript-prime-number-generator/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>topspeed performance.net</title>
		<link>http://coylums.com/2009/03/topspeedperformancenet/</link>
		<comments>http://coylums.com/2009/03/topspeedperformancenet/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 00:23:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Friends]]></category>
		<category><![CDATA[Cars]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[Website Launch]]></category>

		<guid isPermaLink="false">http://coylums.com/?p=120</guid>
		<description><![CDATA[Just got back from a car show in Greenville, NC.  A good friend of mine since grade school was there showing off some vehicles he built.  He just launched a site later last year, topspeedperformance.net.  It has a forum, a blog, and a lot of other good information.  Check it out!!  He&#8217;s also [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Just got back from a car show in Greenville, NC.  A good friend of mine since grade school was there showing off some vehicles he built.  He just launched a site later last year, <a href="http://topspeedperformance.net/">topspeedperformance.net</a>.  It has a forum, a blog, and a lot of other good information.  Check it out!!  He&#8217;s also hosting &#8220;Dyno Day&#8221; which should be a lot of fun that&#8217;ll be on April 18th.  If you&#8217;re in the eastern North Carolina area, come check it out!</p>
]]></content:encoded>
			<wfw:commentRss>http://coylums.com/2009/03/topspeedperformancenet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Charisma Boutique Inc.</title>
		<link>http://coylums.com/2009/02/charisma-boutique-inc/</link>
		<comments>http://coylums.com/2009/02/charisma-boutique-inc/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 20:02:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[boutique]]></category>
		<category><![CDATA[charisma]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://coylums.com/?p=98</guid>
		<description><![CDATA[Charisma Boutique Inc.
 
I was put in charge of developing a website for Charisma Boutique in Washington, North Carolina and it is now officially online!  Please feel free to look around and let me know what you think.  There&#8217;s definitely some room for improvement and would appreciate any criticisms.  Please check it out!
]]></description>
			<content:encoded><![CDATA[<p></p><p><span style="line-height: 17px;">Charisma Boutique Inc.</span><br />
 </p>
<p>I was put in charge of developing a website for <a href="http://shopcharisma.net" target="_blank">Charisma Boutique</a> in Washington, North Carolina and it is now officially online!  Please feel free to look around and let me know what you think.  There&#8217;s definitely some room for improvement and would appreciate any criticisms.  Please check it out!</p>
]]></content:encoded>
			<wfw:commentRss>http://coylums.com/2009/02/charisma-boutique-inc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
