This diagram here,
with only the view property set,
reflects the state of our app right now.
We've created our objects, but there
are still some connections missing.
So we still need to create this action
and invoke it on the ViewController.
We also need two properties, the count
property and the label property.
Let's go add those to our code.
،يعكس هذا المخطط الموجود هنا
،مع تعيين خاصية العرض فقط
.حالة التطبيق الآن
لقد أنشأنا الكائنات، لكن
.لا تزال توجد بعض الاتصالات المفقودة
لذا نحن لا نزال بحاجة إلى إنشاء هذا الإجراء
.واستدعائه على ViewController
كما نحتاج أيضًا إلى خاصيتين، وهما خاصية العدد
.وخاصية التسمية
.ودعونا نضيف هذه إلى التعليمة البرمجية
Este diagrama aqui,
com apenas a propriedade de exibição definida,
reflete o estado de nosso aplicativo agora.
Nós criamos nossos objetos, mas ainda
estão faltando algumas conexões.
Por isso, ainda precisamos criar esta ação
e invocá-la no ViewController.
Também precisamos de duas propriedades, a propriedade
de contagem e a propriedade de rótulo.
Vamos adicioná-las ao nosso código.