Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8339285
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:50:43+00:00 2026-06-09T04:50:43+00:00

I get an error saying: no visible @interface for ‘NSData’ declares the selector ‘JSONValue’

  • 0

I get an error saying:

"no visible @interface for 'NSData' declares the selector 'JSONValue'" ??

It happens when I have a data stream (NSDAta) NSDictionary * dict = [data JSONValue];

I have only the SBJson files that came with the facebook SDK. Can someone help me understand what is happening.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T04:50:44+00:00Added an answer on June 9, 2026 at 4:50 am

    Your “data” should actually be a “NSString” object.

    Then you can do something like this (assuming the JSON data is in the variable named “data”):

    NSString *json_string = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]; 
    if(json_string)
    {
        NSDictionary * facebookDict = [json_string JSONValue];
    }
    

    Also make sure you “#import "NSString+SBJSON.h"” at the top of the .m file this code lives in.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If I set pre-compile script into binary code to true I get error saying
In the below code: var id=obj.setid({{info}}); I get an error saying illegal character and
The error I get is Xcode saying 3 things are un-declared (see below picture)
I get a message saying the following: Error 1 Package restore is disabled by
I have this query and I get error Operand should contain 1 column(s), whats
When I attempt to BuildSessionFactory() I get an error saying it cannot find the
playerProfileID = (int)transfersDGV.SelectedRows[transfersDGV.CurrentRow.Index] .Cells[0].Value; I get an error saying: Index was out of range.
When I execute this code I get an error saying PHP Fatal error: Call
When I try to do the following I get an error saying I'm trying
Here is my code. When I run this I get an error saying :

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.