<?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 Yalçın Özdemir on Medium]]></title>
        <description><![CDATA[Stories by Yalçın Özdemir on Medium]]></description>
        <link>https://medium.com/@yalcinozdemir?source=rss-be0ebbfd29d6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*bxXybhd7vkGANotnIg4I8w.jpeg</url>
            <title>Stories by Yalçın Özdemir on Medium</title>
            <link>https://medium.com/@yalcinozdemir?source=rss-be0ebbfd29d6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 22:19:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yalcinozdemir/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[The Next Phase of AppNation: Empowering Billions of Smartphone Users with AI]]></title>
            <link>https://medium.com/@yalcinozdemir/the-next-phase-of-appnation-empowering-billions-of-smartphone-users-with-ai-cd38ad865bf3?source=rss-be0ebbfd29d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd38ad865bf3</guid>
            <category><![CDATA[mobile-apps-development]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[mobil-uygulama]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Yalçın Özdemir]]></dc:creator>
            <pubDate>Sat, 04 Feb 2023 15:53:06 GMT</pubDate>
            <atom:updated>2023-02-04T15:53:06.558Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*abx_fo0wjT9ZMtICvQncoQ.png" /></figure><p>The advancement of technology, especially the internet, has revolutionized the way we live our lives today. E-commerce and online shopping have replaced the need to physically visit a shopping mall, and online food delivery has made ordering meals as simple as a few clicks or taps on a smartphone. The internet has provided us with limitless access to information, entertainment, and communication at our fingertips.</p><p>Today, a regular person lives a more comfortable life than a king from a century ago, with the convenience of on-demand services and real-time communication. We have the power to connect with anyone, learn anything, and access a world of information and services at our fingertips. The transformation brought about by technology is truly remarkable, and we are now living in a world where the impossible has become possible.</p><p>AI is changing the way we live, work and interact with each other, and it’s just the beginning. With its vast potential, AI is revolutionizing many industries, from healthcare to finance and education. With the rise of smartphones, AI is now more accessible than ever, and the next phase of its evolution is about to take off.</p><p>As the world becomes more connected, AI is becoming an increasingly integral part of our lives. From virtual assistants to smart home systems, AI is making life easier and more convenient. And the best part is, it’s just getting started. With breakthroughs happening every day, the possibilities of what AI can achieve are almost limitless.</p><p>At AppNation, our goal is to bring the power of AI to the masses. With a mission to help people make the most of this technology, we are developing a suite of AI-powered mobile apps that make everyday tasks easier and more efficient. Whether it’s photo editing, event planning, or music creation, our apps will be there to help people unleash their creativity and bring their ideas to life.</p><p>We already have few successful AI-powered mobile apps on the market, with millions of users around the world. We’re not stopping there. Our mission is to reach one billion users.</p><p>AppNation is committed to delivering the best user experience possible. With a focus on making AI accessible and user-friendly, our apps are transforming the way people interact with technology. So get ready, the future is here and the next phase of AI is about to begin. Join us on this journey and be a part of the revolution.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd38ad865bf3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sadece ASO ile App Store’da 1 milyon organik indirmeye ulaşmak]]></title>
            <link>https://medium.com/@yalcinozdemir/sadece-aso-ile-app-storeda-1-milyon-organik-indirmeye-ula%C5%9Fmak-6c11704b0d09?source=rss-be0ebbfd29d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/6c11704b0d09</guid>
            <category><![CDATA[uygulama-geliştirme]]></category>
            <category><![CDATA[mobil-uygulama]]></category>
            <category><![CDATA[reklam]]></category>
            <category><![CDATA[aso]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <dc:creator><![CDATA[Yalçın Özdemir]]></dc:creator>
            <pubDate>Fri, 21 Jan 2022 12:41:14 GMT</pubDate>
            <atom:updated>2022-09-05T18:39:10.775Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*faNujGzosDo2UfDBgiacHQ.jpeg" /></figure><p>Reklam vermeden bir mobil uygulama için yeterli kullanıcı elde etmek mümkün değil diye mi düşünüyorsunuz? Eğer böyle düşünüyorsanız, yanılıyorsunuz. AppNation iOS uygulamaları, sadece bahsedeceğim ASO tekniklerini kullanarak 2021 yılında 0 reklam maliyeti ile organik 1 milyon indirmeye ulaştı.</p><p>Yeterli bütçesi olmayan mobil uygulama girişimleri için reklam ile kullanıcı elde etmek epey maliyeti bir durum fakat çözümü 3 harfte gizli ASO.</p><h3>Nasıl Başlamalı?</h3><p>Bilinen uygulamalar kendini App Store’da açıklamaya ihtiyaç duymaz çünkü onların markaları kendini açıklayacak aşamaya zaten gelmiştir. Örneğin Dropbox’ın app iconunun bulut depolamasını simgelemesine ihtiyacı yok, halka arz edilmiş milyonlarca kullanıcısı olan bir şirketi örnek almak yeni başlayan bir uygulama için hatayı en başında yapmak olur.</p><p>İkonik logolar ve karizmatik App Store görselleri hazırlamak istiyorsanız hemen bundan vazgeçin. Organik başarıya ulaşmak için 1 anahtar kelime seçerek yola çıkın ve tüm uygulamanızı ona göre tasarlayın.</p><h3>Nedir bu ASO?</h3><p>App Store Optimizasyonu (ASO), uygulama mağazalarında uygulama görünürlüğünü iyileştirme ve uygulama dönüşüm oranlarını artırma sürecidir.</p><h3>Kullanıcı elde etmek için ASO gerçekten bu kadar etkili bir yöntem mi?</h3><p>AppRadar’ın <a href="https://appradar.com/academy/what-is-app-store-optimization-aso">raporuna</a> göre mobil kullanıcıların yüzde 70&#39;i yeni uygulamalar bulmak için aramayı kullanıyor. Ayrıca, tüm indirmelerin %65&#39;i doğrudan aramadan sonrası gerçekleşiyor. Bu verilere göre uygulama mağazası araması, yeni uygulamaları keşfetmek için en yaygın yöntem olduğu ortaya çıkıyor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*XQ9qzPps38XcdoZImzp33g.png" /><figcaption>Source: AppRadar</figcaption></figure><p>Peki ASO nasıl yapılmalı?</p><p>İngilizce veya Türkçe bir çok ASO ile ilgili makale okuduğunuzda klasik tavsiyeler görüceksiniz bunlar iyi başlık seçimi, app iconunun ilgi çekmesi, anahtar kelime listesinin düzenlenmesi ve ekran görüntülerinin ne kadar önemli olduğu ile ilgili zaten hepimizin bildiği şeyler olacak. Fakat asıl başarı daha derin bir optimizasyonda yatıyor.</p><h3>1. Arananı Geliştirmek</h3><p>Her şeyden önce eğer kullanıcıların ihtiyacı olmayan bir şey geliştiriyorsanız yani olmayan bir probleme çözüm geliştiriyorsanız bunun App Store üzerinde de araması yoktur demektir. Hatayı en başında yapmışsınız ve uygulama fikrinizi tekrar değerlendirmeniz gerekiyor.</p><h3>2. Anahtar kelimeleri (Keyword) doğru anlamak</h3><p>Yoğun aranan bir anahtar kelime gördüğünüzde onu gerçekten araştırmanız ve doğru anlamanız gerekiyor. Örneğin ilgilendiğiniz anahtar kelime ‘Password Manager’ ise bu aramayı yapan kişilerin şifrelerini hatırlamakla ilgili problem yaşadığını ve bu soruna bir çözüm aradığını anlamanız gerekiyor. Kullanıcı burada spesifik bir şey aramıyor şifrelerinin saklamasına yardımcı olacak bir çözüm arıyor.</p><h3>3. Rakiplerin eksiklerini tespit etmek</h3><p>Bir anahtar kelime çok yüksek aramaya sahip olabilir fakat bu aramaya karşılık gelen çözümlerin yeterliliği bundan daha önemli. Eğer kullanıcılar bir soruna çözüm arıyor ve önüne çıkan sonuçlar pek iç açıcı değilse işte orada fırsat vardır. Yüksek sıralama fakat düşük oy, kötü yorumlar, ilgi çekmeyen görseller ve iyi çalışmayan özellikler çoğu zaman fırsatı işaret eder.</p><h3>4. Çözümünüzü iyi anlatmak</h3><p>Kullanıcı sizin listelemenizi gördüğünde anında ne işe yaradığını anlaması gerekiyor.</p><p>Örneğin belgeleri telefon ile tarayan ve PDF’e dönüştüren bir uygulamanız var ve ‘Document Scanner’ araması yapan kullanıcıların önüne çıkmak istiyorsunuz.</p><p>App iconunuz tek başına tüm olayı anlatabiliyor olması gerekiyor, listeleme başlığında bu kelime olması gerekiyor. İlk 3 ekran görüntüsü kesinlikle uygulamanın ana özelliği olan belge taramaya odaklanmalı ve başlıklarda bunlarla ilgili olmalı. Ufak özellikleri ön plana çıkarmak sadece ana problemden sizi uzaklaştırır. Her zaman ana problemi çözdüğünüzü göstermeye çalışın.</p><h3>5. Tek aramaya odaklanmak</h3><p>Birden fazla fırsat gösteren anahtar kelime bulabilirsiniz ama hepsine odaklanmaya çalışmayın, tek bir aramaya odaklanın ve sıralamanızı yükseltmeye çalışın. Zaten App Store üzerinde yeterince kısıtlı olan değişiklik alanınız için bu en verimlisi olacaktır, daha sonra diğer anahtar kelimelere de yönelebilirsiniz.</p><h3>6. Dikkat çekmek</h3><p>ASO için tasarlayın, güzel görünmesi için değil. Tasarımı kesinlikle arka plana atmayın, dikkat çekici ve doğru renk seçimi, çözümü iyi anlatan app iconu ve ekran görüntülerini kendi deneyimlerimizden öğrenerek gerçekten tüm sonuçları değiştirebildiğini gördük.</p><h3>7. Arama sürecini iyi anlamak</h3><p>Kullanıcı bir soruna çözüm arıyordur, App Store’u açar, bir arama yapar, sonuçların arasından seçim yapar, uygulama detaylarını ve incelemelere göz atar(nadir), uygulamayı indirir, sorununu çözer</p><p>Tamamen bu sürece odaklanarak adım adım kendi uygulamanızı dönüştürebilirsiniz. Sizin ne hissetiğiniz, markanızın duruşu ve aklınızda kurduğunuz senaryolar önemli değil. Kullanıcının neye ihtiyacının olduğu ve bu aramayı neden yaptığı, diğer rakiplerin arasında sizi neden seçeceğine odaklanın bunu yaparkende kullanıcının dikkatinin çok düşük olduğunu unutmayın.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6c11704b0d09" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mobil Uygulama Yayınlayanların Yaptığı En Büyük 5 Hata]]></title>
            <link>https://medium.com/@yalcinozdemir/mobil-uygulama-yay%C4%B1nlayanlar%C4%B1n-yapt%C4%B1%C4%9F%C4%B1-en-b%C3%BCy%C3%BCk-5-hata-396a592f4739?source=rss-be0ebbfd29d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/396a592f4739</guid>
            <category><![CDATA[girişim]]></category>
            <category><![CDATA[app-store]]></category>
            <category><![CDATA[girişimcilik]]></category>
            <category><![CDATA[mobil-uygulama]]></category>
            <category><![CDATA[mobil-uygulama-kazançları]]></category>
            <dc:creator><![CDATA[Yalçın Özdemir]]></dc:creator>
            <pubDate>Thu, 12 Aug 2021 12:58:54 GMT</pubDate>
            <atom:updated>2021-08-13T14:18:25.994Z</atom:updated>
            <content:encoded><![CDATA[<p>Dünya genelinde mobil uygulamalardan elde edilen gelirlerin 2023 yılında <strong>1 trilyon doları</strong> bulacağı <a href="https://www.statista.com/statistics/269025/worldwide-mobile-app-revenue-forecast/">tahmin</a> ediliyor. Fakat bazı uygulamalar çok basit fikirlerle ayda yüz binlerce dolar kazanırken, bazıları uygulama mağazası mezarlığında bir daha hayata dönmemek üzere bekliyor. Peki neden?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*73CuWIMwmWT1ZsJB8K_q5g.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@jamesyarema?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">James Yarema</a> on <a href="https://unsplash.com/s/photos/app-store?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Çünkü çoğu mobil uygulama yayınlayan kişiler doğru noktalara odaklanmıyor.</p><p>İşte bu yazıda bundan bahsedeceğim,</p><h3>1. Olayı kişiselleştirmek</h3><p>Yaptığınız uygulamanın fikrini, kullanımını ve özelliklerinizi kendinize göre değerlendirmek yapabileceğiniz en büyük hatadır. Eğer bana katılmıyorsanız tek cevabınız olabilir, potansiyel kullanıcılarınızın hepsinin sizinle aynı yaşam tarzına, ilgi alanlarına ve sosyal çevreye sahip olduklarına emin olmanız.</p><p>Mobil uygulamalar her bir yazılım gibi bir sorunu çözmek için ortaya çıkarlar. <strong>İnsanlar sizin uygulamanızı umursamaz</strong> ve sadece kendi işlerini çözmelerini isterler. Eğer bir kullanıcının elindeki bir dosyayı telefonuyla taratabileceği bir çözüme ihtiyacı varsa kişiden bağımsız olarak bu özelliğe odaklanılması gerekir. Ben olsam şu şekilde kullanırdım gibi düşüncelerden kaçınmaya özen gösterin ve herkesi düşünmeye başlayın. Yani kısacası kişisel düşüncelerinizi ve zevklerinizi uygulamanın geliştirme sürecine bulaştırmayın.</p><h3>2. Yeterince analiz yapmamak</h3><p>Bir çok kişinin yaptığı en büyük hata daha sürecin en başında gerçekleşiyor. Akla gelen fikri <strong>veri ile desteklememek!</strong> Eğer aklınıza bir fikir geldiyse bunun gerçekten insanlar tarafından arandığına emin olmak zorundasınız. Aklınıza gelen fikri ilk siz yapma ihtimalinin neredeyse sıfır olduğunu düşünerek, rakiplerinizi incelemeli ve pazar hakkında fikir edinmeye başlamalısınız. AppAnnie, AppRadar, SensorTower ve MobileAction gibi servisleri kullanarak araştırmanızı kesinlikle sayısal verilerle doğrulamanız gerekiyor. Bunu çok fazla insan kullanır veya bu sorun çok fazla insanın başına geliyor diyerek işin içinden çıkamazsınız. Yeteri kadar insanın ilgilenmediği bir konuda uygulama yapmaya çalışıyor olmanız yüksek ihtimal.</p><h3>3. İşlevden çok tasarıma önem vermek</h3><p>Bazıları bunun farkında olmadığı için hatırlatmam gerekiyor, tasarım sonradan güncellenebilir geliştirilebilir bir şey ve kimse uygulamanızın renkleri güzel, sayfa geçişleri muazzam diye indirmez. Görselliğe fazla odaklanmak <strong>gerçek problemden uzaklaşmanızı sağlar</strong>. Tasarıma tamamen önemsiz demiyorum, fakat vaktiniz ve eforunuz kısıtlıyken sonunun ne olacağını bilmediğiniz bir uygulamanın tasarımına haftalarınızı harcamayın.</p><h3>4. Rakibi küçümsemek</h3><p>Uygulama mağazasında bir uygulama görüyorsunuz ve onun nasıl milyonlarca kez indirilmiş bir uygulama olduğunu anlayamıyorsunuz. Çünkü uygulama size göre çokta iyi değil. Ben daha iyisini yaparım ve tabiki insanlar mantıklı olanı yapıp benim uygulamamı indirir diyorsanız, yanılıyorsunuz. O kadar basit değil. Eğer ortada oturmuş bir uygulama varsa <strong>kötü olsa bile insanlar her zaman ilk önüne çıkanı tercih etmeye devam edecekler</strong> ve uygulama minimum derecede bile onların problemlerini çözüyorsa şansınız neredeyse sıfır. İsterseniz o uygulamada bulunmayan ekstra 5 tane harika özellik ekleyin, bu bir önem sarfetmiyor olacak. İnsanlar için önemli olan ana problemi çözmek olduğu için bunun bir önemi yok. Eğer ortada sorunu çözen bir rakip varsa ve sizin pazarlamaya harcayacak büyük bütçeleriniz yoksa başka bir fikirle devam etmenizde fayda var.</p><h3>5. Fikre çok fazla inanmak</h3><p>Son ve en önemli kısım ise fikre çok fazla anlam yüklemek yapılan en bilindik hatalardandır. Bu uygulamanın tutacağına eminmiş gibi aylarca üzerinde çalışıp her detayını düşünmenize yol açar ve sonunda hayal kırıklığıyla sonuçlanabilir. Bu yüzden sadece uygulamayı <strong>çalışır hale getirmeye odaklanın</strong>. Bir önceki cümlelerimde tekrar tekrar bahsettiğim gibi günün sonunda insanlar mobil uygulamaları bir ihtiyaçlarını karşılamak için kullanıyor.</p><p>İnsanlar sizin uygulamanızı kullanmıyor <strong>onlar sadece ellerindeki fotoğrafları videoya dönüştürmek, şifrelerini saklamak, telefonunu televizyona yansıtmak, word dosyasını pdf’e dönüştürmek, çiceğini sulamayı hatırlamak istiyor</strong>. Onların bir problemini çözdüğünüzde siz başarılı oluyorsunuz ve o deneyimi nasıl daha iyi yapabilirim diye düşünerek detaylandırmaya o zaman başlamız gerekiyor.</p><p>Bu konuda bahsedilecek daha çok fazla şey var ama yazıyı çok fazla uzatmamak için burada sonlandırmak istedim.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=396a592f4739" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Create a Custom Switch Using UIButton]]></title>
            <link>https://medium.com/better-programming/how-to-create-a-custom-switch-using-uibutton-cd89bf273fa4?source=rss-be0ebbfd29d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd89bf273fa4</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[xcode]]></category>
            <dc:creator><![CDATA[Yalçın Özdemir]]></dc:creator>
            <pubDate>Thu, 05 Dec 2019 20:49:21 GMT</pubDate>
            <atom:updated>2019-12-06T19:37:02.237Z</atom:updated>
            <content:encoded><![CDATA[<h4>Make it custom—make it beautiful</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Yk2LFNYvPp_pxoeV" /><figcaption>Photo by <a href="https://unsplash.com/@yogesh_7?utm_source=medium&amp;utm_medium=referral">Yogesh Pedamkar</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>A toggle or a switch is great for letting users turn functionalities on or off in your app—turning off notifications, enabling dark mode, or any other preferences you want users to choose.</p><p>We should give users as many options as we can so they get the experience they want, not something we force them to have. You might say: “Oh, we need to keep it simple.” Yes, keep it simple but still, let people decide.</p><p>We are not going to subclass UISwitch; instead, we are going to use UIButton. Why? Because I want to show the simplest way to implement a custom switch. If you want to create something more advanced, you should look into subclassing UISwitch.</p><h3>1. Create a New Class</h3><p>Create a new file for your custom switch button. I called mine SwitchButton.swift</p><pre>class SwitchButton: UIButton {<br>}</pre><h3>2. Import On/Off State Images</h3><p>We will use these images to display the on/off status of the switch button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bJKhLrlv2yKtfK3S1Is8FA.png" /></figure><h3>3. Start Implementing SwitchButton</h3><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f1096498e2ae2f4bb378662a94f8f722/href">https://medium.com/media/f1096498e2ae2f4bb378662a94f8f722/href</a></iframe><p>Define on and off images as UIImage. We will use UIView transitions to present the state changes because this will give users a feeling that this isn’t just an image. You can play around with the animation depending on the feeling you want to give.</p><p>Also, I added haptic feedback using CoreMotion in sendHapticFeedback function. This will add more to the feeling as it will give a physical feedback to the user when they tap to toggle.</p><h3>4. Present Your Custom Switch Button</h3><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1757395d2fcf7a3b48ec521d2fe70c89/href">https://medium.com/media/1757395d2fcf7a3b48ec521d2fe70c89/href</a></iframe><p>Now that we have a custom switch button, we can call and display it in our view controllers.</p><p>Now, run your app and test out your switch!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*K2AB0_iJeV3EI_sfnRkyNQ.gif" /></figure><p>You will probably use the state of this switch, so here’s how you can get the status.</p><pre>let status = switchButton.status</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd89bf273fa4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/better-programming/how-to-create-a-custom-switch-using-uibutton-cd89bf273fa4">How To Create a Custom Switch Using UIButton</a> was originally published in <a href="https://betterprogramming.pub/">Better Programming</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Use Custom Fonts in Your iOS App]]></title>
            <link>https://medium.com/appnation/how-to-use-custom-fonts-in-your-ios-app-24514125b5a3?source=rss-be0ebbfd29d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/24514125b5a3</guid>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[xcode]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Yalçın Özdemir]]></dc:creator>
            <pubDate>Mon, 25 Nov 2019 21:54:48 GMT</pubDate>
            <atom:updated>2019-11-26T15:43:58.162Z</atom:updated>
            <content:encoded><![CDATA[<h4>Moving beyond the default fonts on your Mac</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uddjHg8BCaKJzwF3" /><figcaption>Photo by <a href="https://unsplash.com/@alex_andrews?utm_source=medium&amp;utm_medium=referral">Alexander Andrews</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>What makes Medium’s design beautiful and simple at the same time? I think it’s the fonts they use. This applies to every app out there. If you’re using beautiful fonts, your apps will look beautiful.</p><p>That’s all you need to know, and so let’s add custom fonts into your app.</p><h3>1. Import Font Files Into Your Project</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*S99hKxigBIrdjNyXiGTjLg.png" /></figure><p>Import .otf or .ttf files of your custom fonts. I created a folder named ‘Font’ to keep everything organized.</p><p>Make sure you set the right target membership for your imported files on Target Inspector.</p><h3>2. Configure Your Info.plist to Use New Fonts</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qJp9piAUWlIEsWnpkXjinA.png" /></figure><p>Add the Fonts provided by application array and insert your files as strings. Alternatively, you can view the Info.plist file by source code and add the UIAppFonts key into your xml.</p><pre><strong>&lt;key&gt;</strong>UIAppFonts<strong>&lt;/key&gt;<br>  &lt;array&gt;<br>    &lt;string&gt;</strong>Montserrat-Regular.otf<strong>&lt;/string&gt;<br>    &lt;string&gt;</strong>Montserrat-Light.otf<strong>&lt;/string&gt;<br>    &lt;string&gt;</strong>Montserrat-Medium.otf<strong>&lt;/string&gt;<br>    &lt;string&gt;</strong>Montserrat-Bold.otf<strong>&lt;/string&gt;<br>&lt;/array&gt;</strong></pre><h3>3. Create UIFont Extension</h3><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8120db4d9f38931f5df45e08545e4c8c/href">https://medium.com/media/8120db4d9f38931f5df45e08545e4c8c/href</a></iframe><p>Create a new Swift file and define a UIFont extension. We’re just making our lives easier so we don’t have to remember the exact name of our font every time. Most of the time, your apps will use the same font with different sizes and weights, and so this should be enough for simple apps.</p><h3>4. Start Using Your Fonts</h3><p>Let’s say you have a UILabel. Here’s how you should set its font and size.</p><pre><strong>myLabel.font = UIFont.Regular(size: 16)</strong></pre><p>However, as this is creating a UIFont object every time you need it, you probably want to define some font variables depending on your design.</p><p>For example, if you regularly use your font in Regular and font size 16, you should define a font variable and reference to it.</p><pre><strong>let titleFont = UIFont.Regular(size: 16)</strong></pre><p>That’s all! You can call your fonts from anywhere in your app now.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=24514125b5a3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/appnation/how-to-use-custom-fonts-in-your-ios-app-24514125b5a3">How To Use Custom Fonts in Your iOS App</a> was originally published in <a href="https://medium.com/appnation">AppNation Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Build an OpenVPN Client on iOS]]></title>
            <link>https://medium.com/better-programming/how-to-build-an-openvpn-client-on-ios-c8f927c11e80?source=rss-be0ebbfd29d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8f927c11e80</guid>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[openvpn]]></category>
            <category><![CDATA[vpn]]></category>
            <category><![CDATA[swift-programming]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <dc:creator><![CDATA[Yalçın Özdemir]]></dc:creator>
            <pubDate>Mon, 18 Nov 2019 21:08:36 GMT</pubDate>
            <atom:updated>2019-11-20T01:07:55.930Z</atom:updated>
            <content:encoded><![CDATA[<h4>Building a VPN app? Start here.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0Cnn6fwW1IKqekwRP_nGIg.jpeg" /><figcaption><a href="https://www.google.com/url?sa=i&amp;rct=j&amp;q=&amp;esrc=s&amp;source=images&amp;cd=&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwiVpLiIvvTlAhUGsp4KHf6qANEQjhx6BAgBEAI&amp;url=https%3A%2F%2Fopenvpn.net%2F&amp;psig=AOvVaw0wUIoY4LnZo4qqCZea5_sG&amp;ust=1574191386775516">VPN Software Solutions &amp; Services For Business | OpenVPN</a></figcaption></figure><p>Most VPN apps now support OpenVPN protocol. However, when it comes to iOS, there is not much out there to help iOS developers get into it easily.</p><p>Apple realizes that there is an increasing need for VPN on mobile; they provide developers with great support built right into iOS.</p><p>Apple created the <a href="https://developer.apple.com/documentation/networkextension">Network Extension</a> framework to allow developers to create VPN apps easily. In this article, I will only show you how to establish a VPN connection using OpenVPN protocol. IKEv2 will be covered in another article.</p><p>Let’s start…</p><h3>1. Import OpenVPNAdapter — Objective-C Wrapper for OpenVPN Library</h3><p>We will use <a href="https://github.com/ss-abramchuk/OpenVPNAdapter">OpenVPNAdapter</a>, which is a wrapper for OpenVPN library.</p><p>Install it using CocoaPods:</p><pre>pod &#39;OpenVPNAdapter&#39;, :git =&gt; &#39;https://github.com/ss-abramchuk/OpenVPNAdapter.git&#39;, :tag =&gt; &#39;0.4.0&#39;</pre><p>Special thanks to <a href="https://github.com/ss-abramchuk/OpenVPNAdapter/commits?author=ss-abramchuk">Sergey Abramchuk</a> who is the creator of <a href="https://github.com/ss-abramchuk/OpenVPNAdapter">OpenVPNAdapter</a>.</p><h3><strong>2. Add Required Capabilities</strong></h3><p>Apple requires apps to add Personal VPN and Network Extension capabilities if they are offering VPN services.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XFM0A1Oidu85RazuMG5V-g.png" /><figcaption>Click on ‘+ Capability’ button on ‘Signing &amp; Capabilities’ to add new capabilitiy</figcaption></figure><p>If the capabilities don’t appear on Xcode, visit <a href="https://developer.apple.com/">developer.apple.com</a> and enable them for your bundle ID.</p><h3>3. Add Network Extension Target</h3><p>You will need to add a network extension, which you can think of as a separate app that will handle VPN operations in the background.</p><p>Here’s how Apple defines an extension: “An app extension lets you extend custom functionality and content beyond your app and make it available to users while they’re interacting with other apps or the system.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xNP3v1XJzRzr1PGZSDZVjg.png" /><figcaption>File &gt; New &gt; Target</figcaption></figure><p>This automatically creates a new folder with your target name and a bunch of files in it. We will work with these in Step 5.</p><h3>4. Configure VPN Profiles</h3><p>First import NetworkExtension and start configuring your VPN profile using NETunnelProviderManager</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/cdf0b497d1c8272d5958ad820baf5546/href">https://medium.com/media/cdf0b497d1c8272d5958ad820baf5546/href</a></iframe><p>I have provided here a very simple way of configuring <a href="https://developer.apple.com/documentation/networkextension/netunnelproviderprotocol">NETunnelProviderProtocol</a>(configuration parameters for a VPN tunnel.<em>)</em></p><p>These parameters might change according to what your server requires.</p><p>You need to import .ovpn file into your project. This file should contain the OpenVPN directives, certificates, and keys.<em> </em>Basically, this file contains all the information needed to establish a VPN connection.</p><h3>5. Establish a Connection</h3><p>After you have created a Network Extension target, Xcode automatically generates a PacketTunnelProvider class, which is a subclass of NEPacketTunnelProvider (the principal class for a packet tunnel provider app extension.)</p><p>Here, you can configure and establish VPN connections using <a href="https://github.com/ss-abramchuk/OpenVPNAdapter">OpenVPNAdapter</a>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d48a92180604a57dc135564abf04d2b4/href">https://medium.com/media/d48a92180604a57dc135564abf04d2b4/href</a></iframe><p>That’s all! Now run your app and it should establish a VPN connection.</p><p>If you are planning to display Wi-Fi SSIDs on your app, you can read my article <a href="https://medium.com/better-programming/how-to-access-wifi-ssid-on-ios-13-using-swift-40c4bba3c81d">How To Access Wi-Fi SSID on iOS 13</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8f927c11e80" width="1" height="1" alt=""><hr><p><a href="https://medium.com/better-programming/how-to-build-an-openvpn-client-on-ios-c8f927c11e80">How To Build an OpenVPN Client on iOS</a> was originally published in <a href="https://betterprogramming.pub/">Better Programming</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Build a Today Widget for Your iOS App]]></title>
            <link>https://medium.com/appnation/how-to-build-a-today-widget-for-your-ios-app-741b9ca1c59a?source=rss-be0ebbfd29d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/741b9ca1c59a</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[swift-programming]]></category>
            <dc:creator><![CDATA[Yalçın Özdemir]]></dc:creator>
            <pubDate>Wed, 13 Nov 2019 21:37:51 GMT</pubDate>
            <atom:updated>2019-11-14T18:46:48.400Z</atom:updated>
            <content:encoded><![CDATA[<h4>A widget is enough to make people come back to your app more</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lyiwsv5sX13w_OFIh4v9qA.jpeg" /><figcaption>Coinbase Today Widget</figcaption></figure><p>People have so many apps on their phone and this inevitably makes it very difficult for apps to be remembered on a daily basis. The today screen is something most iPhone users view every day, and if you have a place on this screen, your app won’t be forgotten by the user.</p><p>One of my favorite today widgets is Coinbase’s cryptocurrency price widget. If you are interested in cryptocurrencies, this widget makes it very easy to track prices.</p><p>Let’s talk about where to start if you want to build something like this for your app.</p><h3>Add Today Extension Target Into Your Project</h3><p>View your project and click on + to add a new target. Search for<em> Today </em>and select <em>Today Extension</em> to add to your project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*pC-3ADmk_eO6Qrs_u1Mqtw.gif" /></figure><p>This will create some files under a<em> </em>folder in your project. TodayViewController is where you will implement everything you need.</p><p>You can treat this view controller as a standard view controller. The only difference will be updating the views and the memory limit you get with this extension.</p><p>Here’s what <a href="https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/Today.html">Apple says about today widgets:</a></p><blockquote>“A Today widget should:</blockquote><blockquote>Ensure that content always looks up to date.</blockquote><blockquote>Respond appropriately to user interactions.</blockquote><blockquote>Perform well (in particular, iOS widgets must use memory wisely or the system may terminate them).”</blockquote><p>The memory limit for the widget is 16 MB, so keep it simple and make sure to test out your widget for memory leaks.</p><h3>Share Data Between Your App and Extension</h3><p>The only way to share data between your app and extension is by using <em>App Group</em>s and <em>UserDefaults</em>.</p><p>First, you will need to add <em>App Group</em> capability to your app target. Click on +<em> Capability</em> button and select <em>App Groups</em>. Click on <em>+</em> and type a name for your group.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*JbkZx0UKrCmDXCTpRyyGlQ.gif" /></figure><p>Do the same thing for your today widget target.</p><p>Now, create a file called GroupDataManager.swift to implement the required functions to save, remove, and retrieve data.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f1e00e162fcc9da39af182ed94953fd9/href">https://medium.com/media/f1e00e162fcc9da39af182ed94953fd9/href</a></iframe><p>Make sure this file is available for both of your targets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/1*Sdw277AdN0SeHe7qFyI3Bw.png" /><figcaption>GroupDataManager.swift — File Inspector</figcaption></figure><p>Now, go to the view controller in your app and save data to retrieve from your widget.</p><pre> GroupDataManager.shared.saveData(value: “Hello Medium!”, key: “dataKey”)</pre><p>In your TodayViewController.swift of your today widget, retrieve this data by using the retrieve function.</p><pre>let testData = GroupDataManager.shared.retrieveData(key: &quot;dataKey&quot;) <strong>as</strong>? String</pre><p>You can simply display this string in the label to see if everything is working as expected.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d5a45db95f63d3f39696a417571da1ec/href">https://medium.com/media/d5a45db95f63d3f39696a417571da1ec/href</a></iframe><p>Now, run your app and add the widget to your today screen to see how it looks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7z622O0mZVga9UneLKft7A.jpeg" /></figure><p>That’s it! You have successfully built a today widget! Now use your imagination to build something useful for your users.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=741b9ca1c59a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/appnation/how-to-build-a-today-widget-for-your-ios-app-741b9ca1c59a">How To Build a Today Widget for Your iOS App</a> was originally published in <a href="https://medium.com/appnation">AppNation Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Set a Dark Mode App Icon for Your App]]></title>
            <link>https://medium.com/appnation/how-to-set-a-dark-mode-app-icon-for-your-app-cc143d56f100?source=rss-be0ebbfd29d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc143d56f100</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[swift-programming]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <dc:creator><![CDATA[Yalçın Özdemir]]></dc:creator>
            <pubDate>Fri, 08 Nov 2019 16:43:52 GMT</pubDate>
            <atom:updated>2019-11-15T17:42:05.269Z</atom:updated>
            <content:encoded><![CDATA[<h4>We’ve given the rest of our app a dark mode, now let’s set the icon</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tyRrLcD2-BZu3sMiMr6J_g.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@bensow?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Benjamin Sow</a> on <a href="https://unsplash.com/s/photos/app-icon?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>If you deeply care about the experience of your apps, you should definitely consider adding dark mode support. Recently, dark mode got even more popular as iOS and Android added a native dark mode into the OS itself.</p><p>With iOS 13, users can now choose if they want to use their phone in dark mode or light mode. This forces all apps to implement dark mode unless they opt out by using overrideUserInterfaceStyle.</p><p>If you’re interested in offering a dark mode for your users, here’s how you can set a different icon.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/44db6fdfa27e5be39d1bc95b48037865/href">https://medium.com/media/44db6fdfa27e5be39d1bc95b48037865/href</a></iframe><p>Possibly place this code into your view controller’s viewDidLoad. self.traitCollection.userInterfaceStyle helps us to find out the preferred interface style.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/524/1*NE8TkhaE0ddt-hEA9Z-YVQ.png" /><figcaption><em>2x = 120x120, 3x = 180x180</em></figcaption></figure><p>Make sure to import 2x and 3x of your dark mode app icon (<em>2x = 120x120, 3x = 180x180</em>). The app icon files have to be imported into the project. Therefore, you can’t set them programmatically.</p><p>In their <a href="https://developer.apple.com/documentation/uikit/uiapplication/2806818-setalternateiconname">documentation</a>, Apple states that you must declare your app’s primary and alternate icons using the CFBundleIcons key of your app’s Info.plist file.</p><p>Here’s how to configure alternate icons in your Info.plist file.</p><pre>&lt;key&gt;CFBundleIcons&lt;/key&gt;<br>&lt;dict&gt;<br>  &lt;key&gt;CFBundleAlternateIcons&lt;/key&gt;<br>  &lt;dict&gt;<br>  &lt;key&gt;AppIcon-DarkMode&lt;/key&gt;<br>  &lt;dict&gt;<br>     &lt;key&gt;CFBundleIconFiles&lt;/key&gt;<br>     &lt;array&gt;<br>        &lt;string&gt;AppIcon-DarkMode&lt;/string&gt;<br>     &lt;/array&gt;<br>     &lt;key&gt;UIPrerenderedIcon&lt;/key&gt;<br>     &lt;false/&gt;<br>   &lt;/dict&gt;<br>  &lt;/dict&gt;<br>  &lt;key&gt;CFBundlePrimaryIcon&lt;/key&gt;<br>   &lt;dict&gt;<br>      &lt;key&gt;CFBundleIconFiles&lt;/key&gt;<br>   &lt;array&gt;<br>     &lt;string&gt;AppIcon&lt;/string&gt;<br>   &lt;/array&gt;<br>   &lt;key&gt;UIPrerenderedIcon&lt;/key&gt;<br>   &lt;false/&gt;<br>   &lt;/dict&gt;<br>&lt;/dict&gt;</pre><p>That’s it. It’s actually this easy to set a dark mode icon for your app.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc143d56f100" width="1" height="1" alt=""><hr><p><a href="https://medium.com/appnation/how-to-set-a-dark-mode-app-icon-for-your-app-cc143d56f100">How To Set a Dark Mode App Icon for Your App</a> was originally published in <a href="https://medium.com/appnation">AppNation Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build a UITabBar Controller for Navigation on tvOS]]></title>
            <link>https://medium.com/appnation/build-a-uitabbar-controller-for-navigation-on-tvos-5fbbfb091d9b?source=rss-be0ebbfd29d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/5fbbfb091d9b</guid>
            <category><![CDATA[swift-programming]]></category>
            <category><![CDATA[apple-tv]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[tvos]]></category>
            <dc:creator><![CDATA[Yalçın Özdemir]]></dc:creator>
            <pubDate>Wed, 06 Nov 2019 13:34:46 GMT</pubDate>
            <atom:updated>2019-11-06T13:34:46.910Z</atom:updated>
            <content:encoded><![CDATA[<h4>A simple way to implement beautiful and efficient navigation for Apple TV apps</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HG_52nPO7nYvB4Pct7oLmw.png" /><figcaption><a href="https://www.google.com/url?sa=i&amp;rct=j&amp;q=&amp;esrc=s&amp;source=images&amp;cd=&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwjB75rU-9PlAhUuy4UKHcRlD2IQjhx6BAgBEAI&amp;url=https%3A%2F%2Fdeveloper.apple.com%2Fdesign%2Fhuman-interface-guidelines%2Ftvos%2Finterface-elements%2Ftab-bars%2F&amp;psig=AOvVaw2WKtapVWOdi-cmqJwlgM3X&amp;ust=1573074054374041">I</a>mage: Apple Developer <a href="https://developer.apple.com/design/human-interface-guidelines/tvos/interface-elements/tab-bars/">https://developer.apple.com/design/human-interface-guidelines/tvos/interface-elements/tab-bars/</a></figcaption></figure><p>Building tvOS apps is so much different than building for iOS, as it requires you to learn about new UI elements.</p><p>Apple is very strict about the quality of the apps on the tvOS App Store. My apps have been rejected many times due to “<a href="https://developer.apple.com/app-store/review/guidelines/#minimum-functionality">minimum functionality</a>” which sometimes just means that your app doesn’t offer the high-quality experience Apple wants its users to have.</p><p>To build great apps for Apple TV, you should stay away from custom controls or UI elements. Remember that users can only control their TV using the Apple TV remote which is a very strange device.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*UqR_VqePIGf6ULCjybaESg.jpeg" /><figcaption><a href="https://www.google.com/url?sa=i&amp;rct=j&amp;q=&amp;esrc=s&amp;source=images&amp;cd=&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwjri_rH_NPlAhVpAGMBHcUXAZsQjhx6BAgBEAI&amp;url=https%3A%2F%2Fwww.apple.com%2Fca%2Fshop%2Fproduct%2FMQGD2CL%2FA%2Fsiri-remote&amp;psig=AOvVaw172BHuWq1Of8tA5Gg0zEKx&amp;ust=1573074297669427">Siri Remote</a></figcaption></figure><p>The remote has a touch area that lets users change the focus by swiping. tvOS-native elements work great with this behavior, so we should just stick to what Apple provides.</p><p>I started using UITabBarController on all of my Apple TV apps after tvOS 13 where Apple made significant changes to the UITabBar.</p><h4>Before</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cJ-Fpei3N1GbkK90awhQdA.jpeg" /><figcaption><a href="https://www.google.com/url?sa=i&amp;rct=j&amp;q=&amp;esrc=s&amp;source=images&amp;cd=&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwikorKo-tPlAhU2D2MBHcCdBmIQjhx6BAgBEAI&amp;url=https%3A%2F%2Fszifon.com%2F2019%2F10%2F16%2Fsiri-es-apple-tv-tamogatassal-frissult-a-spotify%2F&amp;psig=AOvVaw3JgQS-yNwz6d7KfKWxilBb&amp;ust=1573073644990153">Siri és Apple TV támogatással frissült a Spotify — Szifon.com</a></figcaption></figure><h4>After</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zKDpWHTm5Jsw0QtF4Opp6w.jpeg" /><figcaption><a href="https://www.google.com/url?sa=i&amp;rct=j&amp;q=&amp;esrc=s&amp;source=images&amp;cd=&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwiQ04PG-tPlAhUd6OAKHYnhBdYQjhx6BAgBEAI&amp;url=https%3A%2F%2Fwww.digitaltveurope.com%2F2019%2F10%2F08%2Fspotify-launches-on-apple-tv%2F&amp;psig=AOvVaw3JgQS-yNwz6d7KfKWxilBb&amp;ust=1573073644990153">Spotify launches on Apple TV — Digital TV Europe</a></figcaption></figure><p>As you can see, this is much more modern and changes the look of the whole app.</p><h3>How To Implement This Into Your Apps</h3><p>I don’t use storyboards or interface builder, so my code will be placed right into your AppDelegate.swift file. You can alter the code to work with your way of doing UI.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/857b03aa1b021f6b981cd92c8fa58705/href">https://medium.com/media/857b03aa1b021f6b981cd92c8fa58705/href</a></iframe><p>This example will create three tabs with the same view controller but different background colors. Here’s how it will look when you run the project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*tyRuLLStVonrDzAT4DRBxQ.gif" /></figure><p>If you want to learn more about how to stop using interface builder and start building your UI and transitions programmatically without SwiftUI, take a look at <a href="https://medium.com/better-programming/how-to-build-your-user-interface-programatically-without-swiftui-9f0dc52e02bc">my previous article</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5fbbfb091d9b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/appnation/build-a-uitabbar-controller-for-navigation-on-tvos-5fbbfb091d9b">Build a UITabBar Controller for Navigation on tvOS</a> was originally published in <a href="https://medium.com/appnation">AppNation Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Build UI and Transitions Programmatically Without SwiftUI]]></title>
            <link>https://medium.com/better-programming/how-to-build-your-user-interface-programatically-without-swiftui-9f0dc52e02bc?source=rss-be0ebbfd29d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f0dc52e02bc</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[xcode]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[mobile]]></category>
            <dc:creator><![CDATA[Yalçın Özdemir]]></dc:creator>
            <pubDate>Fri, 01 Nov 2019 20:58:57 GMT</pubDate>
            <atom:updated>2019-11-03T23:11:54.497Z</atom:updated>
            <content:encoded><![CDATA[<h4>Not ready for SwiftUI yet? We can do so much in code and remove Storyboards</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ozEhqRJX7dtfkxhw5XiEMA.jpeg" /></figure><p><a href="https://developer.apple.com/xcode/swiftui/">SwiftUI</a> is a completely new way to build user interfaces for iOS apps. However, you may be an iOS developer who actually likes the old way (UIKit and Auto-layout).</p><p>Defining layout constraints and using UIKit is actually cool. What is not cool is using Interface Builder and Storyboards.</p><h3>Stop Using Interface Builder</h3><p>Interface Builder is slow and buggy. My life got easier after switching to only using code to build interfaces for my iOS applications.</p><p>There are so many disadvantages when using Interface Builder.</p><ol><li>If you aren’t building a very simple app, you will have to configure your views to match your design, such as adding radius, borders, shadows, etc. Interface Builder won’t be able to display these changes as you have defined them in your view controller classes which will be applied in runtime.</li><li>You don’t know what’s happening behind the scenes. I spent so many hours trying to find out what was wrong with my constraints.</li><li>You don’t need segues. Segues can be replaced by one line of code: self.present(viewController, animated: true, completion: nil)</li><li>Have control over your user interface. Instead of depending on this tool, just take control.</li></ol><p>If your projects are heavily depended on Storyboards, it will be difficult to get used to doing everything in code, but it is worth to try. Particularly if you are building complex apps with more than 10 screens, Interface Builder is totally not a good option to start.</p><h3>How To Set a Root View Controller and Get Rid of Main.storyboard</h3><h4>1. Leave main interface empty</h4><p>You don’t have to attach a main interface file, that’s not required. So, leave it empty.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3PB2zadI5KKPc3b3ZOJ4Ow.png" /></figure><h4>2. Remove Main.storyboard file</h4><p>I know it feels different, but remove Main.storyboard and you will be refreshed.</p><h4>3. Set a root view controller in your AppDelegate.swift</h4><p>Add the window property to your AppDelegate.swift if you don’t have it already. And then, go into your didFinishLaunchingWithOptions.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2638560788ba46ca58c402f3b5d2a372/href">https://medium.com/media/2638560788ba46ca58c402f3b5d2a372/href</a></iframe><p>Run your application now. You might now realize that you actually didn’t need Storyboards in the first place.</p><h3>Segues?</h3><p>Here’s how to present another view controller.</p><pre><strong>let</strong> vc = AnotherViewController()<br><strong>self</strong>.present(vc, animated: <strong>true</strong>, completion: <strong>nil</strong>)</pre><p>Oh, but navigation controllers?</p><pre><strong>let</strong> vc = AnotherViewController()<br><strong>self</strong>.navigationController?.pushViewController(vc, animated: <strong>true</strong>)</pre><p>Just make sure here that your root view controller is a navigation controller.</p><p>That’s all. Now you can either set the frames of your views manually or define auto-layout constraints in your view controllers.</p><p>Here’s how to place a button at the center of your view controller by defining auto-layout constraints:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/66991345beb3c2195c411b30ad31f929/href">https://medium.com/media/66991345beb3c2195c411b30ad31f929/href</a></iframe><p>Now you can continue to build your layout defining constraints one-by-one. This way you have 100% control of what’s being presented to the user.</p><p>To learn more about defining constraints, take a look at <a href="https://gist.github.com/yalcinozdemir/b6436597d75d0c490878680e5bf409fb">this documentation</a>.</p><p>Let me know if you think this actually made your life easier and your development process faster in the comments section.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f0dc52e02bc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/better-programming/how-to-build-your-user-interface-programatically-without-swiftui-9f0dc52e02bc">How To Build UI and Transitions Programmatically Without SwiftUI</a> was originally published in <a href="https://betterprogramming.pub/">Better Programming</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>