Open in app

Sign In

Write

Sign In

Isa Aliev
Isa Aliev

21 Followers

Home

About

Apr 2, 2022

Unifying Table and Collection Views Presentation Logic Within MVVM. Part 3

In the previous parts I mostly described the view and viewModels’ list binding technic that allows you to build your lists in declarative way. In this part I am going to show how you can completely erase the difference between building TableView and CollectionView. There is a problem behind any…

Swift

3 min read

Unifying Table and Collection Views Presentation Logic Within MVVM. Part 3
Unifying Table and Collection Views Presentation Logic Within MVVM. Part 3
Swift

3 min read


Aug 12, 2021

Full screen modal view in SwiftUI (iOS 13)

When building app using SwiftUI you can come across some limitations it has. One of such limitations is that we cannot open another view full screen using .sheet modifier. It’s very sad. But here is workaround I found and would like to share with you! Suppose we have tab view…

Swiftui

2 min read

Full screen modal view in SwiftUI (iOS 13)
Full screen modal view in SwiftUI (iOS 13)
Swiftui

2 min read


Apr 10, 2021

Ways to make UICollectionView cell define its size itself.

Working with collection view may seem to be complicated. One of the main reasons developers choose table views over collection views is that you don’t have to “suffer” with layout, you only specify the height of a row and that’s it. Moreover, it’s pretty straightforward how to make table view…

Swift

2 min read

Swift

2 min read


Published in The Startup

·Nov 28, 2020

Tip on using Objective-C methods inside Swift protocol extension

Problem I love building reusable components based on protocols, that can provide additional functionality for adopters. And sometimes I want to add for example gestures on UIView subclasses adopters. So I have to add method that adds gesture recognizer and sets it target and action to handle it. Remember that action…

Swift

2 min read

Tip on using Objective-C methods inside Non-ObjC Swift extension
Tip on using Objective-C methods inside Non-ObjC Swift extension
Swift

2 min read


Published in The Startup

·Oct 18, 2020

Unifying Table and Collection Views Presentation Logic Within MVVM. Part 2

Hello! Here we are going to create a super simple list using things described in part 1. In the end, we will have this screen done. Yeah, it doesn’t look cool, but the article is not about design :) Download starter project: IsaAliev/MVVM-Lists-Sample-Starter You can't perform that action at this time. You signed in with another tab or window. You signed out in another tab or…github.com I have already setup all the needed UI…

I OS

4 min read

Unifying Table and Collection Views Presentation Logic Within MVVM. Part 2
Unifying Table and Collection Views Presentation Logic Within MVVM. Part 2
I OS

4 min read


Published in The Startup

·Oct 17, 2020

Unifying Table and Collection Views Presentation Logic Within MVVM. Part 1

Hello! Using table and/or collection views (I will name them lists throughout the article) is very common for any iOS app. If you care about following programming principles, you are probably wondering how can ViewModel be agnostic about View in its list representation. What is more, you want to be…

Mvvm

4 min read

Mvvm

4 min read


Dec 29, 2019

Certificate-based authentication when using MobileIron MDM on iOS

Recently I was to implement certificate-based authentication for enterprise app. When I read documentation for integrating AppConnect SDK (MobileIron’s mobile SDK for wrapping an app), there was mentioned that you do not have to do anything to adopt certificate based authentication to your enterprise services. …

I OS

1 min read

I OS

1 min read


Dec 28, 2019

Do not lose your cookies (iOS)

Recently I was working on client certificate-based authentication. The app is for enterprise, so is distributed through MDM. In my case it was MobileIron. Thus the app is using MobileIron mobile AppConnect SDK for iOS. The problem rose up when I managed to properly set the app configuration through MobileIron Core, but authentication still failed. The process of authentication was driven by numerous redirects. Every next redirect response contained Set-Cookie header with cookies that were obviously important for next request caused by the response.

I OS

1 min read

I OS

1 min read


Nov 2, 2019

Original MVVM applied to iOS. Properties and Commands

I have been developed iOS applications within MVVM architecture for a long time and every time I start new project I try to reduce distance between “perfect” MVVM and my MVVM. This time I try to get closer to what I saw when searched for original MVVM applications within WPF…

I OS

2 min read

Original MVVM applied to iOS. Properties and Commands
Original MVVM applied to iOS. Properties and Commands
I OS

2 min read


Mar 13, 2019

Staty: View’s State Switching within MVVM Architecture

There are a lot of articles about implementing state-machine in iOS application, but they do not take into consideration one iOS specific thing — transition to a state may take some time to complete and while it’s completing transition to another state may not be possible. Consider the following situation. Your…

I OS

4 min read

Staty: View’s State Switching within MVVM Architecture
Staty: View’s State Switching within MVVM Architecture
I OS

4 min read

Isa Aliev

Isa Aliev

21 Followers

iOS-Developer from Russia

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech