home
I have some code that currently uses NSArrays to save data to a file. The file size is too large...
I have a function that looks like this bits = bits * 1.5 So if bits was 1 it would return 1.5...
could someone explain me how to shuffle an array which contains several items, like this: var...
I'm trying to use JSON Decoder in Swift 4.1 but I keep getting "The data couldn’t be read...
I'm attempting to map a fairly simple JSON structure using dynamic keys into a struct. The struct...
Given a protocol and extension that is "injected" into MyUIView. The func stubMePlease() can be...
I have programmed a UICollectionView and when the cell is select I would like for it to go to...
I have a view called containerView in which there exist a UILabel and I want to add margin/padding...
I was wondering how I could render a curved line like the one shown in the picture below given two...
This question already has an answer here: What Is Preventing My...
I have this code: func downloadImagesFromJsonProductFile(fileName: URL){ let filePath =...
I am aware that optional values "under-the-hood" are represented as an Optional enum... public...
I am trying to develop an uber like iOS app. I just created a login page and map loading page. I...
I want to change the menu items whether the user logged in or logged out . I search a lot on...
I am working on an AR based application using ARKit. I am using...
I have a project like this: I shared the main screen on the 2nd view: view from the menu...
I want to reload the tableview when app maximizes. i don't want to use notification center because...
I am trying to change the app language and using the Swizzling function, but the problem when...
This question already has an answer here: DateFormatter doesn't...
Hello for the last week or so I was trying to figure out how can I make a delete button on my app...
I have a label with the string shown below. I would like secondVariable to be a different color. I...
This is my View Controller, in which I have set my collectionView and with its methods. class...
I am trying to come up with a way to access UserDefaults using properties. However, I am stuck...
In one of my module, I want show the multiple language HTML texts (English and Tamil) as a...
I am trying to sum of the dictionaries with unique type- let dict1: [String:Any] =...
I have managed to style the links without problem using NSMutableAttributedString but I am unable...
I released an global application. I found a strange formatted timestamp in the log. It is rare...
I'm new to swift , i want to make a UICollectionViewCell layout to be dynamic example: if we have...
I am trying to make a folder & save data in that folder cache directory. For making folder ,I...
I have integrated MBProgressHUD. It was previously showing small indicator but in swift 4 update or...