Giter VIP home page Giter VIP logo

howtoswift's Introduction

alt text

How To Swift (Check Wiki)

How to swift includes some basics examples to do some recurrent and basics tasks in mobile apps. Keep in mind are basic examples, you can expand, modify or do what you want for specfics tasks.

Some themes included in Wiki (check it for more)

1 - How to call an API

How to create some basic API calls with native tools in Swift

2 - How to download images / Setting automatically in ImageView and caching

How to download images with string URL and assign directly to ImageView.

If you're using storyboard set your UIImageView class to CacheImageView, then call loadImage, example of ussage in ViewController, image is loaded in viewDidLoad.

3 - How to create some useful IBDesignables views

How to create some creative and beautiful elements in storyboards such as CardViews, gradients, etc.

4 - How to create a custom menu like share sheet

How to create and simulate interface of share sheet for your own menus extending from UIActivityViewController

5 - How to general utilities

  • How underline UITextField
  • How to remove extra lines when UITableView elements doesn't fit on screen
  • How to convert String to date
  • How check regex for mail in String
  • How to create QR with string
  • How to convert date to String
  • How to remove UINavigationBar line
  • How to crete and set an UIActivityIndicatorView on every view easily
  • How to check booleans from Int
  • How to call UIRefreshControl programatically
  • How to add support for iOS 12 in Xcode 11 projects

howtoswift's People

Contributors

colemacgrath avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.