Hello All,
So I was wondering if this was a common problem to be leaking memory using NSData to store a connection reponse data. For example, I have this line to initialize my data object
davData = [[NSMutableData data] retain];
And then when the connection errors or finishes loading, I release it. From my understanding, that shoul...
I've used Interface Builder to drop a UIScrollView into the top of a UITableView.
(To do some horizontal scrolling.)
In code, I now wish to selectively show/hide that UIScrollView. I've connected it in IB, and then execute various combinations of code... but the area never disappears.
self.scrView.hidden = TRUE;
or:
CGRect aFrame ...
Hi there,
I'm looking into the Apple ScrollViewSuite and the Photoscroller, and I wonder how to implement a CATiledLayer when downloading the tiles through an NSURLConnection:
how do I notify drawRect: that a specific tile has been downloaded and how do I keep track of the rects and contexts associated with each tile?
Regards Fredrik
...
Hi everybody,
How accurate is the CCLocation class? 20 meters? more or less? Because I'd like to get the most accurate values from the user's location.
Thanks,
Regards
...
I have an audio file that I want to begin playing at a 20 second delay, after the user has seen some animations play etc...
does anyone know how I might go about doing this? I have 5 animations that play, after which I would like to audio file to begin. the whole thing would keep cycling until the user exits the app.
here's the code I ...
Hi,
I want to pop more than one controller that means If I have totally 6 screens. Sometimes I have to come to 2nd view controller or 3rd controller from 6 th controll.
I know how to pop the current controller or poping till root view controller. But need to pop till particular controller.
Can any one please guide me. Thanks in advanc...
Icon/Images with more resolution (@2x) for iPhone4 work on iPhone 3GS or I have make images to 3GS too?
...
I am currently removing this way:
[Refs setArray:[[NSSet setWithArray:Refs] allObjects]];
However i wish to keep the order of the array before the removeduplicates
Any tips ?
Thanks
...
Hello,
I'm trying to add a splitviewcontroller as a subview in another viewcontroller.
To make it easier, I want the splitviewcontroller to be static which means I want to see both master (tableview) and detail controllers in all orientations with no popoverview controller
Is that possible and how?? Any help or direction will be appr...
As per the title, will the iOS call EAAccessoryManager.connectedAccessories return connected bluetooth headsets (including those that are not made-for-iphone registered?
Dont need to connect but want to know if I can use the proximity of a device to trigger an event.
...
Hello
Is it possibly to write a HTML5 web application designed for the iOS devices (iPad, iPhone, iPod Touch) which can allow the user to upload an image from the filesystem?
Imagine uploading a new photo to your twitter avatar via a web app.
Thanks.
...
Anyone know iOS library or sample for drawing diagrams like mind maps/ visio/ graphing sw.
Doesnt have to be full library or full example.
Can be UIKit or OpenGLES
I want to have a app that is like a tree structure with root topic the sub topic etc.
Clicking on root will open subfolders and so on and they get laid out so they dont over ...
UPDATE:
I'm still struggeling with this problem, although I may have some leads. Maybe it has something to do in what way the images are projected on the MKMapView, Google Maps uses the Mercator projection to project it's images onto a map.
If you compare the above image to that of the previous uploaded images, then it looks like t...
It looks to me like Apple was in a bit of a hurry to implement GameCenter. Maybe I am overlooking something.
If you create a game where you want to offer in-app purchases (say you want to sell additional maps or add ons), is there any way at all to match players who share the same maps (plural) using GKMatchRequest? i.e. whose in-app pu...
XCode gives me this warning when I build the app for release.
Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. (-19011)
Do I need to delete all entries from my keychain and redo getting a certificate, provisioning profile, etc?
I can build and debug on the...
Hi all,
I have a UITableView which gets data from a server and updates in every 1 second(using performSelectorOnMainThread). Since this blocks main thread sometimes its not easy to scroll the table and its painfull for the user. Also i cant reduce my refresh interval also.
What are the possible solutions for this problem?
...
I've got a problem with registering touches in cocos2d game. Generally they work well with my layer (scene), however, when it is displayed after the OpenFeint dialog, the touches are not coming through.
The touches are enabled in onEnter:
-(void) onEnter {
[super onEnter];
self.isTouchEnabled = YES;
[[CCTouchDispatcher sh...
Does iPhone key-value-coding have a way to test whether a class will accept a given key?
That is, without implementing the valueForUndefinedKey: or setValue: forUndefinedKey: method of the target class, I want to be able to do something like this:
if ([targetObject knowsAboutKey: key]) {
[targetObject setValue: value forKey: key];
}...
Hi guys,
I have a super weird problem. Every time I run a specific bit of code in the iPhone simulator, my entire Mac freezes: I can't close the simulator, or any other app, and can't open any apps. Worst of all, I can't shut down. I have to force a shut down manually by holding the power button.
I'm running on a 15" MacBook Pro, and t...
Which one should I go after/learn? In terms of market share, prospect, market penetration, opportunity, learning curve etc.
I am a .NET programmer myself. I really hope that Microsoft can do better this time. I hope I can make use of my little knowledge in Microsoft platform to achieve something in mobile apps.
I am opened to any comme...