Questions tagged as 'objective-c'

1
answer

Conversion from NSString to NSDictionary always null

I'm converting NSString to NSDictionary however when I step inside a variable it always returns null. What I'm doing: NSDictionary *json = [NSJSONSerialization JSONObjectWithData: [body dataUsingEncoding:NSUTF8StringEncoding]...
asked by 30.10.2014 / 13:21
2
answers

How to make a UITableViewCell work like Facebook Messenger for iOS?

How do I create a UITableView , where cells keep the text bold, until they are touched, and save this change? For example, when we receive a message in Facebook, the text in UITableViewCell is in bold, after touching the cell and...
asked by 30.10.2014 / 21:31
1
answer

Deleted object being returned in a fetch of Core Data

I'm having a "small" problem using Core Data. This is my architecture: Synchronizer - > SyncService - > PersistenceService - > NSManagedObject All classes in the PersistenceService layer inherit this structure: # PersistenceS...
asked by 30.10.2014 / 17:37
1
answer

prepareForSegue does not display any action on the button

I am relatively new to these schedules and have come across an issue that goes beyond me completely. So I have a menu with 6 UIButtons set to IBOutlet in my viewcontroller. Each of these UIButtons call a specific html internally housed in the Xc...
asked by 11.06.2014 / 17:49
1
answer

how to access via callout bubble on a descriptive map in a tableView

I'm a student and I'm developing an IOS app where the user is given a map with some pinned locations where the name of the location appears in the callout. (via a JSON file) Through a tabBar you can access a tableView where all the places are li...
asked by 28.05.2014 / 21:17
1
answer

How can the current UIViewController know which button to "Call"?

I have a question and the scenario for the question is as follows: I'm in the main screen of my app and I have 2 buttons ( UIButton ), each one takes to another screen. After the user chooses a button and the new screen appears, in t...
asked by 23.09.2014 / 05:49
1
answer

Open HTML with link using NSAttributedString

I get a similar HTML from the server: "<br>Dummy text<br>Click <a href="www.google.com">Here</a>" No Click Here should be possible to click and open in Safari. I tried to implement the following code: (being textMsg...
asked by 22.09.2014 / 15:42
0
answers

Error trying to use AFNetworking downloadProgress in Obj C

I'm trying to use progressBar with the Objective C language to show the progress of the download using the AFNetworking class method, like the following code: AFURLSessionManager *manager = [[AFURLSessionManager alloc] initWith...
asked by 03.01.2019 / 02:51
1
answer

How to convert NSData to URL

Friends I have an image saved in SQLite, I have read the image and put it in an NSData variable I now need to give play in this NSData but the component expects a URL NSURL *urlVideoFile = [NSURL fileURLWithPath:stringVideoPath]; //NSAsser...
asked by 15.09.2016 / 22:31
0
answers

UIWebView with local file, does not open the first time [Objective-C]

Hello, I'm new to Objective-C, and I took a project to maintain my company, do not condemn the idea was not my kkk But the following, we have an app that opens a UIWebView to a local file that goes bundled with the app. This always worked the...
asked by 24.07.2018 / 15:48