Tutorial by Examples

For Swift 3.1: In the first example one can see how you would intercept the user interacting with a textfield while writing. Similarly, there are methods in the UITextFieldDelegate that are called when a user has started and ended his interaction with a TextField. To be able to access these method...
You can use this example as a call from code, or through a REST client such as Postman: POST https://YOURSITE.com/rest/v10/oauth2/token { "grant_type":"password", "client_id":"sugar", "client_secret": "", "username":"yo...
Example Usage: brew search [TEXT|/REGEX/] brew (info|home|options) [FORMULA...] brew install FORMULA... brew update brew upgrade [FORMULA...] brew uninstall FORMULA... brew list [FORMULA...] Troubleshooting: brew config brew doctor brew install -vd FORMULA Developers: brew create [U...
How we can use jenkins in our SalesForce product development. What are the tools plugins are available for Jenkins Integration How to solve CI configuration issue.....etc
A common problem might be trying to iterate over Array which has no values in it. For example: Dim myArray() As Integer For i = 0 To UBound(myArray) 'Will result in a "Subscript Out of Range" error To avoid this issue, and to check if an Array contains elements, use this oneliner: If...
The source is available for download from GitHub. Alternatively, you can install using npm: $ npm install --save async As well as using Bower: $ bower install async Example: var async = require("async"); async.parallel([ function(callback) { ... }, function(callback) { .....
Thankfully, libraries like Async.js exist to try and curb the problem. Async adds a thin layer of functions on top of your code, but can greatly reduce the complexity by avoiding callback nesting. Many helper methods exist in Async that can be used in different situations, like series, parallel, wa...
This example shows how to have a view track a pan gesture and depart in a physics-based manner. Swift class ViewController: UIViewController { // Adjust to change speed of view from flick let magnitudeMultiplier: CGFloat = 0.0008 lazy var dynamicAnimator: UIDynamicAnimator ...
Detailed instructions on getting codeception set up or installed.
This example shows how to achieve an effect similar to FaceTime were a view is attracted to point once it enters a particular region, in this case two regions a top and bottom. Swift class ViewController: UIViewController { lazy var dynamicAnimator: UIDynamicAnimator = { let ...
Once the binaries are extracted, right-click on setup.exe and click on "Run as Administrator" The window above will appear. Click on Unified Functional Testing Setup. If any prerequisite appears just press "OK" Wait the Setup prepare the installation. After a fe...
Example shows how to trigger an impact haptic using UIImpactFeedbackGenerator after a button press. Swift class ViewController: UIViewController { lazy var button: UIButton = { let button = UIButton() button.translatesAutoresizingMaskIntoConstraints = false se...
First, ensure you log in, and add the access_token to your request header. In this example, we're going to do some basic operations to access records. These use the Accounts module as an example, but other standard and custom modules (i.e. Leads, Contacts, Opportunities) behave in the same way. Cr...
Detailed instructions on getting aws-api-gateway set up or installed.
4.4 Defaults ... ... The default Size depends on the type. For integer it is 8. For float it is 64. For binary it is the size of the specified binary: 1> Bin = << 17/integer, 3.2/float, <<97, 98, 99>>/binary >>. <<17,64,9,153,153,153,153,153,154,97,98,99>...
4.4 Defaults [Beginning omitted: <<3.14>> isn't even legal syntax.] The default Size depends on the type. For integer it is 8. For float it is 64. For binary it is the actual size of the specified binary: 1> Bin = << 17/integer, 3.2/float, <<97, 98, 99>>/binary...
Prerequisites you should have fuse installed (https://www.fusetools.com/downloads) you should have done the introduction tutorial in terminal: fuse install android in terminal: uno install Fuse.Views Step 1 git clone https://github.com/fusetools/hikr Step 2 : Add package reference to ...
Clarification of Erlang doc on Bit Syntax: 4.4 Defaults [Beginning omitted: <<3.14>> isn't even legal syntax.] The default Size depends on the type. For integer it is 8. For float it is 64. For binary it is the actual size of the specified binary: 1> Bin = << 17/integ...
Detailed instructions on getting karma-jasmine set up or installed.
You can pass data directly by assigning the property of the next view controller before you push or present it. class FirstViewController: UIViewController { func openSecondViewController() { // Here we initialize SecondViewController and set the id property to 492 let se...

Page 1259 of 1336