-
Freelance
- Warsaw
- niczyja.pl
Pinned Loading
-
Drawing shapes (arrow, point) using ...
Drawing shapes (arrow, point) using CGMutablePath. Based on: https://gist.github.com/mwermuth/07825df27ea28f5fc89a 1extension CGMutablePath {
23func addArrow(to point: CGPoint, tailWidth: CGFloat = 4.0, headWidth: CGFloat = 10.0, headLength: CGFloat = 14.0) {
4let length = hypot(point.x - currentPoint.x, point.y - currentPoint.y)
5let tailLength = length - headLength
-
StoreMigration.swift
StoreMigration.swift 1lazy var persistentContainer: NSPersistentContainer = {
2let container = NSPersistentContainer(name: "app container name")
34guard let fileContainer = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: "your group.app.identifier") else {
5fatalError("Shared file container could not be created.")
-
MagnifyingGlass-Swift
MagnifyingGlass-Swift PublicSimple magnifying glass able to magnify given view
-
UIImage-Frame
UIImage-Frame PublicExtension (in Swift) and Category (in Obj-C) on UIImage with function that returns image frame in given UIImageView. Playgound to play around included.
Swift 1
-
obsidian-arc-sidebar
obsidian-arc-sidebar PublicObsidian plugin that allows to display contents of Arc sidebar right besides your notes
TypeScript 13
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.