
Search In
The code below will help you in declaration of completion handler and how to call the completion handler in swift.
To declare a completion handler in swift use the line :
typealias completionHander = (sucess: Bool)->Void
//decalration of co
We can easily send email in joomla using $mailer = JFactory::getMailer(); which invoke jMail class. It returns a reference to the JMail object.Below is the code which define how to send an email in joomla.
-Invoke JMail Class
$mailer = JFactory::
Some applications are only made for tablets. So in order to restrict the application to download only in Tablets, we can use supports-screens tag inside the manifest file inside manifest tag.
<manifest ... >
<supports-screens android:s
Hello Reader's! If you are working on PHP framework, Codeigniter then you should learn how to send mail by its functions.
CI offers you the best way to configure the email and send the mail and you just have to call it on the place required.
lets
Welcome to findnerd, today we are going to discuss How to increase maximum size of POST in PHP ?
If you want to increase the size of POST for sending much more POST request, then you have to follow bellow given point.
There are 2 different places y
Welcome to findnerd, today we are going to discuss How the use file_get_contents() in PHP ?
Fistly let know what is use of file_get_contents() ?
The file_get_contents() basically reads a file into a string.
So we can say that file_get_contents — R
In this post we will see a simple code example which illustrates how to use the ThreadPool to queue up tasks in a multi-threaded environment. We first need to create an object that contains information required for the task. This object will be pass
Hello readers, today we discussed about How to remove parent theme Action and Filter in wordpress child theme.
Some theme have its own hook function that change theme behavior and functionality.
Some example are below, Right now I am not going to ex
Hello Reader's if you are developing the website and you want to restrict file upload to max of 4 then you can use the code as below:-
The logic for this condition is you just have to return false is count of array is more than 4. Let's see how is i
In JQuery to check that element is exists or not we use length() function. Using length() function we will check the length of the selector, if it returns something then the element must exists else not.
if( $('#selector').length ) // to c
