<?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 Taha Sönmez on Medium]]></title>
        <description><![CDATA[Stories by Taha Sönmez on Medium]]></description>
        <link>https://medium.com/@mtssonmez?source=rss-bfc96fe2464e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*IIKzE0REAJGhqz57h23sug@2x.jpeg</url>
            <title>Stories by Taha Sönmez on Medium</title>
            <link>https://medium.com/@mtssonmez?source=rss-bfc96fe2464e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 22:10:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mtssonmez/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[Stop Writing Code in Code Stage]]></title>
            <link>https://medium.com/@mtssonmez/stop-writing-code-in-code-stage-58c55a0660d6?source=rss-bfc96fe2464e------2</link>
            <guid isPermaLink="false">https://medium.com/p/58c55a0660d6</guid>
            <category><![CDATA[rpa-solutions]]></category>
            <category><![CDATA[blue-prism]]></category>
            <category><![CDATA[dll]]></category>
            <category><![CDATA[dynamic-link-library]]></category>
            <category><![CDATA[code-stage]]></category>
            <dc:creator><![CDATA[Taha Sönmez]]></dc:creator>
            <pubDate>Fri, 25 Sep 2020 08:11:25 GMT</pubDate>
            <atom:updated>2020-09-25T08:11:25.538Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4aYjL4IGq9iUzwyg" /><figcaption>Digital Workforce</figcaption></figure><p>Sometimes the default actions of Blue Prism might be inadequate for our processes. For this reason, we need some code blocks to extend the capabilites of Blue Prism with Code Stage. However, the Code Stage can be annoying us you whether we have software development knowledge or not. There are some reasons for that.</p><ol><li><strong>IntelliSense</strong></li></ol><p>Unfortunatelly, there is no IntelliSense technology inside the Code Stage. If we aren’t able to memorize all the code blocks or methods, it is necessary to examine C# (or VB) documents to determine the intended use of the methods and how to implement them. For example, if we want to split a string with C# and assume that we know the correct method for this. (eg. <a href="https://docs.microsoft.com/en-us/dotnet/api/system.string.split?view=netcore-3.1">https://docs.microsoft.com/en-us/dotnet/api/system.string.split?view=netcore-3.1</a>). But knowing the exact code structure and parameters is a slim chance. This is exactly why we need the IntelliSense.</p><p>2. <strong>Debugging</strong></p><p>Debugging is the most time-consuming part of software development. There shouldn’t be a single point of failure. In the Code Stage debugging is limited with the partial running which causes to multiple our effort because this is necessary to add extra variable to code blocks (these blocks can even be a single line) and test them (with adding and removing comment brackets in every test). The worst of the bad; if we run our code stage object from process or component (with input data), all changes in object must be saved and re-run from upper layer (process or component). As a result, debugging is the most critical point of software development and Blue Prism has no any solution for that.</p><p><strong>3. Version Controlling</strong></p><p>In the world of software development, most of the developers use version controlling systems such as GitHub, Bitbucket and Azure DevOps. Although Blue Prism has comparing feature in changelogs of objects and processes, comparing is not the only definition of version controlling.</p><h4><strong>A Better Approach But Not A Solution</strong></h4><p>There is a better approach for writing code for Blue Prism: first create a C# component called Dynamic Link Libraries (DLL) and second embed it into a Blue Prism object. This is not a perfect solution for all of our 3 problems. Because we will always need a mock data for developing and testing our methods as it can be difficult to import real data from Blue Prism to Visual Studio. However, this still better approach than writing the code in Code Stage.</p><p>Assume that we want to convert a collection to the HTML table.</p><ol><li><strong>Create DLL in Microsoft Visual Studio</strong></li></ol><p>In MS Visual Studio create a new project as Class Library (.NET Framework) and name it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*9chfe12e8rfJIIX7z9G9lQ.png" /><figcaption>Create DLL in Visual Studio</figcaption></figure><p>Write the code that we need for our case. There are two inputs (collection and HTML table’s style) and one string output as HTML code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/566/1*BjVF0k0Jt7wtiB_jIktymw.png" /><figcaption>Convert Collection to HTML Table in C#</figcaption></figure><p><em>Code can be viewed from</em><strong><em> </em></strong><a href="https://gist.github.com/tahasonmez/1f98bd0f16f33b944b2290f53d1f538f"><strong><em>here</em></strong></a><strong><em>.</em></strong></p><p>Build the solution from the top menu of Visual Studio (shortcut:CTRL+SHIFT+B). When build is successfully completed, in the output section there will be the file path of DLL file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*H9e8p6xMaF9BdKI7Yqh8PQ.png" /></figure><p><strong>2. Embed and Use DLL in Blue Prism</strong></p><p>Create an object with desired name and open it. Go to the options of project from Initialise page in the object. Navigate to the Code Options and add the DLL file path in here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*z4l-pwnqt43XI9rIJG4JGw.png" /><figcaption>Blue Prism Code Stage</figcaption></figure><p>Invoking the method is the simplest point. Set the inputs and outputs in Code Stage and call the method with desired parameters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ABOK-lTM3on2_XJRAty2jg.png" /><figcaption>Using DLL in Blue Prism Code Stage</figcaption></figure><h3><strong>Conclusion</strong></h3><p>Although we always dream a code-free RPA processes due to effort and cost concerns, sometimes needing code is unavoidable. In these kind of cases we can develop and use C# components called Dynamic Link Libraries (DLL). This will give us a playground for better developing and debugging.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58c55a0660d6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Let’s Customize Segmented Control Like Button]]></title>
            <link>https://medium.com/@mtssonmez/lets-customize-segmented-control-like-button-8445aff2e9d?source=rss-bfc96fe2464e------2</link>
            <guid isPermaLink="false">https://medium.com/p/8445aff2e9d</guid>
            <category><![CDATA[uisegmentedcontrol]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[segmentedcontrol]]></category>
            <category><![CDATA[ios-ui-customizing]]></category>
            <dc:creator><![CDATA[Taha Sönmez]]></dc:creator>
            <pubDate>Thu, 13 Jun 2019 21:17:20 GMT</pubDate>
            <atom:updated>2019-06-13T21:17:20.890Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BEZR1amXTpfzKuP01R4biA.png" /></figure><p>Hello again!</p><p>Although Apple has above average UI components, UISegmentedControl is very old-fashioned, unless you customize it. When the topic is customizing Apple’s UI components, you may experience abdominal pain :) But don’t worry! This time, everything will be simple. Now, it’s time to learn how to customize segmented control in iOS. You will see the URL of completed project at the end of the article.</p><blockquote>I’ve used <a href="https://github.com/SnapKit/SnapKit">SnapKit</a> for auto layout. SnapKit is an auto layout DSL which makes easier all constraint things in iOS Development. I highly recommend this 3rd library.</blockquote><p>Just begin with creating a segmented control. You can use storyboard or code.</p><p>Write the code which keeps only text visible in <em>viewDidLoad()</em>;</p><pre>segmentedControl.backgroundColor = .clear</pre><pre>segmentedControl.tintColor = .clear</pre><p>After that, do some magical UI touches;</p><pre>segmentedControl.setTitleTextAttributes([NSAttributedString.Key.font : UIFont(name: &quot;AvenirNextCondensed-Medium&quot;, size: 20)!, NSAttributedString.Key.foregroundColor: UIColor.lightGray], for: .normal)</pre><pre>segmentedControl.setTitleTextAttributes([NSAttributedString.Key.font : UIFont(name: &quot;AvenirNextCondensed-Medium&quot;, size: 24)!, NSAttributedString.Key.foregroundColor: UIColor.TSPrimary], for: .selected)</pre><p>When you change the index of segmented control (in other words, when you touch an other tab), you will see the size and color of selected title of tab has changed.</p><p>Everything was so simple so far. Now, create a view which named as <em>segmentIndicator</em></p><pre>let segmentindicator: UIView = {</pre><pre>let v = UIView()</pre><pre>v.translatesAutoresizingMaskIntoConstraints = false</pre><pre>v.backgroundColor = UIColor.TSPrimary</pre><pre>return v</pre><pre>}()</pre><p>Add <em>segmentindicator</em> to our view controller’s view as a subview. Then position it.</p><pre>self.view.addSubview(segmentindicator)</pre><pre>segmentindicator.snp.makeConstraints { (make) in</pre><pre>make.top.equalTo(segmentedControl.snp.bottom).offset(3)</pre><pre>make.height.equalTo(2)</pre><pre>make.width.equalTo(15 + segmentedControl.titleForSegment(at: 0)!.count * 8)</pre><pre>make.centerX.equalTo(segmentedControl.snp.centerX).dividedBy(segmentedControl.numberOfSegments)</pre><pre>}</pre><blockquote>Did you see this simplicity of SnapKit? If you don’t like storyboard, you will love this time-saver library.</blockquote><p>If it is important to you that the width of indicator is always bigger than the width of text, the code at row 5 will be sufficient for the case. If you don’t want this, just change row 5 with this:</p><pre>make.width.equalTo(segmentedControl.snp.width).multipliedBy(1 / CGFloat(segmentedControl.numberOfSegments) / 1.5)</pre><p>Now, you have a wonderful indicator for your tabs of segmented control! But it should move when segment changes are happened.</p><p>Create an valueChanged action (by Control+Dragging or adding target) for segmented control.</p><p>We said it should move, movement logic is updating or remaking constraints of our indicator. In <em>indexChanged</em> method;</p><pre>let numberOfSegments = CGFloat(segmentedControl.numberOfSegments)</pre><pre>let selectedIndex = CGFloat(sender.selectedSegmentIndex)</pre><pre>let titlecount = CGFloat((segmentedControl.titleForSegment(at: sender.selectedSegmentIndex)!.count))</pre><pre>segmentindicator.snp.remakeConstraints { (make) in</pre><pre>make.top.equalTo(segmentedControl.snp.bottom).offset(3)</pre><pre>make.height.equalTo(2)</pre><pre>make.width.equalTo(15 + titlecount * 8)</pre><pre>make.centerX.equalTo(segmentedControl.snp.centerX).dividedBy(numberOfSegments / CGFloat(3.0 + CGFloat(selectedIndex-1.0)*2.0))</pre><pre>}</pre><pre>UIView.animate(withDuration: 0.5, animations: {</pre><pre>self.view.layoutIfNeeded() }</pre><p>The only difference is centerX value of our indicator. There are some mathematical calculations behind the constants (summing with 3.0, multiplying with 2.0 and deducting 1.0 from selectedIndex). You can figure out easily why 3.0 is 3.0, why 2.0 is 2.0 etc by trial and error method.</p><p>I added a 0.5 second UIView.Animation code block to make this change happens with animation. Don’t forget to call <em>layoutIfNeeded()</em> method.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fstreamable.com%2Fo%2F3efmf&amp;url=https%3A%2F%2Fstreamable.com%2F3efmf&amp;image=https%3A%2F%2Fcdn-b-east.streamable.com%2Fimage%2F3efmf.jpg%3Ftoken%3DMqmRpc1LvHZicoXlqoIoiQ%26expires%3D1560451620&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=streamable" width="752" height="320" frameborder="0" scrolling="no"><a href="https://medium.com/media/8a196b72f2e6540b60aaec2d057366b8/href">https://medium.com/media/8a196b72f2e6540b60aaec2d057366b8/href</a></iframe><p>Look at this beauty!</p><p>As a bonus, I did one more thing. When indicator moves, width of it also extend and compress animation with <em>CGAfflineTransform</em>. Simplicity won again:</p><pre>UIView.animate(withDuration: 0.5, animations: {</pre><pre>self.view.layoutIfNeeded()</pre><pre>self.segmentindicator.transform = CGAffineTransform(scaleX: 1.4, y: 1)</pre><pre>}) { (finish) in</pre><pre>UIView.animate(withDuration: 0.4, animations: {</pre><pre>self.segmentindicator.transform = CGAffineTransform.identity</pre><pre>})</pre><pre>}</pre><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fstreamable.com%2Fo%2Fw18ca&amp;url=https%3A%2F%2Fstreamable.com%2Fw18ca&amp;image=https%3A%2F%2Fcdn-b-east.streamable.com%2Fimage%2Fw18ca.jpg%3Ftoken%3DIGD9-f7PL1750sQryjCRYQ%26expires%3D1560451980&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=streamable" width="752" height="320" frameborder="0" scrolling="no"><a href="https://medium.com/media/562600a2bf5373c25c59a3de22b15855/href">https://medium.com/media/562600a2bf5373c25c59a3de22b15855/href</a></iframe><p>Cool, smooth and awesome. Isn’t it?</p><p>There is the link of repo: <a href="https://github.com/tahasonmez/buttonSegmented">https://github.com/tahasonmez/buttonSegmented</a></p><p>As a next step, I want to make this segmented control swipeable; moving between pages (changing tabs) by swiping. Stay tuned!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8445aff2e9d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Etkili Trello Kullanımı ile Veriminizi Arttırın]]></title>
            <link>https://medium.com/itsmee-360%C2%BA-network/etkili-trello-kullan%C4%B1m%C4%B1-ile-veriminizi-artt%C4%B1r%C4%B1n-db80c081e004?source=rss-bfc96fe2464e------2</link>
            <guid isPermaLink="false">https://medium.com/p/db80c081e004</guid>
            <category><![CDATA[trello]]></category>
            <category><![CDATA[proje-yönetimi]]></category>
            <category><![CDATA[zaman-yönetimi]]></category>
            <category><![CDATA[kanban]]></category>
            <category><![CDATA[agile]]></category>
            <dc:creator><![CDATA[Taha Sönmez]]></dc:creator>
            <pubDate>Fri, 22 Feb 2019 19:17:56 GMT</pubDate>
            <atom:updated>2019-02-22T19:27:07.568Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jJEow_8PvAhCf1yJYBO2lQ.png" /><figcaption><a href="https://blog.trello.com/trello-home-view">https://blog.trello.com/trello-home-view</a></figcaption></figure><p>Merhabalar,</p><p>Bir günün 24 saat olma kısıtından dolayı zaman zaman işlerimizin aksadığı su götürmez bir gerçek. Üst üste yığılan görevler, asla yetiştirilemeyen son teslim tarihleri, dikkat dağınıklığı ve düşük verim bir çok insanın farkında bile olmadığı büyük sorunlardan. Bu sorunların farkında olan insanlar zaman yönetiminin derinlerine iniyor, yöntemler araştırıyor ve belirli bir prensip dahilinde kendilerine rota çiziyorlar. Çeşitli zaman yönetimi ve proje yönetimi methodları ve araçları olsa da kullanımı en basit bir proje yönetimi aracı olan Trello’yu inceleyeceğiz. Her ne kadar proje yönetimi ve zaman yönetimi konuları başlı başına birer uzmanlık alanı olsalar da ben en kısa yoldan bu iki kavramın ve alt dallarının tek bir çatı altında birleştirilmesiyle alakalı ipuçlarından bahsedeceğim.</p><p>Öncelikle bilmeyenler için Trello’dan kısaca bahsedelim.</p><h3><strong>Trello Nedir?</strong></h3><p>Trello günlük, haftalık, aylık çalışmalarınızı panolar, listeler ve kartlar aracılığıyla organize etmenizi sağlayan mobil, web ve masaüstü erişimiyle kesintisiz kullanabileceğiniz ücretsiz bir araçtır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*viE7GRbABMwSZJyaCc7MpQ.png" /><figcaption><a href="https://trello.com/guide/trello-101">https://trello.com/guide/trello-101</a></figcaption></figure><p>Trello’nun temelde panolar, listeler ve kartlar olmak üzere 3 adet ana bileşeni bulunuyor.</p><p><strong>1-) Panolar</strong></p><p>Ayrı ayrı projelerinizi temsil eden ve ekip üyeleri atayabileceğiniz bir alan. Örneğin panolarınızı;</p><ul><li>Şirketim A</li><li>Girişimim A</li><li>Okul</li></ul><p>gibi isimlerlendirebilir ve bu panolara ekip üyeleri atayabilirsiniz.</p><p><strong>2-) Listeler</strong></p><p>Yukarıdaki ekran görüntüsünde de gördüğünüz üzere kartların (yani görevlerin) sıralandığı listelerdir.</p><p><strong>3-) Kartlar</strong></p><p>İhtiyacımız olabilecek bir çok bileşeni bulunduran kartlar içerisinde görevlerinizi yazabilir, kişiler atayabilir, bitiş tarihi girebilir ve etiketler kullanabilirsiniz.</p><p>Genel hatlarıyla Trello kullanımı bu kadardı. Şimdi Trello’yu en etkili biçimde kullanmaya yönelik verimi ve üretkenliği üst seviyelere çıkartacak bir kaç ipucudan bahsedeyim.</p><h3>Listeler</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SFkQBaOumOwx_VtrUVvU5w.png" /></figure><p><a href="https://tr.wikipedia.org/wiki/Kanban">Kanban</a>’ın temel prensiplerinden biri de görevleri Yapılacak-Yapılıyor-Tamamlandı olarak ayırmaktır. Sizler de panolarınızdaki listelerde bu 3 ana başlığı kesinlikle atlamayın. Ek olarak Bu Hafta-Bugün-Takip Edilecekler-Yeni Fikirler gibi listeler de oluşturabilirsiniz.</p><h3>Haftalık/Günlük Pano</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YGGYwAotDk6KpWgUyxdoqQ.png" /></figure><p>Tüm iş/okul/ekip panolarınızın dışında kendinize ait haftayı ve günü planlayacağınız kişisel bir panonuz olsun. Haftanın başında o hafta içerisinde yapacağınız işleri “Bu Hafta” listenize yazın. Diğer panolardaki kartlarınızı “Kartı Kopyala” opsiyonuyla kolayca kişisel panonuza aktarabilirsiniz. Gece işlerinizi toparladıktan sonra veya sabahın ilk saatlerinde “Bu Hafta” listenizdeki kartları “Bugün” listenize taşıyarak gün içerisinde yapacaklarınızı unutma ihtimalinizi sıfıra indirgeyebilirsiniz.</p><h3><strong>Etiketler</strong></h3><p>Trello’da kartlarınıza etiketler atayabilirsiniz. Aşağıdaki örnekte 3 farklı ölçütten türetilmiş 9 farklı etiket bulunuyor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*7fHYwyL9cUd6mtD_1YVPVA.png" /></figure><p><strong>Kolaylık:</strong></p><p>Renkler sarıdan kırmızıya doğru gittikçe işin ağırlığının arttığını temsil eder. Zor, orta zor gibi ifadeler kullanmak yerine olumlama yapmak için bu etiketleri;<br><strong>Kırmızı</strong> — Kolay<br><strong>Turuncu</strong> — Orta Kolay<br><strong>Sarı</strong> — Çok kolay</p><p>olacak şekilde sınıflandırdım.</p><p><strong>Hız:</strong></p><p>Benzer şekilde mavi tonları ise bir görevin hızını temsil eder. Hızı kıstas olarak görevin kaç <a href="https://en.wikipedia.org/wiki/Pomodoro">Pomodoro</a> zamanı gerektirdiği ile ilişkilendirebilirsiniz. 1 pomodoro zamanının (25 dk çalışma ve 5 dk mola) yarısından daha az sürecek işler Çok Hızlı, tam bir pomodoro zamanı için Orta Hızlı, iki pomodoro ve üstü için Hızlı etiketlerini kullanabilirsiniz. Örneğin, sadece yarım saatlik bir zamanınız var ve yarım kalacak bir işe başlamak istemiyorsanız; kartlarınız arasında “Çok Hızlı” veya “Orta Hızlı” etiketli bir görevi seçerek verimli bir yarım saat geçirebilirsiniz.</p><p><strong>Öncelik:</strong></p><p>Son teslim zamanı (deadline) yakın bir tarihte olan veya zincir görev halkasında bulunan bir görev için Çok Öncelikli etiketini ekleyebilirsiniz.</p><p>Kolaylık, hız ve öncelik ölçütleri ile görevlerinizi doğru bir şekilde birleştirdiğinizde görevlerinizi daha iyi bir şekilde organize ederken, detayları kaçırmazsınız.</p><p><strong>Üyeler:</strong></p><p>Ekip olarak çalışmak çok daha zevkliyken iş takibi doğru bir şekilde yapılmadığında zaman zaman eziyet haline gelebiliyor. Trello’da panolarınıza veya takımlarınıza eklediğiniz üyeler sayesinde görevlere (kartlara) üyeler atayabilirsiniz. Üyeler bu görevlerdeki değişimler ve gelişimler ile alakalı anlık bildirimler alırlar.</p><p><strong>Kontrol Listeleri:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s4RdVv0qvGIjIAtf7NQ7Pg.png" /></figure><p>Kontrol listelerini de tıpkı tüm diğer Trello bileşenleri gibi özelleştirerek esnek bir kullanım alanı haline getirebilirsiniz. Ana bir görevin içerisinde birbirine bağlı görevleri yönetebilir veya görev için çeşitli gereklilikleri görebilirsiniz.</p><p><strong>Deadline:</strong></p><p>Her görevin bir bitiş tarihi mutlaka vardır ama en önemli olanları kartlarınıza ekleyin. Bitiş tarihleri yaklaştıkça Trello sizi ve karta eklenmiş üyeleri uyarır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NN0bdp9dlcDnbrUTJJq1aw.png" /></figure><blockquote><strong>BONUS</strong></blockquote><blockquote>Pomodoro tekniğini efektif bir şekilde uygulamak için yardımcı uygulamalar kullanabilirsiniz. Ben <a href="https://pomodoneapp.com/download-pomodone-app.html">PomodoneApp</a> isimli bir uygulama kullanıyorum. PomodoneApp’i Trello hesabınız ile bağlayarak pano ve kartlarınızı uygulamaya aktarmak da mümkün.</blockquote><h3>Sonuç</h3><p>Aslında yukarıdaki ipuçları Agile proje yönetimi ayarında oldu. Her ne kadar Agile ve alt başlıkları genellikle yazılım projeleri süreçlerinde uygulanan bir method olsa da hayatımızın bir çok alanına yorumlayabileceğimiz ve esnetebileceğimiz bir hayat kurtarıcı. Belli başlı prensiplere bağlı kaldığınız sürece siz de Trello üzerinde kolaylıkla görevlerinizi organize edebilirsiniz. Ekiplerinize veya işinizin içeriğine göre kullanımı esnek hale getirmekte özgürsünüz. Elon Musk’a göre Dünyayı değiştirmek için haftada 80–100 saat arasında çalışmak lazım. (Kendisi 120 saat çalışıyormuş) Önemli olan nokta bu 80–100 saati nasıl değerlendirdiğinizdir. Üretkenliğinizi ve veriminizi arttırarak az zamanda çok daha kaliteli işler başarmak mümkün. Umuyorum ki bu yazı proje ve zaman yönetimi konusunda az da olsa sizlere ışık tutmuştur. İyi çalışmalar dilerim.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db80c081e004" width="1" height="1" alt=""><hr><p><a href="https://medium.com/itsmee-360%C2%BA-network/etkili-trello-kullan%C4%B1m%C4%B1-ile-veriminizi-artt%C4%B1r%C4%B1n-db80c081e004">Etkili Trello Kullanımı ile Veriminizi Arttırın</a> was originally published in <a href="https://medium.com/itsmee-360%C2%BA-network">ItsMee</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mobil Uygulamalar Bir Araç Yoksa Mı Amaç Mı?]]></title>
            <link>https://medium.com/@mtssonmez/mobil-uygulamalar-bir-arac-mi-amac-mi-d9c045d73f63?source=rss-bfc96fe2464e------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9c045d73f63</guid>
            <category><![CDATA[mobil-uygulamalar]]></category>
            <category><![CDATA[girişim]]></category>
            <category><![CDATA[girişimcilik]]></category>
            <dc:creator><![CDATA[Taha Sönmez]]></dc:creator>
            <pubDate>Mon, 07 Jan 2019 23:18:37 GMT</pubDate>
            <atom:updated>2019-02-22T19:31:15.339Z</atom:updated>
            <content:encoded><![CDATA[<h3>Mobil Uygulamalar Bir Araç Mı Yoksa Amaç Mı?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*efU-2aeWr9RuhYTe5RflEA.jpeg" /></figure><p>Devlet ve üniversiteler tarafından artan desteklerle birlikte son zamanlarda yeni girişimler doğuyor. Bana göre, her ne kadar bir girişime ve girişimciye sorulması gereken belli başlı sorular varsa da girişimler temel olarak ikiye ayrılır: Teknoloji kullananlar ve teknoloji üretenler. Gözlemlerime dayanarak söylemeliyim ki ne yazık ki ülkemizde teknoloji üreten girişimlerin bütün girişimler içerisindeki oranı %5’i geçmeyecek kadar düşük. Hal böyle olunca, ülkemizdeki girişimcilik kavramı pek de ileri gidemiyor. Bu konu elbette apayrı bir başlık olmaya aday seviyesinde.</p><p>Girişim kurmak, girişimci olmak bir çok bilinçli gencin hayallerini süslüyor desek yanlış söylemiş olmayız fakat son zamanlarda girişimlere ve girişimcilere karşı olan kişilerle çok karşılaşıyoruz. Bu görüşteki kişilerin sundukları savunma ise: “App çıkarmak“ kavramının bir furya haline dönüşmesi. Girişimler ve girişimciler eleştirilmeye her zaman açık olmalıdırlar fakat bu eleştirilerin arkasında yatan sebepler büyük bir önem taşıyor. Bu noktada bana göre cevaplanması gereken bir soru var: Mobil uygulamalar bir araç mıdır amaç mı?</p><p>Nasıl ki zamanında Nevzat Aydın <a href="http://yemeksepeti.com/">yemeksepeti.com</a>’un tanımını “Bir site yapacağım insanlar yemek sipariş edecek” veya Nazım Salur BiTaksi’nin tanımını “Bir app çıkaracağım insanlar taksi çağıracak” şeklinde yapmadıysa günümüz girişimcileri tarafından da “Bir app çıkaracağım ama ne olduğu ne yaptığı önemli değil“ gibi tanımlar yapılmıyor. Girişim fikirleri böyle doğmuyor zaten girişimcilik de bu olmuyor. ‘18–44 yaş arasında haftada 0–2 saat Linkedin kullanan en az lisans derecesinde eğitim görmüş veya halen gören, yılda en az 3 etkinliğe katılım sağlayan kitlenin etkinlik içinde network edinmesini ve sonrasında bu networklerini koruyarak onlarla olan iletişimini güncel tutmasını sağlamak’ fikriyle ortaya çıkan girişimimiz <a href="http://www.itsmeeapp.ccom/">ItsMee</a> burada mobil uygulamaları bir araç olarak kullanarak hem B2C’de kullanıcılarına hem de B2B’de müşterilerine çözümler sunmayı amaçlıyor. Kullanıcılarımızın ve müşterilerimizin ihtiyaçlarını en uygun hangi şekilde giderebileceğimiz konusunda mobil uygulamalarımıza ve websitemize güvenmemizin sebebi Dünya nüfusunun %67&#39;sinin yani 5 milyar insanın akıllı telefon kullanıcısı olmasıdır. Böylesine bir dağıtım kanalınını görmezden gelerek mobil uygulamaları araç olarak kullanmamak gülünç olabilirdi.</p><p>Kuluçka merkezlerince veya girişimcilik yarışmaları jurilerince değerlendirilen;</p><p>- Hangi soruna nasıl çözüm bulduğu</p><p>- Hedef pazar analizi</p><p>- Değer önerileri</p><p>- Katma değerleri</p><p>- Gelir modeli</p><p>- Finansal projeksiyonları</p><p>- Kurucu ortakları ve ekibi</p><p>…</p><p>gibi bir çok kriter vardır. Tüm bu süreçlerden başarıyla geçebilen girişimlerin zaten amacı “app çıkarmak“ olamaz. Uygulama marketlerde uygulama yayınlamak ve bunlardan reklamlar veya uygulama içi satın alımlar aracılığıyla gelir elde etmek girişimcilik olarak adlandırılamaz. Fikir aşamasından sonra bir girişimi pazarlamak, yönetmek, geliştirmek çok büyük bir süreçtir ve tıpkı kurumsal firmalarda olduğu gibi bir çok departman ile çalışılır. ROI, YOY, CR gibi KPI’ların takibinden ürün geliştirmesine, ürün geliştirmesindeki Agile, Scrum proje yönetim yöntemlerine, ARGE çalışmalarına, yatırım turlarına, hukuki boyutlarına, kurumsal iletişimine, PR’ına, HR’ına kadar ucu bucağı olmayan bir okyanusun “app çıkarmak da aldı başını gidiyor” gibi bir söylemle küçültülmesine ve basitleştirilmesine girişimcilik ekosisteminde yer alan biri olarak karşıyım.</p><p>Yazılımı, verileri, analizleri bir kenara bırakıp bu sefer de düşüncelerimi şöyle bir yazıya dökme niyetiyle ilk denememi yazıverdim. Umarım bu mini yazı bu düşüncedeki genç arkadaşlarıma yol gösterici nitelikte olmuştur.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9c045d73f63" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Uygulamalarınızın Daha Az Silinmesi İçin Neler Yapmalısınız?]]></title>
            <link>https://medium.com/itsmee-360%C2%BA-network/uygulamalar%C4%B1n%C4%B1z%C4%B1n-daha-az-silinmesi-i%CC%87%C3%A7in-neler-yapmal%C4%B1s%C4%B1n%C4%B1z-12288614bdaa?source=rss-bfc96fe2464e------2</link>
            <guid isPermaLink="false">https://medium.com/p/12288614bdaa</guid>
            <category><![CDATA[mobil-uygulamalar]]></category>
            <category><![CDATA[tasarım]]></category>
            <dc:creator><![CDATA[Taha Sönmez]]></dc:creator>
            <pubDate>Sun, 06 Jan 2019 20:51:28 GMT</pubDate>
            <atom:updated>2019-01-09T00:38:35.042Z</atom:updated>
            <content:encoded><![CDATA[<p>Büyük bir heyecanla uygulamanızı geliştirdiniz ve büyük umutlarla uygulama marketlerde yayımladınız. Hatta belki de hatrı sayılır bir reklam bütçesi ayırarak kullanıcılarınızı dört gözle beklediniz. Beklediğiniz sonuçları neden alamadığınızı hiç düşündünüz mü? Uygulamanız neden siliniyor ve neden retention oranlarınız çift hanelere ulaşmıyor?</p><p>AppsFlyer’ın sunmuş olduğu <a href="https://www.appsflyer.com/blog/new-data-shows-uninstalls-remain-significant-pain-apps/">rapor</a> gösteriyor ki 30 günün sonunda kullanıcıların %28’i uygulamayı telefonlarından kaldırıyor. Her ne kadar silinme sebeplerinde üst sıralarda ihtiyaçları ve beklentileri karşılayamama, kayıt olma ve giriş yapma aşamalarının sıkıcılığı ve kişisel veriler konusundaki kaygılar gibi sebepler yer edinmiş olsa da mobil uygulamaların anlaşılabilirliği ve kullanılabilirliği büyük bir önem taşıyor.</p><p>UI ve UX tasarımcılarının yaptıkları işe son derece saygı duyuyorum. Sunulanan özelliklerin çeşitlendiği bu dönemde belli başlı standartlara bağlı kalarak onları ekranlarımızın en güzel köşelerine yerleştirmek bir sanattır. Hedef kitlesi çok geniş olan uygulamalarda tasarım konusunda bir takım kısıtlar meydana geliyor. Bunun en büyük sebebi ise kullanıcıların alışkanlıklardan kolaylıkla vazgeçememesidir. Yaratıcılığı sınırlayan bu etken artan özelliklere rağmen uygulamaların bazı standartlara uymasını zorunlu kılıyor.</p><p><strong>1- Tasarım Prensipleri:</strong></p><p>Renkler, fontlar, dokunulabilir alanlar, animasyonlar ve negatif alanlar tasarım prensiplerinin olmazsa olmaz maddelerinden bazıları. Tasarım bloglarını takip etmek yeni tasarım trendlerini takip etmenize olanak sağlar. Aynı zamanda Behance, Dribble gibi platformlar üzerinde çok değerli tasarımcıların tasarımlarını inceleyin ve kendi uygulamalarınızla karşılaştırın. Rakiplerinizin mobil uygulamalarını incelemeyi, o uygulamalara yapılan yorumları okumayı da ihmal etmeyin. Webrazzi’de yayımlanan <a href="https://webrazzi.com/etiket/tasarimcilara-tavsiyeler/"><em>Tasarımcılara Tavsiyeler</em></a><em> </em>yazı dizisini incelemenizde fayda var.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LglmItdl3NMJhaLrKQi1Qg.jpeg" /><figcaption><a href="http://www.j6design.com.au/6-principles-of-design/">http://www.j6design.com.au/6-principles-of-design/</a></figcaption></figure><p><strong>2- Farklı Bir Göz:</strong></p><p>Bir uygulama sahibi, geliştiricisi veya fikir sahibi olarak uygulama içerisinde bütün senaryoyu sıralı olarak biliyoruz ve aynı davranışı kullanıcılardan da bekliyor olmamız büyük bir hata. Özelliklerinizi sıraladınız, tasarım yapıldı ve uygulamanız geliştirildi. Uygulamaları canlıya almadan önce eşe dosta bir takım sorular sormakta fayda var. Uygulamanızı açın ve karşınızdaki kişiye verip gezinmesini isteyin. Onun adımlarını izleyin ve söylediklerine kulak verin. Yaklaşık 20–30 farklı kişiyle gerçekleştireceğiniz bu eylem sizin için güzel bir başlangıç noktası olabilir.</p><p>Uygulamalarınızı test edecek ve size geri bildirimler verecek birilerini bulamayanlar için oluşturulmuş özel platformlar bile mevcut.</p><p>Bakınız: <a href="https://www.trymyui.com/">TryMyUI</a>, <a href="https://lookback.io/">Loocback.io</a></p><p><strong>3- Kullanıcılarınızı İzleyin:</strong></p><p>Mobil analitik araçlarını kullanmayı, önemli KPI’ları takip etmeyi zaten ihmal etmeyin. Uygulama içerisindeki tıklanabilir her alana trackerlar ekleyin ve bunların performansını ölçün. Büyük verinin nimetlerinden faydalanın. Kullanıcıların hangi ekranlarda ne kadar vakit geçirdiklerini inceleyin. Kullanıcılarınız kayıt ve giriş ekranlarında, ana sayfanızda uzun vakitler geçiriyorsa bu ekranlarınızdaki tasarımı ve performansı sorgulayın. Bunun yanında bir de uygulamanızın performansını ölçen ve kilitlenme/çökme (crash) takibi yapan araçları da kullanın. Kullanımı ücretsiz olan Firebase çözümlerinden Performance ve Crashlytics ile uygulamalarınızın performanslarını dilediğiniz gibi görüntüleyebilirsiniz. Elde ettiğiniz verilere doğru soruları sorun ve aldığınız cevaplar doğrultusunda değişikler yapmaktan çekinmeyin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/1*l61Fq3z1Jf1WKWd9S_6X3g.png" /><figcaption>Firebase Performance Monitoring</figcaption></figure><p>Ekranlarınızın</p><p><strong>4- A/B Testleri Dostunuzdur:</strong></p><p>A/B testlerini sadece email pazarlamada veya anlık mobil bildirimlerinde kullanmakla kalmayın, mobil uygulamalarınıza da entegre edin. Kararsız kaldığınız tasarımlarda veya özelliklerde A/B testleri yaparak sonrasında kullanıcılarınızı izleyin. A/B testi yapmak zor geliyorsa yeni tasarımlarınızı veya özelliklerinizi kullanıcılarınızla parça parça buluşturun. Instagram, Facebook, Twitter gibi milyarlarca kullanıcıya hitap eden uygulamalara eklenen yeni özellikler ve tasarımlar parça parça sunuluyor.</p><p><strong>5- İnteraktif Öğreticiler Kullanın:</strong></p><p>Uygulamanız alışık olunmayan bir tasarıma ve kullanıma sahipse kullanıcılarınıza interaktif öğreticiler sunun. Uygulamanızın kullanıcılara neler sağladığını bir video ile onlara anlatabilirsiniz ama uygulamanızın nasıl kullanılacağına dair bilgiyi onlara tek bir videoda anlatmaktan kaçının. Her önemli ekranınızda önemli alanları vurgulayan interaktif öğreticiler kullanın.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/232/1*_IV1AJ5yPILof4Z7wRAMgw.gif" /><figcaption><a href="https://github.com/ephread/Instructions">https://github.com/ephread/Instructions</a></figcaption></figure><p><strong>6- Kullanıcılarınızdan Geri Bildirimler Alın:</strong></p><p>Uygulamanızın içerisinde kesinlikle geri bildirim formu bulundurun. Onların ekran görüntüleri veya videolar eklemesine izin verin. Bu geri bildirimleri titizlikle inceleyin, önem verin ve ekibinize veya arkadaşlarınıza danışarak gerekli düzeltmeleri yapmaktan çekinmeyin. PR’a yatırım yapın ve kullanıcılarınızın kalbini kazanın.</p><p><strong>7- Doğru Zamanı Bekleyin:</strong></p><p>Eğer ki uygulamanız sosyal ağ tabanlıysa ilk kullanıcılarınızı kaçırmamak için yeterli içerik ve kullanıcı barındırdığınızdan emin olun. Ne kadar güçlü özellikleriniz veya değerleriniz olursa olsun içeriklerinizin ilk izlenim için yetersiz kalacağına inanıyorsanız sabırlı olun ve uygulamanızı önce kapalı gruplar içerisinde yaymayı düşünün. ‘Beta Versiyon’ kelimesine sırtınızı yaslamayın ama onu kullanmaktan da çekinmeyin. Bu hatalarınıza gösterilecek toleransı bir nebze de olsa arttıracaktır.</p><p>Bu 7 başlığın 7sinin de ayrı bir araştırma konusu olduğunu hatırlatmakta fayda var. Edindiğim tecrübelere dayanarak bu başlıkları özetleyerek bir başlangıç noktası sağlamaya çalıştım. Yardımcı olduğumu umarak vakit ayıran herkese teşekkürlerimi sunuyorum.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=12288614bdaa" width="1" height="1" alt=""><hr><p><a href="https://medium.com/itsmee-360%C2%BA-network/uygulamalar%C4%B1n%C4%B1z%C4%B1n-daha-az-silinmesi-i%CC%87%C3%A7in-neler-yapmal%C4%B1s%C4%B1n%C4%B1z-12288614bdaa">Uygulamalarınızın Daha Az Silinmesi İçin Neler Yapmalısınız?</a> was originally published in <a href="https://medium.com/itsmee-360%C2%BA-network">ItsMee</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beginner’s Guide For Third Party Libraries in Swift 4 & iOS 11:]]></title>
            <link>https://medium.com/@mtssonmez/beginners-guide-for-third-party-libraries-in-swift-4-ios-11-8cce476424c0?source=rss-bfc96fe2464e------2</link>
            <guid isPermaLink="false">https://medium.com/p/8cce476424c0</guid>
            <category><![CDATA[swift-development]]></category>
            <category><![CDATA[cocoapods]]></category>
            <category><![CDATA[third-party-library]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Taha Sönmez]]></dc:creator>
            <pubDate>Wed, 27 Jun 2018 17:51:21 GMT</pubDate>
            <atom:updated>2018-06-27T18:16:02.540Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/705/1*vy9TLQ2Z1ntMwyKAXtpmWA.jpeg" /></figure><p>When I’ve decided to do custom things in my projects, I was always avoiding using third party libraries because I thought libraries are harmful for projects. For example compatibility problems, slowness issues, memory problems etc.. Also, I was feeling like I took the easy way out. After some observation and researches on professional institutive applications, I realized that third party libraries are beneficial and they are being used common. However, there are some significant points which we have to be careful such as stars number of libraries on GitHub, rate of responses about bugs and issues, intelligible usage documents and especially actuality situation.</p><h4>Identify The Problem or Need:</h4><p>Please look at this url: <a href="https://github.com/vsouza/awesome-ios">https://github.com/vsouza/awesome-ios</a> . I suggest this compilation of very useful libraries. It is ordered by title about almost every usage area of third party libraries. For example, if you search something about transition animation simply select the title from content. After that, take a look at short descriptions of libraries and pick one or more. The next step is evaluating documentation, stars and responses. Check whether documentation is enough for you, star numbers are acceptable, responses of issues are useful etc. Will you use this library? Okay. Now go to the installation part.</p><h4>Installation:</h4><p>Find pod direction from library page and just follow this video. (You need to have installed Cocapods.)</p><p><a href="https://streamable.com/c1xk4">https://streamable.com/c1xk4</a></p><p>Usage:</p><p>First of all, if the library is even a little bit complicated, I suggest to download the example project and analyze it. Solve the working principle step by step. The first step can begin with analyzing Main.storyboard structure. Observe views and their classes. After that, next steps should be analyzing the code.</p><p>You analyzed all example project and implemented to your scenario. Anyway, your project isn’t working as you expected.</p><h4>You should missed something:</h4><p>1 — Try to look each views, objects and their classes also connections. For example, assume that your library is related to transition animations, you definitely should look at the segues between controllers.</p><p>2 — Try to look ‘User Defined Runtime Attributes’ in identity inspector of selected object.</p><p>3 — Did you check your classes’ customized by library super classes?</p><h4>What can you do?</h4><p>Read. It is very important to use CMD+Click (Jump to definition) feature and read all comment lines which are above the almost each function. If I should give a simple example, you can do CMD+Click and Jump the definition on UITableViewDelegate, UITableViewDataSource, UIScrollViewDelegate etc… Unless it isn’t sufficient for solution back to the issues page of your library on GitHub and search keywords which are define your situation briefly. Didn’t still find your solution for issue? Then, now you can open a new issue. Please be sure about your sentences and codes are clear.</p><p>In this post, I’ve tried to explain basic logic of usage and debugging of third party libraries. In my next blog posts, I’m planning to write about some very useful libraries which may simplify your job. If you have any suggestion please feel free to say it! I hope you enjoyed this tutorial! Also, I need your feedbacks!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8cce476424c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Handle Empty TableView in Swift 4 & iOS 11]]></title>
            <link>https://medium.com/@mtssonmez/handle-empty-tableview-in-swift-4-ios-11-23635d108409?source=rss-bfc96fe2464e------2</link>
            <guid isPermaLink="false">https://medium.com/p/23635d108409</guid>
            <category><![CDATA[taha-sönmez]]></category>
            <category><![CDATA[swift-development]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[empty-table-view]]></category>
            <dc:creator><![CDATA[Taha Sönmez]]></dc:creator>
            <pubDate>Wed, 27 Jun 2018 00:36:43 GMT</pubDate>
            <atom:updated>2018-06-27T00:36:43.618Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello guys, once upon a time I was writing tutorials about some tricky fundamental of iOS Development in Turkish on my personal web-site. Now, I decided to write tutorials in English in Medium in order to reach whole World. Firstly I am planning to compile tutorial topics by scenarios which are an average developer will may encounter in future. Also, I want to append usage samples of some useful libraries.</p><p>Today’s topic is handling empty table view. Tableview is used for many use cases especially for listing fetched arrays from a backend server. You may fetch contact lists of user from server and it may be empty. In this case, we need to know that how can we handle this situation.</p><p>First of all, I’ve simply created new single view application project in Xcode, drag&amp;drop a TableView to the our ViewController in Main.storyboard, add one prototype cell and connect these objects to the ViewController.swift by Control+Drag. (If you don’t prefer to use Main.storyboard, implement TableView via your method)</p><h3>Prepare TableView</h3><h4>First Step:</h4><p>Implement UITableViewDataSource and UITableViewDelegate methods.</p><pre>extension ViewController: UITableViewDelegate, UITableViewDataSource {</pre><pre>func numberOfSections(in tableView: UITableView) -&gt; Int {</pre><pre>return 1</pre><pre>}</pre><pre>func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {</pre><pre>let cell = tableView.dequeueReusableCell(withIdentifier: &quot;myCell&quot;, for: indexPath) as! ourCell</pre><pre>cell.nameLabel.text = names[indexPath.row]</pre><pre>return cell<br>}</pre><pre>func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {</pre><pre>return names.count<br>}</pre><pre>}</pre><h4>Second Step:</h4><p>Set fetching data from server. In this tutorial, I wrote a mock function instead of real fetching.</p><pre>func fetchContacts() {</pre><pre>self.names = [&quot;Bill Gates&quot;, &quot;Steve Jobs&quot;, &quot;Elon Musk&quot;, &quot;Alan Turing&quot;, &quot;Jeff Bezos&quot;, &quot;Larry Page&quot;, &quot;Mark Zuckerberg&quot;, &quot;Larry Ellison&quot;, &quot;Steve Wozniak&quot;]</pre><pre>tableView.reloadData()</pre><pre>}</pre><p>In ViewDidLoad:</p><pre>self.tableView.delegate = self</pre><pre>self.tableView.dataSource = self</pre><pre>self.fetchContacts()</pre><p>The result should be something like this up to your cell design.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*T6toSRxlSXVUdzX7MujkwQ.png" /></figure><p>We didn’t anything different until there. Now we are starting to handle empty table view. The only tricky part of handling empty table view is setting backgroundView of table view as your custom view.</p><h4>First Step:</h4><p>Write a function for setting empty view in extension of tableview. (Writing these types of code blocks in extension for possible future use cases in this project. I mean, our code has become reusable). When I implement challenging designs, I use anchors. For this reason, in this tutorial, I’ve used anchors for auto-layout purpose. If you prefer .xib file and giving constraints, you have to call your .xib.</p><pre>extension UITableView {</pre><pre>func setEmptyView(title: String, message: String) {</pre><pre>let emptyView = UIView(frame: CGRect(x: self.center.x, y: self.center.y, width: self.bounds.size.width, height: self.bounds.size.height))</pre><pre>let titleLabel = UILabel()</pre><pre>let messageLabel = UILabel()</pre><pre>titleLabel.translatesAutoresizingMaskIntoConstraints = false</pre><pre>messageLabel.translatesAutoresizingMaskIntoConstraints = false</pre><pre>titleLabel.textColor = UIColor.black</pre><pre>titleLabel.font = UIFont(name: &quot;HelveticaNeue-Bold&quot;, size: 18)</pre><pre>messageLabel.textColor = UIColor.lightGray</pre><pre>messageLabel.font = UIFont(name: &quot;HelveticaNeue-Regular&quot;, size: 17)</pre><pre>emptyView.addSubview(titleLabel)</pre><pre>emptyView.addSubview(messageLabel)</pre><pre>titleLabel.centerYAnchor.constraint(equalTo: emptyView.centerYAnchor).isActive = true</pre><pre>titleLabel.centerXAnchor.constraint(equalTo: emptyView.centerXAnchor).isActive = true</pre><pre>messageLabel.topAnchor.constraint(equalTo: titleLabel.bottomAnchor, constant: 20).isActive = true</pre><pre>messageLabel.leftAnchor.constraint(equalTo: emptyView.leftAnchor, constant: 20).isActive = true</pre><pre>messageLabel.rightAnchor.constraint(equalTo: emptyView.rightAnchor, constant: -20).isActive = true</pre><pre>titleLabel.text = title</pre><pre>messageLabel.text = message</pre><pre>messageLabel.numberOfLines = 0</pre><pre>messageLabel.textAlignment = .center</pre><pre>// The only tricky part is here:</pre><pre>self.backgroundView = emptyView</pre><pre>self.separatorStyle = .none</pre><pre>}</pre><pre>func restore() {</pre><pre>self.backgroundView = nil</pre><pre>self.separatorStyle = .singleLine</pre><pre>}</pre><pre>}</pre><h4>Second Step:</h4><pre>func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {</pre><pre>if names.count == 0 {</pre><pre>tableView.setEmptyView(title: &quot;You don&#39;t have any contact.&quot;, message: &quot;Your contacts will be in here.&quot;)</pre><pre>}</pre><pre>else {</pre><pre>tableView.restore()</pre><pre>}</pre><pre>return names.count</pre><pre>}</pre><p>For testing delete the fetchContacts function from ViewDidLoad.</p><p>And the result is…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*JCqghKzVj0v_mVje3fCZ1g.png" /></figure><h3>Bonus Part:</h3><p>You figured out the basic logic of handling empty table view. When we are developing our applications, we want to provide best user experience to our users. The last part is about embellishing. I created very simple animation.</p><p>Let’s assume that users add new contacts by swiping cards. Do some magic for this scenario.</p><p>Add an UIMageView to our EmptyView and use appropriate anchors based on titleLabel and messageLabel.</p><p>You can add some animation to your imageView, titleLabel or messageLabel. For example:</p><pre>UIView.animate(withDuration: 1, animations: {</pre><pre>messageImageView.transform = CGAffineTransform(rotationAngle: .pi / 10)</pre><pre>}, completion: { (finish) in</pre><pre>UIView.animate(withDuration: 1, animations: {</pre><pre>messageImageView.transform = CGAffineTransform(rotationAngle: -1 * (.pi / 10))</pre><pre>}, completion: { (finishh) in</pre><pre>UIView.animate(withDuration: 1, animations: {</pre><pre>messageImageView.transform = CGAffineTransform.identity</pre><pre>})</pre><pre>})</pre><pre>})</pre><p>And the result is…</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fstreamable.com%2Fo%2F7hdwq&amp;url=https%3A%2F%2Fstreamable.com%2F7hdwq&amp;image=https%3A%2F%2Fcdn-b-east.streamable.com%2Fimage%2F7hdwq.jpg%3Ftoken%3D3d-l2k1A80VrsyC0vzY4SA%26expires%3D1530065730&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=streamable" width="404" height="718" frameborder="0" scrolling="no"><a href="https://medium.com/media/4c11857d3457784bee96739bf32061a3/href">https://medium.com/media/4c11857d3457784bee96739bf32061a3/href</a></iframe><p>The full code is here: <a href="https://github.com/tahasonmez/handleEmptyTableView">https://github.com/tahasonmez/handleEmptyTableView</a></p><p>I hope you enjoyed this tutorial. I need your feedbacks!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=23635d108409" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>