Re: Having a weird error with NSStreams

2009-09-15 Thread Development
By the way I realize that I was just asking about bluetooth, This app has both bluetooth and wifi sharing. pretty standard feature set I suppose. I did simi solve the problem I've been having with this by turning off the send and receive structure. In other words when a session starts it do

Re: Having a weird error with NSStreams

2009-09-15 Thread Jens Alfke
On Sep 15, 2009, at 2:36 PM, Development wrote: while (0 < remainingToWrite) { int actuallyWritten = 0; actuallyWritten = [_outStream write:marker maxLength:remainingToWrite]; remainingToWrite -= actuallyWritten; marker += actuallyWritten;

Having a weird error with NSStreams

2009-09-15 Thread Development
Ok I have reused this code a million times and never had a problem until now. I'm attempting to send an NSDictionary from one iPhone to another. Actually an iPod to the simulator. And one of two things happens. Either the data is totally muxed Meaning sent completely out of order OR it s

Re: Weird Error

2008-09-19 Thread development2
Yep I figured it out. That was it. Just a stupid on my part. Thanks. On Sep 19, 2008, at 9:31 AM, Jim Correia wrote: On Sep 19, 2008, at 11:18 AM, development2 wrote: Ok I hope someone can help me. I need to get this working. Here is what I am doing. I have a class called Object, it is set u

Re: Weird Error

2008-09-19 Thread Charles Steinman
--- On Fri, 9/19/08, development2 <[EMAIL PROTECTED]> wrote: > // in here we need to gets the info out of the > dictioanary and into > the object Why would you bother including your entire header file and boilerplate code and then edit out the part where the error occurs?

Re: Weird Error

2008-09-19 Thread Jonathan del Strother
On Fri, Sep 19, 2008 at 4:18 PM, development2 <[EMAIL PROTECTED]> wrote: > Ok I hope someone can help me. I need to get this working. > > Here is what I am doing. I have a class called Object, it is set up like > this: > > -- Object.h > > @interface Object : NSObject > { > >NSNu

Re: Weird Error

2008-09-19 Thread Jim Correia
On Sep 19, 2008, at 11:18 AM, development2 wrote: Ok I hope someone can help me. I need to get this working. Here is what I am doing. I have a class called Object, it is set up like this: Object is the root object defined by the Objective-C language. (NSObject is typically the root object

Weird Error

2008-09-19 Thread development2
Ok I hope someone can help me. I need to get this working. Here is what I am doing. I have a class called Object, it is set up like this: -- Object.h @interface Object : NSObject { NSNumber*objectID; NSNumber*mass;