Pull to refresh
68.17

Development for iOS *

Developing for popular mobile OS

Show first
Rating limit
Level of difficulty

SwiftUI & ChatGPT. The world is changing. Again

Level of difficulty Easy
Reading time 4 min
Views 1.6K
Development for iOS *Development of mobile applications *Swift *Prototyping *Artificial Intelligence
Tutorial

Everything that follows from this point forward input prompts, followed by ChatCGP’s responses, complete with sample code in Swift.

> Hey ChatGPT, can you make a SwiftUI registration form with name, address and city fields?

Read more
Total votes 5: ↑4 and ↓1 +3
Comments 1

Building your own CLI with Swift Programming Language

Level of difficulty Easy
Reading time 5 min
Views 1.2K
Programming *Development for iOS *Development of mobile applications *Swift *Development for MacOS *
Tutorial

Command-line interfaces (CLI) are a common way to use applications. In iOS, we usually use scripting languages like Bash or Ruby to build those CLIs and automate mundane tasks. The most popular CLI for app signing and build automation is, without a doubt, Fastlane, which was initially written in Ruby. Fastlane is a great tool, convenient and fairly easy to use, and a lot of effort came into building it.

However, there's a great chance you considered moving away from Fastlane to avoid learning Ruby and to lower the entry threshold for your developers. Setting up a Ruby environment could be quite tedious and require additional devs' expertise to write and support those scripts.

Explore how to build your own command line tools with Swift in this article.

Read more
Total votes 2: ↑2 and ↓0 +2
Comments 5

WWDC22 hidden gems

Reading time 6 min
Views 1.1K
Development for iOS *Development of mobile applications *
Sandbox

For iOS developers, WWDC is always something of a New Year. We are presented with so many new products, and sometimes you can get lost in them. Most of my colleagues are trying to be in touch by watching “Platform State of Union” and all “What’s new” sessions. The event basically provides an opportunity to developers a glimpse of the features to expect from the software part. When Apple has a conference like this one, they want to make sure they have enough time to get everything done. In order to do this, they need to be able to work at their own pace and not worry about how long it will take them to get something done.

This means that if you have a small project, it may not be that important but once you move into larger projects with more people involved, every second saved can be worth several dollars in terms of money saved or profit made by the company. The platform tightly integrates programming languages, frameworks, and tools. Everyone gains when these three complement one another. Customers receive a consistent experience, such as scrolling that feels right every time. And developers may devote more time and attention to what distinguishes the app.

And it’s fine, you don’t need to spend so much time for this other unpopular stuff. However, in these, not-so-popular videos as couple of them may be called as “hidden gems” because of the content or a beautiful presentation/structure. Let me show couple of them!

Read more
Total votes 2: ↑2 and ↓0 +2
Comments 3

Creating a Weather Predictions App Using Flutter

Reading time 13 min
Views 4.3K
Development for iOS *Development for Android *Flutter *
Sandbox

This article describes how to develop a real-time weather prediction app in Flutter using the Tomorrow.io Weather API. The app consists of a single screen that displays the current weather and a 4-day daily forecast for a specific location. We’re creating this prediction app on Flutter because it is an open-source UI development kit, which means it can be integrated beautifully into desktop and mobile apps across various platforms, making it scalable. 

Read more
Rating 0
Comments 0

Composable Contexts Architecture

Reading time 5 min
Views 1.7K
Development for iOS *Swift *
Tutorial

Let’s talk about app architecture and the approach I apply as an iOS software engineer in a few companies. My team and I were trying to build something solid without slipping into a dense swamp where following the rules distracts you from actual business domain code. As a result, we got something that works for us and good enough to be told from my point of view.

Read more
Rating 0
Comments 0

SwiftUI and MVI

Reading time 5 min
Views 5K
Development for iOS *Development of mobile applications *Swift *

UIKit first appeared in iOS 2, and it is still here. Eventually we got to know it well and learned how to work with it. We have found many architectural approaches. MVVM, the most popular architecture in my opinion, has strengthened its position with the release of SwiftUI, while other architectures seemed to have some kind of problematic relationships with SwiftUI.

But what if I told you that Clean Swift, VIPER and other approaches can be adapted to SwiftUI. What if I told you that there are some modern architectures which might be as good as MVVM or even better.

We will talk about MVI.

Read more
Rating 0
Comments 0

