If we add the following method to testAppObject class, overriding the description method in NSObject, we can print information for each instance variable, including the array:
Figurative description relies on creating likenesses between objects, often through simile (e.g. like a snowflake...or fragile as a snowflake...) or metaphor. Such likenesses allow the reader to perceive the object more precisely.
Objective, Subjective, Figurative Description
Subjective description, on the other hand, includes attention to both the subject described and the writer's reactions (internal, personal) to that subject.
MAGER'S TIPS ON INSTRUCTIONAL OBJECTIVES
In this tip I’ll cover something similar as it relates to printing debug information to the console, specifically, overriding the description method of an object to provide information about instance variables.
Current Students - Missouri State University
Objective description is primarily factual, omitting any attention to the writer,especially with regards to the writer's feelings. Imagine that a robotic camera is observing the subject; such a camera has absolutely no attachment or reaction to what is being observed.
Assessment and Evaluation - New Jersey
What if I want to get the name of the object instance, any advice. or in your example, “obj”? Let’s say I have an array of objects passed to me. I know the object class, but I don’t know the name of each instance in the array, which I want to get. Thanks!!!!