Developing Auto Resizing Cells based on content using UIStackView in UICollectionView

Image for post
Image for post
AutoResizable UICollectionView Cells- FiltersUI

One of the best ways to achieve a horizontally scrollable Filters UI is by using UICollectionView. A developers go-to is UICollectionView when it’s come to create a customised layout designs.

I personally use UICollectionView a lot because we can easily develop a complex layout designs using UICollectionView. I personally struggled working with UICollection when I’m learning iOS Development for the first time.But once we get to know how it works then it’s become easy to do.

In this project, we are going to build a Filters UI Design using UICollectionView.


Developing a Movie Trailer App For Both iPhone and iPad Using SwiftUI

Image for post
Image for post
Movie Trailer App — iPad and iOS

One of the latest framework that Apple has introduced in WWDC19 is SwiftUI and Combine. If in case missed it, SwiftUI is a new way of making UI in a declarative way. Combine works along with SwiftUI and provides a declarative Swift API for processing values such as UI or Network events.

For SwiftUI beginners, I recommend you to read this article which explains the basics of SwiftUI.

In this project, we are going to build a Movie Trailer App using SwiftUI concepts.


Are you planning to build a cross-platform Android, iOS or Windows app? Before dive into Xamarin development, it is best to look at the several features that the development framework has to offer.

Image for post
Image for post

1) Introduction to Xamarin

Xamarin is one of the oldest cross-platform frameworks available. Founded in 2011, Xamarin community has grown to 1.4M developers across 120 countries. The project was acquired by Microsoft in 2016 and became part of its Visual Studio IDE.

The technology is mainly used in enterprise environments and has gained many positive reviews over the years. …


One of the latest framework that Apple has introduced in WWDC19 is SwiftUI. In this article, you will learn how to integrate SwiftUI with UIKit and how to develop Xcode Previews for UIKit’s ViewController.

Image for post
Image for post
ScreenShot —Impementation of UIKit and SwiftUI

For beginners, I recommend you to read this article which explains the basics of SwiftUI and these articles which shows how to work with SwiftUI.

In this article, we are going to develop a simple project explaining

  • How to load and assign an image from URL in UIKit and SwiftUI
  • How to bring Xcode previews for UIKit’s View controllers.
  • How to integrate SwiftUI into UIKit

Let’s get started by creating a new project in Xcode 11

Generate Xcode Preview and Work with UIKit’s Views

1) StoryBoard Designing (UIKit)


We are going to develop a ContactsBook App(Android & iOS) in MVVM Architecture using Xamarin Forms then learn how to do CRUD (Create, Read, Update and Delete) operation in the SQLite database.

Image for post
Image for post
Photo by Arian Darvishi on Unsplash

Xamarin.Forms is an open-source cross-platform framework from Microsoft for building iOS, Android, & Windows apps with .NET from a single shared codebase. Using Xamarin.Forms built-in pages, layouts, and controls we can build and design mobile apps from a single API that is highly extensible.

If you are a beginner in Xamarin Development, check out this article because I have explained in detail everything you need to know before starting Xamarin development. …


With Xamarin.Forms 4.3, we can now use CollectionView in your apps without the need for the Experimental flag enabled.

Image for post
Image for post
Photo by Farzad Nazifi on Unsplash

CollectionView is a flexible and performant view for presenting lists of data using different layout specifications. It aims to provide a more flexible, and performant alternative to ListView.

With Xamarin.Forms 4.3 stable release marks the removal of the experimental flag from collectionView as it moves into stable status. CollectionView is built to be fast, uses modern, native controls, and removes the concept of ViewCells.

CollectionView is available on iOS and Android, but is only partially available on the Universal Windows Platform.

In this article, we’ll dive into some of the main features of CollectionView in Xamarin Forms .We’ll …


Images are a crucial part of application navigation, usability, and branding. Xamarin Forms can be able to share images across all platforms, but also potentially display different images on each platform.

Image for post
Image for post
Photo by Norbert Levajsics on Unsplash

What we are going to learn from this article?

  • Learn about what are the different methods of working with images and explaining each one in detail
  • How to work with images in C# code and also in XAML

1) Image in Xamarin Forms

Xamarin Forms uses the Image view to display images on a page. Images can be loaded from a local file, an embedded resource, or downloaded from web or server. …


Image for post
Image for post
Recreated Setttings App — iPhone XR

One of the latest framework that Apple has introduced in WWDC19 is SwiftUI and Combine.

If incase you missed it, SwiftUI is a new way for making you UI in a declarative way. Combine works along with SwiftUI and provides a declarative Swift API for processing values such as UI or Network events.

For SwiftUI beginners,I recommend you to read this article which explains the basic’s of SwiftUI and this articles which shows how to work with SwiftUI.

In this project, we are going to recreate Settings app in iPhone XR using SwiftUI concepts.

By building Settings App, we are going to learn…


Image for post
Image for post
Puzzle Game using Drag and Drop

In this sample project we are going to how implement Drag & Drop in iOS application using Swift language. I’m going to show you how it works and how to develop a simple puzzle app in your application. In this tutorial, we are going to see:

- Introduction

  • What is Drag & Drop?
  • How to use Drag and Drop APIs to develop simple Puzzle Game.

In this puzzle game, we are going to implement:

  • Show Hint image only once for each puzzle
  • Implemented Timer to show Hint image for a short period of time.
  • Make sure puzzle image are arranged in random order every time puzzle is shown to solve. …


Image for post
Image for post
Apple’s new SwiftUI framework introduction in WWDC2019

Apple has introduced latest framework SwiftUI and Combine in WWDC19 .

If you missed it, SwiftUI is a new way for making you UI in a declarative way. Combine works along with SwiftUI and provides a declarative Swift API for processing values such as UI or Network events.

In this project, we are going to see how to do fetch JSON values from API and integrating of MapKit in SwiftUI. I have also load image from the remote URL.

I have written article about how to load images from remote URL. You can find that article in this link.

We are going to use this API URL to get user details like name,address,mobile number , latitude and longitude values. …

About

Shankar Madeshvaran

iOS and Xamarin Developer.I love to write articles regarding Techs,iOS and Xamarin concepts. Follow me on GitHub: https://github.com/shankarmadeshvaran

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store