본문 바로가기

반응형

분류 전체보기

(127)
[Spring] 폴더구조 src-resources: 리소스파일 test: 테스트 build.gradle: 프로젝트 설정 build.gradle plugins { id 'java' id 'org.springframework.boot' version '3.2.3' id 'io.spring.dependency-management' version '1.1.4' } group = 'hello' version = '0.0.1-SNAPSHOT' java { //java 17버전 의미 sourceCompatibility = '17' } repositories { //dependencies 에 있는 라이브러리를 설치하는장소? mavenCentral() } dependencies { //처음에 셋팅한 thymeleaf 라이브러리 implement..
[Spring] 초기 셋팅 https://start.spring.io/ project -Maven: 옛날에 사용 -Gradle: 요즘추세 (선택) Language -Java (선택) Spring Boot -SNAPSHOT: 만들고 있는 버전 -M1: 정식 릴리즈 된 버전이 아니다 -3.2.3 (선택) Project Meta [Group]: 보통 기업명 [Artifact]: 빌드된 결과물 Dependencies : 어떤 라이브러리를 사용할지 설정 -Spring Web -Thymeleaf [GENERATE] 버튼 선택
[Swift] xcode 단축키 1. swift ui 표시 command + shift + L 2. 주석 command + /
[Swift] url 자료 1. Swift UI https://developer.apple.com/tutorials/swiftui Introducing SwiftUI | Apple Developer Documentation SwiftUI is a modern way to declare user interfaces for any Apple platform. Create beautiful, dynamic apps faster than ever before. developer.apple.com 2. Swift 문서 (한국어) https://bbiguduk.gitbook.io/swift/
[Swift] 구조체 및 preview // // MyStruct.swift // MyFirstApp // // Created by 정나원 on 12/14/23. // import SwiftUI struct UserInfo { } struct MyStruct: View { let name: String let age: Int? var body: some View { VStack { Text(name) Text(age?.description ?? "100") Button { sayMyName(with: name) } label: { Text("Button") } } } func sayMyName(with name: String) { print(name) } } struct MyStruct_Previews: PreviewProvider{ stat..
[Swift] 교집합, 합집합, [String:String] import SwiftUI struct Variable: View { let name = "nawon" let age:Int = 20 let hasJob: Bool = true let enkoDictionary = ["Apple":"사과", "Banana":"바나나", "Coconut":"코코넛"] let houseAnimal: Set = ["🐶", "🐱","🐹"] let farmAnimal: Set = ["🐻","🐼","🐮", "🐱","🐹"] var body: some View { VStack { Text(name) Text(name) Text("hello, \(name) \(age) \(hasJob.description)") Text(enkoDictionary["Apple"]!) Text(houseA..
[Swift] 변수와 text 문구 표시 및 Bool일때 import SwiftUI struct Variable: View { let name = "nawon" var body: some View { VStack { Text(name) Text(name) Text("hello, \(name)") } } } #Preview { Variable() } import SwiftUI struct Variable: View { let name = "nawon" let age:Int = 20 let hasJob: Bool = true var body: some View { VStack { Text(name) Text(name) Text("hello, \(name) \(age) \(hasJob.description)") } } } #Preview { Variable() } ..
[Swift] xcode 와 SF Symbols 설치 1. xcode 설치 https://developer.apple.com/download/applications/ 2. SF Symbols 설치 https://developer.apple.com/sf-symbols/ SF Symbols - Apple Developer With over 5,000 symbols, SF Symbols is a library of iconography designed to integrate seamlessly with San Francisco, the system font for Apple platforms. developer.apple.com
[Java] 접근 제어 지정자 같은 클래스 같은 패키지 자식 클래스 전체 public O O O O protected O O O X default O O X X private O X X X
[Swift] Swift 애플 공식 문서 1. 공식사이트 https://developer.apple.com/swift/ Swift - Apple Developer Swift is a powerful and intuitive programming language for iOS, iPadOS, macOS, tvOS, and watchOS. Writing Swift code is interactive and fun, the syntax is concise yet expressive, and Swift includes modern features developers love. developer.apple.com https://docs.swift.org/swift-book/documentation/the-swift-programming-language/

반응형