Hi all,
i m developing a application in which content size is very high,problem is how i decrease the size of our application.
i have one idea for that my application is song application.
when user download the application after that he wants to here song then click on particular song tab then song is downloaded from our server one tim...
Is there a way to let the user select which device they use for audio output?
In the docs I have found that you can select which route to use by setting kAudioSessionProperty_OverrideAudioRoute to either:
kAudioSessionOverrideAudioRoute_None, or
kAudioSessionOverrideAudioRoute_Speaker
However I would like to let the user to use the...
Hi guys,
Im getting memory allocation problem when im checking allocations through instruments.
the code is:
float yCoordinateStartLocation = 12.5;
float yCoordinateStartLocationValue = 8;
float rowHeight = 20;
float imageHeight = 27;
float xCoordinateStartLocatioForLabel = 60;
float xCo...
Hi,
my Context is a tableView controlled by a Navigation Controller. So when i select a row, a new view is pushed by the navigation controller.
Now i want also to "nudge" (like the effect on the start-screen to switch through the App-overview, i hope you know what i mean) to another view (also a tableView, similar to the first View) or...
Hi all,
my purpose is to display a UITableView with cells with a style like:
TextA - bold text with a big font size
TextB - bold text with a small font size
TextC - normal text with the same font size of TextB
The UITableViewCellStyleSubtitle style is almost perfect, I could set TextA as textLabel and a string that contai...
hello, i m the beginner in iphone programming i want to make an application which will receive data from REST api by using php web server. and can post something to it.
thanks in advance
...
I am new to the Mac world and am seeing some behavior that is puzzling to me. I am working on a basic full screen utility that will capture the main display of the Mac and display some text. The problem I am having is that if I capture the display multiple times, after the first time the text that I am writing the the contextRef begins t...
Hello Everyone,
I'm new to Objective-C programming and was wondering if I could get some help.
I'm trying to access the values from a CFDictionary. I've started by implementing code suggested in this question
CFTypeRef r = IOPSCopyPowerSourcesInfo();
CFArrayRef array = IOPSCopyPowerSourcesList(r);
CFDictionaryRef powerDic = IOPSGet...
Well.. basically that's what happens, when I play a movie from a game I have, only the sound plays, the video doesn't, showing a black screen, even the touch is disabled.
This is the relevant part of the code:
myMovie = [[MPMoviePlayerViewController alloc] initWithContentURL:[self movieURL]];
myMovie.moviePlayer.scalingMode = MPMovieS...
does anyone know whether iPhone OS4 contains an iCal API?
If yes, are there code samples how to use it to add events to iCal?
cheers
...
From the question "How Does Appcelerator Titanium Mobile Work?" I know that the JS is cross-compiled into native code. But where does this happen? I couldn't find any code for this in the open source Titanium code. The website of Appcelerator also is quite sparse on the cross-compilation part of the process.
...
Hello there. I'm trying to get a bunch of stuff done in OpenGLES, but here's where I'm starting - drawing stuff to a texture, then displaying that texture.
I create some buffers:
glGenFramebuffersOES(1, &frameBuffer);
glGenRenderbuffersOES(1, &colorRenderbuffer);
glBindFramebufferOES(GL_FRAMEBUFFER_OES, frameBuffer);
And then I set ...
Hi all,
I want to perform encryption - decryption of certain audio - video files.
Can anyone suggest me some suitable algorithms in cocoa, objective- c, c, or c++ to accomplish it?
You can suggest me some link and/ or third party software for it.
Thanks,
Miraaj
...
I want to dive into developing applications for the Mac and later also for the iPhone. For me as a Rubyist it is clear that I learn both, MacRuby and Objective-C. The question is only in which order I should do that. Is it easier to learn Objective-C first and then combine the knowledge of both worlds and start learning MacRuby, or is it...
Hi
I am getting image from Xml feed and then displaying it in table cell what I want to do is to resize image to minimum size of 5kb my code is.
int blogEntryIndex1 = [indexPath indexAtPosition: [indexPath length] -1];
imgstring=[[blogEntries objectAtIndex: blogEntryIndex1] objectForKey: @"image"];
NSURL *url = [NSURL URLWithStrin...
Hi all:
I have a predicament, in as much that I need to create an arbitrary amount of UIView Objects. I have an NSArray and what I need to do is create UIView Objects for the number of items in the array, so I got an int from the [NSArray count]; method, so I know the number of objects needing creating, but the way to implement this has...
Thing is, when I test my movie on the iphone simulator, the video speed is ok, but when I play it on the device, an iPhone, the video speed is like 3x faster than normal...
This is my code:
mMoviePlayer = [ [MPMoviePlayerViewController alloc] initWithContentURL:[self movieURL] ];
mMoviePlayer.moviePlayer.controlStyle = MPMovie...
I had not run into this before but I wanted to know if it's possible to store KEYS with special characters in Objective-C / Cocoa Touch
Since one can force a line break in a NSString with \n I wanted to store some values in a plist (and they do need to be the keys). It's just about 20 lines to static data (well, the keys, the values are...
Addition: Think its worth having a look at this again as a number of new books havve/are being released with updates to iOS4 and the inclusion of iPad programming.
Ok, I have read a number of posts regarding iPhone dev books, Cocoa and Objective-c. The general consensus seems to lead to one of 4 books.
Kochans Objective-C book.
Hill...
I'm trying to a NSString constant in my .h file to be defined in my .m. I understand that
extern NSString * const variableName; in the .h and
NSString * const variableName = @"variableValue"; is the way to do this. Examining c tutorials I see that const is supposed to go before variable definitions. My question is why is it not...