Swift Learning

I am not program in swift instead of C.
Now urgent need that a tool to show something such as heartrate wave, I decide to develop an applicaition on iOS by myself, for actual demand as well as learning.

This series is all sorted according to learninig order.

Environment

macOS 10.14.1
Xcode 10.1
  1. consider what you want to do, and add a corresponding class, for example, “classA”
  2. UI - in Main.storyboard - add object component, set its attribution(specify class - “classA”, position and so on)
  3. add variableplugin-autotooltip__default plugin-autotooltip_big@IBOutlet weak var [variable name]:[your class] and function action in ViewController
  4. Main.storyboard - pull → associate the UI and the variableplugin-autotooltip__default plugin-autotooltip_big@IBOutlet weak var [variable name]:[your class]





  • Last modified: 2018/12/24 09:47