<?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 Viktor Peschenkov on Medium]]></title>
        <description><![CDATA[Stories by Viktor Peschenkov on Medium]]></description>
        <link>https://medium.com/@vpeschenkov?source=rss-72532138bf64------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GDa7wrIuiihO0iix5fLuuQ.jpeg</url>
            <title>Stories by Viktor Peschenkov on Medium</title>
            <link>https://medium.com/@vpeschenkov?source=rss-72532138bf64------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 16:53:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vpeschenkov/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[10 Most Starred Swift Frameworks]]></title>
            <link>https://vpeschenkov.medium.com/10-most-starred-swift-frameworks-9051d1fe542b?source=rss-72532138bf64------2</link>
            <guid isPermaLink="false">https://medium.com/p/9051d1fe542b</guid>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <dc:creator><![CDATA[Viktor Peschenkov]]></dc:creator>
            <pubDate>Mon, 02 Jan 2023 16:30:27 GMT</pubDate>
            <atom:updated>2023-01-02T16:30:27.810Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*75oh9VkforBqFcX6sgBknQ.jpeg" /></figure><p>There are many open-source frameworks available to help developers build great apps more efficiently. In this article, I would like to write about the 10 most starred Swift frameworks, <a href="https://github.com/matteocrippa/awesome-swift">based on the Awesome Swift list data</a>:</p><ol><li><a href="https://github.com/Alamofire/Alamofire">Alamofire</a> — A powerful and easy-to-use HTTP networking library for iOS, macOS, and watchOS. With over 38,000 stars on GitHub, it is one of the most popular open-source Swift frameworks. It offers a simple, expressive, and composable syntax for interacting with APIs over the network.</li><li><a href="https://github.com/kodecocodes/swift-algorithm-club">swift-algorithm-club</a> — A collection of algorithms and data structures in Swift, with a focus on educational purposes. With over 27,000 stars on GitHub, it is a popular open-source resource for learning about computer science concepts in the context of the Swift programming language. Overall, Swift Algorithm Club is a valuable resource for anyone interested in learning about computer science concepts in the context of Swift.</li><li><a href="https://github.com/danielgindi/Charts">Charts</a> — Charts is a powerful charting library for iOS, with over 26,000 stars. It offers a wide range of chart types, customizable styling, and easy integration with iOS apps.</li><li><a href="https://github.com/airbnb/lottie-ios">lottie-ios</a> — Lottie is a framework for iOS, Android, and the web that allows developers to easily add complex, fully-customizable animations to their apps. It has over 23,500 stars.</li><li><a href="https://github.com/ReactiveX/RxSwift">RxSwift</a> — RxSwift is a reactive programming framework for iOS, with over 23,000 stars. It allows developers to easily create asynchronous and event-based programs by using observable sequences.</li><li><a href="https://github.com/vapor/vapor">Vapor</a> — Vapor is a popular web framework for building server-side Swift applications, with over 22,000 stars. It offers a simple and expressive syntax, and is built on top of Apple’s SwiftNIO networking library.</li><li><a href="https://github.com/SwiftyJSON/SwiftyJSON">SwiftyJSON</a> — SwiftyJSON is a lightweight framework for working with JSON data in Swift, with over 21,700 stars. It offers a simple and intuitive syntax for parsing and manipulating JSON.</li><li><a href="https://github.com/HeroTransitions/Hero">Hero</a> — Hero is a powerful framework for building custom transitions and animations in iOS, with over 21,100 stars. It offers a declarative syntax and integrates seamlessly with UIKit.</li><li><a href="https://github.com/onevcat/Kingfisher">Kingfisher</a> — Kingfisher is a lightweight framework for downloading and caching images in iOS, with over 20,800 stars. It offers a simple and intuitive syntax, and is built on top of Apple’s ImageIO and Core Animation frameworks.</li><li><a href="https://github.com/ReactiveCocoa/ReactiveCocoa">ReactiveCocoa</a> — ReactiveCocoa is a popular reactive programming framework for iOS and macOS, with over 19,900 stars. It allows developers to easily create asynchronous and event-based programs by using signals and streams.</li></ol><p>These are top 10 Swift frameworks on the Awesome Swift list. Whether you’re building a new app or looking to improve an existing one, these frameworks can help you get the job done faster and more efficiently.</p><p>Happy coding, and happy new year!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9051d1fe542b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to set up GitLab Continuous Integration for iOS projects without a hustle]]></title>
            <link>https://vpeschenkov.medium.com/how-to-set-up-gitlab-continuous-integration-for-ios-projects-without-a-hustle-53c2b642c90f?source=rss-72532138bf64------2</link>
            <guid isPermaLink="false">https://medium.com/p/53c2b642c90f</guid>
            <category><![CDATA[mobile]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[continuous-integration]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Viktor Peschenkov]]></dc:creator>
            <pubDate>Mon, 19 Mar 2018 14:35:15 GMT</pubDate>
            <atom:updated>2019-06-18T16:59:22.447Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to set up GitLab Continuous Integration for iOS projects without a hassle</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HsoL5Vf1Vu1c-z-ahgzY6Q.png" /></figure><p>How to make <a href="https://about.gitlab.com/features/gitlab-ci-cd/"><em>Gitlab-CI/CD</em></a><em> &amp; </em><a href="https://fastlane.tools/"><em>Fastlane</em></a> integration when you have never worked with it?</p><p>We recently faced this challenge at Lodoss Team. In this beginner guide, I’ll share our step-by-step process, initial expectation, and the final result. So you will be able to configure GitLab-CI/CD &amp; Fastlane by yourself with ease.</p><h3>Why do we want Continuous Integration?</h3><p>Everything should be done with purpose. We considered these necessary points for automation:</p><ul><li>Auto running of <a href="https://github.com/realm/SwiftLint"><em>Swiftlint</em></a></li><li>Improving the <em>quality</em> of a code</li><li>Decreasing amount of manual work</li><li>Auto running of UI &amp; Unit-tests jobs</li></ul><p>It’s not the full list of what we needed, however, it was a good point to start. In our work, we typically use the following <a href="http://nvie.com/posts/a-successful-git-branching-model/"><em>GitFlow</em></a>, and we used it to automate our CI/CD processes as well.</p><p>Here are sequence diagrams describing some successful cases of what we wanted to obtain:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*XCj_pMF93Bw2i_mbYyMRXg.png" /><figcaption>Sequence for master branch using Gitlab-CI/CD</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*em9foOU2CE-P8o0VWvvV4w.png" /><figcaption>Sequence for develop, feature &amp; release branches using Gitlab-CI/CD</figcaption></figure><p>Moreover, all those sequences are possible by using tags if we have a situation when it will be necessary <em>(e.g. make an urgent build from a feature branch to show a new functional to a manager)</em>.</p><h3>Why GitLab-CI?</h3><p>We had GitLab and we couldn’t find any reason for using something else. So, we decided to use it, why not 😎? As for me, the GitLab-CI/CD is more developer-oriented than Jenkins. At least because it is aimed at the pipelines, tags, and branches, unlike Jenkins with jobs. And we have to use those things to get the necessary job instead of configuration without code. GitLab-CI/CD seems like a tool for running scripts on a remote machine; no more, but enough.</p><p>Some time later, we realized what it doesn’t matter what to use if we use Fastlane. Because it was able to do all what we needed. As the result, we got freedom from other tools. So I can strongly recommend using Fastlane instead of manual scripts or other approaches.</p><h3>Why Fastlane?</h3><blockquote>Fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. 🚀 It handles all tedious tasks, like generating screenshots, dealing with code signing, and releasing your application.</blockquote><p>We decided to use Fastlane because it:</p><ul><li>makes life better</li><li>reduces time to automate</li><li>has the clear documentation</li></ul><p>Mentioned reasons also mean that it will be easy to learn for other developers in a team. And of course, simple processes are better than the complicated ones.</p><h3>Setting Up GitLab-CI &amp; Fastlane</h3><h4>Setting Up your Xcode project</h4><ol><li>Create a new project in Xcode.</li><li>Give a name to the project.</li><li>Go to the projects schemes and turn the shared flag on like on the image below:</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MWm4VIv9l_FHxRt5zwWGCg.png" /></figure><p>4. Push it into your GitLab repository.</p><p><strong><em>So, the first stage is passed and we can go further.</em></strong></p><h4>Installing &amp; Registering GitLab Runner</h4><blockquote>GitLab Runner is the open source project that is used to run your jobs and send the results back to GitLab. It is used in conjunction with <a href="https://about.gitlab.com/gitlab-ci">GitLab CI</a>, the open-source continuous integration service included with GitLab that coordinates the jobs.</blockquote><p>GitLab has good documentation and you can easily investigate everything by yourself. Just follow these steps:</p><ol><li>Create a new user <em>(</em><a href="https://cocoapods.org/"><em>Cocoapods</em></a><em> cannot be run as a root user, you should start a runner as a specified one)</em>.</li><li>Install a runner according to the <a href="https://docs.gitlab.com/runner/install/osx.html"><em>installation instruction</em></a>.</li><li>Register the runner according to the <a href="https://docs.gitlab.com/runner/register/index.html"><em>instruction</em></a>.</li><li>Set <em>working_directory</em> in the<em>/Users/gitlab-runner/.gitlab-runner/config.toml</em> file as the root path to the runner user like this<em>/Users/gitlab-runner</em>.</li><li>Stop &amp; start the runner again.</li></ol><p><strong><em>Or by following the instruction for osx below:</em></strong></p><ol><li>Download the binary for your system:</li></ol><pre>sudo curl --output /usr/local/bin/gitlab-runner <a href="https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-darwin-amd64">https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-darwin-amd64</a></pre><p>2. Give it permissions to execute:</p><pre>sudo chmod +x /usr/local/bin/gitlab-runner</pre><p>3. Register it by the following instruction <a href="https://docs.gitlab.com/runner/register/index.html"><em>there</em></a>. And chose the executor as <em>shell </em>and add <em>ios</em> tag to it <em>(the tags are optional, however, the code in the article uses </em><em>ios tag for determination which runners will be chosen for performing a job but you can skip it)</em>.</p><p>4. Install the runner as a service and start it:</p><pre>gitlab-runner install<br>gitlab-runner start</pre><p>Example of <em>config.toml</em> file:</p><pre>concurrent = 2</pre><pre>[[runners]]<br>  name = &quot;The runner name&quot;<br>  url = &quot;Your gitlab url&quot;<br>  token = &quot;The runner token&quot;<br>  executor = &quot;shell&quot;<br>  working_directory = &quot;Path to user home directory&quot;</pre><p>If the actions were correct, the runner should look at GitLab page like on the image below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6gJ0-t3QD47QnyYizSpjGA.png" /></figure><h4>Installing &amp; Setting Up Fastlane</h4><p>You can follow the official <a href="https://docs.fastlane.tools/getting-started/ios/setup/"><em>instruction</em></a> to investigate the process by yourself (because true engineers prefer to find the right way by themselves 😂). Here I just share the source code of <em>fastlane</em> configuration file for a merge commit on the develop branch:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2f0e1b86f44b6b9eafa87008a69238e9/href">https://medium.com/media/2f0e1b86f44b6b9eafa87008a69238e9/href</a></iframe><p>The script above uses swiftlint. So, please, don’t forget to <a href="http://www.lodossteam.com/">install</a> it to all machines with runner.</p><p>And by the way, you can use <em>Gemfile</em> file to install some awesome tools, e.g. cocoapods and others. We use the following:</p><pre>source &quot;https://rubygems.org&quot;</pre><pre>gem &quot;fastlane&quot;</pre><pre>gem &quot;cocoapods&quot;</pre><p>That approach allows you not to be worried about the absence of necessary applications on used machines.</p><h4>Adding .gitlab-ci.yml</h4><p>You can follow the official <a href="https://docs.gitlab.com/ce/ci/yaml/"><em>instruction</em></a> to investigate the process by yourself (you know why, don’t you? 😉). Here I just share the source code of <em>fastlane</em> configuration file for a merge commit on develop branch:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/966f0c2a7ceec243422d0a2a576fa06d/href">https://medium.com/media/966f0c2a7ceec243422d0a2a576fa06d/href</a></iframe><p>Let’s come over descriptions of those jobs:</p><ul><li><strong>lint</strong> runs swiftling according to the rules in fastlane configuration file by push commit on any branch</li><li><strong>tests</strong> run test according to the rules in fastlane configuration file by push commit on any branch</li><li><strong>develop</strong> runs build according to the rules in fastlane configuration file <strong><em>by push commit/merge/tag only on develop branch</em></strong></li></ul><p>And before testing all of these, we should solve the next problem about <a href="https://developer.apple.com/support/code-signing/"><em>Code Signing</em></a>… I would recommend you to read the next article about that problem <a href="https://docs.fastlane.tools/codesigning/getting-started/"><em>here</em></a> and decide which way will be better for you. However, for the first time you can use the manual way of code signing, and after the number of runners will be more than one, it will be better to choose another way.</p><p>Also, if you wish to get notifications of fastlane jobs into your Slack, you can add <em>SLACK_URL</em> and <em>FL_SLACK_CHANNEL</em> to CI/CD Pipelines variables. So, at this point, our work is done and you can check the result of it by push commit on develop branch.</p><h3>Conclusions</h3><p>We built the great solution for automation of our needs. And, to sum up, it was the good choice to use Fastlane as a main tool. So, we got:</p><ul><li>Better quality of a code</li><li>Auto running of Swiftlint checks</li><li>Auto running of UI &amp; Unit-tests jobs</li><li>Decreasing amount of manual work</li><li>Auto builds delivering to QA Team &amp; Client Team</li></ul><p>Thank you for reading. I hope the article will be useful for you. Please, feel free to ask <a href="https://twitter.com/vpeschenkov">me</a> if you have any questions :-)</p><h3>References</h3><ul><li><a href="https://about.gitlab.com/features/gitlab-ci-cd/">GitLab Continuous Integration &amp;amp; Deployment</a></li><li><a href="https://fastlane.tools/">fastlane - App automation done right</a></li><li><a href="https://github.com/realm/SwiftLint">GitHub - realm/SwiftLint: A tool to enforce Swift style and conventions.</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=53c2b642c90f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>