전체 글
-
Swift Language ) Advanced OperatorsSwift/Swift Language 2021. 11. 11. 19:57
오늘은 Advanced Operators 부분 중 Bitwise, Overflow parts 를 제외한, Custom Operators 위주로 번역을 진행해보겠습니다. (Bit 관련 부분은 추후 다시 포스팅 수정할 수 있으니 숨김글 처리하겠습니다.) 더보기 In addition to the operators described in Basic Operators, Swift provides several advanced operators that perform more complex value manipulation. These include all of the bitwise and bit shifting operators you will be familiar with from C and Objective-..
-
-
Human Interface Guidelines - Bars - Search BarsHuman Interface Guidelines/Bars 2021. 11. 5. 03:50
Search Bars Search Bar 는 어디서나 정말 흔하게 볼 수 있는 bar 이다. Navigation bar 에 비하면 UI 측면에서 개발자가 구현할 내용들이 그렇게 많지는 않으나, 그래도 웬만하면 쓰이지 않을 수가 없는 ... 매우 중요한 bar 이니만큼 한번정도는 정독하는 것도 나쁘지 않을 것이다. Search bar 는 field 에 text 를 입력함으로써 거대한 자료 뭉터기에서 원하는 것을 찾을 수 있도록 해줍니다. Search bar 는 혼자 쓰일수도, 또는 navigation bar, content view 내에서 쓰일수도 있습니다. Navigation bar 안에서 쓰이는 경우 고정될 수 있어서, 항상 접근 가능하며 또한 유저가 아래로 스와이프해 이것을 꺼내기 전까지 쉬에 숨어있..
-
Human Interface Guidelines - Bars - Navigation BarsHuman Interface Guidelines/Bars 2021. 11. 5. 03:03
NavigationBars Navigation bar 는 status bar 바로 아래, app screen 의 가장 윗부분에 있는 bar 입니다. Series of hierarchical screens 를 이동할 때 사용되죠. 새로운 화면으로 이동하게되면 'back' button, 또는 전 화면의 이름으로 된 뒤로가기 버튼이 navigation bar 의 좌측에 나타납니다. 반드시 있어야 하는건 아니지만, Navigation bar 의 우측에는 해당 화면에서 이용할 수 있는 controls 이 있을 수 있습니다. Edit, Done, Add 기능을 하는 버튼 등이 있을 수 있습니다. Split View 에서는 한쪽 pane 에만 있을수도 있어요. (Split View 에 대해서는 또 포스팅하도록 하겠습..
-
Human interface GuidelinesHuman Interface Guidelines 2021. 11. 5. 01:30
Apple 은 까다롭다. Android 와는 달리 앱 심사에서 디자인까지 적합한지 확인한 후 Confirm 해주신다고 한다. 그런 Apple 의 조건을 맞추기 위해서 Apple에서 지향하는 Design 과 관련 개발에 대해 조금은 알고있으면 좋을 듯 하여 특히 iOS app 개발 관련 article 들을 하나하나 알아보도록 하겠다. (여기 있는 자료들을 번역하고, 본인의 경험과 연관지어 최대한 객관적으로 쓸 생각이다.) https://developer.apple.com/design/human-interface-guidelines/ios/app-architecture/launching/ 아래는 Apple 의 Human Interface Guidelines 목차이고, 여기서 주로 쓰이는 항목들을 위주로 포스..
-
Combine - 1 BasicCombine 2021. 11. 3. 14:03
1. Combine Basics Combine 에서 가장 중요한건, publishers, operators, and subscribers 에요. Combine 엔 물론 다른 요소들도 있지만, 이 세개가 없으면 할 수 있는게 많이 없답니다. 먼저, 이것들의 역할부터 알아보도록 하겠습니다. 1.1 Publishers Publishers 는, 하나 또는 여러 곳으로 (to subscribers) 값들을 보낼 수 있는 타입입니다. Publishers 의 내부 로직은 거의 모든 math calculations, networking, handling user events 이지만 모든 publisher 는 아래 세가지 타입들 로 이루어진 여러개의 events 를 보낼 수 있습니다. 1. An output value ..
-
소소한 Git ( 및 기본 terminal 명령어 )Private Memo 2021. 11. 2. 01:47
(Working Directory -> ) Staging Area 에 현재 폴더 내 모든 파일 추가 git add . (Staging Area -> )Local Repository 로 msg 를 남기며 이동. git commit -m "" (Local Repository -> ) Remote Repository 로 이동. git push -u origin (The -u flag is used to set origin as the upstream remote in your git config. As you push a branch successfully or up to date it, it adds upstream reference. As you push local branch with (the) git ..
-
Structures And Classes (Swift)Swift/Swift Language 2021. 11. 1. 16:38
안녕하세요 ! 이번에는 Structure 과 Class 에 대해 Apple Documentation 을 번역하면서 공부할게요 . Structures and Classes Structures 와 Classes 는 많은 용도로 다양하게 쓰일 수 있는 constructs 이고, 이것들을 이용해서 program 의 code 가 구성되요. Structures 와 classes 에 properties, methods 를 정의하는 방식으로 기능을 추가할 수 있고, syntax 는 constants, variable,s functions 를 만들때와 같아요. 다른 프로그래밍 언어들과는 다르게 Swift 는 custom structures, classes 에 대해 별개의 interface 와 implementation ..