목록전체 글 (127)
소피it블로그
https://docs.swift.org/swift-book/LanguageGuide/Methods.html Methods — The Swift Programming Language (Swift 5.6) Methods Methods are functions that are associated with a particular type. Classes, structures, and enumerations can all define instance methods, which encapsulate specific tasks and functionality for working with an instance of a given type. Classes, struc docs.swift.org 메서드는 특정 타입과 ..
https://docs.swift.org/swift-book/LanguageGuide/Properties.html Properties — The Swift Programming Language (Swift 5.6) Properties Properties associate values with a particular class, structure, or enumeration. Stored properties store constant and variable values as part of an instance, whereas computed properties calculate (rather than store) a value. Computed properties a docs.swift.org 4. 프라퍼..
https://docs.swift.org/swift-book/LanguageGuide/Properties.html Properties — The Swift Programming Language (Swift 5.6) Properties Properties associate values with a particular class, structure, or enumeration. Stored properties store constant and variable values as part of an instance, whereas computed properties calculate (rather than store) a value. Computed properties a docs.swift.org 프라퍼티는 ..
https://docs.swift.org/swift-book/LanguageGuide/ClassesAndStructures.html Structures and Classes — The Swift Programming Language (Swift 5.6) Structures and Classes Structures and classes are general-purpose, flexible constructs that become the building blocks of your program’s code. You define properties and methods to add functionality to your structures and classes using the same syntax you d..