Skip to content

Instantly share code, notes, and snippets.

Jaemyeong Jin jaemyeong

Block or report user

Report or block jaemyeong

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jaemyeong
jaemyeong / Markup.swift
Created Aug 30, 2017
Markup for Vivace
View Markup.swift
let attributedString = NSMutableAttributedString(string: "<green>1234</green>5678<green>91011</green>")
let storage = attributedString.mutableString
let startRange = storage.range(of: "<green>")
let endRange = storage.range(of: "</green>")
storage.deleteCharacters(in: endRange)
storage.deleteCharacters(in: startRange)
@jaemyeong
jaemyeong / Source.swift
Created Oct 23, 2016
CALayer 애니메이션 비활성화
View Source.swift
CATransaction.begin()
CATransaction.setDisableActions(true)
let frame = CGRect(x: 0.0,
y: 0.0,
width: 300.0,
height: 300.0)
self.layer.frame = frame
@jaemyeong
jaemyeong / Source.swift
Created Oct 9, 2016
스위프트 스크립트
View Source.swift
#!/usr/bin/swift
print("Hello, world!")
You can’t perform that action at this time.