hslee develop blog

Recently Posts

Draft - Useful Gatsby Blog links

-

Feb 03, 2020

install https://www.gatsbyjs.org/docs/how-gatsby-works-with-github-pages/ https://velog.io/@velopert/eslint-and-prettier-in-react https://ux.stories.pe.kr/150 .prettierrc "arrowParens": "avoid", "bra…


aaa2

-

Feb 01, 2020

layout: post title: aaa comments: false category: software tags: ansible 12312312312


test2

-

Feb 01, 2020

hsleeblog new blog site by Gatsby


Iterm2 - integrate zsh

-

Apr 18, 2019

install Iterm2 brew install zsh install open-my-zsh choose color in preferences set ZSH_THEME="agnoster" in ~/.zshrc change font to d2font by naver >> ligature syntax_highlighting remove mac-book


Bubble Sort

-

Mar 28, 2019

Bubble Sort - Sort algorithm Overview Bubble sort는 두 인접한 원소를 검사하여 정렬하는 방법이다. 시간 복잡도가 {\displaystyle O(n^{2})} O(n^{2})로 상당히 느리지만, 코드가 단순하기 때문에 자주 사용된다. 원소의 이동이 거품이 수면으로 올라오는 듯한 모습을 보이기 때문에 지어진 이름이다. …


Atomic links

-

Mar 27, 2019

atomic links Atomic Properties in Swift interesting links Benchmarking Swift Locking APIs


XIB의 뷰 상위뷰에서 Autolayout 적용 방법

-

May 16, 2018

** XIB의 뷰 상위뷰에서 Autolayout 적용 방법 XIB view view.translatesAutoresizingMaskIntoConstraints = true super view add constaint with child view


Protocol Extension - function's implementation cannot be overridden by a subclass

-

May 05, 2018

source Protocol Extension: function's implementation cannot be overridden by a subclass A function(x') is not called that we thought If there is following conditions. A protocol(A) is defined a f…


Conditional Compilation Blocks

-

May 03, 2018

apple-doc Conditional Compilation Blocks Swift code and Objective-C code are conditionally compiled in different ways. Swift code can be conditionally compiled using conditional compilation blocks. F…


closure, cast constraint

-

Apr 17, 2018

You can only upcast to a parent type: var closure : (Subclass) -> () = { (first : Superclass) in } you cannot downcast to a subclass


SOLID - Programming Principles

-

Mar 27, 2018

SOLID - Programming Principles SRP 단일 책임 원칙 (Single responsibility principle) OCP 개방-폐쇄 원칙 (Open/closed principle) LSP 리스코프 치환 원칙 (Liskov substitution principle) ISP 인터페이스 분리 원칙 (Interface segregatio…


1page class summary - 5

-

Feb 13, 2018

fact based = background, factor, status define core questions collect fact based information fractionate data for information get meaning


AI를 학습할 수 있는 무료 온라인 강의 소개

-

Feb 13, 2018

출처: 카카오 AI리포트 2017 모음집


Crashlytics - resolve "missing dSymbols" by build script

-

Feb 13, 2018

Add below script to script on build phases


XCode build settings, variables

-

Feb 13, 2018

Build settings reference Sample Codes gist


Functional, lazy protocol

-

Feb 12, 2018

source: https://medium.com/swift-programming/using-lazy-to-delay-computation-8aa4ea236d0a {% highlight swift %} /// Avoid creating multiple layers of LazySequence wrapper. /// Anything conforming to …


Realm debug snippet

-

Feb 12, 2018

realm file in simulator file:///Users/hslee/Library/Developer/CoreSimulator/Devices/10945933-63A7-4C2E-875B-7023A6820B39/data/Containers/Data/Application/1EEB0045-4451-4238-B887-38AFC3D1256F/Document…


Privacy support in iOS and OS X

-

Feb 08, 2018

session710__privacysupportiniosandos_x.pdf


Need to check Opensources

-

Feb 05, 2018

About Async https://github.com/google/promises Promises is a modern framework that provides a synchronization construct for Swift and Objective-C. https://github.com/Restofire/Restofire Restofire is …


Debugging Tips and Tricks - WWDC16

-

Feb 01, 2018

debuggingtipsand_tricks.pdf


Async DispatchQueue Usage

-

Jan 23, 2018

{% highlight swift %} class func requestDeterminingPermission(completion: BSTClosure.emptyAction? = nil) { } {% endhighlight %}


RxSwift Code Snippet

-

Jan 23, 2018

{% highlight swift %} Observable<Notice>.of(self.notifications) .replaceNilWith([]) .bind(to: tableView.rx.items(cellIdentifier: "NotificationTableViewCell", cellType: NotificationTableViewCe…


AWS용 APNS인증서 만들기

-

Jan 22, 2018

cert, key 파일을 동시에 export (암호없이) 해서 p12를 pem으로 변환 해당 pem으로 접속 테스트 한 후, pem파일을 전달하면 됨.


Change orientation a specific viewController

-

Jan 14, 2018

Set the orientation option on project settings ({{ "/assets/posts/2018-01-14.png" | absolute_url }}) In First, Set the orientation at AppDelegate {% highlight swift %} var enableAllOrientation = fals…


UIViewController enum samples

-

Jan 10, 2018

{% highlight swift %} enum RDUXCatalogs: BSTUXProtocol { case screens(UIViewController) case device(UIViewController) } {% endhighlight %}


Sonar scanner for Bitbucket pipeline

-

Dec 29, 2017

This is a sample build configuration for PHP. (mod by Theerayooth Kosin) Check our guides at https://confluence.atlassian.com/x/VYk8Lw for more examples. Only use spaces to indent your .yml configura…