New Build System Tricks
# enable internal menu defaults write com.apple.dt.Xcode ShowDVTDebugMenu -book YES alias xcbuild=$(xcode-select -p)/../SharedFrameworks/XCBuild.framework/Versions/A/Support/xcbuild
|As of iOS 11/macOS High Sierra, and only including ones in Foundation and CoreFoundation|
|_NSCFString - a CFStringRef or CFMutableStringRef. This is the most common type of string object currently.|
|- May have 8 bit (ASCII) or 16 bit (UTF-16) backing store|
|_NSCFConstantString - a compile time constant CFStringRef, like you'd get with @"foo"|
|- May also be generated by dynamic string creation if matches a string in a pre-baked table of common strings called the StringROM|
|NSBigMutableString - an NSString backed by a CFStorage (https://github.com/opensource-apple/CF/blob/master/CFStorage.h) for faster handling of very large strings|
|NSCheapMutableString - a very limited NSMutableString that allows for zero-copy initialization. Used in NSFileManager for temporarily wrapping stack buffers.|
Howdy howdy, NSHipsters!
alloc init an
NSCalendar, you'll notice that New Year's Eve falls on a Monday this year, a.k.a. "the day NSHipster is published every week". What fun!
So in celebration of the upcoming
year++, I thought it'd be fun to compile a list of some of your favorite tips and tricks of the trade. Submit your favorite piece of Objective-C trivia, framework arcana, hidden Xcode feature, or anything else you think is cool, and you could have it featured in the year-end blowout article. Just comment on this gist below!
Here are a few examples of the kind of things I'd like to see: