Skip to content

Nouf Naif - #10

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

Nouf Naif #10
NoufN wants to merge 1 commit into
Tuwaiq-iOS-ContentTeam-2021:mainfrom
NoufN:main

Conversation

@NoufN

@NoufN NoufN commented Dec 1, 2021

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.

يعطيك العافية على هذا الاحسان يا نوف

class ViewController: UIViewController {


var label = UILabel(frame: CGRect(x: 98, y:133, width: 219, height: 53))

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.

بيكون افضل لو حطيتي هذي الاكواد في دوال وهنا تستدعينها



func imageViwe(userAnswer : String , rightAnswer :Int) {
if Int(userAnswer) == rightAnswer {

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.

2 participants