» iPhone Dev SDK - The community for the iPhone developer community |
iPhone Dev SDK is a community for software developers interested in the iPhone SDK platform. Founded in March 2008, iPhone Dev SDK was one of the first communities for this revolutionary new platform.
What separates iPhone Dev SDK from the others is the friendly atmosphere the community provides for developers of all abilities. Whether you've been programming your entire life or are just now getting interested, you'll find yourself welcomed to the community.
Head over to the forums and say hello!
Chris
|
» Settings.bundle checking error...really annoying |
|
Jul 04, 2009 - 4:09 AM - by Raphy
|
Hey guys,
I have a settings.bundle that has a Multi Value Specifier that is working properly, I get the setting's value and all but when checking for the string's value it messes up.
For example, if I load the setting's value and display it in an Alert View, it shows the correct value. However, if I check for the setting's value in an if statement, it doesn't work. Here's some example code
Code:
NSString *selectedCarType = [[NSUserDefaults standardUserDefaults] stringForKey:@"default_car"];
/* This displays the correct value and everything ! */
UIAlertView *alert = [[UIAlertView alloc] initWithTitle: @"Setting Value"
message: selectedCarType
delegate:self ... [Read More]
|
0 Replies | 3 Views
|
» Is it possible to retrieve these information? |
|
Jul 04, 2009 - 3:31 AM - by gibtang
|
1) A list of apps that a user has installed on their device and app icons
or
2) A list of tunes on the device and then plays those tunes within the app
Anyone knows if these are possible?
|
0 Replies | 6 Views
|
» String to Integer |
|
Jul 04, 2009 - 2:36 AM - by Gimples
|
I want to be able to add one number to another. One of my numbers is an integer, the other is a string in an editable text field. The only problem I have little knowledge of Xcode and do not know the function to turn a string into an integer. Also, when I build my app, I get an error that says "warning implicit declaration of function degreesToRadians", I have no idea why it is giving me this error. Here is my code:
Code:
drawingPoint1 = CGPointMake(drawingPoint.x+cos(degreesToRadians(angle1))*100,drawingPoint.y+sin(degreesToRadians(angle1))*100);
Thanks
|
3 Replies | 37 Views
|
» Three20 on iPhone OS 2.x |
|
Jul 04, 2009 - 2:22 AM - by eliscool
|
Hi all,
I have downloaded Joel Hewitt's Three20 project, but it seems it is iphone OS 3.0 only? is there an earlier build (im mainly only interested in the photo viewer) that will work with an OS 2.x build?
Any help would be VERY appreciated
|
0 Replies | 9 Views
|
» Replicating the cool iPod landscape transition on the iPhone? |
|
Jul 04, 2009 - 1:17 AM - by MGunetileke
|
Hey y'all...
I've been wondering whether it is possible to replicate the awesome transition animations the iPhone has on its iPod app (when you turn the phone on landscape ). This is the one which shows the album cover art and has a smooth view arrangement that allows you to flip through the songs in a really cool way.
Implementing this (or anything similar) from scratch seems like a massive task.. Any idea if there is perhaps a library / sample code which shows how this kind of animation system built up?
Just to clarify, I am familiar with the normal flip animations and CG Animation types.. just wondering how we can setup something of this nature..
Thanks!!
|
2 Replies | 52 Views
|
» mirror in iPhone |
|
Jul 04, 2009 - 1:13 AM - by AmitSrivastava
|
Hello everyone,
i am trying to create an image/application which will work as a mirror,
Anyone uses should be able to view their face as they see it in normal mirror. It should work under all normal condition as normal mirror works.
which technology i should use?
can i do it without OPEN GL?
can anyone have any experience regarding this?
which framework should i use to develop this application?
plz help.......
|
2 Replies | 58 Views
|
» CoreGraphics takes so poor fps, can anyone can tell me a faster one? |
|
Jul 04, 2009 - 12:44 AM - by liangsai
|
I use CoreGraphics to flip my virtual 2d canvas to screen, but fps < 10.
If don't blit anything to the canvas, just flip a blank canvas to screen, fps < 20.
My code like the below, anyone can tell me a way to get faster fps? Thank you very much!
- (CGImageRef)createImage void*)adata width int)width height int)height{
CGDataProviderRef provider = CGDataProviderCreateWithData(NULL, adata, 320*480*4, NULL);
CGColorSpaceRef colorSpaceRef = CGColorSpaceCreateDeviceRGB();
CGImageRef ir = CGImageCreate(
width,
height, ... [Read More]
|
2 Replies | 41 Views
|
» how to change audiounit output buffer size? |
|
Jul 04, 2009 - 12:36 AM - by liangsai
|
I use AudioUnit to play sound stream, but the renderCallback just use 1024 bytes buffer, and I need 8 * 1024, how to change the buffer size, anyone can help me? Thaks a lot!
I open stream playback like this:
AudioUnitSetProperty (
io_unit_instance, // 5
kAudioUnitProperty_SetRenderCallback, // 6
kAudioUnitScope_Input, // 7
outputBus, // 8
&renderCallbackStruct, // 9
sizeof (renderCallbackStruct) // 10
);
|
0 Replies | 7 Views
|
|
» Advertisements |
|
» Online Users: 168 |
| 13 members and 155 guests |
| aki, Alexman, atsd, BostonMerlin, bret, dejuan, lepetitapps, Neverever, P-atr1k, Raphy, Sekharbethalam, Slecorne, _mubashir |
| Most users ever online was 779, 05-11-2009 at 09:55 AM. |
» Stats |
Members: 8,174
Threads: 20,132
Posts: 89,979
Top Poster: RickMaddy (2,121)
|
| Welcome to our newest member, bret |
|