swift tag

599 questions


1 answers
164 views
0
How to deploy fileers like "Finder" on Macs and "Files" on iOS like Numbers?

A filer like Numbers is ideal for the app I am currently developing.On Numbers, the file selection screen looks like the image below.Also, you can change the destination of automatic saving from the N...

2 years ago

2 answers
69 views
0
How Swift handles objc class method initialize equivalent

I'm rewriting a sample of Aaron Hiregas' MAC OS X COCOA programming with Swift and it's stuck in the title.Each class receives the message initialize before it receives any message, and I wrote a code...

2 years ago

1 answers
48 views
0
The configured identifier format is unknown.

The code below https://github.com/firebase/quickstart-ios/blob/d60148bc34847da1f80358052bd5bdb1cb6b2597/authentication/AuthenticationExampleSwift/PasswordlessViewController.swift#L65-L71I don't know ...

2 years ago

1 answers
47 views
0
Unable to get carrierName from serviceSubscriberCellularProvider.

The subscriberCellularProvider is now deprecated in iOS 12, so I replaced serviceSubscriberCellularProviders, but I'm having trouble getting carrierNameThe Apple document says it's a dictionary type, ...

2 years ago

1 answers
138 views
0
About Swift, Hashable protocol compliance.

I'd like to use my own class to process it using a set.For that reason, I would like to conform to the Hashable protocol to my own model.From the translated version of the swift reference, structure G...

2 years ago

1 answers
99 views
0
Xcode10 wants to implement push notifications, but builds fail with require the provisioning profile with the Push Notifications feature...

Using the Repro configuration page, I am trying to set up a provisioning profile for my iOS app.However, Provisioning Profile is not found in Build Setting in the first place.As a result, the push not...

2 years ago

1 answers
127 views
0
I want to change only the UILabel string, leaving the attributes set in the storyboard.

https://stackoverflow.com/a/42166899/1979953and https://stackoverflow.com/a/38297423/1979953 with reference toextension UILabel { func replaceAttributedText(string:String){ iflet originalAttributedTe...

2 years ago

1 answers
122 views
0
extract elements from HTML

I was able to get HTML of the site on Swift and even output it as String, but I don't know how to extract elements from it.For example, if you specify an Apple home page, you want to get elements such...

2 years ago

1 answers
157 views
0
Run when you come back from Popover

How do I detect it when I come back from Popover?You can't use viewWillAppear, etc. Run function during screen transitionswiftI tried to run the function when I dismissed by referring to , but when I ...

2 years ago

1 answers
162 views
0
I want to adjust the width size with iOS segment control.

I have a question about UISegmentControl.In SegmentControl like the attached image, without changing the overall size when selecting FirstIs it possible to increase the width of Fisrt and reduce the w...

2 years ago
« - 5 - »

© 2024 OneMinuteCode. All rights reserved.