Hello,
I have a tab bar application with a different view on each tab. Each view has a UINavigationBar with title set on Interface Builder. I am wanting to change the title based on a clause in the ViewDidLoad method, so if x { change the title }.
I have tried self.title = @"title" , which I read here on Stackoverflow - but this chang...
Can someone explain to me how .string files can be used in iPhone SDK similar to how .plist files can be converted into NSDictionaries?
Edit: I want to be able to use it like this:
NSDictionary *dict = [[NSDictionary alloc] initWithContentsOfFile:@"dict.plist"];
NS???? *strings = [[NS???? alloc] initWithContentsOfFile:@"Strings.strin...
Is it known how to get the keypad interface from the Phone and Skype apps? This is distinct from the modal keypad view that appears when a UITextField becomes the first responder.
Is this just a UIView that the developers of Skype laid out themselves in IB, complete with custom graphics to get the square shape of each button? Or is ther...
I think I understand the error message: CoreData could not fulfill a fault, but I am not sure how I should deal with it.
We have an application where we use Core Data to persist data returned from a JSON service. Today I am doing the following.
Fetch local object from persistent store and return to UI
Ask server if the object is updat...
Hello,
I would like to know how the following works in Objective-C
in my header file i have the following which is initialized from a different view controller
@interface UserLookup : UIViewController {
NSManagedObjectContext *referringObject;
}
and in my implementation file i have to pass this NSManagedObjectContext to 2 chil...
I'm trying to use a simple UITextView in a basic view, but it causes the app to crash sporadically. Sometimes it crashes while I'm typing something in it, sometimes when I'm scrolling, sometimes after I hit the return key. From the stack trace, it looks like it's being caused by graphics or animation related code for rendering UI element...
Iam trying to read data from a table.
Initially it is empty. If i tried to read at that time it will cause an exception.
My code is given Below
-(NSMutableArray *) selectDataFrom:(NSString *) tableName
{
NSString *qsql = [NSString stringWithFormat:@"SELECT * FROM '%@' ",tableName];
sqlite3_stmt *statement;
if (sqlite3_p...
Hey there,
I saw some documentation and previous questions about this, but couln't find a solution. My code looks like:
for(NSString str : NSArray){
NSLog(str);
}
The error is at the :
Thanks in advance.
...
I am using a UISegmentedControl with some custom images:
UISegmentedControl *segmentedControl = [[UISegmentedControl alloc] initWithItems:nil];
[segmentedControl insertSegmentWithImage:[UIImage imageNamed:@"0.png"] atIndex:0 animated:NO];
[segmentedControl insertSegmentWithImage:[UIImage imageNamed:@"1.png"] atIndex:1 animated:NO];
[seg...
I need to time some events in the app I'm working on. In Java i used to be able to call currentTimeMillis() but there doesnt seem to be a version in Objective-c. Is there a way to check there current time without creating a NSDate and then parsing this object everytime i need this information?
Thanks
-Code
...
Hi all,
I have a problem linking with a .a C static library I have compiled as a separate target.
My library is called libtest.a and has only one function: int test() which returns 1 always.
I have put libtest.a and test.h (its header file) in a mylibrary_directory
Then I create a new iphone view base project and added mylibrary_dir...
Hi,
I can't convert my app to an Ipa without sign that works.
Please, any help?
¿Error 0xE80000080?
...
We are starting a new game and while I have a few months experience with iPhone SDK, I'm not quite sure the best approach to take for this project.
Basically, our card game requires more real estate than the iPhone screen allows. What we ultimately need is about 480x600 pixels so some of our gameboard will be off the screen sometimes. ...
Hello,
I have recently been working on using MobileSubstrate to hook bundles loaded by an application in iOS, but I have ran into a few problems. I know that you must initialize the hooks when the bundle/library is loaded, and I have tried to use _dyld_register_func_for_add_image() to wait for the executable to load the target library, ...
So I finished coding my app, and downloaded the development profile n all that good stuff with the entitlements, etc; but I get these warnings:
ld: warning: in /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0.sdk/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics, file was built for i386 which i...
Hey guys, I have difficulty to get the location value When I use the NSXMLParser.
In the g:location element there are two more child elements g:latitude and g:longitude. I don't want these two elements, I just want the location value "1231 Judge Place, VICTORIA, BC, V8P 2C7, CA" in this case.
Can anybody show me how to do it?
thanks
...
Ive got an iPhone/iPad universal application and I wanted to have a custom navigation bar where the top half of the nav bar contained our companies logos, and the bottom half was the standard navigation bar.
I figured out how to do this, showing in the code below, but my UIButton "logosButton" doesnt always respond to being clicked, it ...
Hello. I'm trying to fix my code but I have no idea why I'm getting these errors:
modifying layer that is being finalized - 0x11818240
2010-09-10 02:35:53.022 iPhone Monkey Curling[1606:207] modifying layer that is being finalized - 0x11818240
2010-09-10 02:35:53.023 iPhone Monkey Curling[1606:207] modifying layer that is being finalize...
I am trying to extract an image frame from a video taken from iPhone camera using ffmpeg. But it usually throws me a EXEC_BAD_ACCESS and the stacktrace is showing in another method calls that is never called (I know my code didn't call it)
I am using the ffmpeg built from the instruction of the iFrameExtractor website. If anybody do it ...
when I do
[self presentModalViewController:picker animated:NO];
there would be always a "8 pieces of blade opening and then the preview shows" kind of effect.
my questions is how do i skip the balde opening part and jump right to the preview? is there a way to do that?
also can i hold/resume preview programmatically?
...