Menu
  • HOME
  • TAGS

Change CDPATH permanently

bash,environment-variables,permanent

Add it in ~/.bash_profile, if you want to use it in a non-login session then add it in ~/.bashrc Here is a explanation for the difference between them....

Storing a dictionary in swift in permanent storage

swift,storage,permanent

The problem is that the Dictionary key has to be a String. So instead of declaring it [NSObject: AnyObject] you have to declare it as [String: AnyObject]. Also you are trying to load it from dic but you have to load it from retrievedDict. var dic :[String: AnyObject] = ["name":"steph"...