concept functionality in category swift

appears as: functionality, functionality
Hello Swift!: iOS app programming for kids and other beginners

This is an excerpt from Manning's book Hello Swift!: iOS app programming for kids and other beginners.

You can see that teamsArr is formatted with newlines, whereas scoresArr isn’t. This doesn’t change the functionality of teamsArr; it makes the array more readable for the developer.

You may be thinking, “Hey, Tanmay, that was pretty easy! I drew lines, but I didn’t need to code the line-drawing part. How was that possible?” The secret is that I shared code with you through classes. Classes are great for sharing code, and there’s one more thing you should know: classes hide functionality from the coder. I hid the code for drawing lines from you, for example, so you added that code in the form of a class that I already wrote. After that, you drew lines by creating an instance of the class Connector with the required parameters inside the initializer.

iOS Development with Swift

This is an excerpt from Manning's book iOS Development with Swift.

  • Foundation framework of the Core Services layer— Provides additional features and functionality for basic data types. Foundation also adds basic classes and utilities, such as URLs, timers, formatters, and notifications.
  • If you don’t have all the devices you need screenshots for, don’t worry—you don’t necessarily need to access a physical device for screenshots. If you can demonstrate the app’s functionality sufficiently on the simulator, you can save screenshots directly to your Mac’s desktop using Command-S.