Questions tagged as 'xcode'

1
answer

Drag a view with the speed of the UIPanGestureRecognizer gesture

I have a method that drags me a view as I slide my finger on the screen. For this I use UIPanGestureRecognizer . In the method I increase the position x of the view point to point, but I'm interested in moving it according to the sp...
asked by 11.01.2017 / 17:33
1
answer

UILocalNotification is obsolete in IOS10

I am working on an app that generates notifications, however when generating a notification on a device with a version equal to or greater than 10; the notification is not generated. How can I change the following method to work on all devices?...
asked by 24.01.2017 / 21:29
2
answers

Convert Array String to Array float

People have a challenge I have to convert arrayString to arrayFloat it's not how you usually do it array *date = [obj valueForKey:@"oficialTime"];// por ejemplo 10:10:02 float f = [date floatValue]; The problem here is that array is in Ns...
asked by 20.01.2017 / 13:12
1
answer

Move a Slider by steps or segments

I need to create a Slider that moves in steps. On a scale of 0 to 100 units, you can move in 5 steps of 20 units. I tried to do it with the Slider class that comes by default in Xcode. I had thought to round the value when I moved the Slider to...
asked by 15.12.2016 / 10:13
1
answer

Objective-C How to save the pointer to a static method in a variable?

I would like to save in a variable the address of a static method and then call it when it interests as if it were a function pointer in C. How would it be implemented in Objective C? Would it work the same for non-static methods?     
asked by 21.11.2016 / 22:17
1
answer

Back to erase subviews of a TableView after a reload?

I have a TableView to which in each cell I add several imageView. In a moment of the application I have to change the imgeView of a cell in one position for another imageView therefore I do a reload of the tableView. The problem is that when doi...
asked by 17.03.2017 / 16:42
3
answers

Pass data between controllers within a tab bar IOS swift3

Hi, I'm starting to program in Swift3 on iOS and I need to do a tab bar but I do not know how I can pass data between the controllers, can someone help me?     
asked by 16.03.2017 / 15:35
2
answers

Push Notification in backgroud IOS 10, Swift 3.0, XCode 8

I commented that I have migrated my swift app 2.3 to 3.0 and I am working with Xcode 8. with the previous versions I could capture the payload of a push notification using the function: didReceiveRemoteNotification. I have been trying for sev...
asked by 06.10.2016 / 00:23
1
answer

UIButton custom class

I have the following custom class of a UIButton , but when I add it to a button in Xcode I can not make the changes be reflected. Does anyone know what the problem is? import UIKit class BotonBordesRedondeados: UIButton { // Only...
asked by 27.12.2018 / 04:47
1
answer

View properties do not appear in Storyboard support

Hi, I've been struggling since I started programming on iOS with the use of Pods in projects, an example is when I install Floaty Pod without problems and when I use it I do not see the properties of the view and so on I can design my button....
asked by 04.11.2018 / 22:44