Raywenderlich
-
Chapter 5: FunctionsRaywenderlich/Swift Apprentice 2021. 9. 2. 12:01
Version Swift 5.5, iOS 15, Xcode 13 함수(functions)는 많은 프로그래밍 언어(programming languages)의 핵심 부분(core part)이다. 간단히 말해서(simply put), 함수(function)를 사용하면 작업(task)을 수행(performs)하는 코드 블록(block of code)을 정의(define)할 수 있다. 그런 다음(then), 앱(app)에서 해당 작업(task)을 실행(execute)해야 할 때마다(whenever) 동일한 코드를 모든 곳(everywhere)에 복사(pasting)하여 붙여넣는(pasting) 대신(instead of) 함수(function)를 실행(run)할 수 있다. 이 장(chapter)에서는 자신만의 함수..
-
UITableView Infinite Scrolling TutorialRaywenderlich/Articles 2021. 8. 5. 14:43
https://www.raywenderlich.com/5786-uitableview-infinite-scrolling-tutorial UITableView Infinite Scrolling Tutorial In this tutorial you will learn how to implement an Infinite Scrolling UITableView in your iOS app using a paginated REST API. www.raywenderlich.com Version Swift 4.2, iOS 12, Xcode 10 Note: 이 튜토리얼(tutorial)은 Xcode 9 및 Xcode 10, iOS 11 및 iOS 12에서 모두 작동(works)한다. 무한 스크롤(infinite scro..
-
Chapter 4: Advanced Control FlowRaywenderlich/Swift Apprentice 2021. 8. 3. 19:13
Version Swift 5.5, iOS 15, Xcode 13 3장(chapter), "Basic Control Flow"에서 if 문(statements)과 while 반복문(loop)의 의사 결정 능력(decision-making powers)을 사용해 실행 흐름(flow of execution)을 제어(control)하는 방법을 배웠다. 계속해서 이 장(chapter)에서도 실행(execution) 흐름(flow)을 제어(control)하는 방법을 학습한다. for 반복문(loop)으로 알려진 또 다른 반복문(loop)에 대해 배울 것이다. 루프(loops)가 그다지 흥미(interesting)롭게 들리지 않을 수 있지만, 컴퓨터 프로그램(computer programs)에서 매우 일반적(comm..
-
Monitoring for iOS with MetricKit: Getting StartedRaywenderlich/Articles 2021. 7. 8. 18:55
https://www.raywenderlich.com/20952676-monitoring-for-ios-with-metrickit-getting-started Monitoring for iOS with MetricKit: Getting Started Learn how to use MetricKit to monitor power, performance, and diagnostics in your iOS apps. www.raywenderlich.com Version Swift 5, iOS 14, Xcode 12 오랫동안(for a long time), iOS 앱(apps)은 웹 앱(web apps)과 달리 너무 작고 가벼워(lightweight) 성능(performance) 모니터링(monitoring)에..
-
Chapter 10: More User Input & App StorageRaywenderlich/SwiftUI by Tutorials 2021. 6. 24. 13:44
Version Swift 5.3, iOS 14, Xcode 12 지난 두 장에서 상태(state)를 사용하는 방법과 UI가 상태(state) 변경(changes)에 반응(react)하도록 하는 것이 얼마나 쉬운지 배웠다. 또한 사용자 정의(custom) 참조 유형(reference types)에 대한 반응(reactivity)도 구현(implemented)했다. 이 장(chapter)에서는 섹션이 있는 리스트(lists with sections), 스테퍼(steppers), 토글(toggles), 피커(pickers)와 같은 몇 가지 다른 입력 컨트롤(input controls)에 대해 살펴본다. 이를 위해 Kuchi 앱(app)의 새로운 설정(settings) 섹션(section)에서 작업한다. 이 새..
-
Chapter 9: State & Data Flow — Part IIRaywenderlich/SwiftUI by Tutorials 2021. 6. 18. 16:53
Version Swift 5.3, iOS 14, Xcode 12 이전 장(chapter)에서 분명(transparent)하고 사용하기 쉬운 @State와 @Binding을 사용하는 방법을 배웠다. 이 장(chapter)에서는 사용자 정의 유형(your own types)을 효율적인 반응적(efficiently reactive) 또는 반응적인 효율적(reactively efficient)으로 만들 수있는 다른 도구(tools)에 대해 알아 본다. 들어가기 전(before diving into it)에, 프로젝트(project)에 대해 언급할 것이 있다. 이 장(chapter)과 함께 제공되는 시작 프로젝트(starter project)를 사용할 수 있지만, 이는 이전 장(previous chapter)의 ..
-
Chapter 3: Basic Control FlowRaywenderlich/Swift Apprentice 2021. 6. 16. 15:01
Version Swift 5.5, iOS 15, Xcode 13 컴퓨터 프로그램(computer program)을 작성(writing)할 때, 다른 시나리오(scenarios)에서 수행할 작업을 컴퓨터에 알려야 할 필요가 있다. 예를 들어(for example), 계산기 앱(calculator app)에서 사용자(user)가 더하기(addition) 버튼(button)과 빼기(subtraction) 버튼(button)을 탭(taps)할 때 다른 작업을 수행해야 한다. 컴퓨터 프로그래밍(computer-programming) 용어(terms)에서 이 개념(concept)은 제어 흐름(control flow)으로 알려져 있는데, 프로그램(program)의 흐름(flow)이 다양한(various) 방법(met..
-
Chapter 8: State & Data Flow — Part IRaywenderlich/SwiftUI by Tutorials 2021. 4. 12. 10:22
Version Swift 5.3, iOS 14, Xcode 12 이전 장(previous chapters)에서는 가장 일반적인(common) UI 구성 요소(components)를 사용하여 사용자 인터페이스(user interface)를 구축(build up)했다. 이 장(chapter)에서는 SwiftUI의 다른 면(side)인 상태(chapter)에 대해 알아본다. MVC: The Mammoth View Controller UIKit 또는 AppKit으로 작업한 경험이 있다면, 이 섹션(section)의 제목(title)에도 불구하고 Model View Controller를 나타내는 MVC 개념(concept)에 익숙(be familiar with)할 것이다. 막말로(vulgarly), Massive..
-
Chapter 7: Introducing Stacks & ContainersRaywenderlich/SwiftUI by Tutorials 2021. 4. 8. 16:25
Version Swift 5.3, iOS 14, Xcode 12 이전 장(previous chapter)에서 TextField, Button, Slider, Toggle을 포함한 일반적인 SwiftUI 컨트롤(controls)에 대해 배웠다. 이 장(chapter)에서는 관련 뷰(related views)를 그룹화(group)하고 배치(lay them out)하는 데 사용되는 컨테이너 뷰(container views)에 대해 배운다(introduced). 그러나 시작하기 전에 먼저 뷰(views)의 크기(sized)를 어떻게 결정하는지, 배우고 이해하는 것이 필수적이다(essential). Preparing the project 뷰(views)와 뷰의 크기(sizes)로 이동하기 전에 이 장의 시작(st..
-
Chapter 6: Controls & User InputRaywenderlich/SwiftUI by Tutorials 2021. 4. 7. 15:51
Version Swift 5.3, iOS 14, Xcode 12 5장(chapter), "Intro to Controls: Text & Image"에서 가장 일반적으로(commonly) 사용되는 두 가지 컨트롤(controls)인 Text와 Image를 사용하는 방법을 배웠으며, 두 컨트롤을 하나로 결합(combines)하는 Label도 간략하게 살펴 보았다. 이 장(chapter)에서는 TextField, Button, Stepper 등과 같이 일반적으로 사용되는(commonly-used) 다른 컨트롤(controls)과 리팩토링(refactoring)의 중요성(power)에 대해 자세히 알아본다. A simple registration form 5장(chapter)에서 구현(implemented)한 ..