React Native: The First Choice of Mobile App Developers and Businesses

Reading time 5 min
Views 2.1K
Development for iOS *Development of mobile applications *Development for Android *Mobile applications design *
image

Let’s discuss why mobile app developers select React Native for application development over other cross-platform frameworks.

While few users continue to work with the Native development approach, those who want to succeed in their business have started exploring new opportunities. One such occasion in this technically advanced world is to turn toward cross-platform frameworks.

Out of 2.8 million apps available on the Google play store and 2.2 million apps in Apple App Store, there is a growing need for cross-platform applications. The significant advantage of a cross-platform mobile application is that it helps businesses save development costs. This is where React Native comes into action.

In the middle of this, if you are a businessman and thinking of hiring mobile app developers and there is a continuously running debate in your mind “React Native vs Native” then this post is for you.
Read more →
Total votes 1: ↑1 and ↓0 +1
Comments 6

Confusing extensions in Swift

Reading time 4 min
Views 1.5K
Development for iOS *Swift *Development for MacOS *Development for Linux *
Sandbox
This post is a little bit the information aggregator. If you find a mistake, you could write to me about it I really appreciate that. Have a nice read.

Example with JSONDecoder


What would happen if we run the following piece of code?

struct Test<T>: Codable where T: Codable {
    enum CodingKeys: String, CodingKey {
        case value
    }
    
    let value: T
    let info: String
}

extension Test {
    init(from decoder: Decoder) throws {
        let container = try decoder.container(keyedBy: CodingKeys.self)
        self.value = try container.decode(T.self, forKey: .value)
        self.info = "Default init(from decoder:)"
    }
}

extension Test where T == String {
    init(from decoder: Decoder) throws {
        let container = try decoder.container(keyedBy: CodingKeys.self)
        self.value = try container.decode(T.self, forKey: .value)
        self.info = "Custom init(from decoder:)"
    }
}

let data = #"{"value":"Hello, World!"}"#.data(using: .utf8)!
let object = try? JSONDecoder().decode(Test<String>.self, from: data)
print(object.debugDescription)

Try thinking for 5 seconds about the result.

The result
Optional(
    Test<String>(
        value: "Hello, World!", 
        info: "Default init(from decoder:)"
    )
)


Read more →
Rating 0
Comments 0

What App Stores can you consider except Apple App Store and Google Play Store? Here are 6 Alternative App Stores

Reading time 3 min
Views 6K
Development for iOS *Development for Android *Games monetization *Games promotion *

Recently Epic Games’ Fortnite was removed from the Apple App Store and Google Play Store. The main reason being Epics bypassing of in-app purchases instead of using the officially sanctioned system for both platforms. While it is still possible for you to download Fortnite directly, this large scale case brings to light the duopoly of Apple and Google in the mobile market.

For most developers, these two stores account for almost all of their revenue and userbase. While Epic Games will be fine to go without, for the time being, what about the other 99% of developers who rely on these two stores for distributing and monetizing their apps. In this article, we’ll provide some of the alternative stores available for both developers and consumers for finding or distributing apps.

For one reason or another, you may have found yourself wondering, ‘where are some other places I can go to find and download new apps and games for my mobile device’? Or ‘are there any other marketplaces for me to share my apps’?

Читать далее
Total votes 1: ↑0 and ↓1 -1
Comments 4

Sberbank Online iOS testing

Reading time 6 min
Views 2.1K
Сбер corporate blog Development for iOS *Mobile applications testing *
Tutorial
Theory of testing is usually differs from practice. Today we want to talk about our practical experience in testing application's code which is used by millions of iOS users and about the difficult path that our team finished in order to achieve stable code.

Let’s imagine: the developers successfully convinced themselves and the business of the need to cover the code with tests. Over time, in the project were created more than a dozen thousand unit- and more than a thousand UI-tests. Such a large test base araised several problems, and we successfully found the solution for them.
Read more →
Total votes 7: ↑7 and ↓0 +7
Comments 0

Here are the Most Popular Video Conference APIs To be Considered for your Mobile App

Reading time 8 min
Views 20K
Development for iOS *Development of mobile applications *Development for Android *API *Video conferencing
As the world rearranges into virtualized societal norms, the most convenient and simplified interaction for businesses or socially has come from video-based apps. Extensive use of these conferencing apps is trending Post COVID-19 pandemic.
Statista.com has tracked the high number of video conference app downloads from AppStore and GoogleStore for the following
:
Video conferencing App / Country Hangouts Meet Houseparty Ms Teams Zoom
USA 30 8 11 4
France 23 30 16 2
Germany 15 26 11 17
Spain 64 2360 15 27
Italy 140 423 30 55

