Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 26, 2006, 10:26 PM   #1
slooksterPSV
macrumors 68030
 
Join Date: Apr 2004
Location: Nowheresville
Send a message via AIM to slooksterPSV Send a message via MSN to slooksterPSV Send a message via Yahoo to slooksterPSV
Can't find Cocoa book - need help

I'm trying to make a simple Web Browser, but I have a problem:
I need to check the TextBox the user types the URL into and make sure there is an http:// in front of www.... otherwise it won't load the page. I know I have to have a responder or delegate or something to do this. I didn't practice this procedure enough to do this so how do I go about doing it.

1 - When the user presses enter, have the responder check the URL
2 - If the URL needs to have http:// in front, add it otherwise just load
3 - Send the request to load the page - I figure WebView will have an easy solution to this so I'm sure I can figure #2 and #3. But how do I do the responder thing? And how do I set that up in Interface Builder and that.


Thank you in advance.
__________________
AMD Phenom 9600, 2GB RAM, 250GB HDD, ATI Radeon 4850, Vista Home Premium 64-bit
Gateway NV53 with Windows 7 Home Premium 64-bit & Ubuntu 10.04 Lucid Lynx 64-bit
slooksterPSV is offline   0 Reply With Quote
Old Dec 26, 2006, 11:07 PM   #2
slooksterPSV
Thread Starter
macrumors 68030
 
Join Date: Apr 2004
Location: Nowheresville
Send a message via AIM to slooksterPSV Send a message via MSN to slooksterPSV Send a message via Yahoo to slooksterPSV
I got it. So I withdraw my comment.
__________________
AMD Phenom 9600, 2GB RAM, 250GB HDD, ATI Radeon 4850, Vista Home Premium 64-bit
Gateway NV53 with Windows 7 Home Premium 64-bit & Ubuntu 10.04 Lucid Lynx 64-bit
slooksterPSV is offline   0 Reply With Quote
Old Dec 26, 2006, 11:37 PM   #3
tominated
macrumors 68000
 
tominated's Avatar
 
Join Date: Jul 2006
Location: Queensland, Australia
beat me to it... i needed the same thing for tominated
__________________
20" iMac Core Duo
13" 2.26Ghz MBP
Upgraded to 4GB RAM & 500GB HDD
tominated is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting 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

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Can't find address book timtrax iPod touch 0 Jan 8, 2010 04:10 PM
Installed Snow Leopard, now can't find printer driver - help! ero87 Mac OS X 5 Sep 3, 2009 04:09 PM
I've searched but can't find an answer - contraction help please GrannieSmith Mac Applications and Mac App Store 4 Apr 9, 2009 07:20 PM
New Mac Mini - Need Help to find LCD monitor? TechWhore Mac mini 1 Mar 3, 2009 10:40 PM
Simple Cocoa app - need some help stadidas Mac Programming 2 Oct 22, 2006 04:11 PM


All times are GMT -5. The time now is 06:49 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC