Hi, I am trying to play video inside a UIView, so my first step was to add a class for that view and start playing a movie in it using this code:
- (IBAction)movie:(id)sender{
NSBundle *bundle = [NSBundle mainBundle];
NSString *moviePath = [bundle pathForResource:@"Movie" ofType:@"m4v"];
NSURL *movieURL = [[NSURL fileURLWi...
I created an "SDMutableGrid" class so that I could use a grid. It's just a child of NSMutableArray that contains a number for arrays equal to the number of rows in the grid.
Currently, the program quits before it really starts and it appears that it is because the methods defined for NSMutableArray somehow do not apply to SDMutableGrid...
Hi Everyone,
I'm getting some really strange errors in XCode. Whenever I run my program, I get
"malloc: test_node_integrity: FreeListNode 0x1052af0 { _prev = 0xffffffff, _next = 0xffffffff, _size = 0 } failed integrity check." I've searched all over Google, but haven't found anyone else with this error message. The stack trace has metho...
After I installed iPhone OS 3.0.1 on my iPhone I followed the instructions on Apple's website (see this question), created the symbolic links, and everything worked fine. That is, I could test my application on the iPhone.
Now it stopped working. I verified that the symbolic link is still there. I also tried deleting and recreating it a...
What I want to do seems simple enough: Get an array of filenames in a given "directory" on my app. But the more I play around with NSFileManager and NSBundle I find myself getting more lost...I just want to get the filenames of the files organized in a specific directory in my iPhone Xcode project...For example: The directory in question...
In iPhone Development, generally we use xCode.
Now, we manage different groups within our project.
my Question is how do you copy the entire group (with including files in it) and paste within same project or other project?
...
Hi! How do I make an NSView window move up to the front. My app has 3 windows and when I press a button in one of them I want another to move on top of this one.
...
I have developed an iPhone application that integrates a list of shopping registries,a To Do list and a Contact sub-app. The 'Contact' app has a GUI similar to the Info page on the iPhone's Contact app with ability to select a contact in the middle, and three buttons; Call, Sms, and Email at the bottom. When the user touches the 'Select...
I'm a developer making the transition from Linux/Emacs to OSX/Xcode. Does anyone have any tips or recommendations for smoothing this transition with regard to text editing? Specifically:
What Emacs habits caused the most heartburn upon switching, i.e. what errors did you make repeatedly that were a result of an Emacs background?
Was...
i have a scrollview with uiview added as subview..now how do i open a new view when i touch on the view????
i want a new view to appear...before this i have buttons on my view...so button have the method "addtarget perform selector"...from that i am loading a new view
here is an image of my view
...
I'm trying to optimize an iPhone game that I am developing which uses the Cocos2D-iphone framework.
I want to use Shark to measure performance but "Run->Start with Performance Tool->Shark" is disabled in XCode (Instruments Leaks works fine). I've configured the build to "Generate Profiling Code", tried building for both the device and t...
I am using XCode to build an iPhone application, where I would like to externally process the info plist file in the same manner as the XCode build step shown below does
Processing /Users/kte/Projects/build/Debug-iphonesimulator/TestAppGen.app/Info.plist TestAppGen-Info.plist
mkdir /Users/kte/Projects/build/Debug-iphonesimulator/TestApp...
Interface Builder gives me a warning about the set up of my .xib file.
It says, in a dialog called "MainMenu.xib Info",
Object: Window
ID: 21
Type: Illegal Configuration
Issue: This window's content rectangle does not lie entirely on the screen with the menu bar and may not be completely visible for all screen resolutions and configur...
I see that the IPhone core audio does not include audioDevice objects to render audio input directly into RAM. I hear people talking about using files to do this(like speak here) but I am thinking there must be a way to do this otherwise. Your thoughts would be appreciated.
...
I have created an ad-hoc provision profile for my iPhone application. Everytime I add a new device, do I need to re-compile my application so that it can be distributed? This is VERY tedious.
...
I am trying to make an app that uses a random text generator but I don't know how to do it so i was looking for a tutorial that would help me with it but I haven't found any yet..
Has anyone seen any of them?
...
When I create an NSObject subclass, I always get an empty implementation. There are some things I always put in my code like pragma marks and -dealloc methods. I prefer to just delete stuff that I don't need over writing it with typos from scratch every time I need it. I need -dealloc and -init almost always, but they don't ship with the...
I am working on an iPhone app which is using an external library for which I have the source. During debugging some of the objects are listed as 0x0 in the debugger but the app runs fine. Also, some of the objects addresses point to the wrong thing.
These symbols are in the external library. The addresses are fine if I am tracing throug...
All of sudden when I create a new class file in XCode the content of the file seems corrupted. The funny ting is that if I copy the text into a text doc. it is displayed ok.
Has anybody seen this strange thing and knows how it can be fixed? Previous class file are ok.
thanks in advance
ldj
...