I'm only getting this error in my app since upgrading to ios4.
newsDetailController.news = (News *)[self.fetchedResultsController objectAtIndexPath:indexPath];
NSLog(@"\n Indexpath of details news before pass = %@", [self.fetchedResultsController indexPathForObject:newsDetailController.news]);
Basically, this:
[self.fetchedResultsCon...
Hi I am getting unable to configure leaks instrument for target process when i try to run the performance tool with my app on a simulator. any ideas? I have the last xcode version. Thanks. I never had this problem before. I noticed this after updating my xcode.
...
Hello,
does anyone know of a UI Library for iOS, that acts like a horizontal UITabelView?
I want to scroll cells from right to left and not from up to down.
Thank you
twickl
...
Hi,
i need to get text from a textfield when user presses any key. i am trying to use notification UITextFieldTextDidChangeNotification to get the text but not able to succeed. Can someone please guide me how to get the text from texfield on change. I have the textfields inside a uitableview. Thanks in advance.
...
When I build app with Xcode 3.2.3 (iPhone SDK 4), following image was showed in Build Log
Info.plist: MinimumOSVersion value is
invalid. It must be a valid version:
(-19024)
...
Hi,
I'm trying to check if some email address is correct with the following code :
NSPredicate *regexMail = [NSPredicate predicateWithFormat:@"SELF MATCHES '.*@.*\..*'"];
if([regexMail evaluateWithObject:someMail])
...
But the "\." doesn't seem to work since the mail "smith@company" is accepted. Besides, I have the following warning...
I'm having problems figuring out how to display different cell styles as well as custom cells together within a UITableView. I understand how to set up and put cells together and the construction of a basic UITableView, but just not how to "mix and match" cell within one.
The best example I can show you on what I am trying to achieve i...
i am developing an application in which i will be sending a string to peer(after converting it into NSData object) and also an UIImage again by converting into NSData object.
Now at receiving end i have a receive method
- (void) receiveData:(NSData *)data
fromPeer:(NSString *)peer
inSession:(GKSession *)session
...
Hello!
In my iPhone game I use separate thread to load resources. I use multiple EAGLContext's. Sometimes I need to render to texture in this background thread. But all I get is the black 1024*1024 texture. How do I render to texture in one thread while other thread is performing screen rendering?
...
I need to detect if the user is using an iPhone 4, but I need this to work on the simulator (cause Apple forgot my country and there's no sign of iPhone 4 here soon).
I found this
http://www.clintharris.net/2009/iphone-model-via-sysctlbyname/
but running this on the simulator it does not detect the correct version. I mean, Xcode 3.2.3 ...
I'm just getting into the client-server data sync stage of my iPhone app project, and have managed to get my CoreData data model loading on both the iPhone client and my TurboGears server (which is good). I'm now beginning to tackle the problem of sync'ing data between the server and multiple clients, and while I could roll my own, this...
i have 2 classes.
class1 gets some information through the net. when one of these informations comes, class1 has to send a notification to class2.
i understood it so that i have to put
[[NSNotificationCenter defaultCenter] postNotificationName:at"anyUserNotification" object:class2];
into class1
[[NSNotificationCenter defaultCente...
Hi everyone, if I create an nsmutablestring and then release it , shouldn't the retain count be 0?
my retain count stays 1.
NSMutableString *text = [[NSMutableString alloc]init];
[text release];
NSLog(@"retain count %d ", [text retainCount]);
Am I missing something ?
thanks.
...
Hi people,
I've got another problem my my UITableView: I dynamically load "Questions" from a XML File and show them inside cells of my UITableView, where the user can also answer them. The Problem is: if you scroll down, and then scroll up again, the answers that you typed before, just disappear. I've also noticed that UITableView calls...
I'm working on reversing some private functions in CoreTelephony for iPhone. Reversing objC is no biggie, but I can find the type of the arguments for example of _CTServerConnectionCreate.
if I break at _CTServerConnectionCreate and use "info args" it will fail because no symbol table info is available :(
If I switch to that frame and us...
This question is basically the inverse of this other question: http://stackoverflow.com/questions/1308079/calling-python-from-objective-c
I have implemented my iPhone application logic in Objective-C (obviously), and am now trying to re-use as much as possible from my XCode project in the server component to save on double-implementatio...
Is it possible to use the MoviePlayer and the MusicPlayer at the same time within an app?
This doc http://developer.apple.com/iphone/library/releasenotes/General/RN-iPhoneSDK-4_0/index.html implies it should not be a problem:
"In iOS 3.2 and later, the MPMoviePlayerController class now defaults to share the application's audio sessio...
I'm working on a charting algorithm that will give me a set n array of y axis values I would use on my graph.
The main problem is that I also want to calculate the number of number of steps to use and also use nice numbers for them. It must be able to take integers and doubles and be able to handle small ranges (under 1) and large rang...
Is there a standard way to create the blue resize handles? Such as what you see in "Pages" when you resize graphics.
...
Hello Anyone,
Can anybody help me in such situation:
I have Navigation interface in my application and push TestController to nav stack
Also I have separate xib file: Test.xib where File owner's is TestController. Test.xib has View (property TopBar set as NavigationBar and it shows) with only TextView.
All works fine: Controller is pus...