MakeSchool-Tutorials / Tip-Calculator-Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unlinking Unclear

cliffweitzman opened this issue · comments

This portion, explaining how to link two objects to one method, from the Unlinking portion is unclear
image

I would rephrase step 4. to
4. Since we need to recalculate the tip when billAmountField is filled and if tipSelector is changed, we will need to call the billAmountChanged function when either one of these user interface objects are changed. Thus, we want to call our billAmountField method every time either of these properties are changed. To do this we need to link both objects to our coded billAmountField function. To do this control-click (or right-click) and drag from the Tip % Selector to the billAmountField function written in your View Controller.

I took this photo to help simplify the explanation

screenshot 2016-06-10 14 36 28

Reshot all videos with new constraints (using stackview). Rewrite coming soon.