Skip to content

Quiz project - #24

Open
Eshraq1000 wants to merge 1 commit into
Tuwaiq-iOS-ContentTeam-2021:mainfrom
Eshraq1000:main
Open

Quiz project#24
Eshraq1000 wants to merge 1 commit into
Tuwaiq-iOS-ContentTeam-2021:mainfrom
Eshraq1000:main

Conversation

@Eshraq1000

Copy link
Copy Markdown

No description provided.

@Almatrafi-A Almatrafi-A left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

يعطيك العافية يا اشراق


override func viewDidLoad() {
super.viewDidLoad()
view.backgroundColor = .gray

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

حاولي ما تكتبين اكواد مباشرة داخل viewDidLoad
ولكن سوي دالة واستدعيها هنا

lableQuestion.text = questions[currentQuestion]


currentQuestion += 1

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

احسنتي بهذي الاضافة

currentQuestion += 1
} else {
lableQuestion.text = "finsh the Question"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

لو خليتي index
صفر هنا , عشان يرجع لأول سؤال

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants