I was trying to follow some old Cocoa tutorials (here and there) and kept on getting stuck whenever NSTableViews were covered. I’d implement all the same functions and would get really close. But when it came to rendering the data, it would always display default text:

Image for post
Image for post
So close yet so far. Womp, womp…

I asked some friends for some help and they pointed me in the right direction — the apple docs on table views. So after a little tinkering here is the basic setup for table views in objective-c. Lots of pictures below!

Start by creating a new macOS Cocoa App project in Xcode. …


Sketch plugins open up so many opportunities for creative and new ideas. As you probably have found, plugins can do a wide variety of things such as creating new layers, automating existing features, provide new interfaces, and more! Let’s dive into some of the very basics of plugin development and make some fun shapes along the way.

The Script Panel

Getting started is super simple. You don’t even need to download anything other than Sketch itself. Open up Sketch and navigate to Plugins > Run Script...

Image for post
Image for post

This is the script panel. It’s a little space to test your ideas quickly.

Image for post
Image for post

The JS API — Breaking down the example code

Image for post
Image for post

Since the JS API is written in Javascript, lots of what you might know from building websites can translate over. If you haven’t written any Javascript before, that’s ok, I’ll be going over everything every step of the way. …


Sketch plugins open up so many opportunities for creative and new ideas. As you probably have found, plugins can do a wide variety of things such as automate existing features, provide new interfaces, get data from external locations, and more! Let’s dive into some of the very basics of plugin development.

The only thing you need for this tutorial is a copy of Sketch. A little knowledge of Javascript won’t hurt either, but if not, that’s ok, I’ll be describing each step along the way. …

About

Kevin Gutowski

Building things for education with @gradescope

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store