Jump to content
Welcome to InsanelyMac Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


  • Content count

  • Joined

  • Last visited

About alpineedge3

  • Rank
    InsanelyMac Protégé
  1. ok i corrected that, but the tab bar still doesn't appear, it seems like the same problem as RossOliver's in the apple discussion http://discussions.apple.com/thread.jspa?messageID=7012574 i've been wrestling with this for a day and a half...can someone look at the attached project to see what's wrong? i'm using the beta 3 sdk. thanks in advance. onetab.zip
  2. thanks for the guide. i'm still having a problem though. The app builds ok but with 1 warning regarding your addSubView method, and i don't see the tabbar: my AppDelegate looks like this: any suggestions? thanks.
  3. @mmk: do you know what the equivalent method is (like initWithRootController) for UITabController? I didnt find it in the UIToolbarController docs. so did anyone get tabbars working in IB yet? if there are any success stories, can you post a simple project that uses an xib to generate the tabbar, similar to the sdk's cocoa toolbar template (but using IB)? thanks
  4. @cpatch: That trick worked nicely. Thanks!
  5. NSLog outputs to System Console now.
  6. hello, i want to open a url from a UIButton in iPhone. I've attached this method to an IB button: - (IBAction)doSendCode:(id)sender { [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.google.com"]]; } When the method is called, the app shrinks away like it's going to open safari, but the whole simulator quits. There is no crash alert popup, so I am wondering if I'm doing something wrong or that's supposed to happen in the simulator.
  7. so how did you get the label to clear and overwrite the text (to avoid 1 + 3 = ' )? I'm getting the same problem in another project. thanks
  8. i've figured out that the hanging occurs when accessing the objects tab of the Library subwindow. In other words, if i create a non-Touch window/view interface, and choose the Media tab of the Library, then close that and open a new Cocoa Touch interface project, the project loads fine. But as soon as I click "Objects" tab in the library within a Cocoa Touch project, Interface Builder hangs indefinitely.
  9. When I create a new Empty, View, or Window within the Cocoa Touch choices of Interface Builder, the interface opens and then IB hangs indefinitely. Regular Cocoa interfaces open ok. any ideas about how i can avoid the beachball/lollipop of death?
  10. control key doesn't work in IB?

    i solved the problem. apparently the ctrl+click is not registered properly with synergy. i had tried using a local keyboard earlier, but it did not work. the trick was to connect a local mouse. hope this helps someone in the future.
  11. control key doesn't work in IB?

    yes. control+click = right mouse click, and this worked in my crude itunes test.
  12. i'm making a "numpad" gui in xcode3 for iphone os, and i need each number button to append its respective digit to a string. apple's "hello world" tutorial executes this statement to attach the "hello" method to a button. [button addTarget:self action:@selector(hello:) forControlEvents:UIControlEventTouchUpInside]; i wrote this method to append the string: - (void)addDigitToBarCode: (NSString *)numstr { NSString *barcodeString = [barcodeString stringByAppendingFormat:@"",numstr]; //add digit to string self.label.text = barcodeString; } but when I run this statement: [button9 addTarget:self action:@selector(addDigitToBarCode:"9") forControlEvents:UIControlEventTouchUpInside]; I get a warning: error syntax error before string constant so what's the correct way to pass an argument to the method? thanks in advance
  13. hi, I am learning Xcode 3 and IB, but I can't get through any online tutorials (which I follow exactly) because I can't control+click interface objects to controllers! I never see a line to connect the objects together. The control key does work in programs such as iTunes, and the key isn't assigned to something else in keyboard system preferences. is there an easy fix for this? am i doing something wrong? i don't know how else to troubleshoot this issue. thanks.