This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
#import <UIKit/UIKit.h> | |
#import <CoreText/CTFont.h> | |
@interface UIFont (Traits) | |
@property(nonatomic, readonly) CTFontRef CTFontRef; | |
@property(nonatomic, readonly) CTFontSymbolicTraits traits; | |
@property(nonatomic, readonly, getter=isBold) BOOL bold; | |
@property(nonatomic, readonly, getter=isItalic) BOOL italic; |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
Here's a list of mildly interesting things about the C language that I learned mostly by consuming Clang's ASTs. Although surprises are getting sparser, I might continue to update this document over time.
There are many more mildly interesting features of C++, but the language is literally known for being weird, whereas C is usually considered smaller and simpler, so this is (almost) only about C.
struct foo {
struct bar {
int x;