182 questions
0
votes
1
answer
91
views
Old version of sbjson throw exception in iOS 10
My problem is about coding in old version of sbjson,
there are some code which caused exception in iOS 10.3.3 compiled in XCode 8.3.3.
Update to new version of sbjson might work but since i am ...
1
vote
1
answer
211
views
Migrate from SBJson 2.2 to SBJson 5
Hello We are using SBJson lib with version pod 'SBJson', '~>2.2.3' and want migrate to latest version pod 'SBJson5', '~> 5.0.0'.
What will be effort to migrate. I mean will it support old methods ...
0
votes
1
answer
1k
views
iOS App crash: "Selector name found in current argument registers: appendDictionary:into:"
My application is crashing sometimes with the following reason. Its coming from SBJSON library.
Application Specific Information:
Selector name found in current argument registers: appendDictionary:...
0
votes
1
answer
499
views
Parsing Complex JSON (Navigating the hierarchy of objects it produces) in Objective C
I am developing an app based on school menus and dishes where I am stuck is in parsing complex/nested json
Sample Json URL : Json Data
So far I have just done this as mentioned in below code using ...
1
vote
1
answer
1k
views
Compare Values of Database and Json and display result
I am creating a table with multiple columns. In the left column I want to get the indicator name which is stored in a database and I have to check that the indicator id in database and in json (API) ...
0
votes
1
answer
424
views
Horizontally and Vertically scrollable table view with data from json
I want to create a table view which is scrollable both horizontally and vertically. I can do this by taking values myself. But I want to take the values from json. I am using model class and my json ...
-1
votes
2
answers
655
views
Display records of next page in json in uitableview on scrolling the tableView when I reach the last record
I am trying to make an application that uses SBJSON and ASIHTTPRequest containing 273 pages (50 records in each page)in json. When I scroll the tableView I want to get next 50 records when I reach the ...
0
votes
4
answers
575
views
Incorrectly parse json into NSDictionary
I am trying store text fields data into a NSDictionary from json. I have used SBJson for this.
{
"fields":[
{
"textFields":[
{
"text":"...
0
votes
2
answers
324
views
How to parse NSJsonDictionary objects in json file using SBJson4StreamParser
I'm new to iOS, I was able to write the NSDictionary objects into file like below example
{
"msg":"Hello",
"from":"X",
"date":"12/1/2014"
}
{
"msg":"new to IOS",
"from":"home",
"date":"23/2/2014"
}
I ...
1
vote
1
answer
222
views
SBSJsonParser XCode 6 Compiler warnings
I have a small app I am testing in XCode6 and I get 2 compiler warnings for the SBSJsonParser.m file
Semantic Issue variable 'k' may be uninitialized when used here (in function scanRestOfDictionary)
...
0
votes
1
answer
2k
views
SBJson and swift
Does anyone know how to use SBJson library in swift?
I've this code in Objective-C
NSString *responseString = [request responseString];
NSDictionary *responseDict = [responseString JSONValue];
...
0
votes
1
answer
674
views
using Facebook Graph API how can i access friends names
I am working on a project which requires to display friendlist of my facebook account. When I am assigning me/friends it gives me the number of count of the friends I have in my account, like, {
"...
0
votes
1
answer
1k
views
Parse NSString with SBJSON
Quick question:
How do I parse a NSString using SBJSON4
The string is an UTF-8 encoded JSON string from a web REST api.
I need an NSDIctionary with the parsed data. The string is guaranteed to be a ...
0
votes
1
answer
1k
views
No visible @interface for 'SBJson4Parser' declares the selector 'objectWithString:error'
I've founded this error "no visible @interface for 'SBJson4Parser' declares the selector 'objectWithString:error'" when I've done importing "SBJson4.h" in my code. I don't know why I've founed this ...
0
votes
0
answers
509
views
Fetch data from web service in ios
I am developing an iOS app that should pull data from a web service. Now i have developed a basic structure and layout and implemented it to show static content.
But when i try to load data from an ...