This is a step by step guide to create a new user and restrict the user to his home directory. 1. Create a new user sudo adduser TestUser 2. Change the ownership of TestUser’s home directory to root. sudo chown root:root /home/TestUser 3. Edit the ssh config file sudo vim /etc/ssh/sshd_config and
The intend is to set the boundaries of the map to focus on all the markers. The ‘GMSMapView‘ class used to have a method ‘markers‘ which returned all the markers, but its now deprecated. So, you will have to keep track of the markers added to the map. Assuming that you have the following: GMSMapView
Using the interface builder i created a custom ‘UITableViewCell’ named ‘MyCustomCellNib’, with a
custom class file ‘MyCustomCell’ inherited from ‘UITableViewCell’.
This is code i used to load the cell with the nib.