iOS Development

Course No. 10-152-139

Assignment 18-2

  • Create a new Xcode command-line project. Name the project Assignment-18-2.
  • Add a class to the project named XXXBook. (Use your initials for XXX. It needs to be three characters.)
  • Add several properties. The properties should include things like title, author, and also include some numbers like maybe page count or price.
  • In the main.m file create a few instances of your class. Use the setter methods to add data to the instances.
  • Output each of the book objects with an NSLog statement. The output should look something like this. (NSLog timestamp omitted below. Your output will have the timestamp.)