Skip to main content
23
results
Andrew Fletcher
In Vim, following is an outline of the vi(m) functions you can utilise whilst in command mode - yes they are case sensitive action outcome a change to insert mode (after cursor) A change to insert mode (at end of line) dd delete one line G go to end of the file 1G go to top of the file i change to insert mode (before cursor) J merge next line with this one p paste deleted or yanked text after cursor P paste deleted or yanked text before cursor r replace one...
Andrew Fletcher
The challenge I was facing, I had written a script to scan barcodes and use...
Andrew Fletcher
Whilst working through an edit person view in a SwiftUI project, I experienced...
Andrew Fletcher
When managing a navigation title in Swift, you will have trodden down the path....
Andrew Fletcher
Struggling to hide the SwiftUI separators in a List or Form?    The...
Andrew Fletcher
Core Data - customising our data model When you are using Core Data, and let's say that you have a requirement to have an attribute where the options available should be a defined list.  Such as "Not Started", "Pending", "In Development" and "Completed".  How do you create this as an option in Core Data?   Thinking out loud, the practical solution would be to use an enum.  But how do you use a enum in this instance?  As you might have noticed, unfortunately, it...
Andrew Fletcher
Regular expressions (regex) are extremely useful in extracting information from...
Andrew Fletcher
In SwiftUI, has made creating a list of item very easy.  If...
Andrew Fletcher
I attempted the run command and the response I had was succeeded, but then...
Andrew Fletcher
Working with buttons To begin, what is a button in SwiftUI? struct MainView:...
Andrew Fletcher
When those simple annoyances are too frustrating!  Yes we have all been there and I was really hoping that Apple would have fixed what is obviously a bug. Historically I have found Core Data annoying to work with... so for a while now I have been managing the database using Realm.  However, with Realm now significantly bloating (553MB) and the Realm Browser app on OSX no longer usable, it was time to visit my old friend.  With open arms it tripped me up straight...
Andrew Fletcher
Whilst updating nodejs and npm on a Centos 6 or 7 server running Apache, I...
Andrew Fletcher
The purple warning notification of annoyance recently came my way!  I...
Andrew Fletcher
I'm currently working on a project that requires login, register, forget...
Andrew Fletcher
iOS localization on the fly If you have added languages to your app......