Skip to content

IvanGzx/SwiftExtension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Useful swift extension

Introduction

Share some useful swift extension e.g. easy way to set up auto layout programmatically

Code Samples

Code Sample:

set auto layout addConstraintsWithFormat("V:|-8-[v0(44)]-4-[v1]-4-[v2(200)]-8-[v3(24)]-8-[v4(0.4)][v5(44)]|", views: ImageView, TextView, ImageView, Label, View, Button)

Installation

Add extension file to your project or copy those code to your extension files.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages