<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: Swift Collection View: Phase 1/9	</title>
	<atom:link href="https://theapplady.net/swift-collection-view-phase-19/feed/" rel="self" type="application/rss+xml" />
	<link>https://theapplady.net/swift-collection-view-phase-19/</link>
	<description></description>
	<lastBuildDate>Fri, 12 Jan 2018 19:35:00 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.1</generator>
	<item>
		<title>
		By: Piyush Sharma		</title>
		<link>https://theapplady.net/swift-collection-view-phase-19/#comment-134</link>

		<dc:creator><![CDATA[Piyush Sharma]]></dc:creator>
		<pubDate>Fri, 12 Jan 2018 19:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://theapplady.net/?p=31444#comment-134</guid>

					<description><![CDATA[where you have added delete button property in PhotoCell?]]></description>
			<content:encoded><![CDATA[<p>where you have added delete button property in PhotoCell?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Immyfly		</title>
		<link>https://theapplady.net/swift-collection-view-phase-19/#comment-70</link>

		<dc:creator><![CDATA[Immyfly]]></dc:creator>
		<pubDate>Tue, 24 Nov 2015 10:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://theapplady.net/?p=31444#comment-70</guid>

					<description><![CDATA[var objectArray = path.characters.split(&quot;/&quot;).map { String($0) }

		var stringArray = imageFile.characters.split(&quot;.&quot;).map { String($0) }

for swift 2.0 rather then using component separated by string 

    var objectArray = path.componentsSeparatedByString(&quot;/&quot;)

  var stringArray: Array = imageFile.componentsSeparatedByString(&quot;.&quot;)



works perfectly regards]]></description>
			<content:encoded><![CDATA[<p>var objectArray = path.characters.split(&#8220;/&#8221;).map { String($0) }</p>
<p>		var stringArray = imageFile.characters.split(&#8220;.&#8221;).map { String($0) }</p>
<p>for swift 2.0 rather then using component separated by string </p>
<p>    var objectArray = path.componentsSeparatedByString(&#8220;/&#8221;)</p>
<p>  var stringArray: Array = imageFile.componentsSeparatedByString(&#8220;.&#8221;)</p>
<p>works perfectly regards</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: The Applady		</title>
		<link>https://theapplady.net/swift-collection-view-phase-19/#comment-18</link>

		<dc:creator><![CDATA[The Applady]]></dc:creator>
		<pubDate>Thu, 19 Feb 2015 08:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://theapplady.net/?p=31444#comment-18</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://theapplady.net/swift-collection-view-phase-19/#comment-8&quot;&gt;Jim Atwood&lt;/a&gt;.

Hey Jim thanks for the comments. First of all the reason you’re getting the override func errors is because the MasterViewController.swift class is not a subclass of the UICollectionViewController class. See Figure 1-4 in the section, ‘Add A CLASS FILE IN THE PROJECT’. Also make sure you drop a ‘Collection View Controller’ on the storyboard. Not a ‘Collection View’

In Xcode 6.1.1, you have to change reference to collectionView in the viewDidLoad() function to this: self.collectionView!.backgroundColor … and this: self.collectionView!.registerClass(…
The code should work after making these minor changes. I updated the post’s code to reflect these changes.

Make sure you declare the ‘selectedPhotoName’ variable above the viewDidLoad() function like so:
var selectedPhotoName = String()]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://theapplady.net/swift-collection-view-phase-19/#comment-8">Jim Atwood</a>.</p>
<p>Hey Jim thanks for the comments. First of all the reason you’re getting the override func errors is because the MasterViewController.swift class is not a subclass of the UICollectionViewController class. See Figure 1-4 in the section, ‘Add A CLASS FILE IN THE PROJECT’. Also make sure you drop a ‘Collection View Controller’ on the storyboard. Not a ‘Collection View’</p>
<p>In Xcode 6.1.1, you have to change reference to collectionView in the viewDidLoad() function to this: self.collectionView!.backgroundColor … and this: self.collectionView!.registerClass(…<br />
The code should work after making these minor changes. I updated the post’s code to reflect these changes.</p>
<p>Make sure you declare the ‘selectedPhotoName’ variable above the viewDidLoad() function like so:<br />
var selectedPhotoName = String()</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: The App Lady		</title>
		<link>https://theapplady.net/swift-collection-view-phase-19/#comment-14</link>

		<dc:creator><![CDATA[The App Lady]]></dc:creator>
		<pubDate>Wed, 18 Feb 2015 20:07:55 +0000</pubDate>
		<guid isPermaLink="false">http://theapplady.net/?p=31444#comment-14</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://theapplady.net/swift-collection-view-phase-19/#comment-8&quot;&gt;Jim Atwood&lt;/a&gt;.

Hey Jim thanks for the comments. First of all the reason you&#039;re getting the override func errors is because the MasterViewController.swift class is not a subclass of the UICollectionViewController class. See Figure 1-4 in the section, &#039;Add A CLASS FILE IN THE PROJECT&#039;. Also make sure you drop a &#039;Collection View Controller&#039; on the storyboard. Not a &#039;Collection View&#039;

In Xcode 6.1.1, you have to change reference to collectionView in the viewDidLoad() function to this: self.collectionView!.backgroundColor ... and this: self.collectionView!.registerClass(...
The code should work after making these minor changes. I updated the post&#039;s code to reflect these changes.

Make sure you declare the &#039;selectedPhotoName&#039; variable above the viewDidLoad() function like so:
var selectedPhotoName = String()]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://theapplady.net/swift-collection-view-phase-19/#comment-8">Jim Atwood</a>.</p>
<p>Hey Jim thanks for the comments. First of all the reason you&#8217;re getting the override func errors is because the MasterViewController.swift class is not a subclass of the UICollectionViewController class. See Figure 1-4 in the section, &#8216;Add A CLASS FILE IN THE PROJECT&#8217;. Also make sure you drop a &#8216;Collection View Controller&#8217; on the storyboard. Not a &#8216;Collection View&#8217;</p>
<p>In Xcode 6.1.1, you have to change reference to collectionView in the viewDidLoad() function to this: self.collectionView!.backgroundColor &#8230; and this: self.collectionView!.registerClass(&#8230;<br />
The code should work after making these minor changes. I updated the post&#8217;s code to reflect these changes.</p>
<p>Make sure you declare the &#8216;selectedPhotoName&#8217; variable above the viewDidLoad() function like so:<br />
var selectedPhotoName = String()</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jim Atwood		</title>
		<link>https://theapplady.net/swift-collection-view-phase-19/#comment-13</link>

		<dc:creator><![CDATA[Jim Atwood]]></dc:creator>
		<pubDate>Tue, 17 Feb 2015 01:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://theapplady.net/?p=31444#comment-13</guid>

					<description><![CDATA[Got it!  Whew!  There were quite a few missing steps in your article, but I finally figured everything out.  It was a great exercise, but word of caution to new viewers, the code in this article isn&#039;t complete.  I highly recommend attaching the swift files so that users can view the missing info.  Thanks for the great article otherwise as it truly helped me to get started.  Much appreciated.  Now I&#039;m onto Phase 2.]]></description>
			<content:encoded><![CDATA[<p>Got it!  Whew!  There were quite a few missing steps in your article, but I finally figured everything out.  It was a great exercise, but word of caution to new viewers, the code in this article isn&#8217;t complete.  I highly recommend attaching the swift files so that users can view the missing info.  Thanks for the great article otherwise as it truly helped me to get started.  Much appreciated.  Now I&#8217;m onto Phase 2.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
