Tutorial by Examples

Asks the delegate to open a resource specified by a URL, and provides a dictionary of launch options. Example of usage: func application(_ app: UIApplication, open url: URL, options: [UIApplicationOpenURLOptionsKey : Any] = [:]) -> Bool { return SomeManager.shared.handle( ...
Example of usage: /* Instance of your custom APNs/local notification manager */ private var pushManager: AppleNotificationManager! Registration: func application(application: UIApplication, didRegisterUserNotificationSettings notificationSettings: UIUserNotificationSettings) { // Called...
Detailed instructions on getting com set up or installed.
Get PyGraphviz from the Python Package Index at http://pypi.python.org/pypi/pygraphviz or install it with: pip install pygraphviz and an attempt will be made to find and install an appropriate version that matches your operating system and Python version. You can install the development version ...
Modern Objective C provides ways to reduce amount of code you need to initialize some common types. This new way is very similar to how NSString objects are initialized with constant strings. NSNumber Old way: NSNumber *number = [NSNumber numberWithInt:25]; Modern way: NSNumber *number = @25;...
In modern Objective C syntax you can get values from NSArray and NSDictionary containers using container subscripting. Old way: NSObject *object1 = [array objectAtIndex:1]; NSObject *object2 = [dictionary objectForKey:@"Value"]; Modern way: NSObject *object1 = array[1]; NSObject *o...
To enable Pull to Refresh in a ListView in Xamarin, you first need to specify that it is PullToRefresh enabled and then specify the name of the command you want to invoke upon the ListView being pulled: <ListView x:Name="itemListView" IsPullToRefreshEnabled="True" RefreshComm...
For this example I have a controlled room with a single BLE device enable. Your class should extend CBCentralManagerDelegate. Implement the method: centralManagerDidUpdateState(_ central: CBCentralManager). Use global queue to not freeze the screen while searching for a device. Instantiate CBC...
I'm in a controlled room with a single minew beacon that use IBEACON protocol. BLEController needs to extend CBPeripheralDelegate I'll use the first BLE to connect after the search has stop. Modify the method StopSearchBLE() class BLEController: CBCentralManagerDelegate, CBPeripheralDelegate...
You need discover the services and characteristic You don't need read value from the characteristic before writing over it. will continue for, for this example, after read value. Modify func peripheral(_ peripheral: CBPeripheral, didUpdateValueFor characteristic: CBCharacteristic, error: Error?)...
To Get context: NSManagedObjectContext *context = ((AppDelegate*)[[UIApplication sharedApplication] delegate]).persistentContainer.viewContext; To fetch data: NSFetchRequest<EntityName *> *fetchRequest = [EntityName fetchRequest]; NSError *error ; NSArray *resultArray= [context executeF...
Just use default DividerItemDecoration class : NavigationView navigationView = (NavigationView) findViewById(R.id.navigation); NavigationMenuView navMenuView = (NavigationMenuView) navigationView.getChildAt(0); navMenuView.addItemDecoration(new DividerItemDecoration(context,DividerItemDecoration....
HTML : <li class="item" ng-repeat="schedule in Schedules | filter:scheduleSearch | limitTo:numberOfItemsToDisplay"> Display some data </li> <ion-infinite-scroll on-infinite="addMoreItem()" ng-if="Schedules.length > numberOfItemsToDisplay&...
Open your jenkins instance script console http://yourJenkins:port/script following is an example for how to get information about a sepcific job. copy the code to the console, change the jobName to the required job and click "Run". /*This script shows how to get basic information about a...
Here Is basic build file to build executable from electron windows app. var electronInstaller = require('electron-winstaller'); var resultPromise = electronInstaller.createWindowsInstaller({ appDirectory: 'Your_electron_application_path', authors: 'Author Name', description: "D...
Alfresco is ECM (enterprise content management) system, based on java frameworks and javascript. Alfresco (as a "repository" is the base core of the Alfresco as a product). It provides eg. encrypted content store, specific permissions settings, content types with specific properties (like...
The function takes the argument of the current node index, adjacency list (stored in vector of vectors in this example), and vector of boolean to keep track of which node has been visited. void dfs(int node, vector<vector<int>>* graph, vector<bool>* visited) { // check whethe...
http://ibm.com/systems/z/os/zos/library/bkserv/
Detailed instructions on getting iot set up or installed.
These PDF documents, starting from 1964, are those parts of the OS/360 "System Reference Library" (SRL) with enduring relevance and are also the earliest System/360 publications available on the web. Given IBM's stubborn insistance on full upward compatibility, all facilities described he...

Page 1193 of 1336