Swift

· APP/Swift
아래 주소는 스위프트 관련 문법을 세세하게 공부할 수 있는 공식 가이드 문서입니다. https://docs.swift.org/swift-book/LanguageGuide/TheBasics.html The Basics — The Swift Programming Language (Swift 5.7) The Basics Swift is a new programming language for iOS, macOS, watchOS, and tvOS app development. Nonetheless, many parts of Swift will be familiar from your experience of developing in C and Objective-C. Swift provides its own vers..
· APP/Swift
이름짓기 규칙 Lower Camel Case (소문자) fuction, method, variable, constant ex someVariableName Upper Camel Case (대문자) type(class, struct, enum, extension…) ex Person, Point, Week Swift는 모든 대소문자를 구분합니다. 콘솔로그 남기기위한 방법2 print 함수 : 단순 문자열 출력 dump 함수 : 클레스의 인스턴스의 자세한 설명(description 프로퍼티)까지 출력 문자열 보관법 : String Interpolation => 프로그램 실행 중 문자열 내에 변수 또는 상수의 실질적인 값을 표현하기 위해 사용합니다. ex \() let age: Int = 10 //"안녕하세요..
개발자 aloe
'Swift' 태그의 글 목록