DEV Community

Tony.Rese5
Tony.Rese5

Posted on

1

Do you have control?

  1. What’s the difference between an outlet and an action?

    A- An Outlet is a way to reference part of your UI. For ex. when you need to change a button color or the text of a label you'd need to set up an outlet. An action on the other hand tells the UI what function to call.

  2. When might a developer want to use control events other than the default event?

    A- The developer may want to use control events when there is some specific they need done.

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →