» 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
|
» Wifi vs Bluetooth for multiplayer gaming |
|
Nov 29, 2009 - 12:03 PM - by FerrariX
|
Hi,
I'm working on a Texas Holdem Poker game...(there's plenty out there already, but this would be good practice).
I'm having trouble deciding whether to use bluetooth or wifi for multiplayer.
I've gotten the WiTap example to work w/o any problem.
Currently, the local multiplayer feature would be fine but in the near future, i'd like for it to be able to player over the net and not just LAN.
My impression is bluetooth still has some connection issues using the GameKit framework.
Apple's Texas Holdem uses wifi. However, this game has been out before the release of GK framework so I don't know if Bluetooth has gained the upper edge over wifi.
I'm planning to have up to 8 or 10 players.
Please share your experience and thoughts on this dilemma.
Thanks
-FerrariX
|
0 Replies | 13 Views
|
» NSstream reading\writing |
|
Nov 29, 2009 - 12:01 PM - by J0ker
|
Hi!
I have a socket connection through wifi, and I need to read from inputStream and write to outputStream. The problem is that stream management is event-driven, and I have to wait for event NSStreamEventHasBytesAvailable before reading. So I can't know when reading\writing outside the handleEvent:eventCode delegate method.
I tried a while loop, but I realized that during the while loop the app doesn't receive delegate messages and never stops:
Pseudo-code:
Code:
-(void) myFunction {
canRead=NO;
[self writeToStream:someData];
while(!canRead) { };
readData=[self readFromStream];
}
- (void)stream:(NSStream *)stream handleEvent:(NSStreamEvent)eventCode ... [Read More]
|
0 Replies | 10 Views
|
» Need advice on touchesMoved and a UIImageView |
|
Nov 29, 2009 - 11:52 AM - by Enoch
|
My wife has commented on my loss of hair the past 2 days on this. I took the project "Which Way Is Up" from iPhone Cookbook and thought about making a learning app that was like Twister/Life/boardgame where you flick the spinner and it spins to whatever slot. I just took the app in the book and modified it.
It's real simple in all you do is move your finger across the UIViewController and the centered UIImageView moves. I store the last 5 touch events in a struct array and get the average distance, time and get speed. I then use that calc to fire off a timer so that when they release their finger, the arrow spins relative to swipe.
Problem is, while touchesMoved is handled, the image seems to be in a context or something, not really updating as you let off your finger, it snaps back to the beginning pos, then moves on my timer.
LOL seems so awefully simple to just update a windows pos on the fly LOL
here's... [Read More]
|
0 Replies | 6 Views
|
» Brand names in apps? |
|
Nov 29, 2009 - 11:41 AM - by woodyuk
|
Hi
Lets say I build an app that is like a yellow pages . It lists companies, some of which are major brands. Is this a problem for getting into the app store?
I dont have permission from the brands as such, my data has just been brought in with name of company, address, telephone number etc and location.
Thanks
|
2 Replies | 17 Views
|
» Mapping but not google maps |
|
Nov 29, 2009 - 11:26 AM - by woodyuk
|
Hi All,
First post!
I am wondering if there is a 3rd party mapping engine other than MapKit / Google maps. I have not started developing so maybe mapkit will do what i want but was not sure. I am not a developer so will be using someone external.
The main thing is I don’t want to use a Map as in google maps or of a place on this planet.
I want to build a map of an imagery place. However i still want to be able to get directions around it etc. It’s my Virtual Town / city. You can buy mapping engines for windows dev and design your own maps in standard mapping formats - but wondering if anything out there for iPhone that can support that?
Thanks
|
0 Replies | 14 Views
|
» Facebook integration |
|
Nov 29, 2009 - 11:17 AM - by Reidy123
|
Hi
I wonder if some one can help point me in the right direction. I want to enable my app to post a news feed item when a user performs a specific action. I've been reading through the various facebook documentation and am aware of the tools available to link with (facebook connect etc.).
My problem is not how do I link to facebook, but more what do I need to set up in order to do so? I've installed the developer app and created the basic skelleton for my facebook app. But do I need to go to the lengths of hosting the facebook sdk and html on my webserver baring in mind the only reason I am creating a facebook app is so that I can post messages from my iPhone app?
I was wondering if anyone else has been through this process and could help me out? Any blogs / tutorials would be great also!
Thanks
David
|
1 Reply | 14 Views
|
» Read System Feedback from the Console? |
|
Nov 29, 2009 - 10:58 AM - by Shmoopi
|
|
Hey everyone, quick question. Does anyone know how to read from the console? Not necessarily for NSLog but for system commands. Something similar to the Terminal iPhone application that puts the console commands in a textfield? Thanks!
|
0 Replies | 15 Views
|
» Let user choose who to send email to |
|
Nov 29, 2009 - 10:55 AM - by IphoneSdk
|
Hi,
I want to let the user choose who they want to an email to from my app
To send an email to a certain email address I use this code:
Code:
NSURL *url = [[NSURL alloc] initWithString:@"mailto:k@yahoo.com?subject=This is my subject&body=this is the body"];
[[UIApplication sharedApplication] openURL:url];
In the email that will be sent I want there to be data that the user has typed into a text field in the app.
Any ideas how to do this?
I hope I've explained it properly!
Thanks
|
0 Replies | 15 Views
|
|
» Advertisements |
» Online Users: 276 |
| 37 members and 239 guests |
| bestdeals4u, Bisbo, cclaan, cornishGeeza, dcinqc, delphipgmr, elektrobank, firstrecall, fourtyfour, hafiz.pon, helios, invisigoth, IphoneSdk, J0ker, jjgraz, justill45, kierster, mickm, Mopedhead, mophy, MozyMac, Mr Jack, mr tickle, mriphoneman, Nanyko, natanavra, newmoonsix, rondo77, scalar, sportsfan27, StatCoder, stlau, theM, TunaNugget, williamlegate, Yakattak, _sjc_ |
| Most users ever online was 779, 05-11-2009 at 10:55 AM. |
» Stats |
Members: 17,029
Threads: 30,712
Posts: 134,629
Top Poster: RickMaddy (2,121)
|
| Welcome to our newest member, bestdeals4u |
|