All Questions
225 questions with no upvoted or accepted answers
6
votes
0
answers
7k
views
Object overreleased while already deallocating; break on objc_overrelease_during_dealloc_error to debug
I am using strong IBOutlet to custom PDFView in NSViewController subclass but I am getting crash on 10.11 after switching view controller. Everything is working fine on 10.8,10.9 and 10.10. I am using ...
5
votes
1
answer
917
views
Whatsapp Message Layouting - time and message in the same row
I was wondering how WhatsApp handles the time shown in every message.
For those who don't know:
If the message is very short, the text and time are in the same row. (tine in the end of row)
If the ...
5
votes
1
answer
870
views
Provide Meaningful Error from NSUrlConnection didReceiveAuthenticationChallenge
I'm working with the OWASP sample for Certificate and Public Key Pinning. The sample uses random.org, and random.org recently got a new certificate. That means connection:...
5
votes
3
answers
2k
views
Generate objective c classes from XSD scheme like JaxB in Java?
I need to create iOS application which reads its configuration from local xml file.
Does iOS developers has similar framework to do it like JAXB in Java?
(JAXB generates Java classes from XSD scheme)
5
votes
3
answers
3k
views
NSURLConnection: gzip encoded SOAP response gets corrupted
I'm having trouble writing a IPhone/IOS Obj-C SOAP client that talks to an application with a SOAP WS interface. The application uses a NuSOAP php webserver and encodes any payload above a certain ...
5
votes
1
answer
292
views
How can we get kCAOnOrderOut to work?
The Apple documentation claims that the Core Animation action key kCAOnOrderOut has one sole purpose: to animate a layer out of sight when it either becomes hidden or has -removeFromSuperlayer called ...
4
votes
1
answer
992
views
Key Value Observing a key in an NSMutableDictionary that contains dots?
I'd like to use KVO to observe changes to a value in an NSMutableDictionary. However, I'm finding that it's not working because the key in the dictionary that I'd like to observe contains dots.
What ...
4
votes
2
answers
267
views
How to smoothly move a button in cocos2d Xcode
I have a jump button, that when clicked the player in game jumps. That button should be movable, how could I do that? I have seen the CCSprite moving images but don't know how to do that with a button ...
4
votes
1
answer
503
views
NSKeyedArchiver encode only part of an array
I have a list of objects that can sometimes change, and I want to keep a persistent cache on the device whenever the app is closed or move to the background.
Most of the objects in the list will not ...
4
votes
1
answer
825
views
Copy/move files with NSFileManager to a path, automatically creating intermediate directories
I want to to copy a file with NSFileManager at a given path.
I am hoping the file manager to create potentially non-existing intermediate directories on the fly. But apparently it doesn't do so.
...
3
votes
0
answers
823
views
Edit EXIF metadata in RAW photos in iOS
I need to edit EXIF data into a RAW (CR2/NEF) file with iOS. Unfortunately, the only way to manage It with Cocoa Framework is UIImageJPEGRepresentation(image, 1);, but this method compress my RAW from ...
3
votes
0
answers
1k
views
Connect to, or as an HID device using CoreBluetooth
Using the CoreBluetooth libs, is it possible to scan and connect to HID devices like mice and keyboards?
Also, is it possible to act as a HID device?
I've tried to scan all available bluetooth ...
3
votes
2
answers
283
views
Reminders.app two-way synchronisation logic
I want my app to synchronise with the Reminders.app. (my app utilizes Core Data)
I've already done a prototype and it works, but there are some bugs I can't think through.
Right now my sync ...
3
votes
1
answer
620
views
Sort Core Data alphabetically with special characters
I have an entity in Core Data containing a lot names. Some of the names has special characters in them, i.e Åfjord. The names starting with the letter Å, needs to be at the bottom of my tableview, ...
3
votes
1
answer
626
views
UIWebView eating all memory for loadRequest in iPad
I have read about lot of leak issues with UIWebView But my case is very simple so I decided to go for a new question.
When I try to load a file from WebView loadRequest method the memory allocation ...