Skip to content

Instantly share code, notes, and snippets.

@MasonSlover
MasonSlover / SFSymbolTitles.swift
Last active February 6, 2026 01:42
A .swift file with all SF Symbols titles in arrays, separated by category for app development and icon selection
//The following file has 20 arrays, allSymbols[] has the title of every SFSymbol, and the remaining 19 arrays have the following categories:
//communication, weather, objectsAndTools, devices, connectivity, transportation, human, nature, editing, textFormatting, media, keyboard, commerce, time, health, shapes, arrows, indicies, math
private var allSymbols = ["0.circle", "00.circle", "0.circle.fill", "00.circle.fill", "0.square", "00.square", "0.square.fill", "00.square.fill", "1.circle", "01.circle", "1.circle.fill", "01.circle.fill", "1.magnifyingglass", "1.square", "01.square", "1.square.fill", "01.square.fill", "2.circle", "02.circle", "2.circle.fill", "02.circle.fill", "2.square", "02.square", "2.square.fill", "02.square.fill", "3.circle", "03.circle", "3.circle.fill", "03.circle.fill", "3.square", "03.square", "3.square.fill", "03.square.fill", "4.alt.circle", "4.alt.circle.fill", "4.alt.square", "4.alt.square.fill", "4.circle", "04.circle", "4.circle.fill", "04.circle.fill", "4.square", "04.square", "4
let systemIcons = [
"circle",
"square",
"arrow.left",
"arrow.up",
"arrow.right",
"arrow.down",
"arrow.left.and.right",
"arrow.up.left",
"arrow.up.right",
@vhyrbi
vhyrbi / SSLHelper.m
Last active February 13, 2022 10:59
iOS - How to add HTTPS support for one's own Certificate Authority
#import <Security/Security.h>
#import <CoreFoundation/CoreFoundation.h>
#import <Foundation/Foundation.h>
@interface SSLHelper : NSObject
+ (SSLHelper *)sharedInstance;
- (void) addCertToKeychain:(NSData*)certInDer;
- (BOOL) canAuthenticateAgainstProtectionSpace:(NSURLProtectionSpace *)protectionSpace;
- (BOOL) manageAuthorizationForChallenge:(NSURLAuthenticationChallenge*)challenge;