Skip to content

Instantly share code, notes, and snippets.

View elpsk's full-sized avatar
:octocat:
I may be slow to respond.

alberto elpsk

:octocat:
I may be slow to respond.
View GitHub Profile
@elpsk
elpsk / PlayerSession.swift
Created May 7, 2023 15:14 — forked from AFathi/PlayerSession.swift
A Swift class designed to simplify the process of connecting to other players in an AR game or app using WiFi and Bluetooth signals.
//
// PlayerSession.swift
//
// Created by Ahmed Bekhit on 8/17/18.
// Copyright © 2018 Ahmed Fathi Bekhit. All rights reserved.
//
import MultipeerConnectivity
/// An enum that denotes the player's session status
@elpsk
elpsk / HOWTODMG.md
Created July 31, 2022 14:53 — forked from jadeatucker/HOWTODMG.md
How to create a "DMG Installer" for Mac OS X

Creating a "DMG installer" for OS X

A DMG Installer is convenient way to provide end-users a simple way to install an application bundle. They are basically a folder with a shortcut to the Applications directory but they can be customized with icons, backgrounds, and layout properties. A DMG file (.dmg) is a Mac OS X Disk Image file and it is used to package files or folders providing compression, encryption, and read-only to the package.

##Creating the DMG file #Disk Utility

@elpsk
elpsk / NEHotspotConfigurationManager.swift
Created August 9, 2019 08:36 — forked from kraigspear/NEHotspotConfigurationManager.swift
Connect to a WIFI hotspot programmatically in iOS 11
//
// ViewController.swift
// NetworkTest
//
// Created by Kraig Spear on 10/10/17.
// Copyright © 2017 spearware. All rights reserved.
//
import UIKit
import NetworkExtension
//
// CoreTextLabel.h
// Frost
//
// Created by David Kasper on 10/1/12.
//
#import <UIKit/UIKit.h>
#import <CoreText/CoreText.h>