Skip to main content
27
results
Andrew Fletcher
Building a contact list using SwiftUI has many challenges. One challenge is having multiple lists displayed on the one screen.  For example, known contacts using your app against contacts on the phone.  Initially, I tried the following code SearchBarView(text: $searchText, placeholder: "Type here") List { Section(header: ContactListHeader(listTitle: "rivals list")) { ForEach(self.userData.rivals.filter{ self.searchText.isEmpty ? true : $0.name.lowercased() ...
Andrew Fletcher
What to do when you want to filter a Realm object, using NSPredicate in...
Andrew Fletcher
I had an instance where I needed to move content from a plist to the server...
Andrew Fletcher
I'm going to take you on a journey about adding a gradient tint to a...
Andrew Fletcher
Creating a new SwiftUI project is a quick process.  There are already...
Andrew Fletcher
Whatever you are coding - code clarity is your goal. Before you scream and run out the door, I'm not going to reinvent the wheel!  A couple of style guides on GitHub are great way to start...  github - swift-style-guide (however not maintained) and raywenderlich - swift-style-guide.  Swift team at Apple have API Design Guidelines on how to write better Swift...
Andrew Fletcher
To create a .pem file, is quick once you have your .p12 certificate.  I...
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 create a cartfile".  So your thinking carthage update, carthage init, create a plain text document, etc... all wrong.  How do you know... when you run carthage update, you receive the following error Get this error: "No such file in directory" So how do you "just" create a Cartfile? Oh, there are no instructions on the Carthage page either.  Feeling a little ticked off, how do I "just create" a...
Andrew Fletcher
After coding for 16 years... I have decided to have a go at building apps in...