« first day (1532 days earlier)      last day (1408 days later) » 

4:31 AM
Good morning all :)
 
4:50 AM
hello all
 
Good morning everyone!!
 
hello @PayalManiyar
i need some help
i am parsing my json data received from server . I have a object called test which will parse all the data . Now I want to again send this object to server in dictionary format
 
5:12 AM
hello
?
@Ranjit what is problem
?
 
hey
so i am getting few html strings also
i used json serialiser lib and converted by object to jsonString
now I am converting the json string to dictionary
using this function
func convertStringToDictionary(text: String) -> [String:AnyObject]? {
if let data = text.data(using: String.Encoding.utf8) {
do {
return try JSONSerialization.jsonObject(with: data, options: []) as? [String:AnyObject]
} catch let error as NSError {
print(error)
}
}
return nil
}
but as one of property in test object is html string
it is not able to correctly make a dictionary
so this is my problem
 
Wait for 15 mins
I have some urgent work
later let me think about that
 
ok
 
5:33 AM
good morning my friends
 
@Ranjit have you done IAP?
@NitinGohel GM
 
yes
 
@Ranjit Is the HTML part of your response ?
 
yes
@iOS10
"description" = "HTML string"
presently i am storing it into the string
 
(confused)
 
5:46 AM
It should not make a problem, as that entire html would be in form of String.
 
@PayalManiyar hi
 
@NitinGohel Gm
 
@ios 10 when I try to convert my object to dictionary
i get error
Unescaped control character around character 441
 
2
Q: unable to access JSON data in Objective-C

