본문 바로가기

반응형

IT/swift

(13)
Windows10 에 Swift 설치하기 1. Visual Studio Installer 이용 필수 컴포넌트 설치 Visual Studio 설치페이지에 가서 ( visualstudio.microsoft.com/ko/ ) 인스톨러를 다운받은후, 스위프트 설치페이지에 있는 swift.org/getting-started/#installing-swift Swift.org Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns. swift.org 필수 다운로드 패키지를 설치해 줍니다. 한글 Visual Studio Installer 에서는 개별구성요소를 이용해서, 각각을 찾아서..
Ubuntu20 에 swift5 + vapor4 설치하기 1. Ubuntu20.0.4 LTS 버전 설치 2. 한글 locale 설정 epicarts.tistory.com/30 ubuntu-18.04.2-live-server-amd64 설치(4) 한글 설치 설정- 리눅스 보안 실습(Kali Linux) 여기서는 한글 설치를 하겠습니다. live 버전이라 처음 설치에 한글이 없었기 때문에 따로 설치를 해줘야 됩니다. apt-get isntall language-pack-ko 위 명령어를 통해 한글 언어팩을 설치할 수 있습니다. � epicarts.tistory.com 3. sshd 설치 & 설정 www.lesstif.com/lpt/sshd-server-24445601.html 우분투 데스크탑 sshd server 활성화 www.lesstif.com 4. swift..
라즈베리파이에 swift 설치 우분투에 swift 설치해서 공부해본다고 한지가 엊그제 같은데.. 벌써 시간이 이렇게 되었군요.. 어쨌든, 집에서 놀고 있는 라즈베리파이 파트2 swift 도 설치했습니다. 간단히 apt-get 으로 설치가 가능합니다. 그것도 최신버전으로 ( swift5 ) https://lickability.com/blog/swift-on-raspberry-pi/ Swift on Raspberry Pi Raspberry Pi is a small, cost-effective, single-board computer with potential only limited by its computing power. It is also well-known by hobbyists and technologists alike. It’s..
Java를 해본사람이 Swift 익혀보기 스위프트 라는 언어를 익혀보고 있습니다. 맥프로가 생겨서, 맥os 에 대한 궁금증(?) 을 풀어보기 위해 시작했습니다. 사실 어플 만들어서 돈을 벌어 보고 싶... 음음.. 1. 변수 선언 방법이 다르다. 변수와 상수 에 따라 var, let 으로 선언하며, 타입은 visual basic 같이 변수명 뒤에 선언 합니다. var tempInt:Int var tempString:String 세미콜론 안써도 됩니다 2. 제어문 , 반복문 사용시 괄호 를 않씁니다. if a==b { print("a==b") }else{ print("a!=b") } for i in 1...10 { print (i) } repeat{ num += 1 } while num < 10 익숙하지 않아 아직도 자꾸 괄호를 써서 컴파일 오류..
Ubuntu 18.04 LTS 에 swift 환경 설정 $ cd ~ # home directory で作業 $ sudo apt-get install clang libicu-dev libcurl4 $ wget https://swift.org/builds/swift-4.2-release/ubuntu1804/swift-4.2-RELEASE/swift-4.2-RELEASE-ubuntu18.04.tar.gz $ tar xvpf swift-4.2-RELEASE-ubuntu18.04.tar.gz $ export PATH=~/swift-4.2-RELEASE-ubuntu18.04/usr/bin:$PATH 이렇게 간단한걸 ㅠㅠ 사실 사무실 환경이 offline 환경이라 이걸 어떻게 해결할지가 더 힘들었다.... 이건 apt-offline 이라는 훌륭한 방법을 이미 만들어 놔서 ..

반응형