Skip to Content
Cocoa® Programming for Mac OS® X For Dummies®
book

Cocoa® Programming for Mac OS® X For Dummies®

by Erick Tejkowski
February 2009
Beginner
408 pages
7h 53m
English
For Dummies
Content preview from Cocoa® Programming for Mac OS® X For Dummies®

Chapter 15. Cocoa on the Internet

In This Chapter

  • Loading a Web site with Cocoa

  • Downloading files from the Internet

  • Sending e-mails with only a few lines of code

The last two decades of personal computing have witnessed explosive growth in networking technologies. Consequently, the vast majority of personal computer owners use the Internet, many on a daily basis. Among the various means of communication available to a user on the Internet, the World Wide Web and e-mail stand out as the two main tools that everyone uses.

In this chapter, you explore the wild and wooly world of the Internet and see how it applies to Cocoa applications. The chapter starts by showing you how to load Web pages, download files, and render HTML (HyperText Markup Language) in your own projects. Later, you add e-mail features to your application as well. By the end of this chapter, you'll have a fully functional project that performs some important Internet functions. Although it's not necessarily the kind of application you'll want to use for your next best-selling killer app, it can serve as a handy reference for future projects.

Interacting with the Web

Just over a decade ago, few were familiar with the Internet or the World Wide Web. Now, even your dog has a domain name, an e-mail address, and a MySpace account. Computer users have eaten up all that the Internet has to offer and in the process have become discerning consumers. They expect instant connectivity to any Web site in the world. Luckily, Cocoa has ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Learning Objective-C 2.0: A Hands-on Guide to Objective-C for Mac and iOS Developers, Second Edition

Learning Objective-C 2.0: A Hands-on Guide to Objective-C for Mac and iOS Developers, Second Edition

Robert Clair
Learning Cocoa with Objective-C, 2nd Edition

Learning Cocoa with Objective-C, 2nd Edition

Apple Computer Inc, James Duncan Davidson

Publisher Resources

ISBN: 9780470432891Purchase book