IOS Swift

From Hawk Wiki
Jump to: navigation, search

Swift Introduction

Swift Intermediate

Swift code snippets

Swift Framework/Feature Tutorials

Swift Tips and Best Practice

mac block outgoing request for ip

sudo vim /etc/pf.conf
# add 
block drop from any to <IP Address>
# save
# apply change
sudo pfctl -f /etc/pf.conf

# verify info 
sudo pfctl -s info
#if not enable, enable by
sudo pfctl -e