Skip to content

inju2403/AutoLayout-Study

Repository files navigation

AutoLayout-Study

Description

This repository was created to practice various functions used for AutoLayout

Basic Lecture

  • Safe Area
  • Constraints
  • Align
  • Multiplier
  • Hugging Prioriy
  • Compression Resistance Priority
  • Rotation
  • ScrollView
  • Margin
  • StackView
  • Anchor

Calculator

  • StackView
  • cornerRadius

Dynamic Font

  • Embeded in View
  • Multiplier
  • Dynamic Font Sizing

Custom Keyboard

  • Using .xib
  • Embeded in StackView
  • Connect .xib to .swift
  • button click event using delegate pattern
  • extension

Expand Cell

  • TableView
  • delegate and datasource of TableView
  • DataModel
  • selectionStyle of Cell

Floating Button

  • visual effect with blur
  • animation using UIView.animate()
  • Damping

Graph

  • Embeded in View
  • multiflier
  • use extension to change Layout Constraint

Custom Layout

  • UIBeierPath
  • CGPath
  • CAShapeLayer
  • layer.mask
  • layoutSubviews()
  • @IBDesignable
  • @IBInspectable

Custom Switch

  • Click Event of Button
  • Touch events on UIVIew
  • animation for moving button

Pop Up

  • Multiplier
  • Opacity
  • modalPresentationStyle
  • view with Center Y, X

Sign In

  • TextField.addTarget
  • regular expression
  • Use heightAnchor.constraint(equalToConstant: 0) to make text disappear

Chat App

  • Hugging Priority
  • Stretching
  • Scrolling
  • Changes in height of TextField using NotificationCenter.default.addObserver
  • move to the last row in the table view using scrollToRow
  • dynamically change the height of a TextView using UITextViewDelegate

About

AutoLayout Study (iOS with Swift)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages