How deal with server, database and table


  1. Open your project on Xcode
  2. Go preference and select Accounts and sign with Apple id

objective C UIAlertViewController
//Initialize UIAlertController and its title and subtitle
UIAlertController *alert = [UIAlertController alertControllerWithTitle:@”Tittle” message:@”Subtitle” preferredStyle:UIAlertControllerStyleAlert];
//Button 1
UIAlertAction *actionButton1 = [UIAlertAction actionWithTitle:@”Button1” style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
//code for performing acctions to be excuted when click Button1
NSLog(@”Button 1 Pressed”);
}];//Button 2
UIAlertAction *actonButton2 = [UIAlertAction actionWithTitle:@”Button2” style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
//code for performing acctions to be excuted when click Button2
NSLog(@”Button 2 Pressed”);
}];[alert addAction: actonButton1];[alert addAction: actonButton2];[self presentViewController:alert animated:YES completion:^{//code for performing acctions to be excuted when UIAlertController is startedNSLog(@”dffefe”);}];

  1. Generate ssh Key with comment
$ ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
$ eval "$(ssh-agent -s)"
$ ssh-add -K ~/.ssh/id_rsa
$ open ~/.ssh/config
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
pbcopy < ~/.ssh/id_rsa.pub
ssh -T git@github.com

Basic

pwd       #print working directoryls        #list files in directoryclear     #clear the terminal screen of all previous commands cd        #change directory~         #home directory (cd~ #this will change directory to home         directory)..        #up one directory (cd .. #this will change directory to up one)-         #previous working directory (use cd -)help      #get help
-h #get help
--help #get help
man #manualcat #output the contents of a filemkdir #create new directoryopen #open a file with the associated program, a directory with Finder…


Malisha Tharindu

Entrepreneur | iOS Developer | Web Developer with more than 5 Years of Experience. Founder of Learn with Malisha

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store