Skip to main content
11
results
Andrew Fletcher
Creating a message log using Drupal watchdog.   Simple log // Logs a notice \Drupal::logger('my_module')->notice($message); // Logs an error \Drupal::logger('my_module')->error($message);   Adding a layer of complexity to the log public function submitForm(array &$form, FormStateInterface $form_state) {     $entity = $this->getEntity();     $entity->delete();     \Drupal::logger('content_entity_example')->notice('@type: deleted...
Andrew Fletcher
Images For some time, when looking for images online for your app or site I have...
Andrew Fletcher
iOS localization on the fly If you have added languages to your app......
Andrew Fletcher
Adding an image via RESTUI can be done in a snap... once you know how!  I...
Andrew Fletcher
Whatever you are coding - code clarity is your goal. Before you scream and...
Andrew Fletcher
To create a .pem file, is quick once you have your .p12 certificate.  I won't go through the process regarding p12 file generation as there are many sites that outline these steps.  If you cannot find a site that outlines this make a comment below and I'll point in the right direction. Open the terminal and go to the path where you save the apns-cert.p12. where and follow the below command to generate the .PEM file. The command below depends on the following two elements: Name of the...
Andrew Fletcher
I had the issue where I needed to filter an array list by a specific column....
Andrew Fletcher
A handy resource list of fonts for iOS: iOS Font List -...
Andrew Fletcher
https://github.com/kylebrowning/waterwheel.swift After a short amount searching...
Andrew Fletcher
Ha you have read it before, one of those throw away lines that is written "just...
Andrew Fletcher
After coding for 16 years... I have decided to have a go at building apps in iOS.  Eventually these articles will tell my story as a newbie to app development. My initial plan is to learn completely differently to how I would normally.  I usually, read a bunch of books about the subject and jump straight in with coding.  This time I will force myself to slow down.  Watch a couple of videos and follow there steps.  Hmm, I will require patience for this! First video...