Question: helo with this question(excerise 9) is objective c in Xcode im suppose to do something in this Mypoint class and if possible can you show

 helo with this question(excerise 9) is objective c in Xcode im

helo with this question(excerise 9) is objective c in Xcode

im suppose to do something in this Mypoint class

suppose to do something in this Mypoint class and if possible can

and if possible can you show a screenshot in your xcode

thanks

Now we'll go back to initializing our object with data. Calling a specially designated function for this purpose - called the constructor or initializer, does this initialization. Let's look at one such function. The actual implementation details don't matter at this point so we'll leave that out. -(instancetype) initWithX: (int) x andl: (int)y i p->x = 25; p->y 35; (note: To use the-> notation, instance vars must be public) Exercise 9: Implement the above initializer in your MyPoint class. Now we'll go back to initializing our object with data. Calling a specially designated function for this purpose - called the constructor or initializer, does this initialization. Let's look at one such function. The actual implementation details don't matter at this point so we'll leave that out. -(instancetype) initWithX: (int) x andl: (int)y i p->x = 25; p->y 35; (note: To use the-> notation, instance vars must be public) Exercise 9: Implement the above initializer in your MyPoint class

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!