<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Nadia Tariq on Medium]]></title>
        <description><![CDATA[Stories by Nadia Tariq on Medium]]></description>
        <link>https://medium.com/@NadiaTariq?source=rss-9248cf86cfdf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*1X8PCogpdI9ypqh8OG1reA.png</url>
            <title>Stories by Nadia Tariq on Medium</title>
            <link>https://medium.com/@NadiaTariq?source=rss-9248cf86cfdf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 10:38:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@NadiaTariq/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Property Observers In Swift]]></title>
            <link>https://medium.com/@NadiaTariq/property-observers-in-swift-54978e49f8a2?source=rss-9248cf86cfdf------2</link>
            <guid isPermaLink="false">https://medium.com/p/54978e49f8a2</guid>
            <dc:creator><![CDATA[Nadia Tariq]]></dc:creator>
            <pubDate>Tue, 24 Oct 2023 14:36:00 GMT</pubDate>
            <atom:updated>2023-10-24T14:36:00.738Z</atom:updated>
            <content:encoded><![CDATA[<p>Property observers in Swift are a feature that assists in monitoring changes to properties of custom data types (classes and structures). There are two types of property observers: DidSet and WillSet.</p><p><strong><em>DidSet</em></strong></p><blockquote>This property observer is called immediately after a property’s value has been changed. You can access the previous value of the property within this observer. It allows you to take actions based on the new value or perform some post-update logic.</blockquote><p><strong><em>WillSet</em></strong></p><blockquote>This property observer is called just before you are about to change the value of a property. You can see the new value of the property within this observer. It allows you to validate or perform actions before a value is updated.</blockquote><pre>class CookieJar {<br>    var cookieCount: Int = 0 {<br>        willSet {<br>            print(&quot;Adding \(newValue - cookieCount) cookies to the jar.&quot;)<br>        }<br>        didSet {<br>            print(&quot;The total number of cookies in the jar is now \(cookieCount).&quot;)<br>        }<br>    }<br>}<br><br>let jar = CookieJar()<br><br>jar.cookieCount = 10<br>jar.cookieCount = 15<br></pre><p><strong>Output</strong></p><pre>Adding 10 cookies to the jar.<br>The total number of cookies in the jar is now 10.<br>Adding 5 cookies to the jar.<br>The total number of cookies in the jar is now 15.</pre><p>The willSet property observer will be called <strong>before</strong> the cookieCount is updated, eg when we want to be aware that it will be happening we use <strong>WillSet</strong> and it will print how many cookies are being added to the jar. The didSet property observer will be called after the update, when something is done and changes occur in the D<strong>idSet</strong> observer will be called and it will print the new total number of cookies in the jar.</p><p><em>Done with observers Thanks!</em> 🙂</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54978e49f8a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pass By Value]]></title>
            <link>https://medium.com/@NadiaTariq/pass-by-value-a7311544a802?source=rss-9248cf86cfdf------2</link>
            <guid isPermaLink="false">https://medium.com/p/a7311544a802</guid>
            <category><![CDATA[swift-programing-language]]></category>
            <category><![CDATA[pass-by-value]]></category>
            <dc:creator><![CDATA[Nadia Tariq]]></dc:creator>
            <pubDate>Sat, 15 Jul 2023 15:32:56 GMT</pubDate>
            <atom:updated>2023-07-15T15:40:33.583Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Pass by value</strong></p><p>In Swift types structs, enums, integers, and floats are <em>passed by value</em> always by default. it makes copies of values and requires more memory and time as compared to pass-by-reference, probable we used structs in our programming if we don&#39;t need any type of complexity require in our projects. it does not affect the original value.</p><blockquote>Variables are passed by value by default In Swift,. This means that when you pass a variable as an argument to a function or assign it to another variable, a copy of its value is created and used by the receiving function or variable. Any modifications made to the copy of the variable do not affect the original variable.</blockquote><p>Here in our main program we create a variable of type string and store a string in it, here is the example</p><p>This is a variable that we created</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l0P_8ml4QSh7XVCI6tmdSQ.png" /></figure><p>Now we create a struct that have a name variable of string type</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/1*BA35qBKY-OXXLS4vCYLAGg.png" /></figure><p>Function that we called to check for pass by value</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fFQAxqxmMdfI_cBULRK0bw.png" /></figure><p>Call the function in view did load and print statement before calling the function and after calling the function.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*69sdSLVux9nE4NyMud4V4g.png" /></figure><p>Uhhh! Wao it&#39;s not affected the original value my name remains same.🐰</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*fBqLDA5Im_9tFDs2Nc-gKQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a7311544a802" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pass By Reference]]></title>
            <link>https://medium.com/@NadiaTariq/pass-by-reference-44e6b3ddbab4?source=rss-9248cf86cfdf------2</link>
            <guid isPermaLink="false">https://medium.com/p/44e6b3ddbab4</guid>
            <category><![CDATA[swift-programming]]></category>
            <category><![CDATA[pass-by-reference]]></category>
            <dc:creator><![CDATA[Nadia Tariq]]></dc:creator>
            <pubDate>Sat, 15 Jul 2023 14:31:15 GMT</pubDate>
            <atom:updated>2023-07-15T14:40:19.639Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Pass By Reference</strong></p><p>In Swift, Classes are passed by reference by default, in function parameters the values are always passed by reference, and when we value changes outside the function it affects the original value, it takes less time and requires less memory.</p><blockquote>When you pass a reference type as a parameter to a function, you’re passing a reference to the original object. This means that any changes made to the parameter within the function will affect the original object.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/692/1*jjOJ3IotGkPBz4uf-h_kNQ.png" /><figcaption>Person Class</figcaption></figure><p>in this class there is a name of type string, then create a variable</p><p><strong>var</strong> referencedName = Person(name: “Nadia”) it is the original name in this case.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t-P_t-TzihtmCplA7j7prg.png" /></figure><p>In View Did load we call the function and print statements before calling the function and after calling the function.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UXlMzNPxsYhBRCZp5if9UA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pJrFhwCPcf_PB24g95fKaA.png" /><figcaption>Calling Function</figcaption></figure><p>The output of this function is that it affects the original value, which means now my name is Joulia Robet 😆 , in reference type I changed my original name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/1*2-RI2CeIBcccJKCJU2Eiig.png" /><figcaption>Output</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44e6b3ddbab4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is .gitignore.]]></title>
            <link>https://medium.com/@NadiaTariq/what-is-gitignore-2f33ccc8e833?source=rss-9248cf86cfdf------2</link>
            <guid isPermaLink="false">https://medium.com/p/2f33ccc8e833</guid>
            <dc:creator><![CDATA[Nadia Tariq]]></dc:creator>
            <pubDate>Wed, 21 Sep 2022 12:06:58 GMT</pubDate>
            <atom:updated>2022-09-21T12:09:05.218Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is .gitignore.</h3><p>gitignore — Specifies intentionally untracked files to ignore</p><blockquote><strong>How to Add .gitignore File in project, Avoid Pods.</strong></blockquote><p>Step:- 1 Add new repository in github.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/336/1*JqYyVMZMsdMgqkjo4wWV-w.png" /><figcaption>Add new Repository.</figcaption></figure><p>Step:- 2 Give Name to your Repository and click on create</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/369/1*wqiiYTAGLdTTIrN41d6pqw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/245/1*fPapXX_cpWlGQBJqgF1axA.png" /><figcaption>create repository</figcaption></figure><p>Step:- 3 open the github and clone repository.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/76/1*UJWJ_tF6lIJ3uyRM6wXudg.png" /><figcaption>github Desktop</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/298/1*LU_SUjsZaEmdjxBuv1sbHw.png" /><figcaption>clone repository</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/504/1*9mrNJNsAdpUE4EikuYLw3Q.png" /><figcaption>Choose the project from where you want to avoid pods.</figcaption></figure><p>Step:- 4 Copy all the folders and paste in the github folder that by defaults in Documents</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/242/1*SmyHBHAOngKvUH121ai2pg.png" /><figcaption>Paste in Github</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/1*HxO1slh7VL9RhV8jJwzbYQ.png" /><figcaption>Done 👐</figcaption></figure><p>Step:- 5 Now Open Terminal and press cd or drop the GitHub’s relevant clone project</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*14punAso8k9_xNky6Ehmfw.png" /></figure><p>Step:- 6 Add .gitignore file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/582/1*Ja4RL4I3975H0gnPuVaPYw.png" /></figure><blockquote>Add these files in .gitignore file</blockquote><p><strong><em>we want to avoid pods so we incluede #CocoaPods and Pods/</em></strong></p><blockquote><em>A blank line matches no files, so it can serve as a separator for readability.</em></blockquote><blockquote><em>A line starting with # serves as a comment. Put a backslash (“</em><em>\&quot;) in front of the first hash for patterns that begin with a hash.</em></blockquote><blockquote><em>Trailing spaces are ignored unless they are quoted with backslash (“</em><em>\&quot;).</em></blockquote><p><a href="https://git-scm.com/docs/gitignore">https://git-scm.com/docs/gitignore</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*wKDKbScuhhnycFCreNz3kg.png" /><figcaption>press Ctrl + X and then press Y</figcaption></figure><blockquote>Uncheck all and only check the .gitignore , commit and push or publish branch</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/961/1*KNei9I5BF0X1BAoxJb8fEg.png" /></figure><p>now check all and commit again then push your code on GitHub.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*P6QnZjNLtCL7oVd6dAjr-Q.png" /></figure><p>The code is published (public) on GitHub Account</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/961/1*SQV8-86GJrKYWb16a4V9hQ.png" /><figcaption>Boom 👽</figcaption></figure><p><a href="https://github.com/nadiatariq/circularProgressBar">GitHub - nadiatariq/circularProgressBar</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2f33ccc8e833" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CRUD with Realm In Swift]]></title>
            <link>https://medium.com/@NadiaTariq/crud-with-realm-in-swift-696c731683c1?source=rss-9248cf86cfdf------2</link>
            <guid isPermaLink="false">https://medium.com/p/696c731683c1</guid>
            <dc:creator><![CDATA[Nadia Tariq]]></dc:creator>
            <pubDate>Mon, 29 Aug 2022 14:47:44 GMT</pubDate>
            <atom:updated>2022-08-31T15:45:48.136Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong><em>GENERATING FORM IN STORYBOARD AND CREATING A DATABASE IN XCODE TO UNDERSTAND THE COMPLETE CONCEPT OF REALM WITH SWIFT IN IOS!</em></strong></blockquote><p>Hey ! It&#39;s REALM Basics With Swift. Let’s Dustout our hands with it to make fun with coding 😇. I give you complete guidance to complete your CRUD to take Realm DataBase.,</p><h3><strong>REALM</strong></h3><p>First of All, What is a Realm? It is a base type question before making CRUD in it, And we are familiar with CRUD (CREATE- READ- UPDATE- DELETE). That&#39;s it. REALM is a cross-platform mobile database solution provided to design databases for mobile applications, it is fast, lightweight and extremely simple, and easy to integrate with our projects. it is much easier and an alternative to core data and SQLite.</p><p>A link that might be helpful to understand about realm Along with different scenarios is the CMD + V 😄 <a href="https://www.mongodb.com/docs/realm/tutorial">https://www.mongodb.com/docs/realm/tutorial</a>, right now our focus is on the Main Crud. Making a local database for a form.</p><p><em>I start with the hope that all you must be known about storyboards and all designing that we make in them to make constraints.</em></p><p>STEP 1:- Open your storyboard and add here two view controllers to it like that…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DgkVBenJc2n7lhOvg4DD6Q.png" /></figure><p>Basically, we want to add a student record eg, a student name that is a string type, and a student Roll number that is Int Type with this we can understand working with two types of dataTypes 🤓.</p><p>STEP NO:- 2. Add the table view Controller delegate and data source are conforms.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RteQInie-9XUJ9Uu3B_25Q.png" /></figure><p>Now Our Main goal is in Front Of Us, we just Achieved it.😎</p><p>Realm is a Third-party database and we must add a pod of it in our working project☝️, let me show you.</p><p>How we can Add a pod of REALM to Our project?</p><p>Step 1: Open Terminal and drop your project here just after type cd and press Enter.</p><p>Step 2: Write here <strong>Pod init</strong> and go to there where your project is placed in your machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pw9RIHmOqqgtc-RQUKaEiA.png" /><figcaption>White file here with the name of Podfile open it and Booom we add in it our pod.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZZ7MPzq0tACLjDofggVJ1g.png" /><figcaption>pod ‘RealmSwift’</figcaption></figure><p>We add our pod and now the next step is the main Step</p><p>Step 3: Open the file now that has the name is end up with the extension of.xcworkspace</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/280/1*LwIssBjoVP98AxCaqOlvbQ.png" /><figcaption>This one ☠️</figcaption></figure><p>step 4: In which we import pod</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*2VEMVBV98m5gPQZc6LBV9w.png" /><figcaption>Just Write ANd Enjoy Realm :]</figcaption></figure><p>For This, We must install <strong>Realm Studio</strong> on Our mac ., it&#39;s also another hectic thing for us. but don&#39;t have to worry. CMD + V is just for you…:)</p><p><a href="https://github.com/realm/realm-studio">https://github.com/realm/realm-studio</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7oxHrY6GD-J2JR_vFz_uKA.png" /></figure><p>click on MacOS and downloading starts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ipu_ME5XOFWdyFbAuXwJiQ.png" /><figcaption>BOOM that&#39;s a <strong>Realm Studio</strong> 🤩</figcaption></figure><p>Now time to do code in Xcode.</p><p>we add our data on the submit button in our realm database so here we create an object of the realm and use try forcefully to handle or overcome all exceptions.</p><p>let realm = try! Realm()</p><p>print(Realm.Configuration.defaultConfiguration.fileURL!) makes path in realmStudio</p><p><strong>How to Add data or create a realm Database?</strong></p><blockquote>Create an object of Student Class and when we give input to text fields it will add in realmDatabase with the realm.add (studentInfo). we write it in try-catch block to avoid exceptions.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-PvsY8mxu8_vLWapPTj0GQ.png" /></figure><p>How we can see our database?</p><p>open Finder and press CMD+Shif+G and paste the path from ///user — to /documents</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HKLyIwUdM7E6Hp93Oeao_A.png" /></figure><p>Pop Up Like This and press Enter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*sbXeTWKBKufGPr51gUqZcg.png" /></figure><p>Open the <strong>default.realm</strong> file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*xlNXu1BcbR--Nk24x1OiKA.png" /></figure><p>In my case, I also use a primary key to make roll number unique.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ivdK-uXFGH9qPhT6jP63_w.png" /><figcaption>Record in Database</figcaption></figure><p><strong>How to Read and Delete Data From Realm Database?</strong></p><blockquote><strong>Read Data</strong> and call this function in the ViewDidLoad realm.objects()</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qPkHIrC-JvQp5vgIdD7OVg.png" /></figure><p><strong>How to Update data in realm?</strong></p><p>The update is not a big deal, I want to send back data to the first controller and get values the same as I saved before it.</p><p>Create a variable of bool type and where I want to update i make it true</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*1vIyrPDECX0cdQZZLTBytw.png" /></figure><p>By default isUpdated is false and else case has true so as we enter text field will be Updated</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LreYrq4qbLDYPKGqoskXjQ.png" /></figure><p>Invoke the above callbackData Here and pass an array of objects as a parameter in it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_zojEwlHOHA7xZoV7Ryl_g.png" /><figcaption>Update data</figcaption></figure><p>Delete data from tableView using Table view Function</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fCAEihURnOH2vlP4DLNOnA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/510/1*hCozh84u_2BxmUfqN5EmQA.png" /><figcaption>Description</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rt-wfhUsjOTMwxxUUSE-VA.png" /></figure><blockquote><strong>How it is Updated and Deleted ?</strong></blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FtrzPxVdYCJA%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DtrzPxVdYCJA&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/7bd9ebf260bf94888d0ad0fe27d50af9/href">https://medium.com/media/7bd9ebf260bf94888d0ad0fe27d50af9/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=696c731683c1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[UI Scroll View]]></title>
            <link>https://medium.com/@NadiaTariq/ui-scroll-view-8c8d5fb9aaca?source=rss-9248cf86cfdf------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c8d5fb9aaca</guid>
            <dc:creator><![CDATA[Nadia Tariq]]></dc:creator>
            <pubDate>Mon, 01 Aug 2022 19:02:13 GMT</pubDate>
            <atom:updated>2022-12-23T17:11:08.532Z</atom:updated>
            <content:encoded><![CDATA[<h3>UI-Scroll View In Swift</h3><p>UI-Scroll is a view that allows its content to move from up to down and from down to up which we called Scrolling :]</p><p>Its basic use is when we want multiple views, fields, text areas, UI Images, and many other library items. we can simply use it to drag and drop in the basic main view.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rl_FTJf4SNj2WvINEUEEUw.png" /></figure><p>now its time to dust out all problems :)</p><p>Apply constraints on it 0 by all 4 corners.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_zcld0EAN35Nv0HISK74rg.png" /></figure><p>Now Add UIView and Give constraints with 4 corners by selecting Scroll View.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*ivqcBH8NuX6Ed9xw1tf7nA.png" /></figure><p>Give Width to UIView equal to scroll view by pressing control and dropping on scrollView and selecting Equal Width.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RWf0lH19qy9mc8OXEeJ9eg.png" /></figure><p>Give static height to UI View to check whether the scroll view working, and whether is it enabled for scroll or not.</p><p>Now, It&#39;s a tricky portion to <strong>remove static height</strong> from it and add <strong>UI stack</strong> View with constraints By ‘0’ from all 4 sides.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vX_ICjszeac-vm7rQwbFOA.png" /></figure><p>Add UI View in stack View</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l4ofxB79hG5GFM3W8xbsdQ.png" /></figure><p>With All of this Add UI View in stack view and give Static height to it. eg 200 and may be different.</p><p>Here I add few views of different colors in a stack view to beautify the scroll view and check the dynamic height of the scroll view, and it is scrolled.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kuZ10r4v6zQDie178GMpxw.png" /><figcaption>Boom!🤓 It&#39;s Working And scrolling here.</figcaption></figure><p><a href="https://github.com/nadiatariq/UiScrollView-In-Swift">https://github.com/nadiatariq/UiScrollView-In-Swift</a></p><p><strong>Completed!😈</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c8d5fb9aaca" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>