Search results

  1. retrotron

    Call Cocoa method from within HTML content in WebView?

    Is there any way to invoke a Cocoa method from some HTML content in a WebView? Suppose I have an anchor/link in an HTML page inside a WebView. When the user clicks that link, is there any way for that anchor/link to invoke a Cocoa method (e.g. tell the WebView to update the HTML content and...
  2. retrotron

    FilesToMacroExpand not working?

    I've never been able to get this work. I create a custom project template in xcode (or back with PB), and then I edit the TemplateInfo.plist file. In the 'FilesToMacroExpand' node, I include the names of the files which should be preprocessed and have their «MACRO» stuff expanded into the...
  3. retrotron

    NSTextView: two column presentation

    I'd like to present some text in two columns in a TextView. Something like: ----------------------------------------- Text here | Text here Text here | Text here Text here | Text here ----------------------------------------- Can anybody give me a...
  4. retrotron

    WebKit: load HTML content as string?

    Is there any way to pass some HTML content as a stream to a WebKit view to be rendered? Something like this: [[webView mainFrame] initWithHTML: @"<html>Hello world!</html>"];
  5. retrotron

    /bin/bash: bad interpreter: Permission denied

    I'm going crazy. Every since I upgraded to 10.3.9, i get weird permission errors getting in the way of everything. First MySQL suddenly won't start up, giving me odd 'permission denied' errors. Then PHP sessions won't start up. And now a simple bash script won't run. From this script --...
  6. retrotron

    PHP and MySQL problems as of 10.3.9

    After I upgraded to 10.3.9, I suddenly have problems with PHP and MySQL. Any of my PHP scripts using sessions display this error: Warning: session_start(): open(/tmp/sess_f9967256b0a89b27d9405048fa1f846a, O_RDWR) failed: Permission denied (13) in...
  7. retrotron

    Burning DVD always gives me an error

    I've tried burning all sorts of things onto a DVD-R (images, data, .VOB files, whatever) and each time it burns for a long while then says 'An error occurred while burning the disc. This disc cannot be used.' Anybody know what I'm doing wrong? For burning images, I'm using Disk...
  8. retrotron

    Suddenly Hotmail won't work with Mail.app

    Sometime last week Mail.app stopped being able to connect to my hotmail account. It's worked fine for the last year, and I haven't changed anything with Mail.app, but suddenly hotmail just stopped working. I have no idea what might be the cause. Anybody know if microsoft changed something and if...
  9. retrotron

    .app won't launch

    Newbie question here. I can't get my *.apps to launch once I email the *.app to a friend. I build a little application, then I copy the *.app from the project's 'build' directory onto my desktop. When I double click the *.app, it launches and everything works great. But when I (i) delete...
  10. retrotron

    Hide determinate progress indicator?

    I have a determinate progress indicator with -setDisplayedWhenStopped:NO. The indicator starts out hidden, then appears when in use, but when it reaches its max value, it doesn't disappear. It just stays visible (the animation has stopped). Anybody know how to make sure it gets hidden when its...
  11. retrotron

    Cocoa: change each character of a string to a different unicode value?

    I need to step through a string (character by character) and change each character to a different unicode value. How can I do that? For example, suppose I have a string "abc" (unicode: x61 x62 x63). I want to step through each character in that string and change the unicode value to a...
  12. retrotron

    terminology: framework vs. library?

    What's the difference between a class library and a framework?
  13. retrotron

    [_outlet setString:@"testing"]; // selector not recognized

    I can't seem to reference an NSTextField. I've got to be missing something obvious. So in Interface Builder I create a single textfield in the window, create a controller class with one outlet named '_outlet' of type NSTextField. I instantiate the class, control-drag from the controller...
  14. retrotron

    Mouse click doesn't work

    The mouse click on my 17" PB is getting really unreliable, often refusing to work for hours. I can move the pointer around, but sometimes Aqua doesn't respond at all to mouse clicks. When I close the lid on my 17" PB and put it sleep, and then open the lid again, it takes 30-60 seconds...
  15. retrotron

    Hex reader in OSX?

    I don't really understand what I'm asking about, but it has something to do with a hex reader I think....if I want to look at a compiled program...I can use a hex reader and view the binary format (in hex values?)...is that right? I have no idea if I'm even asking the question right. Is there a...
  16. retrotron

    HelloCocoa problem

    I'm trying to run a simple HelloCocoa class, but I'm running into troubles. For simplicity's sake, I've got the @interface, @implementation, and main( ) in main.m. I compile with cc main.m -o prog1 in the terminal and I get this error: ld: Undefined symbols: .objc_class_name_Object...
  17. retrotron

    XML, DTD, CSS, Dreamweaver MX, and IE5.2 crashes

    It seems that certain combinations of XML/DTD/CSS with Dreamweaver MX and/or IE 5.2 make these applications crash for me. Here's two odd behaviors I'm wondering about: 1. when defining an internal DTD in dreamweaver, if I try and define an attribute with a set of options ( &lt;!ATTLIST...
  18. retrotron

    XML Parser ships with OS X?

    I don't suppose there's an XML parser (or validator) that ships with OS X, or do I need to download one?
  19. retrotron

    How to get perl running?

    Hi, I'm sure there's a faq or post about this, but I couldn't find it, so if you know of one, point me to the right thread. I'd like to start the perl module in Apache and run a basic hello world script. Can someone explain how to do this for a newbie like myself?
Back
Top