https://github.com/oil3/oil3.github.io
https://github.com/oil3/oil3.github.io
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/oil3/oil3.github.io
- Owner: Oil3
- Created: 2023-12-24T10:36:37.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-10T09:29:25.000Z (about 1 year ago)
- Last Synced: 2025-10-09T13:13:06.364Z (10 months ago)
- Language: HTML
- Size: 658 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
| Modifier/Keyword | Description |
|------------------|-------------------------------------------------------------------------------------------------------------------------------------------|
| `private var` | A variable that is accessible only within the scope of the enclosing declaration, such as a class or struct. |
| `fileprivate var`| A variable that is accessible within the same source file. |
| `internal var` | A variable that has internal access (default access level), meaning it's accessible within the same module. |
| `public var` | A variable that is accessible from any file within the same module and from any module that imports the module where the variable is defined. |
| `open var` | Similar to `public var`, but it also allows the variable to be overridden by subclasses outside the module. |
| `var` | A variable that can be read and written to. It has internal access by default. |
| `let` | A constant that is assigned a value only once and cannot be changed after it's set. |
| `weak var` | A variable with a weak reference to an object. It's used to prevent strong reference cycles in closures and between class instances. |
| `static var` | A variable that is shared among all instances of a class or struct. It belongs to the type itself rather than any instance. |
| `class var` | Similar to `static var`, but it allows subclasses to override the variable's value. |
| Square symbol | Description |
|-------------------|-----------------------------------------------------------------------------------------------------------------------------------|
| `🇲 (Method)` | Indicates a method or a function. Methods are functions associated with a specific class, structure, or enumeration. |
| `🇨 (Class)` | Represents a class. Classes are blueprint templates used to create instances of objects and can contain methods, properties, and initializers. |
| `🇪 (Enum)` | Indicates an enumeration type. Enumerations group related values and enable type-safe handling of those values. |
| `🇸 (Struct)` | Represents a struct. Structs are similar to classes but are value types and do not support inheritance. |
| `🇵 (Protocol)` | Indicates a protocol. Protocols define a blueprint of methods, properties, and other requirements for specific tasks or functionalities. |
| `🇻 (Variable)` | Represents a variable or a property. Variables are storage locations for data, while properties are variables associated with classes, structures, or enumerations. |
| `🇹 (Type)` | Used for type aliases and other type-related symbols. Type aliases define alternative names for existing types. |
| `🇰 (Keyword)` | Indicates a language keyword (e.g., `if`, `while`, `return`). Keywords are reserved words in Swift with special meaning. |
| `🇦 (Attribute)` | Indicates an attribute (e.g., `@IBOutlet`, `@IBAction`). Attributes provide additional information about declarations or types. |
| `# (Preprocessor Directive)` | Represents a preprocessor directive in C and C++ (e.g., `#define`, `#import`). Preprocessor directives give instructions to the compiler before compilation. |