Read more →
Total votes 3: ↑3 and ↓0 +3
Comments 2

How to cook reactive programming. Part 1: Unidirectional architectures introduction

Reading time 7 min
Views 1.9K
Development for iOS *Functional Programming *Xcode *Swift *Mobile applications design *

Recently I wrote an article What is Reactive Programming? iOS Edition where in a simple way I described how to build your own Reactive Framework, and helped you to understand that no-one should be scared by the reactive approach. The previous article could now be named How to cook reactive programming. Part 0., since this is a continuation. I would recommend reading the previous article if you are not familiar with the reactive programming concepts.

Read more →
Total votes 3: ↑3 and ↓0 +3
Comments 0

Custom instruments: When signpost is not enough

Reading time 7 min
Views 1.9K
Сбер corporate blog Development for iOS *Development of mobile applications *Swift *Mobile applications testing *
Tutorial
In our previous article, we discussed the reasons of unit-tests’ instability and how to make them stable. Now let’s look through a new tools for debugging and profiling which were introduced by Apple in iOS 12 — the framework os_log and instrument for performance analysis os_signpost.

image

In one of the sprints, we were tasked with implementing the generation of a pdf-document on the client-side. We completed the task. But we wanted to make sure the effectiveness of the technical nuances of the decision. Signpost helped us with this. Using it we increased he document’s displaying speed several times.

To learn more about os_signpost application technology, see where it can help you and how it has already helped us, go further forward.
Read more →
Total votes 8: ↑8 and ↓0 +8
Comments 0

What is Reactive Programming? iOS Edition

Reading time 10 min
Views 2.8K
Development for iOS *

There are many articles about Reactive Programming and different implementations on the internet. However, most of them are about practical usage, and only a few concern what Reactive Programming is, and how it actually works. In my opinion, it is more important to understand how frameworks work deep inside — spoiler: nothing actually complicated there — rather than starting to use a number of traits and operators meanwhile shooting yourself in the foot.


So, what is RxSwift Combine Reactive programming?

Read more →
Total votes 3: ↑3 and ↓0 +3
Comments 2

Signpost: When Breakpoints are not Enough

Reading time 7 min
Views 1.1K
Сбер corporate blog Development for iOS *Xcode *Swift *Mobile applications testing *
Tutorial

Instruments for Apple's Xcode is a tool for performance analysis of an iOS application. In 2018 Apple introduced Custom Instruments — an opportunity to expand the standard set of instruments for application profiling. When existing tools are not enough, you can create new ones yourself — it will collect, analyze and display the data the way you need.




Read more →
Total votes 3: ↑3 and ↓0 +3
Comments 0

The Worst Mistakes In Mobile App Development

Reading time 7 min
Views 2.4K
Development for iOS *Development of mobile applications *Development for Android *Business Models *Software
image

Alright, so you have just planned to hire developers for a Mobile App which could potentially steer your business ahead. The reasons for your decision would be quite obvious on the surface. Mobile App development is a core part of today’s businesses. It provides a near-perfect platform to serve customers through the portable devices they own.

But it’s easy to be a sheep! If you really try to understand this market, you’ll realize that more than half of the apps fail to earn revenue, and a significant amount of them barely cross 1,000 downloads. As per a Gartner report, it was found that barely 0.01 percent apps will find financial success by the year 2018.
Read more →
Total votes 1: ↑1 and ↓0 +1
Comments 2

How 5G's Acceleration will move through the Mobile App Development Space?

Reading time 6 min
Views 1.1K
Website development *Development for iOS *Development of mobile applications *Development for Android *Development for IOT *
Sandbox
5G ( Fifth Generation Wireless Cellular Network) is not just a possibility anymore. The forthcoming of 2020 has unfold avenues for 5G browser capabilities in smartphones.

With the recent 5G rollout, it has been predicted that over 1.4 billion devices will be running on the 5G network by 2025 — accounting for 15% of the global total.

image
Source: Google Images
Read more →
Total votes 10: ↑8 and ↓2 +6
Comments 0
1

Authors' contribution