Hi,
I'm writing an NSString to a plist file but after its written to the plist, and when I try to open i get the following message
"This document "mylist.plist" could not be opened XML parser error: Unexpected character 2 at line 1 Old-style plist parser error: Unexpected';' or '=' after key at line 1"
Here is my code:
NSString *te...
Hello,
I m new to core animation i want to rotate an imageview left or right but i want it to be rotated in z axis so it can looks like a circular rotation.Here is an image for more explanation
i want to rotate the image the inner imageview these are two imageview's.
i have tried this code please someone apply this and correct the co...
Hi.
Are there any other way of displaying an object/button/whatever for for example 3 seconds than with a NSTimer?
Thank you :)
EDIT:
Could I use an animation to do this? I'll try.
...
according to picture it report an object leak
how can i fix this issue?
...
Hi there.
In iPhone, the iPod app saves the media files (audio, video) with strange names and in weird folders (F00,F01 etc). There is a file named iTunesMovies in iPhone, which contains all the information about the metadata of those video files and how they are to be displayed in iPod app. I copied that to my Mac also, and when i trie...
I am trying to use c++ in an iphone app. I added the line
#include <cstring>
in one of my files.
I get "error: cstring: no such file or directory". What do I need to do to get it working?
My understanding is that gcc is being called, but not g++. How can I change that, or what flag can I add to force gcc to compile c++?
...
After doing a project level find the lower pane displays the text: "No Editor" and nothing else. This just started happening a couple of days ago. I had updated to the latest iPhone Xcode build, this may have had something to do with it.
I just deleted the Developer directory and did a re-install of Xcode 3.2.1. that did not help.
Ho...
Hi, I'm currently developing an iPhone app and so far things have worked out smoothly. However, tonight I've been getting some weird behavior from Xcode when choosing 'Build and Debug', especially when using the simulator. In simulator it seems I'm getting two builds of my app installed, there's two identical icons on the homescreen of t...
Hi,
im want use this Class http://stackoverflow.com/questions/125306/how-can-i-upload-a-photo-to-a-server-with-the-iphone to Upload an image from my iPhone App to my Webserver.
Ive Copyd the header and main file and added "#import "EPUploader.m"" to my ViewControler where i call the EPUploader Method.
Error Message is:
Ld build/Relea...
Hi all,
I am using an iPod to test an app. The device is all set up with the right provisioning profiles, etc-- that's not really the issue.
But every time I start the app from Xcode on the device, I get the "A signed resource has been added, modified, or deleted." error from the Organizer window.
Wait, I know, you think it's a provis...
I've written an iPhone program which includes a library. The library uses some C++. The program runs fine in the simulator as long as debugger is turned off.
GDB immediately complains with the following
/SourceCache/gdb/gdb-962/src/gdb/dwarf2read.c:7593: internal-error: could not find partial DIE in cache
A problem internal to GDB ha...
I have birds flying within a frame in my game, but I can only get them to fly in two different directions. If there are 2 birds they go in two different directions. If there are 3 birds, 2 of them go in one direction and the other one goes in a different direction. I want the birds to randomly go in four different directions. Up right...
Hey everyone, this is an EXTREMELY beginner question, and I'm somewhat ashamed I don't know it already: How can I execute code just once at the implementation of my object? I have an object that's of a subclass of UIView I want some code to be executed as soon as everything kicks off, but I'm only able to get code to be executed in resp...
class HelloApp
attr_accessor :label, :text_field, :button
def clickedButton(sender)
# implementation
your_name = self.text_field.stringValue
self.label.stringValue = "Hello, #{your_name}"
end
end
The above code is in HelloApp.rb
The problem is when I type something into the t...
I have a tab bar set up which I would like to call a refresh method from a view controller each time that view controller is tapped. However, when I try calling this method from the App Delegate it crashes on a line in the refresh method containing a string from the view controller. I figure that if I'd be able to call the shouldSelectVi...
In Xcode 3.2.1 I have this problem where it stops highlighting Objects in purple, and such. For example:
In that example, NSAutoreleasePool, pool, img, size, width and height should be highlighted, however, they are not. Here is a screenshot of what that looks like.
Anyone know how to fix this?
Edit: Also, code sense isn't showing c...
Hello ! every one.
In my application - there are four buttons named as follows.
Top - left
Bottom - left
Top - right
Bottom - right
Above this buttons there is an image view / or we can use also UIView.
Now, suppose user taps on - top - left button. Above image / view should be rounded from that particular corner.
I am having som...
I'm trying to get a string displayed in my UITextView the moment the app is launched. I have a UIView and (obviously) a UITextView in my interface, and one outlet, myText, which is connected to the UITextView. It doesn't seem to be working and I can't say why....
Here is the code in question:
MainView.h
#import <UIKit/UIKit.h>
#impo...
New to the Mac (OS X 10.6.2), and Xcode (3.2.1), (and new here!), I've been tinkering with the shortcuts, using the procedures described here.
I made the folders mentioned, and the file PBKeyBindings.dict:
/* ~/Library/KeyBindings/PBKeyBinding.dict */
{
"^f" = "moveWordForward:"; /* Ctrl-f = next word */
"^j" ...
The binary you uploaded was invalid. The signature was invalid, or it was not signed with an Apple submission certificate
getting this error message..
since 2 dayz..
tried all googling..
its still there
...