Skip to content

Instantly share code, notes, and snippets.

@wozuo
wozuo / HomeViewController.m
Created March 19, 2020 18:58
How to place UIStackView in UIScrollView
//
// HomeViewController.m
// MYPROJECT
//
// Created by Marc Tarnutzer on 18.03.20.
// Copyright © 2020 Marc Tarnutzer. All rights reserved.
//
#import "HomeViewController.h"
@wozuo
wozuo / SidebarViewController.swift
Created July 19, 2018 14:31
Programmatically create NSTableView in Swift 4.1
import Cocoa
class SidebarViewController: NSViewController, NSTableViewDelegate, NSTableViewDataSource {
var initialized = false
let scrollView = NSScrollView()
let tableView = NSTableView()
override func loadView() {
self.view = NSView()

Keybase proof

I hereby claim:

  • I am wozuo on github.
  • I am mtarnutzer (https://keybase.io/mtarnutzer) on keybase.
  • I have a public key ASCcg2wHMCUrtdqD4NmmyWNZ2dUx_lPBAgAC10Qgioh-Kwo

To claim this, I am signing this object: