<?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 Arrays: From Basics to Advanced Techniques	</title>
	<atom:link href="https://www.swiftyplace.com/blog/swift-arrays-from-basics-to-advanced-techniques/feed" rel="self" type="application/rss+xml" />
	<link>https://www.swiftyplace.com/blog/swift-arrays-from-basics-to-advanced-techniques?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=swift-arrays-from-basics-to-advanced-techniques</link>
	<description>Learn how to build amazing apps with SwiftUI and Combine</description>
	<lastBuildDate>Sat, 17 Aug 2024 20:34:35 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>
		By: Gerhard Gall		</title>
		<link>https://www.swiftyplace.com/blog/swift-arrays-from-basics-to-advanced-techniques#comment-1000819</link>

		<dc:creator><![CDATA[Gerhard Gall]]></dc:creator>
		<pubDate>Sat, 17 Aug 2024 20:34:35 +0000</pubDate>
		<guid isPermaLink="false">https://swiftyplace.com/?p=802#comment-1000819</guid>

					<description><![CDATA[Good evening Md.Prater,
Your blog about Arrays is interesting. 30 years ago I used Pascal and  2 dimensional Arrays looked different.

Your example about enumeration

for (index, value) in matrix.enumerated(){
    print(&quot;Digit \(index + 1): \(value)&quot;)
}

Result:

Digit 1: [1, 2, 3]
Digit 2: [4, 5, 6]
Digit 3: [7, 8, 9]

How can i get the exact position for number 5 in Digit&quot;?

Thank You

with best regards

Gerhard Gall]]></description>
			<content:encoded><![CDATA[<p>Good evening Md.Prater,<br />
Your blog about Arrays is interesting. 30 years ago I used Pascal and  2 dimensional Arrays looked different.</p>
<p>Your example about enumeration</p>
<p>for (index, value) in matrix.enumerated(){<br />
    print(&#8220;Digit \(index + 1): \(value)&#8221;)<br />
}</p>
<p>Result:</p>
<p>Digit 1: [1, 2, 3]<br />
Digit 2: [4, 5, 6]<br />
Digit 3: [7, 8, 9]</p>
<p>How can i get the exact position for number 5 in Digit&#8221;?</p>
<p>Thank You</p>
<p>with best regards</p>
<p>Gerhard Gall</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 

Served from: www.swiftyplace.com @ 2026-08-24 19:48:22 by W3 Total Cache
-->