I would like to display the contents of the NSMutable array in a label.
I have the following code that displays only the last object. What would be the method to display ALL the objects in the array (in this case "values")?
self.lblMessage.text = [NSString stringWithFormat:@"%@\n%@",
self.lblMessage.text, [values objectAtIndex:[values...
Hey Guys another question!
Once again I would like to state that i am new to this and therefore my ability to understand the language Objective C and the Xcode application is limited! So Your help really and truly is appreciated greatly!
I built a countdown app that shows when a radio station is going to be going live, the countdown wo...
I have a Zend Framework application that I am trying to tweak so I can use with an iPhone application. Everything in my ZF application requires that you are logged in first.
In the browser you go to myapp.com/auth/login and get a login form. When you successfully authenticate, a cookie is set in order to remember that you are logged in...
Hi Guys,
I am trying to read some text from a plist file and display it to the users in alert box.
When I build the string using this code, everything works (users sees Hello with a smily icon):
NSString *hello = @"Hello \ue415";
but when I get the string from plist, using this code, uses sees "Hello \ue415":
NString *hello = (NS...
I want to implement a classX that makes some asynchronous calls but in the eyes of the caller ClassC, classX should seem sequential.
ClassC would instantiate ClassX which makes some HTTP calls through NSURLConnection and thus, it becomes asynchronous (and I want it to stay async).
The logic flows like this:
ClassC:
- (void)callerWo...
What's the link to my app on App Store? I want to input only the App ID.
[[UIApplication sharedApplication]
openURL:[NSURL URLWithString:@"???"]];
...
Hi all,
I am new to iPhone sdk . I am writing a program and I want it to totally quit whenever the player press the home button. I am using my iPhone (IOS4) to test. When I press the home button on iPhone while my app is running, it does't really quit the app. Is there any way to fix it so that every time I launch my app, it start newl...
I have a lot of people NSManagedObjects that I need filtering and was hoping to do it within the initial fetch instead of filtering the array afterwards. I've used selectors in predicates before, but never when fetching NSManagedObjects, for example I have all my employees and then i use this predicate on the NSArray...
[NSPredicate pre...
We have an application which would involve HTTP live streaming. As per the documentation, I can encode my streams and provide the encryption key url (if the key is stored on remote server) in the index file (m3u8).
I want to know if it is possible to store the key locally on the ipad and refer to it locally somehow in the index file. Is ...
I'm trying to add Core Data to an existing application, which isn't easy considering that all the documentation and every tutorial starts out with creating an app that uses core data from the start. So I'm trying to convert an existing model class to be a core data entity. Here's what I did:
Add the core data framework.
Add an xcdatamo...
Hello. I am programming some applications for the iDevice market using the unofficial Open SDK, but am having difficulty installing the open toolchain on Windows, rather than Linux (I would use Linux, but I cannot on my work computer), so I am programming it in GNU Assembler (GAS).
Is it possible for GAS to target an iDevice as a format...
It's possible to differientate bettwen a pinch gesture and a counterpinch gessture with UIPinchGestureRecognizer ?
And it's possible to know the angle bettwen the two fingers that perform the pinch using UIPinchGestureRecognizer ?
thanks.
...
Hi. I upgraded to XCode 3.2.3 recently, and now, I see i can't set a base SDK to a previous version. How do I build to allow my app to run on 3.1.3 now?
I am in a serious bind, because I committed to delivering to 3.1.3. :-(
I tried going to look for the 3.1 SDK on the Apple Developer Program site, but all i see is iOS 4.0 and iOS SDK...
Hi all,
I've got a memory leak in Instruments... I've sorted some before, but this one has left me stumped! I would be very grateful if you could help... This is the method with the leak... It takes in a dictionary of data, creates a new based on it and returns it. I've commented the lines with the leaks, and the percentages it gives th...
Dear Developers,
I am getting a potential leak in these methods..can anyone please help me..Leak in method 1 is in line 5..I am referencing this method from another class as [sync loginHandler] where sync is an object of the class which has the method loginHandler..
-(void) loginHandler
{
1 SCRMsugarsoap* service = [[SCRMsugarsoap all...
Right, so i made some changes to Springboard in a hex editor, editing a few variables, etc..
Then i chmod'ed the binary to 755, and code signed it using ldid -S
All goes well, Springboard runs fine and my changes work, but there's a few problems:
Passcode lock gets bypassed (even if it's set)
WiFi status bar icon disappears
Network s...
I'm working on a mobile site for the iphone. I've added a cache manifest and loaded it with a list of resources needed for offline capability. The manifest file has the correct content type. If you view the response header for the file, the content type is text/cache-manifest. The manifest file is here:
http://hoodisgood.clientsit.es/c...
I have an IntroViewController with a very large image, which increases the memory of my app by about 1.5MB. The image is set on a UIImageView within the View Controller's NIB.
Once the intro has finished, I call release on the IntroViewController, which then successfully calls dealloc on itself and calls release on the large UIImageView...
I am using OpenFient for an online leaderboard in my game, but how can I get the leader board data (say top ten)? then display it in my own custom UI? Rather than having to use the open feint screen?
Thanks.
...
Hello,
I've been fighting this for a few hours now and I'm getting fed up. My project builds fine with a debug simulator build , release simulator build and a debug device build, but for some reason it won't build with a release device build. I have a static library containing my cocos2d code, and another static library containing a g...