Skip to content

QuizApp Abdullah AlQahtani - #25

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

QuizApp Abdullah AlQahtani#25
abalqahtani wants to merge 1 commit into
Tuwaiq-iOS-ContentTeam-2021:mainfrom
abalqahtani:main

Conversation

@abalqahtani

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()

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

حاول تكتب ما تكتب الاكواد مباشرة داخل View Did Load
عرف دالة واستدعيها

}
@objc func foo(){

counter += 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.

لما تزيد العداد بواحد وهو صفر راح يعرض لك ثاني index من مصفوفة الاسئلة
يعني راح يعرض ثاني سؤال

view.backgroundColor = .darkGray

}
@objc func foo(){

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

سمي الدوال باسماء لها دلالة ومعنى

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.

3 participants