Object-Oriented Programming
From Xojo Documentation
Contents
Object-oriented programming (OOP) is a style of programming based on "objects", which are data structures that contain data (properties) and code (methods). These data structures are called "classes". Classes are the fundamental building blocks of all Xojo applications.
Object-oriented concepts, including classes and concepts that apply to classes are covered: Encapsulation, Overloading, Inheritance and Polymorphism.
Overview
The entire Xojo language and the concepts you have previously learned (in the Xojo Language topics) are shared with OOP, including
In the Object-Oriented Programming section you'll learn how classes are used to create objects that are then used to create reusable code in your projects.
If you are already familiar with object-oriented programming, Xojo uses an object model that is similar to C#, Java and other single-inheritance OOP languages.
OOP Topics
- Classes
- OOP Design Concepts
- Class Properties, Methods and Events
- Constructors and Destructors
- Interfaces
- Subclassing Examples
- Advanced Features
Additional Learning
The User Guide does not cover object-oriented programming in its entirely; it's a large subject. Here are some resources to help you learn more: