Profile cover photo
Profile photo
pardeep kumar chaudhary
177 followers -
Mobile Application Developer
Mobile Application Developer

177 followers
About
Posts

Post has attachment

Post has attachment
Return multiple values from a function in objective C
We can return tuples in swift as follows:- func getData () -> ( Int , Int , Int ) { //...code here return ( hour , minute , second ) } You can't do that in objective-c. Best option is using parameters by reference . Something like this. - ( void ) getHour :...

Post has attachment
Call Web service in serial order using dispatch groups + Objective C + iOS

Post has attachment
Calling depending Web Services + dispatch_group_t in iOS
What is the best approach to call the web services in a chain? Create a dispatch group      dispatch_group_t serviceGroup; Call the first function/web service -( void )callFirstWebService {      serviceGroup = dispatch_group_create(); //Call 1st web service...

Post has attachment
Semaphore | Delay splash screen in iOS + Objective C
How to wait for an asynchronously dispatched block to finish? How to integrate semaphore in iOS? How to delay splash screen for longer time, so that developer can prefetch or execute something before start of iOS App. The answer of all the above questions i...

Post has attachment
MySQL connect utility in Mac OS
Using DbVisualizer , we can connect to MySQL database on Mac. Download the installer (select appropriate  Platform & Installer Type ) here .  DbVisualizer offers setup for following platforms:- Windows 32 bit Windows 64 bit Mac OS X Linux UNIX

Post has attachment
Play youtube video in iOS app
Youtube video can be played in iOS app using webview. MPMoviePlayerController is not able to open youtube video automatically. Integrate the below script to show thumbnail, clicking on it the video will play in full screen.     NSString *url = @"https://www...

Post has attachment
Working with MongoDB
Generate a new SSH key ( https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/ ). If you have already ssh key generated at mac, then copy the key using:- pbcopy < ~/.ssh/id_rsa.pub Pass the key to your server developer (D...

Post has attachment

Post has attachment
How to show activity indicator in watch kit
To show loading indicator in watch kit without using any third party, follow the below steps:- Download the images here  and add them in watch kit at xcassets (MyPWatch WatchKit App -> Assets.xcassets) Add the WKInterfaceImage (named  imageLoading ) to your...
Wait while more posts are being loaded