Hi, i have a plist which goes like this:
<dict>
<key>11231654</key>
<array>
<string>hello</string>
<string>goodbye</string>
</array>
<key>78978976</key>
<array>
<string>ok</string>
<string>cancel</string>
</array>
i've load the plist using this:
NSString *path = [[NSBundle mainBundle] pa...
Since I'm used to developing in Java, I'm familiar with what files get generated by the build process and can tell what files to exclude from SVN and HG when I do comits.
I'm just starting out learning some iOS app building using XCode. With XCode and Objective-C on a Mac, I don't know what files get generated. If there are files sp...
Hi guys, I need to modify dinamically a Javascript inside my UIWebView. I load a file html locally, inside the Documents folder of my app.
I need to create a var attributes like this:
var attributes = {
"feedURL": "http://www.obliviux.com/?feed=rss2", //insert NSString *RSS here
"maxAgeToShow": "-1", //insert NSString *maxAge ...
Hi,
i am running xcodebuild command from terminal but getting the following error
ATION (Release) ===
Check dependencies
error: There is no SDK with the name or path 'iphonesimulator3.1.3'
[BEROR]error: There is no SDK with the name or path 'iphonesimulator3.1.3'
** BUILD FAILED **
what is the possible reason i m getting this error ?...
i am working on an application, and i found this customized table view at "http://cocoawithlove.com/2009/04/easy-custom-uitableview-drawing.html" but the problem is that i dont know how to populate the table view. You can download the xcode project form that site, and look at it. you can email me at [email protected]... please no...
hey all my question about how the developers makes their interface the buttons, slider, segmented control and other is any program can make those thing ? and then import it to interface builder ? my brother is a graphic designer and he work a lot a 3d modeling he can make all those thing in 3ds max, maya or cinema 4D but how to tell the ...
Using the following method in xcode im trying to generate some text once the user presses the return key on the key pad. However for some reason the key pad is disabled and I cannot get it to work again without removing the code:
(BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)te...
Hi,for plist of the form:
Root-->
item1--->
item2--->
....
how can i obtain the count of the number of item1,2,3 etc? instead of using this:
int i = 0;
for(i=0; i<10; i++) //loop 9 times cos database got 10
{
NSDictionary *item1 = [array2 objectAtIndex:i];
i<10 is what i want to change
also for this plist:
Root-->
...
In Obj-C / iOS. Our UI design calls for an initial screen with options to register or log on. After doing either of these, the user data is saved to the phone and a the tabBarController is shown. However, tapping on the tabBar at the bottom takes the view back to the "log on or register" screen. Is it possible to change the root view con...
This is really just a minor annoyance, but whenever I go to test a new project in the iPhone Simulator, the app gets installed on the 2nd page of the simulator's dashboard even though there's plenty of space on the first page. Anyone happen to know why it does this, or if there's a way to get it to fill up that first page?
I'd like t...
Hi,
I'm using multiple UISliders on a form, and I want just one method to keep track of slider changes.
Now I have a method:
- (IBAction) slider1ValueChanged:(UISlider *)sender {
somelabel.text = [NSString stringWithFormat:@" %.1f", [sender value]];
}
But because I use multiple sliders, I want to use a switch statement to fi...
Hi All
I am looking for a tool/software that can help me in designing my app.
Basically i do not need something like a code generator, but a nice software that let me create blocks where i implement actions (like a class, but just with the declaration of the methods and datatypes/returned types; no implementation) and then let me crea...
when I tried to run the program, it showed this message:
No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting
But there's actually an Info.plist in my Resources group.
I already added InfoPlist.strings file into Copy Bundle Resources
Is there anything I set wrong? I tried it for so long.....
Hi there,
I'm having an Xcode problem, where at various times during code hinting, all the letters on the page get totally garbled and mixed around . If i select another document and then return to my initial doc, it's back to normal. This is extremely irritating, plus enervating, and i'm a bit concerned for the security of my files. ...
I followed the instructions on Unit Testing objective C from Apple: http://developer.apple.com/tools/unittest.html
I installed the latest version of OCUnit, but when I compile, software update starts and tells me I need to install Resetta. What's going on?
...
Is there a way to program using pure python in Xcode? I want something like the c++ command line utility except for python, I found a tutorial that did not work for me: (after playing around with which active architecture finally decided on i386) when trying to print "Hello, World!" I get the following error "Data Formatters temporarily ...
If I have an NSTimer that starts in viewdidload, where is the proper place to invalidate it when leaving that view? Is it also necessary to release it as well?
...
Hi.
I have a button with an image set through interface builder. The original image is SearchImage.png and the high rez version is [email protected]. I'm absolutely sure that no typos were made, and the higher resolution image is indeed exactly twice the size (ie twice as tall, twice as wide) as the lower resolution image, yet the offi...
Does anyone know the code snippet tool that was used in some of the WWDC2010 videos?
It seems that the the tool allows us to create snippets of code which can be labeled. This tool also allow us to click and drag the label to Xcode code editor window to paste the code with the formatting intact.
Any lead on this tool/utility?
...
Hi guys,
Does anyone now how to remove user generated code snippits from the xcode library ?.
...