안녕하세요 Pingu입니다! 🐧 오늘은 모든 UIView에 존재하는 CALayer에 대해 알아보려고 합니다. CALayer를 직접 사용해본 기억은 cornerRadius를 사용하여 뷰를 둥글게 만들 때랑 커스텀 AVPlayer를 만들 때? 정도밖에 없는 것 같은데, 얘가 어떤 역할을 하는지에 대한 개념이 정확하지 않아서 한 번 알아보려고 합니다. 일단 View에 존재하는 layer라는 프로퍼티의 정의를 살펴보겠습니다. 렌더링에 사용되는 뷰의 핵심 애니메이션 레이어라고 합니다. 렌더링은 학교에서 그래픽스 시간에 배운 기억이 있는데, 모델 또는 영상 등을 만드는 과정이었던 것으로 알고 있습니다. 어쨌든 뷰에 나타나는 애들을 만들어내는 곳이라고 이해하면 될 것 같아요. 그리고 눈에 들어오는 내용 중 하나인 절..
문제 링크 Permutations - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 Given an array nums of distinct integers, return all the possible permutations. You can return the answer in any order. Example 1: Input: nums = [1,2,3] Output: [[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,1,2],[3,2,1]]..
문제 링크 Combination Sum - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 Given an array of distinct integers candidates and a target integer target, return a list of all unique combinations of candidateswhere the chosen numbers sum to target. You may return the combinations in an..
안녕하세요 Pingu입니다! 🐧 약간 그냥 정리하는 식으로 쓸 계획이라 조금 정신없을 수 있습니다....ㅎ 이번 글에서는 앱이 Foreground 일 때와 Background 일 때가 무슨 상태인지 알아보려고 합니다. 일단 그 전에 Foreground, Background를 포함하여 앱 실행상태에는 어떤것들이 있고 어떤 과정으로 변화하는지를 먼저 살펴보도록 하겠습니다. 앱이 Foreground인지 Background인지에 따라 할 수 있는 작업과 할 수 없는 작업이 나뉘게 되는데요, 앱이 Foreground 상태라면 사용자가 사용중이므로 UI와 같은 것들을 처리하는데 주력한다고 합니다. 앱이 Background 일때는 화면 밖에 있으니까 별 일을 하지 않겠죠? 앱이 Foreground, Backgroun..
안녕하세요 Pingu입니다!🐧 지난 글에 이어 OS에서의 Persistence(영속성)에 대해 알아볼 예정이에요. 지난 글에서는 I/O Device에 대한 일반적인 개념에 대해 알아봤었는데요, 이번 글에서는 그러한 I/O Device 중 하나인 Hard Disk Drive에 대해 알아보도록 하겠습니다. 이름에서 알 수 있듯 하드웨어를 다루는 장치일 것 같죠? 제가 공부할 때 참고하고 있는 책인 OSTEP에서는 Chapter 37 - Hard Disk Drives 부분입니다. Hard Disk Drives 지난 글에서는 I/O Device에 대한 일반적인 개념을 알아보고 OS와 상호작용하는 방법을 알아봤었습니다. 이번글에서는 I/O Device들 중에서도 hard disk device에 대해 알아보려고 합..
문제 링크 Maximum Subarray - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. Example 1: Input: nums = [-2,1,-3,4,-1,2,1,-5,4] Output: 6 Explanatio..
문제 링크 Find First and Last Position of Element in Sorted Array - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 Given an array of integers nums sorted in ascending order, find the starting and ending position of a given target value. If target is not found in the array, return [..
문제 링크 Valid Parentheses - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: Open brackets must be closed by the same type of bracke..
- Total
- Today
- Yesterday
- Xcode
- 코딩테스트
- design
- operating
- 문법
- pattern
- 자료구조
- OSTEP
- document
- IOS
- Combine
- Apple
- DP
- System
- 백준
- 알고리즘
- operator
- BFS
- 아이폰
- mac
- 동시성
- Swift
- dfs
- Publisher
- 테이블뷰
- 스위프트
- 프로그래밍
- 앱개발
- OS
- 코테
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |