Questions tagged as 'xcode'

1
answer

Show PDF with urlPath Swift Xcode

Currently I have a webservice which returns an array of bytes which I transform into base64 to assemble the PDF, this is saved in a route and if I go to the route I can open the pdf normally. All this I do in func saveBase64StringToPDF(base...
asked by 25.10.2018 / 16:48
1
answer

Background gradient

I have a table which has custom cells, Like the image, I have the background is gray, but my goal is that the gray is in gradients, I mean have a stronger gray from the right to the clear on the left, example image: so far I ha...
asked by 18.04.2018 / 19:18
2
answers

Parameter step of a viewController son to parent after doing a dismiss

From a parent controller I call another child ( popoverContent ) with self.present , the child driver is a typical view in the form of a popup that I end up closing with a dismiss but I want to pass some data to the parent view....
asked by 31.01.2018 / 00:10
1
answer

Sort with NSSortDescriptor

I am trying to show in UITableViewController my items stored in Core Data in a specific order given by one of its attributes. There is an attribute that can be 1 or 0 and my intention is to show first those whose value is 1. NSFetchRequ...
asked by 16.12.2015 / 10:47
2
answers

Validate if the data is null

How can I validate if a URL in my database is NULL and if so, show an alert but if it has a URL, open it func Facebook(sender: AnyObject) { if let url = NSURL(string: face){ let alert = UIAlertView(title: "Aviso!!!", message: "Mmmm...
asked by 17.08.2016 / 20:51
1
answer

Swift error when running the app: dyld: Library not loaded:

When I run the app both in the simulator and on a device, it closes and shows me the following error: dyld: Library not loaded: @ rpath / DatePickerDialog.framework / DatePickerDialog   Referenced from: /Users/bimo/Library/Developer/CoreSimul...
asked by 25.09.2018 / 21:58
1
answer

ACAccountStore swift2

How do I create an account for my application with ACAccountStore in swift2 and Xcode since it only shows me facebook and twitter but I will not use them. I need to create is an account that is of my application. Thanks.   ...
asked by 09.06.2016 / 15:15
2
answers

UIBarButtonItem Xcode

I need to be able to center this image in the middle of my UIBarButtonItem Currently seen: what I would like This is my Swift code func setupNavigationBar(showBack:Bool, showMenu:Bool, showFilters: Bool) {...
asked by 06.10.2018 / 07:36
1
answer

UITable type Accordion IOs Swift 4

I have the following UITable @IBOutlet weak var resultsTableView: UITableView! let sectionTitles = [NSLocalizedString("movementsPayTitle",comment:""), NSLocalizedString("movementsCollectTitle",comment:"")] func getCell(cell: QueryPayme...
asked by 30.04.2018 / 21:22
1
answer

Integrate Alamofire into a Cocoapods library

I'm doing a component in github integrated with cocoapods, the thing is that I want to use Alamofire within the component and of course I have not seen anywhere like making use of a library like Alamofire inside another library that would be the...
asked by 04.08.2016 / 17:36