Hi,
I am getting a Client Hello message from the Client during handshake and after that Server is not able to respond back with Server Hello message. The server will send this message (ServerHello) in response to a ClientHello message when it was able to find an acceptable set of algorithms.If it cannot find such a match, it will respon...
Is there any way to force/cajole/encourage Interface Builder into running the C preprocessor when scanning source files for IBOutlet references?
It's a tricky problem, I can see, since in an ideal world it would need to preprocess the file with the same context that the project would, ie with the precompiled headers etc (this is much mo...
Is there any way to determine if a tcp port is available in Cocoa? Thanks!
...
If a BOOL has a nice short name, it's easy enough to write:
myBOOL = !myBOOL;
But what if the BOOL has a long name?
objectWithLongishName.memberWithLongishName.submember.myBOOL = !(objectWithLongishName.memberWithLongishName.submember.myBOOL);
. . . does not look so pretty.
I'm wondering if there is an easy way to toggle the BOO...
I'm planning a project which will consist of a Windows Server Application programmed in .Net/C# and Clients programmed in Silverlight/C#, Windows Forms/C# and a MacClient programmed in Cocoa. My Question is, which Webservice technology will be the best for the communication between the Clients and the Server and is the easiest to program...
I'm working on an iPhone app which uses the Zbar library which is under the LGPL licence. What I'd like to know is what I need to give someone if they request a copy of the code under this licence for my iPhone app?
I've been told they are in the build folder and also that they are .o files. I've found some of those in the armv6 and arm...
In .NET, I can use Encoding.UTF8.GetString(string str) or any other flavor of Encoding, to get the string representation of a byte array. Does Cocoa contain similar functionality out-of-the-box, or do I need to write some stuff to make the conversions myself?
...
I want to wake system from sleep programmatically, is there any way to do this?
I have read following link:
http://developer.apple.com/mac/library/qa/qa2004/qa1340.html
this only talk about getting notification , but not sure is there any way to wake system from sleep?
I appreciate some thread to the information...
Update:
As per th...
how to convert NSInteger to NSTimeInterval?
...
Hi all,
I have created a simple drag and drop application in which I am sometimes getting this exception msg, displayed in debugger console:
kCGErrorRangeCheck:
CGSNewWindowWithOpaqueShape: Cannot
create window
kCGErrorFailure: Set a breakpoint @
CGErrorBreakpoint() to catch errors as
they are logged.
kCGErrorIlleg...
Say I have an array with objects, 1, 2, 3 and 4.
How would I pick a random object from this array?
...
Basically I'm trying to find a solution to my issue with sharing an object. I've had a look at SpringBoard's implementation and it looks as if SpringBoard is providing a framework which can be used to retrieve SBDisplay objects (which are basically CALayers).
I know this specific issue is related to iPhones, but I also know that this is...
Hi guys
I have a question, I can't get my sqlite database to work/open on an ipad device. Everything works fine on the simulator but not a real device. I put MODE to NO when i want to test on a device but it fails to load.
sqlite3 *database;
if (MODE) { //Simulator
result = sqlite3_open("/Users/userID/Myapp/VRdb.sqlite", &datab...
In porting a Java program to Cocoa, I've come across the program using java.io.Reader and its subclasses. I'm not very familiar with what they do, so I can't find a good replacement. Does anyone have any good recommendations on replacements or do I have to rewrite it?
...
Possible Duplicate:
NSNumberFormatter and th st nd rd (ordinal) number endings
Hello,
I'm building an application that downloads player ranks and displays them. So say for example, you're 3rd out of all the players, I inserted a condition that will display it as 3rd, not 3th and i did the same for 2nd and 1st. When getting t...
I am trying to create an NSArray of Strings from a text file.
Here's the code i've been using:
NSString *title = @"facts";
NSString *type = @"txt";
NSString *seperation = @"/n";
NSMutableArray *factArray = [[NSArray alloc] initWithArray:[[NSString stringWithContentsOfFile:[[NSBundle mainBundle]
...
I am working on an application that needs a method to be called at a certain time (15 minutes past the hour to be exact). Is there a way to make this happen without consuming a ton of CPU and battery life? I've tried searching and just can't find an answer anywhere. Any help is appreciated. Thanks!
...
Hello,
I'm using the IKImageBrowserView by supplying it with image objects myself. When the browserview requests for an image, in other languages, i'd check if i have it cached somewhere and return it if i do. Otherwise, i'd load, cache it and then return it. But in cocoa it seems that the IKImageBrowserView caches the images itself. So...
I'm porting an archaic C++/Carbon program to Obj-C and Cocoa. The current version uses asynchronous usb reads and GetNextEvent to read the data.
When I try to compile this in Objective C, GetNextEvent isn't found because it's in the Carbon framework.
Searching Apple support yields nothing of use.
EDIT TO ADD:
Ok, so what I'm trying ...
It seems that NSTextView does not have the notification DidEndEditing and TextDidChange (which both exist for an NSTextField). Is there any similar functionality I can get out of the NSTextView? If not is there no way to know when the user has edited the text of the NsTextView?
...