1,676
4
Essay, 2 pages (400 words)

Objective-c intro assignment

Q1. What were you able to get to work? (Illustrate with screen shots. ) I (we) had to revise our orginal idea for developing a mobile application for a website as the site was not compatible with development for X-Code, & more specifically Objective-C language. So we switched gear and built an app for ourselves. This iPhone application (supposed to) log books that you want to read in the future (or authors, subject matter), search it on Amazon and then store it to a list to make it viewable at a latter date.

So far we’ve gotten the app to search amazon from the application and open a new web browser with the listing of the book. Below is a picture of the app and its search result: [pic] Q2. How does your program work, in outline? X-Code (the compiler for Objective-C) builds it’s projects a little differently. In Python or C++, we have our class, struct’s, & functions all in the same document. However, X-Code splits up the delegation of these tasks to individual documents: [pic]

We have two programs here essentially: AppDelegate & VeiwController. AppDelegate contains the code for the action that we want the application to perform. AppDelegate is split into . h & . m. . h are the command functions and . m is essentially the main function. Something to note about . m (or the main function), is that like our other two languages, it’s the source for calling all the functions in . h & and any directories that need to be used can be called from here as well. [pic]

This is a shot from AppDelegate. m: the @synthesize & @implementation commands are calling our other objective holders. Obejective holders essential have the same definition in Objective-C as they do in Python with the instance of classes: they can contain not only an operation but a type as well, and are bundled together. Another thing to note is the use of void here, where again, like in C++ and Python we don’t want our main function returning anything. Q3. What did you learn from doing this?

We learned that Objective-C has a lot of similarities to C++ & Python, as do most languages. This is great to know going forward in the future when trying to pick up other languages. Q4. Include your statement of when you began work on the assignment, and how much time you spent on it. Be sure to include any time you spent preparing for the Basic Skills Check. So far we have spent roughly 10+ hours working our project. More progress probably could have been made if we hadn’t had to learn a new language.

Thank's for Your Vote!
Objective-c intro assignment. Page 1
Objective-c intro assignment. Page 2
Objective-c intro assignment. Page 3

This work, titled "Objective-c intro assignment" was written and willingly shared by a fellow student. This sample can be utilized as a research and reference resource to aid in the writing of your own work. Any use of the work that does not include an appropriate citation is banned.

If you are the owner of this work and don’t want it to be published on AssignBuster, request its removal.

Request Removal
Cite this Essay

References

AssignBuster. (2022) 'Objective-c intro assignment'. 3 October.

Reference

AssignBuster. (2022, October 3). Objective-c intro assignment. Retrieved from https://assignbuster.com/objective-c-intro-assignment/

References

AssignBuster. 2022. "Objective-c intro assignment." October 3, 2022. https://assignbuster.com/objective-c-intro-assignment/.

1. AssignBuster. "Objective-c intro assignment." October 3, 2022. https://assignbuster.com/objective-c-intro-assignment/.


Bibliography


AssignBuster. "Objective-c intro assignment." October 3, 2022. https://assignbuster.com/objective-c-intro-assignment/.

Work Cited

"Objective-c intro assignment." AssignBuster, 3 Oct. 2022, assignbuster.com/objective-c-intro-assignment/.

Get in Touch

Please, let us know if you have any ideas on improving Objective-c intro assignment, or our service. We will be happy to hear what you think: [email protected]