About

Everything that goes on in Robert's life is recorded here. Well, not everything.

Navigation

Home
Books and Stories
Building a MAME cabinet
Build a Light Box
Sword of Omens
Mass Effect Gun
Zombie Apocalypse Team
Photography
Miscellaneous Projects
2013 Florida Trip
Mac Programs
Matching Seasons
Code Snippets
Blog
Dino Comic
Tremorworks
Comic Archive
Solar Air Engine
Gates of Shadow
E-Mail

Current

Book: Random stuff on my kindle.

Game: Working through my steam list of Sakura games. Don't judge me.


Computers:
Lenovo thin notebook (carried in briefcase)
M1 Mac Mini (Main machine)
Early 2008 8-core Mac Pro (downstairs machine)
2017 MacBook Pro (used for tabletop gaming)
Custom Built 6-core Intel Gaming PC
iMac from a customer (Bedroom, not used much honestly)

While writing code, anything I struggle with (and ultimatily figure out, duh) will go here, so others can learn from my trails

Selection Rectangle:

Put in: 2/18/11

This came from the rewrite of the comic helper. Basically I wanted a CALayer to act as a selection rectangle, so using code from Sketch (the example OS X program) I finally got it right. My biggest issue was using bounds instead of frame.

Multiple CALayer Dragging via 1 selection:

Put in: 2/19/11

Here's how I finally got multiple CALayers to drag simultaniously when I dragged one with the mouse. In other words, after using the selection rectangle code above to capture which elements on the page I wanted to move, move them all and keep them in their relitive positions as the first one moves.