Hello i am having problem in xml parsing, here I am not able to get the value of the particular tag. My code is as follows:
- (void)viewDidLoad {
[super viewDidLoad];
NSString *feedURLString = @"http://www.google.com/ig/api?weather=new+york,ny";
NSURL *URL=[[NSURL alloc] initWithString:feedURLString];
NSString *data=[[NS...
I have inherited a mac app that needs some fixing and I have trouble with help on Snow Leopard.
Today the help is structured as:
App/Contents/Resources/LANG.lproj/Help
I have trouble when trying to load non-English help pages, it always loads the English version on Snow Leopard.
I believe Mac OS thinks there are two help books in the...
I've added my database populate code to the thread method. However, sometimes they may not be any data to show in the graph. I don't want to run the query twice, once before to check if theres any data and I don't want to pre-populate the graph points prior to the thread function.
I've marked where I have my populate code with HERE bel...
Is it possible to generate an embedded Unix timestamp via a preprocessor macro?
For instance: #define VERSION_EXPIRE __TIMESTAMP__
The reason for this is, that i have beta versions and i want to generate an expire timestamp on compile time (in a special Debug build configuration).
Regards,
Erik
...
I have a UITabViewController application with 4 tabs and each tab with a UINavigationController, each with a UItableView. When a row is clicked it navigates to another view.
I would like to support Landscape Orientation only for a certain UIViewController and not in any other view.
When I set "return YES" on each UINavigationcontrollers ...
When I first started to work with Xcode, single clicking on a file name in the Groups&Files pane would open that file up for editing in the embedded editing pane. Double clicking the file would open it up in a new window for editing.
Now, single clicking the file does nothing. Double clicking the file will open it up in a new window as ...
I want to be able to support iOS 3.x users.
When I try to set the Base SDK in Project Info, the only SDK that appears is iOS 4.1 and iOS 3.2.
How can I add additional SDK's so I can support older users when my app hits the App Store?
...
Is there a way to get rid of the highlight that is automatically added to the icon when creating an iphone app, or will I have to compensate by hand in PS?
Thanks
...
If followed the apple tutorial for setting up application unit tests.
I have two issues with "Application Unit Tests".
The first is that I get a warning running application unit tests (see below).
warning: Unable to read symbols for "/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.2/Symbols/Developer/Library/PrivateFrameworks...
How can I diagnose this error?
Application Specific Information:
MyApp failed to launch in time
Elapsed total CPU time (seconds): 4913.443 (user 3868.270, system 1045.173), 56% CPU
Elapsed application CPU time (seconds): 0.010, 0% CPU
Backtrace not available
Unknown thread crashed with unknown flavor: 5, state_co...
I want to create a window that pops up like in the email app when you hit New Email.
Does anyone has a good tutorial or sample code of how to do this?
This is the screen I want:
...
I have an iOS project that I've put in Dropbox to work with a few friends. The issue is that it seems to get "corrupted", so that after some time (after someone else has accessed the Xcode project file), when I try to go and open it again I get a Base SDK Missing error. In the Project Settings, I discover that I'm missing the valid ARM6/...
I have made an application for the iPhone but it is required to be released with multiple brandings. Eg Differernt:
App Name
Icons
Default.png
Text replaced for the app name in IB
Colour schemes for all images such as backgrounds, icons etc
I'm not sure of the best way to do this.
I was thinking of a plist file for each branding th...
Can someone answer me how to call one method into another in Objective C on Xcode
...
The XCode developer documentation manager is pretty good on the whole (search is speedy, formatting is good, organization is pretty good, etc), but there are a couple of things that I feel are missing including (or may just have missed):
Fuzzier search: after typing "UITabelViwCell" a bunch of times, it would be nice to get some sugges...
I was working on my program, and it seems something in the settings changed. Suddenly I have the error "Duplicate interface declaration for class 'Foo'". It mentions a header file being duplicated but there's only one copy.
Interestingly this is only happening in debug mode, not device mode.
Does anyone have any idea what might be wron...
I've got a view which is shown in landscape mode and I want to add a label which is int he center of the view both horizontal and vertically.
CGRect frame = CGRectMake(0, 0, 400, 44);
UILabel *lab = [[[UILabel alloc] initWithFrame:frame] autorelease];
lab.font = [UIFont boldSystemFontOfSize:16.0];
lab.textAlignment = UIT...
My iPhone app tends to 'freeze up' the UI when comes into the active state from the background. How can I use Instruments to find out the cause of the freeze? What instrument should I use? What are the key columns I need to look at in the Instruments panel?
...
Hi guys,
On this following screenshot, if I click on "v" from "Available Kiosks" this is launching the action of the back button... (not with the second "a").
I don't understand why, I've nothing special in my code (this is the default backbutton handled by the navigation controller).
I also have the same bug with another application...
I want to simply display array data of my directory for which i tried this code..directory is in resources folder..code is below..may i know what is going wrong..data is not displaying after i press a button
@implementation filemanagerViewController
- (void)viewDidLoad {
[super viewDidLoad];
filemag =[NSFileManager defaultMana...