Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
64 views

The problem is I have a Parent TableView and Inside Tableview I have a CollectionView and Inside collection I have another Tableview for each Cell.My Problem is I am not able to load first 0th item of ...
vanitha's user avatar
  • 15
1 vote
0 answers
463 views

I am trying to compare 2 images , I cropped face from images now I want to compare them But below codes have errors , unable to fix it, Please help, Below is my code which I am trying to compare faces ...
DSRawat's user avatar
  • 99
1 vote
0 answers
237 views

Currently, We are developing a MacOS application and the app can connect successfully to a server "X.X.X.X:YYYY" with default TCP Option and none TLS by NWConnection. Note: the host name ...
Khang's user avatar
  • 31
0 votes
1 answer
266 views

I am looking to create a water fill effect into a shape and am using WaveViewAnimation project. I want to allow the user to press on different buttons to create different colour waves to fill the ...
SriTeja Chilakamarri's user avatar
0 votes
1 answer
102 views

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 redirect to another page. I've ...
Darshan Virani's user avatar
-1 votes
2 answers
515 views

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 condition for this to case in switch: supposed I ...
User Unknown's user avatar
  • 1,079
1 vote
0 answers
114 views

My crash log from firebase unfortunately doesnt really help me finding a solution to my issue. Crashed: com.apple.main-thread 0 MyApp 0x94d30 PostsAPI.loadNewestPosts(...
Zash__'s user avatar
  • 293
0 votes
0 answers
181 views

I have a weird crash which I cannot solve. I have a tableview which displays data which works just fine. When I leave the app and re enter it (without killing it) it sometimes (really seldom, like in ...
Zash__'s user avatar
  • 293
1 vote
1 answer
1k views

I'm making a migration from Swift 2.3 to Swift 5 with a lot of pain and well, I'm ending the migration but I'm still getting an error in some places of the code: Notification' is ambiguous for type ...
Final_Odin's user avatar
0 votes
1 answer
723 views

DispatchQueue.main.async { } This cause error in my Extension How I use it let topController = UIApplication.shared.topMostViewController()
9to5ios's user avatar
  • 5,585
0 votes
1 answer
72 views

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 plist method which is much easier way than the other ...
Jaseel.Dev's user avatar
5 votes
0 answers
595 views

this is the second time I posted here about this issue and no one could help me my project was good in iOS 14 and previous versions when I debug my app on simulator or real device that have iOS 15 the ...
Joseph's user avatar
  • 63
1 vote
0 answers
144 views

Hi i am aware that apple does not allow us to create core haptic in iWatch instead it make us to use the default haptic it has. But the default haptics are of short length. Can I get help to know how ...
Supreet Patil's user avatar
0 votes
2 answers
271 views

In my app all screens have portrait orientation. How to allow only single UIViewController be in two orientation mode: portrait and upside down? When user rotates an iPhone, the UIViewController ...
Stanislav Putilov's user avatar
3 votes
0 answers
201 views

I tried to use TinyCrayon in my new iOS project. The library consists of a binary library framework. The link of the framework is dead in the TinyCrayon readme but it can be found here. When I add the ...
oOEric's user avatar
  • 1,079
0 votes
2 answers
615 views

im working in ios swift, here i have used core data to store values and written some function to find the data and return it. public func insertdetails (id:String, data:String, createdAt:String){ do{ ...
Muthukumar Lenin's user avatar
0 votes
1 answer
2k views

With this code: public protocol LoginInfoBase: Decodable { var access_token: String? { get } var notifications: [PushNotification] { get } } public class ExampleLoginInfo: LoginInfoBase { ...
Dylan's user avatar
  • 2,385
-2 votes
1 answer
197 views

Why does the banner not work when I use the Turkish "ç" character? I've tried everything, everything seems fine. But I only get such an error in the "ç" character, has anyone ...
Osman Yıldız's user avatar
2 votes
1 answer
1k views

I've been trying several links to download pkpass from server but whenever i download it it shows me the size of file "0 kb", due to this i cannot convert it to pkpass data. is there any ...
Furqan Baig's user avatar
0 votes
1 answer
112 views

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 iOS 11 in Build Settings. The application always ...
Bob's user avatar
  • 188
0 votes
2 answers
306 views

I have a class with a required init coder that I have a method I would like to call from another class. Im unsure how to instantiate this class. first class I want to call import UIKit import ...
user avatar
1 vote
0 answers
491 views

I am building an app in swift which has takes user details like Name, age, gender, picture, About me. I am saving all the data in core data and and displaying it in tableView. It also has a swipe to ...
Asad's user avatar
  • 11
1 vote
2 answers
1k views

I am new to swift I want to reload my tableview so I used tableviewName.reloadData() After this the table view is reloaded and scrolled a bit upwards but I want to stay where it is Here is the code ...
Crist's user avatar
  • 41
0 votes
1 answer
853 views

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 has expired and I need to send a Refresh Token over ...
9to5ios's user avatar
  • 5,585
-1 votes
1 answer
405 views

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 a random UIView from the UIStackView. Here's the ...
Idanis's user avatar
  • 2,008
1 vote
3 answers
1k views

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 array's values. The questionable part states the ...
Somee's user avatar
  • 21
12 votes
1 answer
565 views

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 cell) and when the video is tapped, the video ...
user86516512's user avatar
1 vote
1 answer
244 views

I have a custom UITextView that shows a placeholder, like so: extension UITextView { private class PlaceholderLabel: UILabel { } private var placeholderLabel: PlaceholderLabel { if ...
user86516512's user avatar
-1 votes
1 answer
112 views

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?
Syed Asad Ali Kazmi's user avatar
0 votes
1 answer
177 views

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 in several ways. What am I doing wrong here? ...
Jaseel.Dev's user avatar
1 vote
1 answer
1k views

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 breaks, and replace each line break with a space (&...
user86516512's user avatar
0 votes
1 answer
134 views

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 with same constraints. I have a fixed button in the ...
Sanjay's user avatar
  • 23
5 votes
1 answer
2k views

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 realise I can set .frame() modifier on the ...
Elisey Ozerov's user avatar
0 votes
0 answers
82 views

I have a poll system where users are able to create polls. Each poll must have at least two options, with the ability to add up to four. Right now, I have a collection view cell for each text field, ...
user86516512's user avatar
1 vote
2 answers
195 views

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 by adding tap gesture recognizers. https://gist....
NullHypothesis's user avatar
0 votes
0 answers
90 views

I have an IOS app that schedules a local notification on the day the app is opened, and every day at roughly the same time for the next 7 days. What happens is each notification is repeated the number ...
SamMaj's user avatar
  • 358
0 votes
2 answers
1k views

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 31/3/2021 12:30 PM The current date is ...
A.s.ALI's user avatar
  • 2,090
0 votes
0 answers
738 views

I have been trying to implement Coinbase API in my application that is built using swift 5 and xcode. Whenever I try to convert this base64 encoded data to Normal string, it returns nil. Here is the ...
ineedtolearntoeat's user avatar
-1 votes
1 answer
1k views

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 lost between the different ways of doing. I tried ...
luck99's user avatar
  • 51
0 votes
0 answers
51 views

In order to initiate the coredata stack in app delegate is not recommended as it will create issue in a multi threaded environment. Therefore, I created a separate class for coredata stack and then a ...
danu's user avatar
  • 1,199
0 votes
0 answers
83 views

I have a VC that is UICollectionView that has header. This header is a custom cell, and inside that cell there is an button with image which I need to change based on info from API or user tap. In ...
learningswift's user avatar
2 votes
2 answers
3k views

Is it possible to correctly decode using Swift language base64 encoded string which contains a string in non-utf8 encoding (ie. Windows-1252 or ISO-8859-1)? Every snippet of code that can be found ...
moogeek's user avatar
  • 427
0 votes
3 answers
754 views

I am new to iOS practicing XIB I have created an XIB for a cell Now When I resize it from here I automatically change its behaviour in tableview I want to give this XIB with as 100% of tableview. I ...
Noor Ahmed Natali's user avatar
0 votes
1 answer
751 views

I am testing the swiping controller/gesture from Jake Spracher with his SnapchatSwipeView (https://github.com/jakespracher/Snapchat-Swipe-View ) I have setup a topVC,leftVC,rightVC and middleVC(the ...
Victor's user avatar
  • 81
2 votes
1 answer
2k views

IMGUR image search returns json: {"data": [{ "title": "Family :)", "images": [{ "title": null, ...
Mr_Vlasov's user avatar
  • 537
0 votes
2 answers
257 views

Imgur image search response has following structure (simplified) : { "data": [ {"title" : "Kittens", "images" : [ { "title" : "&...
Mr_Vlasov's user avatar
  • 537
0 votes
1 answer
579 views

I'm a beginner with swift and I'm learning as I go with a project for myself. Right now, I'm trying to make a "kiosk mode" window appear that maximizes to fill the entire screen while the ...
Alexei Yakovich's user avatar
1 vote
0 answers
293 views

I have to change / switch rootviewcontroller to user home page when login is success. But when I change rootviewcontroller here I can't navigate to another page from buttons inside home view ...
Jaseel.Dev's user avatar
0 votes
1 answer
787 views

Followed all instructions showed in this video: https://www.youtube.com/watch?v=qFQLG1Hlzis As well as all instructions that are shown here: https://firebase.google.com/docs/crashlytics/get-started My ...
jbeltran's user avatar
-2 votes
1 answer
75 views

I have a Dictionary<String, Any> Data in the following format. I need to extract the values from it.I am unable to extract the values, initially it looked to me as JSON but it's of type ...
Ankit's user avatar
  • 67

1
2 3 4 5
114