Francesco Lupo RenziOk, this is my first approach to JSONs in Objective-C (and i'm quite new to the last one too). i'm to get infos stored my json to use them in Objective-C, but when trying to load it i get null in response from NSLog(@"%@",allData); on. Can anybody please tell me what i am doing wrong? thanks in a...

Did you go through this link ?
 
6:01 AM
@ios 10 i am not understanding
 
Gud mrg all
 
6:17 AM
Sometimes error given us hidden hint about solution
 
Hi Gdnoon
 
@NitinGohel need help regarding IAP
@NitinGohel are you there?
 
yes
 
I have make IPA product identifier at itunes connect
 
6:24 AM
then when in code when I request to that product id info it gives no product in below method
func productsRequest(request: SKProductsRequest, didReceiveResponse response: SKProductsResponse) {
if response.products.count
 
how to send a request
 
and in below line it gives that all the product id . do you know the reason?
print(response.invalidProductIdentifiers.description)
let productIdentifiers = NSSet(array: productIDs)
let productRequest = SKProductsRequest(productIdentifiers: productIdentifiers as! Set<String> )

productRequest.delegate = self
productRequest.start()
 
do you followed any link for
 
yes tutorial of appcoda
 
have you test with test account
?
 
6:27 AM
measn sandbox correct?
 
at itunes connect that status appear for the IAP
its yellow red or green
?
 
yellow
 
have you add screenshot as well
if you just create a identifire
 
that wont apper directly
i think that take some time to reflacet
but try to add screenshot and save identifire
 
6:28 AM
I have done this yesterday
 
okay
it shows waiting for upload status
is it okay? @NitinGohel
 
yes
 
10
Q: Reasons for SKProductsRequest returning 0 products?

Chromium DioxideI'm trying to set up IAP but after making a call to retrieve the products using SKProductsRequest the SKProductsResponse array within my delegate has a count of 0. Here's my checklist: Test product has been added to iTunes connect The product's bundle id matches the app bundle id (and its not u...

many possibilitys
 
6:32 AM
Nitin only the screenshot is metadata for In-Apppurchase. right>?
 
@Rinku yes
 
i recently faced this issue. my app was approved and it asks for itune credential for purchase. but no payment deduction, I saw that the image was not there.
again today i upload this, and it was in waiting review.
 
there is no need to see review that will be review with app upload
you can use sendbox test user for testing IAP
i never make iap for review request
 
yes sandbox also working
no no, i have not made ipa. i just reupload a new build and the image
 
i see
 
6:36 AM
@all Hi everyone
@all anybody knows y css is not loading in web view with html
i have kept all in the same folder
@NitinGohel any idea??
 
nop no idea
 
done this before?
so that i can learn where i am going wrong
 
@hacker you dealing with either wrong path of CSS or you forget to add css file xcode setting
CSS, javascript and HTML load in webview without issues
 
but i am rewriting the path by replacing string
add css file Xcode setting??
what i need to add
html = [html stringByReplacingOccurrencesOfString:@"../css/style-ios.css" withString:@"./style-ios.css"];
 
go to xcode build phases
 
6:47 AM
hello All
 
then copy bundle resoucres
and check you css file is added or not
 
@Tirth not
but this is am downloading inside the app
 
add it like you added images
 
not adding manually
i am downloading
inside my app
 
facepalm mention all stuff initially
 
6:49 AM
sorry
all html,css.js files i am downloading from server
 
im not dealing with such scenario downloading htnl css and show it on webview
 
but only css only not loading
all other fine
 
check how js file path given
same give to css
yeah implement inline css in HTML ...
 
i am replacing the path in html
even if it is wrong inside the html before loading
 
implement inline css in HTML ...
 
6:56 AM
struct sockaddr_in6 zeroAddress;
bzero(&zeroAddress, sizeof(zeroAddress));
zeroAddress.sin6_len = sizeof(zeroAddress);
zeroAddress.sin6_family = AF_INET6;
return [self reachabilityWithAddress: &zeroAddress];
how i covert this code in to swift any one have idea ?
 
i am keeping all the files in document directory
shall i need to be in folder
 
@Hiren post your query on Stack overflow main site
@hacker sorry man .. i'm not dealing with such problem yet :(
 
hello guys
I am trying to make a static UINib instance in swift, so in the UIView subclass's init I load the nib fie using :
let __nib = UINib.init(nibName: name, bundle: nil)
// let __view = __nib.instantiate(withOwner: self, options: nil).first
How I can load nib segment run only once with each instance creation!
 
7:51 AM
@NitinGohel hi
hello every one
i have an issue unable to boot error with simulator
i have tried a lot of answer but still not resolved
mac version - Yosemite 10.10.5
xcode - 7.1.1 & 6.1
Please help me out from this issue
@ShobhakarTiwari @Leena @hacker @PayalManiyar
 
8:33 AM
@sandy restart your PC
@MohamMadSalah use singleton class of UIview
 
8:47 AM
@Ranjit Did you check the link I gave you ?
 
yes
 
Got anything from that ? Like did it work for you !
 
@Ranjit hi
need help
 
yes
nope it didnt work
@iOS10
 
I am doing IAP first time
I have made app at itunes coneect
 
8:55 AM
ok
 
but not uploaded there and I have created IAP
but it gives me no products when I made request for products
any idea?
Am I missing anytihng?
@Ranjit
 
let me check
 
you are logged in with which account?
@PayalManiyar
you need to create sandbox test users
and use that to login in your settings of iphone
and then make calls to IAP
 
created sandbox test user
but info is not coming about IAP
I am checking in simulatoer
 
9:00 AM
have u logged in with that account in your phone
 
but iap request return 0 products
 
hmmm
 
I think acount will be affect when we do transecrion
 
11
Q: Reasons for SKProductsRequest returning 0 products?

Chromium DioxideI'm trying to set up IAP but after making a call to retrieve the products using SKProductsRequest the SKProductsResponse array within my delegate has a count of 0. Here's my checklist: Test product has been added to iTunes connect The product's bundle id matches the app bundle id (and its not u...

1
Q: SKProductsrequest return nothing in Swift

Joey ZhangI have been google this issue for couple hours. I have attempted something like: confirm Bundle Identifier and product id are absolutely correct remove and reinstall app on both Simulator and real devices I have try both 'productID' and 'com.company.project.productID' The IAP in iTunes connect ...

hope this might help
i will be back after lunch
 
@Ranjit okay let me check that
 
9:15 AM
@Ranjit Then verify your JSON response in jsonlint or any other validator.. If its correct, try to add CDATA to your html
 
9:26 AM
@Tirth Not solved by restart
@PayalManiyar hi
 
@sandy hi
 
what about my issue
i have an issue unable to boot error with simulator
i have tried a lot of answer but still not resolved
mac version - Yosemite 10.10.5
xcode - 7.1.1 & 6.1
 
9:58 AM
@Ranjit
for sandbox user email id should be real one?
Do you know?
 
10:09 AM
@PayalManiyar do u worked on css on uiwebview
 
@hacker no
what is issue?
 
css is not taking
in uiwebview
 
10:27 AM
Can someone help me how to encrypt and decrypt string in Swift 2.3?
 
hiii
from the respose i'm displaying the name and tellercode details in TableView Cell....But In TableViewCell The list of details showing multiple times....here is my code...anyone can give the sol...........gist.github.com/anonymous/c5ac58a2ecd542c9c76d7c6247d8c7fb
 
@hacker I think problem from css side
I have done web view with css
 
any one give the sol pls
from the respose i'm displaying the name and tellercode details in TableView Cell....But In TableViewCell The list of details showing multiple times....here is my code...anyone can give the sol..........
here is my code...
 
10:44 AM
@Priya very bad code
@Priya what is purpose?
 
pls give the correct format...@PayalManiyar
 
@Priya what is purpose?
 
10:59 AM
display the list of users in Tableview Cell
now i'm getting the response like this
 
@Priya Is there multiple tableview section required?
In `numberOfSectionsInTableView ` and `numberOfRowsInSection `, there are same return statements : `return [cashierDataArr count];`

I guess you do not require to override the `numberOfSectionsInTableView ` method.
 
11:20 AM
@NitinGohel hi
 
@Mrunal...can't understand
can u explain clearly pls...
@Mrunal
 
11:35 AM
@PayalManiyar helo
 
@NitinGohel IAP info will load in simulator or not?
I do not want to do any transection for now
 
might be yes
sandbox can test
 
@NitinGohel okay
 
in realDevice
you have to test in realDevice
create a sandbox user
 
@NitinGohel yes I have created sandbox uyser
 
11:37 AM
for testing in real Device that wont be charge
 
@NitinGohel...
 
i am dead
 
give any sol
 
@Priya
 
11:37 AM
bro
 
i have no sol for you sister
 
ok
anyone give sol
for this
 
@Priya Do you require multiple sections in tableview or its single section displaying all the data ?
 
12:01 PM
i have used one cell...to display multiple list of users name and teller code
@Mrunal
 
comment out numberOfSectionsInTableView method and then try, let me know if any changes in output @Priya
 
12:18 PM
@all anybody had came across could not build module in cocoapods
 
@hacker Clean and build again
 
tried restart again not working
 
which module?
 
xcode itself
pspdfkit
framework
 
12:30 PM
@hacker Check that for Pods
Build Active Architecture Only, if its yes change to no
And then try
 
no luck
@iOS10
i am using Xcode 7.3.1
will it be the issue?
 
I used to face issue in all version of Xcode
And changing above flag used to work
 
i went to pods project build setting and changed as u sd
but still its throwing the error
 
@hacker Check this setting, you did similar ?
 
12:47 PM
yes
 
Can you provide any other error?
 
could not build module when i #import <PSPDFKit/PSPDFKit.h>
 
1:04 PM
The build setting, "Allow Non-modular includes in Framework Modules" is set to Yes.
Under the Pods, select PSPDFKit and try above one
 
tried
already not helped
 
:O
Try checking the link, seems to be official document for framework
 
user3586553
1:50 PM
1
Q: iOS Cancel or stop push notification from UNNotificationServiceExtension?

user3586553I have UNNotificationServiceExtension implemented for my iOS app running iOS 10. Everything works fine. I want to stop APNS push notification from happening on client side on certain notifications, I tried modifying self.bestAttemptContent = nil; but it didn't work. Is it possible? How?

 
user3586553
help!!
 
5:00 PM
posted on October 19, 2016

macOS Sierra 10.12.1 beta 5 (16B2553a) Now Available

posted on October 19, 2016

iOS 10.1 beta 5 (14B72c) Now Available

 

« first day (1532 days earlier)      last day (1408 days later) »