<?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 Bahadır Seyfi on Medium]]></title>
        <description><![CDATA[Stories by Bahadır Seyfi on Medium]]></description>
        <link>https://medium.com/@bahadirseyfi?source=rss-6f7f8d8ca26b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XXrD_kJAJBx6odeO2pL74Q.jpeg</url>
            <title>Stories by Bahadır Seyfi on Medium</title>
            <link>https://medium.com/@bahadirseyfi?source=rss-6f7f8d8ca26b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 03:13:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bahadirseyfi/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[From iOS to Mendix: Navigating the Apple Ecosystem for Mobile App Excellence, What are the…]]></title>
            <link>https://bahadirseyfi.medium.com/from-ios-to-mendix-navigating-the-apple-ecosystem-for-mobile-app-excellence-what-are-the-25bde88303ef?source=rss-6f7f8d8ca26b------2</link>
            <guid isPermaLink="false">https://medium.com/p/25bde88303ef</guid>
            <category><![CDATA[application-development]]></category>
            <category><![CDATA[mobile]]></category>
            <category><![CDATA[mendix]]></category>
            <category><![CDATA[native-app-development]]></category>
            <dc:creator><![CDATA[Bahadır Seyfi]]></dc:creator>
            <pubDate>Sun, 08 Oct 2023 14:34:23 GMT</pubDate>
            <atom:updated>2026-02-10T22:21:09.619Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KOcXeIyk6q9IrEyujqO3Jw.png" /></figure><h3>From iOS to Mendix: Navigating the Apple Ecosystem for Mobile App Excellence, What are the advantages and disadvantages</h3><p>As we know the mobile application sector is growing into a sector in which worldwide app consumers spend a lot of money. In this situation, companies decide to develop their mobile applications for users and clients, but web and desktop applications do not suffice. Until now, companies were absorbed in their ASO (Application Search Optimization) because growing means connecting with a lot of people. When we are looking for ASO for Apple market store principles we encounter many cases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/658/1*laDJkT5NjCX9HGG7QfbpeA.png" /><figcaption><a href="https://www.data.ai/en/product/intelligence/?consentUpdate=updated">Image</a> — A</figcaption></figure><p>This article is not about general infrastructure SEO(keywords, localizations, rating and reviews, tracking…). These principles are independent of your development platform. I want to closely examine 2 items:</p><p>- Apple technologies and devices(support iPadOS, WatchOS, etc.)<br>- Native device capabilities(camera, authentication, GPS, and Bluetooth)</p><p>You can easily add these capabilities and widgets to your native mobile app projects and configure them in Mendix Studio Pro. Still, you can not support your mobile applications with WatchOS or iPadOS yet. Apple store editors love Apple device-supported applications and contribute to you displaying these applications at the forefront in the AppStore. Now It seems not important but the situation is not what It seems. We couldn’t predict how the sector is growing and we will not predict either. As you can see in Image B, App Store searches are major for app downloads and advertising.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*UsqGt5qUWV39YyncMEuK3w.png" /><figcaption>Image — B</figcaption></figure><p>If we need to take a closer look at different native apps and Mendix, we encounter package management. If you want to build your app in a simulator or real device you need Cocoapods but lately, Apple has shown its strength with SPM(Swift Package Manager). If you just want to use a robust, reliable, well-crafted, and well-tested framework then SPM is a great choice. On the other hand, Cocoapods is a centralized dependency manager for Swift and Obj-C Cocoa projects.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*pPKTvjrqTZQtnS2sgrMBjg.png" /><figcaption><a href="https://www.mendix.com/evaluation-guide/app-capabilities/native-mobile-apps/">mendix.com</a></figcaption></figure><p>As we know dependency problems always. arise when we build projects with different platforms. However, applications require long-term support, because it is so important to choose the type of app that can easily be maintained and updated with future releases. I think the Mendix has done a really great job for dependency management and interface building.</p><h4><strong>Conclusion</strong></h4><p>We can give Mendix a chance to develop mobile applications for large-scale or basic projects. Systems have leaks, you cannot choose the perfect way. Deciding one way will bring both advantages and disadvantages. Therefore it is important to decide on your objectives and what you need to do to achieve them.</p><p>In the coming days, we will build the same apps with different platforms like Mendix and Swift. In this way, we’ll examine how you can maintain performance differences.</p><p><strong>LinkedIn</strong>: <a href="https://www.linkedin.com/in/bahadirseyfi/">https://www.linkedin.com/in/bahadirseyfi/</a></p><p><strong>GitHub</strong>: <a href="https://github.com/bahadirseyfi">https://github.com/bahadirseyfi</a></p><p><strong>Twitter:</strong> <a href="https://twitter.com/bahadirseyfi">https://twitter.com/bahadirseyfi</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=25bde88303ef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Entering Protocol Oriented Programming with Swift]]></title>
            <link>https://medium.com/kodluyoruz/entering-protocol-oriented-programming-with-swift-fca419aea61a?source=rss-6f7f8d8ca26b------2</link>
            <guid isPermaLink="false">https://medium.com/p/fca419aea61a</guid>
            <category><![CDATA[protocol-oriented]]></category>
            <category><![CDATA[protocol]]></category>
            <category><![CDATA[swift]]></category>
            <dc:creator><![CDATA[Bahadır Seyfi]]></dc:creator>
            <pubDate>Thu, 13 May 2021 12:32:34 GMT</pubDate>
            <atom:updated>2021-05-13T12:32:34.949Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lCd3J4G7pi1YOEGEdC7slw.png" /></figure><p>Yazımda Protocol Oriented Programming mantığına geçmeden önce Swift dilinde protokollerin genel amaç, kullanım ve faydalarından bahsedeceğim. Tabi protokol odaklı programlanın bize sunduğu faydaları görebilmek ve anlayabilmek için nesne yönelimli programlama mantığını özümsemiş olmanız gerekir.</p><p>Protokol nedir diye başlayan ilk soruya; Java veya başka dillerden aşina olduğumuz Interface(Arayüz) cevabı verilebilir. Inheritance(kalıtım) kavramı, senaryolar oluştururken ve yazdığımız kodları düzenlerken güçlü bir rol oynar. Swift dilinde ise bu kalıtımı ve daha fazlasını protokollerin avantajlarını kullanarak yaparız.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*9IcGkGrez3YO-hNVHpvD5A.png" /></figure><p>Bir oyun tasarladığımızı düşünelim, burada oyuncunun bilgilerini tutuyoruz. Oyunumuzdaki silah özelliğini aktifleştirdik ve kurşun, silah ismi bilgileri ekledik.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*BXZqx72NQw2liPUIJszNrQ.png" /></figure><p>Şimdilik bir sıkıntı yok gibi gözüküyor ancak oyunumuza çok talep geldi ve ekibimiz büyüdü. Araba eklentisini de koymak istiyoruz, buradaki yığılma gittikçe artar. Bizim, kod tasarımlarımızı bir uzay aracı gibi düşünerek kod karmaşıklığının önüne geçmek için modüllere ayırmamız gerekir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/956/1*YZbvN-6mh7ZbJAHf1uZ3CQ.png" /></figure><p>Kodlara baktığımızda, oluşturduğumuz struct yapısına eklediğimiz protokollerimiz sayesinde daha modüler bir yapı oluştu. İleride oyuncumuzun arabası için renk değiştirme özelliği gelirse ilgili protokole ulaşıp bu müdahaleyi yapmak da bir o kadar kolaylaştı.</p><p>Swift’in güçlü bir özelliği protokolleri extend edebilmektir. Protokollerin kullanımının projemizde güçlendirilebilmesi ve protokol odaklı bir yazım için her bir birimi ufak ufak protokollere bölerek modülerliği arttırmamız gerekir. Yukarıdaki örnekte gördüğümüz gibi, her bir modülümüzü yapıya ekleriz. Eğer bir fonksiyon veya sabiti unuttuysanız merak etmenize gerek yok, Xcode size hemen kırmızı ışığı yakarak eksiklikleri tamamlar.</p><p>Protokollerimizi extend ettik, artık Player’ımıza sadece Person protokolümüzü extend etmemiz yeterlidir. Böylece birden çok protokolü de tek bir protokol çatısı altında toplayarak daha düzenli bir yapı kurduk. Tabi bu her senaryo için tavsiye edilen yazım şekli değildir. Yazımın konusu protokoller olmadığı için alt konulara ve protokol kullanımları hakkında detaya inmeyeceğim.</p><p>Kodlar üzerinden konuşmanın bu soyut konuyu biraz daha somut hale getirmeye yardımcı olacağını düşündüğüm için bir yapı kurguladım. Gelin yazdığım basit kodları biraz inceleyelim.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ewg8A-1WXEvEYEdiIZcm4Q.png" /></figure><p>Şirketleri içeren bir yapı kurmak istedik ve birçok farklı firmanın bu yazılımdan faydalanacağını düşünelim. Bu yazılımı kullanacak şirketlerin içerisinde kuyumculardan tutun yazılım firmalarına kadar farklı özellik ve dinamiklere sahip firmalar var. Peki bizim kurduğumuz bu yapıda kuyumcu dükkanının IT ekibi olması durumu da var mı? Evet, sadece ilgili değişkene “true” yazmanız yeterli bunun için. Kurduğumuz bu yapı, yazılımımızın en temel hali. Gün geçtikçe dallanıp budaklanan ve içinden çıkılması zor olan bir hal alacak ve birçok farklı hatalarla karşılaşacağız. Aynı senaryonun benzerini ise protokoller yardımı ile simüle edelim.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cKpj9UHvuhz1ONDRQtBmyA.png" /></figure><p>Buradaki yapıya bakınca bir subclass yerine protokolleri kullanarak daha sade bir yazıma ulaştık ve henüz extensionların ve protokollerin bizlere sunduğu birçok güçten faydalanmadan anlaşılır bir kod yazmış olduk. Böylelikle her yapı kendisini ilgilendiren değişken ve özelliklere erişebilir hale geldi. Şirket yapısının en temel halini bir katman olarak aldık ve genişleterek devam ettik. İstediğimiz değişken veya fonksiyonu ulaşılmaz hale getirip hatalarla karşılaşma olasılığımızı minimuma indirdik.</p><h3>ÖZET</h3><p>Protokol yönelimli programlama ile nesne yönelimli programlamayı kıyaslama hatasına düşmemeliyiz. Lazım olduğu durumlara göre case’lere ayırıp ihtiyaç belirlenmesi ve o ihtiyaca göre hareket edilmesi en güzel yoldur. Bu iki yönelim bir sürü şart, koşul ve duruma göre birbirileri arasında avantaj ve dezavantaj doğuruyor. Örnek olarak biz bir protokolün içerisinde stored variable tutamazken ihtiyacımız olduğu bu anda sadece pattern uygulamak adına farklı yollara başvurmamalıyız. Bu durumda inatlaşmadan inheritance kullanarak belki sorunumuzun kolayca üstesinden geleceğiz.</p><p>Son olarak, kod yazmaya başladığımızda direkt bir protokol yazmaya çalışmamalıyız. Bu bir yaklaşımdır ve her yaklaşım her sorun için doğru çözüm yolu değildir. Nesne yönelimli, fonksiyonel programlama gibi birçok farklı yaklaşımlar bizlerin sorunlarımıza yaklaşma biçimini belirler ve hepsi tek bir amaca hizmet eder: bizlere…</p><p>Bana ulaşmanız ve çalışmalarımı görmeniz için adreslerim:</p><p><strong>LinkedIn</strong> : <a href="https://www.linkedin.com/in/bahadirseyfi/">https://www.linkedin.com/in/bahadirseyfi/</a></p><p><strong>GitHub</strong>: <a href="https://github.com/bahadirseyfi">https://github.com/bahadirseyfi</a></p><p><strong>Twitter:</strong> <a href="https://twitter.com/bahadirseyfi">https://twitter.com/bahadirseyfi</a></p><p>Faydalı bulduğum protokol yönelimli programlama hakkında kaynakların linklerini bırakıyorum.</p><p>https://medium.com/geekculture/swift-5-how-protocol-oriented-programming-saves-your-apps-part-1-714db7d41b98</p><p><a href="https://medium.com/geekculture/swift-5-use-protocols-to-take-your-code-to-the-next-level-a671972f2f2">https://medium.com/geekculture/swift-5-use-protocols-to-take-your-code-to-the-next-level-a671972f2f2</a></p><p><a href="https://www.raywenderlich.com/6742901-protocol-oriented-programming-tutorial-in-swift-5-1-getting-started">https://www.raywenderlich.com/6742901-protocol-oriented-programming-tutorial-in-swift-5-1-getting-started</a></p><p><a href="http://chris.eidhof.nl/post/protocol-oriented-programming/">Protocol Oriented Programming is Not a Silver Bullet - Chris Eidhof</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fca419aea61a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/kodluyoruz/entering-protocol-oriented-programming-with-swift-fca419aea61a">Entering Protocol Oriented Programming with Swift</a> was originally published in <a href="https://medium.com/kodluyoruz">Kodluyoruz</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>