Giter Site home page Giter Site logo

study's Introduction

Programming Study

목차

Algorithm

오름차순으로 정렬된 배열이 있다.
[17, 28, 43, 67, 88, 92, 100]
이 배열에서 이진 탐색을 이용하여 43의 값을 찾아보자. 시간복잡도: O(logN)

정렬되어 있지 않은 배열이 있다.
[12, 3, 13, 111, 987, 71, 17, 22, 3, 89, 18, 12]
MergeSort를 활용하여 오름차순으로 정렬해 보자. 시간복잡도: nlogn

정렬되어 있지 않은 배열이 있다.
[13, 5, 11, 7, 23, 15]
SelectionSort를 활용하여 오름차순으로 정렬해 보자. 시간복잡도: O(n^2) Inplace Algorithm(메모리 사용적음) UnStable Sort(비교하는 값이 같을때 Stable하지 않음)

정렬되어 있지 않은 배열이 있다.
[13, 5, 11, 7, 23, 15]
BubbleSort를 활용하여 오름차순으로 정렬해 보자. 시간복잡도: O(n^2) Inplace Algorithm(메모리 사용적음) Stable Sort

정렬되어 있지 않은 배열이 있다.
[13, 5, 11, 7, 23, 15]
SpecialSort를 활용하여 오름차순으로 정렬해 보자.(BubbleSort을 응용하자.) 시간복잡도: O(n^2) Inplace Algorithm(메모리 사용적음) Stable Sort

정렬되어 있지 않은 배열이 있다.
[11, 7, 5, 6, 10, 9]
InsertSort를 활용하여 오름차순으로 정렬해 보자. 시간복잡도: O(n^2) Inplace Algorithm(메모리 사용적음) Stable Sort

Swift

Rotation, Translation, Scale, identity 활용

Peek and Pop: 상세 보기 컨트롤러에서 콘텐츠를 미리 볼 수 있는 프리뷰를 제공합니다.
iOS13+

Expandable TableView Cells Sample

Stretchy TableView Header in App

Skeleton Loading View in App(TableView, CollectionView)

@propertyWrapper를 붙여 프로퍼티 단위로 특정 행동(비지니스 로직)을 하도록 정의할 수 있습니다.
class, struct, enum에 사용 가능(프로퍼티를 가질 수 있는 타입)

동적으로 프로퍼티에 접근해보자.
class, struct, enum, protocol에 사용 가능

Property Observer는 프로퍼티의 값의 변화를 관찰하고, 이에 응답합니다.
프로퍼티의 값이 반드시 초기화 되어 있어야 합니다.

struct입니다.
Mirror는 인스턴스의 stored property, collection, tuple element, active enumeration case와 같이 특정 인스턴스를 구성하는 부분(parts)을 설명한다고 합니다.

Project Targer 분리 및 의존성 주입

iOS Concurrency & Threading

유연하게 작성할 수 있고, 재사용가능한 함수와 타입이 어떤 타입과 작업할 수 있도록 요구사항을 정의한다.
중복을 피하고 의도를 명확하게 표현하고, 추상적인 방법으로 코드를 작성할 수 있다.

NSAttachment

NSTextAttachments with attributed strings

DesignPattern

데이터바인딩을 통해 View와 ViewModel은 1:n 관계를 가질 수 있습니다.
모듈별 의존성이 없어집니다.
유닛테스트가 용이합니다.

ReactorKit반응형단방향 Swift 애플리케이션 아키텍처를 위한 프레임워크입니다.
ViewModel 역할을 Reactor가 하는데 이 ViewModel에서 일어나는 반응형 이벤트들을 액션(In Property)상태(Out Property)로 나눈 것입니다

So what is a coordinator? A coordinator is an object that bosses one or more view controllers around. Taking all of the driving logic out of your view controllers, and moving that stuff one layer up is gonna make your life a lot more awesome.

study's People

Contributors

jino0910 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.