Need to copy a value to the Pasteboard?
Don’t forget to clear it first.
I’m working on an app and using https://fastlane.tools and using snapshot and frameit and wanted to use the annotation with keyword colours.
HEX: e52d27 | RGB: 229.45.39 | CMYK: 18.104.22.168
HEX: b31217 | RGB: 179.18.23 | CMYK: 22.214.171.124
HEX: 000000 | RGB: 0.0.0 | CMYK: 100.100.100.100
I needed to batch rename some files
brew install rename
To test run it
rename -n -e 's/-.*-/_/' *.png
Remove the -n to perform it
rename -e 's/-.*-/_/' *.png
I wanted to remove the following -portrait
rename -d -portrait *
I’m going to add some graphing to the app soon.
Haven’t tried this yet but it looks good.
I had a couple of difficulties using it in a newer version of Xcode so added my findings here.
Reading Chapter 7 – KVC/KVO of Cocoa Programming
And learning about Array Operators like
These could come in handy.
NSNumber *theAverages theAverage = [employees valueForKey:@"avg.expectedRaise"];
They also have a forum (http://forums.bignerdranch.com)
I’ve got version 3, 4 & 5.
Working through 4 now as it’s ObjC.
I’m going to document things I’ve had to look up.
Probably look back and say why didn’t I spot this but it should help it not happing again:
Unknown type name ‘NSTextField’
Could have just added a .pch file
Under the ‘Apple LLVM 6.0 – Language’ section in the ‘Prefix Header’ I added “<PROJECTNAME>/<PROJECTNAME>-Prefix.pch”
#ifdef __OBJC__ #import <Cocoa/Cocoa.h> #endif
I’d like to add a Settings section to my app to show Licenses and other info.
Maybe put the Options section there too.
Run a perl script: