Tagged Questions
0
votes
2answers
35 views
Extension for a Foundation class
Since the .m files for the foundation classes(say for NSString) are not available , I was thinking if I could declare an extension, inside the .m file of a category declared on the same class. I was ...
0
votes
1answer
35 views
How to change a NSDate's day by adding hours?
I have an app firing off UILocalNotifications every hour, which will stop at the time the user selected in a date picker. I pre set 23 local notifications by adding hour components by one. The problem ...
0
votes
0answers
36 views
Adding framework in static library in iOS
I have added a third party framework in my static library in Xcode, later when i add this library to a project, i have to add this framework again. So is there any way exist by which i don't have to ...
1
vote
1answer
127 views
How to test a newsstand new issue?
And I have a newsstand app in appstore, and Now I want to add the function of adding new issue with Newsstand, and then my newsstand icon will be changed to a new screenshot with [new] ribben , but I ...
2
votes
2answers
55 views
How to release CGImageRef if required to return it?
I have a method to resize a CGImageRef and return CGImageRef. The issue is the last few lines, where I need to somehow release but return it after. Any ideas? Thanks
...
0
votes
1answer
31 views
How to cancel a UILocalNotification based on time
I'm writing an application based on UILocalNotifications. I having the user input a time on a date picker and that time will represent when the last UILocalNotification will fire. After the user hits ...
0
votes
3answers
105 views
Variable losing its allocation
I cant figure out why I am getting this error and would appreciate some guidance.
I am setting a variable in the viewDidLoad method and the NSLog returns the expected result from _myUser.email and ...
2
votes
6answers
1k views
Where CFBundleName is being used
From this old question: what's the difference between "bundle display name" and "bundle name" in cocoa application's info plist
It points to the official docs, which say:
...
0
votes
1answer
24 views
iOS Facebook FQL problems
I'm trying to get the follow FQL statement working in my iOS app
SELECT comment_info,likes,share_count FROM stream WHERE post_id
For some reason i keep getting an error from the graph API saying
...
0
votes
1answer
33 views
How to make AFNetworking show plain HTTP response error
I'm trying to send some information from my app to my PHP server side program.
When I try to send the same data using the PHP Array as UnitTest it works. So I dont know why AFNeworking is thinking ...
1
vote
2answers
479 views
Xcode 4.6 won't archive a target with dependent libraries
Trying to archive a target results in dependent libraries being unable to find public header files during compile. I am seeing an error like this during Archive.
fatal error: ...
0
votes
2answers
270 views
How to find 32bit CRC for a file in objective C
I want to find out CRC for a bin file in my iOS application. Is there already a function which will accept filename as input and return 32 bit CRC value? Please share me if any code available.
2
votes
2answers
35 views
When calling dealloc from a UIView with ARC, can I assume ivars are still retained?
I am adding a KVO observer on a subclass of UIView to one of its subviews. I also have a strong reference to the subview. When I call removeObserver on the subview in dealloc, can I assume that the ...
0
votes
1answer
24 views
AFNetworking - Stream 0x96c93c0 is sending an event before being opened
I am trying to send some data to AFNetworking to my server but when I want to send the data the following error appear in the console log and the server never received the data.
Does anyone know why ...
0
votes
4answers
85 views
How can you deserialize an escaped JSON string with NSJSONSerialization?
I have an iOS app that needs to process a response from a web service. The response is a serialized JSON string containing a serialized JSON object, looking something like this:
"{ \"name\" : ...