Skip to content

Instantly share code, notes, and snippets.

@ethanhuang13
ethanhuang13 / FacebookAuth.swift
Last active October 3, 2024 12:26
FacebookAuth is for iOS app developers who need to support Facebook login but don't want to use the official SDK
//
// FacebookAuth.swift
// GitHub: ethanhuang13
// Twitter: @ethanhuang13
import AuthenticationServices
import SafariServices
/*
Updated:
@SqREL
SqREL / gist:13df76f66f4d248199bd
Created November 22, 2015 18:05
iOS package sniffer
1.Connect your iOS device to your Mac via USB.
2.Get the UDID for the connected device from iTunes or organiser.
3.Open terminal in your Mac
4.type the following commands in the terminal
$ ifconfig -l // First get the current list of interfaces.
$ rvictl -s <udid> // Then run the tool with the UDID of the device.