<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Learning on RawCull</title><link>https://techrawcull.netlify.app/tags/learning/</link><description>Recent content in Learning on RawCull</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 23 Nov 2026 12:49:19 +0100</lastBuildDate><atom:link href="https://techrawcull.netlify.app/tags/learning/index.xml" rel="self" type="application/rss+xml"/><item><title>One Package, Three Imports: Understanding Swift Modules</title><link>https://techrawcull.netlify.app/docs/packages/package-modules/</link><pubDate>Sun, 08 Nov 2026 00:00:00 +0000</pubDate><guid>https://techrawcull.netlify.app/docs/packages/package-modules/</guid><description>&lt;h1 id="one-package-three-imports-understanding-swift-modules"&gt;One Package, Three Imports: Understanding Swift Modules&lt;a class="td-heading-self-link" href="#one-package-three-imports-understanding-swift-modules" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;PhotoEvidenceKit is &lt;strong&gt;one package containing three library modules&lt;/strong&gt;. That is why&#10;RawCull can contain these three imports:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-swift" data-lang="swift"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kd"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;PhotoEvidenceContracts&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kd"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;PhotoEvidenceEngine&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kd"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;PhotoEvidenceUI&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Each import names a module. &lt;code&gt;PhotoEvidenceKit&lt;/code&gt; is the package name, but this&#10;package does not define a module with that name. Consequently, adding the package&#10;to Xcode does not make &lt;code&gt;import PhotoEvidenceKit&lt;/code&gt; valid.&lt;/p&gt;&#10;&lt;p&gt;This guide uses the actual&#10;&lt;a href="https://github.com/rsyncOSX/PhotoEvidenceKit/blob/7614fd1528bb7cf2549799fb937678ea39d90228/Package.swift"&gt;PhotoEvidenceKit manifest&lt;/a&gt;&#10;at the RawCull-resolved 1.0.7 revision. Alternative designs later in this guide are&#10;teaching examples, not changes made to that package.&lt;/p&gt;</description></item></channel></rss>