<?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 Lamia_Yilmaz on Medium]]></title>
        <description><![CDATA[Stories by Lamia_Yilmaz on Medium]]></description>
        <link>https://medium.com/@lamia2004yilmaz?source=rss-003da9665b22------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*MbmLeYQ_9ythkPiXB0uoiQ.jpeg</url>
            <title>Stories by Lamia_Yilmaz on Medium</title>
            <link>https://medium.com/@lamia2004yilmaz?source=rss-003da9665b22------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 20:42:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lamia2004yilmaz/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[What Exactly is MVVM?]]></title>
            <link>https://medium.com/@lamia2004yilmaz/what-exactly-is-mvvm-50496934b0fc?source=rss-003da9665b22------2</link>
            <guid isPermaLink="false">https://medium.com/p/50496934b0fc</guid>
            <dc:creator><![CDATA[Lamia_Yilmaz]]></dc:creator>
            <pubDate>Sat, 26 Jul 2025 16:15:17 GMT</pubDate>
            <atom:updated>2025-07-27T13:56:27.074Z</atom:updated>
            <content:encoded><![CDATA[<p>First of all MVVM is a design pattern that is used on Mobile Applications but why do we use MVVM instead of creating our app in our own way? Do we have to use MVVM? These were my questions when I was first starting trying to create an IOS Application. You can definitely create your own app not using MVVM but chances that you will end up in such a complicated and confusing structure in your project is not very low.</p><p>So what exactly is MVVM? MVVM or if we want to expand the abbreviation Model-View-ViewModel is a pattern we use in our project for cleaner, understandable and well organized code structure. MVVM separates datas, views and business logic in our project, they are all in different folders and we exactly know which is where so that leaves us with a project that not only we but another person can understand our structure and can work on it easily. Here is an example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Iwk6nN9oQp5U2dcY8_D00w.png" /><figcaption>Model Example</figcaption></figure><p>In this example these codes are our datas at Model folder in our project. Data refers to the information our app uses, displays or manipulates. These informations can come from user input, database or API response.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6ND87Fnb7HiyKcqBuj3Pew.png" /><figcaption>View Example</figcaption></figure><p>In this example these are our View codes at View folder in our project. View means our interface for user to interact with, it displays the data from ViewModel, reacts to user input when typed or clicked on a button and updates themselves when data is changed with ViewModels help.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NTGCrOLep4BmF3VWzvvRaA.png" /><figcaption>ViewModel Example</figcaption></figure><p>In this example these codes are our ViewModel codes at ViewModel folder in our project. ViewModel connects Model and View it stores the data that View needs to display, handles user actions in the View and handles changes between Model and the View.</p><p>The codes that I have shown you are all in the same project but like I said in different folders. If you want to make things easier you can make different files for each view, viewmodel or data in your folder, it will keep things in place and easily reachable.</p><p>In conclusion MVVM makes these three separate from themselves and makes a place for them to be more reachable, makes our codes cleaner and not infuriate our friends for trying to understand what are we doing and where to look at when we are working on a project together.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50496934b0fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>