I can not get this UIView round

This is the final result of the code below: This is my code: view.layer.cornerRadius = 0.5 * view.bounds.size.width view.layer.masksToBounds = true view.clipsToBounds = true view is the red UIView. This code is placed in viewWillLayoutSubviews ...
more »

2017-05-14 22:05 (1) Answers

Referencing IBOutlet in another View Controller

So, I have been having some major trouble figuring this out and I have searched extensively for a solution but I surprisingly could not find one. I am attempting to create a multiple page (5, to be exact) Sign-Up for users. I'll start off by showin...
more »

2017-05-14 21:05 (2) Answers

Use youtube api to get video list with swift 3

I would like to get back the title, id of the videos of a channel for but I block at the level of the JSON. It effect, when I try to make MYJSONARRAY ["items"] [0], nothing displays:/ Thank you for your help :) let url = URL(string: "https://www.goo...
more »

2017-05-14 20:05 (1) Answers

xcode :How to sniff out web video

Resources they can sniff out a web page, this is how to do? pro recorder iOS app or 迅雷 app(Has been off the shelves)。 I attempt to find the answer in the making, but not what I want。 ...
more »

2017-05-14 10:05 (0) Answers

Symbolicating crash report

I have all dSYM files, crash file and .app file in the same folder, using this command it symbolicates the crash report: symbolicatecrash myCrash.crash > SymbolicatedM.crash But the first few lines still show hex address: Exception Type: EXC_...
more »

2017-05-13 21:05 (1) Answers

Read data from firebase and populate TableViewCell

Hello I have a tableviewcell where i can populate it with custom data from my pc, but i can't use my firebase data on the cell that i have made. I want to fill my cell with String and Int, not only Strings. My code is: PlacesTableViewController Cla...
more »

2017-05-13 17:05 (1) Answers

Read "structured/serialized data" from NSStream

I am developing a game app which will take structured data from a server and make responses based on these data. I have connected the app to the internet through the NSSream. Specifically, I follow the tutorial of Apple's guide. So my code looks so...
more »

2017-05-13 14:05 (0) Answers

CallKit extension begin request

I'm developing an app with database of blocked numbers. In my beginRequest method I'm doing asynchronous connection to my online database and calling context.completeRequest() in completion block. When is this method called? Apple documentation is no...
more »

2017-05-13 12:05 (1) Answers

Swift subclass versus protocol

I am embedding a table view in a view controller and trying to access the parent view controller save button from the embedded table controller. if have the following protocol: it works if my tableviewcontroller subclass (SettingsController) has a s...
more »

2017-05-13 08:05 (1) Answers

get rid of + between words while searching

I'm doing an iOS application where the user insert a movie title and the application tells the user the plot and actor and display an image for the movie. The database is http://www.omdbapi.com/ The application works fine but with movies with 2 words...
more »

2017-05-12 21:05 (1) Answers