Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Help a novice programmer regain his sanity!

Help a novice programmer regain his sanity!
Thread Tools
Fresh-Faced Recruit
Join Date: Jan 2004
Location: Denmark
Status: Offline
Reply With Quote
Jan 24, 2004, 10:22 AM
 
I've made two very simple programs, but I have a problem with each one of them:

1) functions doesn't get invoced although I'm sure I connected them properly in IB

2) the variables are reset when draw rect is invoked
So I need your help, because it's driving me nuts!

If you want to help please send a mail to mehc(a)ofir.dk so I can send the xcode files to you
sincerely Mads
(www.dont-panic.tk)
     
Fresh-Faced Recruit
Join Date: Oct 2000
Location: Denmark
Status: Offline
Reply With Quote
Jan 24, 2004, 12:27 PM
 
Hey Mads, elaborate a little bit, tell what kind of language you are using, and perhaps show us some code.
--hengx
     
Fresh-Faced Recruit
Join Date: Jan 2004
Location: Denmark
Status: Offline
Reply With Quote
Jan 25, 2004, 09:49 AM
 
Ok, I forgot to mention that it was in cocoa. The reason that I didn't post the code was that it was too long, and it wouldn't tell if I had made mistakes in IB, which was the case.

I had been instansiating my customViews and drawing connections to it instead of the view itself, which was causing the errors. So afterall it was the connections in IB that were screwed up.

Thanks for your attention
sincerely Mads
(www.dont-panic.tk)
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:53 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2