If I click on the first username "Kelly Kapoor" it should redirect to another page and when I click on the second username "Jim Halpert" it should red ...
If I click on the first username "Kelly Kapoor" it should redirect to another page and when I click on the second username "Jim Halpert" it should red ...
I'm kinda block for this scenario , I have a enum which have the same value now the question here is that they have different usecases how can I put a ...
This cause error in my Extension How I use it ...
How to use this library for gradient colors as they haven't mentioned the usage of gradient with ThemeAnyPicker in their documentation. I am using pl ...
So I'm using multiple delegates to pass trough data, but I don't know if it's the right way. I only want to maintain 1 main object to be sure that if ...
In my app all screens have portrait orientation. How to allow only single UIViewController be in two orientation mode: portrait and upside down? When ...
I'm working on application using SpriteKit and I'm having trouble with NSCoding on a particular object (a GKComponent object). I'm using Swift 4.0 and ...
I need to resume my WebService if my bearer token expire by http code 401 , below is my code. When a 401 error occurs that means the Access Token ...
I have a fairly simple code which, upon clicking a button, adds a randomly colored UIView to a UIStackView, and upon a different button click, removes ...
I'm learning swift, and I do the sololearn course to get some knowledge, but I bumped into something that I don't understand. It is about modifying an ...
tl;dr I'm trying to recreate this in the Twitter app: https://i.imgur.com/173CVyM.mp4 As you can see, Twitter plays a video in the feed (table view c ...
I have a custom UITextView that shows a placeholder, like so: I've put the UITextView inside a UIView which sits inside a UIStackView so that I can ...
When I click on my Storyboard file, I can't see the UI I made. It's showing some code instead of my UI. How can I see my Storyboard user interface? ...
I want to print the data only after executing all loops inside the closure block, since I don't know how to use dispatch group exactly. I have tried i ...
I have a UITextView. I want to disable all line breaks in the text view, whether they're typed manually or if the user pastes text that contains line ...
I am new to swift and iOS development. I have created a scroll view with table view cells and image views inside cells. Each Image view has a button w ...
I want to make a simple custom UITextField and I can't figure out how to set its height. The problem is the UITextField expands to fill parent, and I ...
I have discovered that my UIViewcontroller is not calling deinit() under the following scenario. I am using this code extension to make my life easier ...
I have a time coming from service in string form like so "12:30 PM". I am able to get this time but I want to add this time in current date. like so ...
I am a little confused, I try to display a pop-up in my View when my function is true otherwise continue but I do not understand how to do it I am los ...