New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Coming from .NET


Post Reply New Thread Subscribe

 
Thread Tools
ianvink

 
Member Since: Jun 06, 2009
Posts: 5
ianvink is on a distinguished road

ianvink is offline
I am beginning to develop in XCode. I have written a Hello World. That's it.

In .NET I use a composite application design, MVC of course, which allows various views to publish messages to the 'ether' and have any other view listen without having to know about each other. Like yelling fire in a cinema. You don't care, or know, about those who listen.

Is this kind of pub-sub available in a framework, or natively ?

Ian
QUOTE Thanks
ianvink

 
Member Since: Jun 06, 2009
Posts: 5
ianvink is on a distinguished road

ianvink is offline
In .NET I would often use Microsoft Access and the JET database engine in my applications.

What would I use on the Mac when I need to be able to have simple database with simple queries.

Is SQLite often used?
QUOTE Thanks
ianvink

 
Member Since: Jun 06, 2009
Posts: 5
ianvink is on a distinguished road

ianvink is offline
In .NET I use the COM object that runs Internet Explorer and is on all PCs as the rendering agent for the HTML which my applications produce. It allows me to capture clicks, context menus etc in the app.

Is there such an HTML rendering component in XCode which I could use to display HTML text, capture/cancel link clicks etc?
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
1. Sounds like notifications. Since when should your view objects be communicating with each other. That is what the controller is for.
2. SQLite is included. For OS X and the newer iPhone OS 3.0, look into CoreData.
3. The same engine used in Safari. But why when you have Interface Builder to build the interface.

I think you need to learn Cocoa from the ground up so you can make your own comparisons and understand how to find those answers. Surprisingly the Stanford iPhone Programming course available via iTunes U is a good primer to many Cocoa concepts. The downloads include video of the classes and the PDFs. They also had a Cocoa Programming course last year, but no video for it. A good book is "Cocoa Programming for Mac OS X" by Aaron Hillegass. I'm assuming you have Leopard, so you would want the third edition of that book.

A good online source for introduction stuff is CocoaDevCentral.

Search this forum and you'll find other suggestions.

CameraTime - Time lapse photography for novice and advanced users.

When asking questions, post the version of your software. You'll receive better answers.

Please post your results to the thread as it is good feedback.
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
For some comparisons to .Net development, you should review some entries here by an experienced .Net developer.

Here are some hilights of his thoughts from a session he did at a WWDC as recalled by an attending person.

CameraTime - Time lapse photography for novice and advanced users.

When asking questions, post the version of your software. You'll receive better answers.

Please post your results to the thread as it is good feedback.
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
3. #import <WebKit/WebView.h>

CameraTime - Time lapse photography for novice and advanced users.

When asking questions, post the version of your software. You'll receive better answers.

Please post your results to the thread as it is good feedback.
QUOTE Thanks

Post Reply New Thread Subscribe


« Code conversion question | Terminal Query »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
rumor of them coming out with new iPods. Is it true? Jakew903 iOS and Apps 2 06-05-2009 12:45 PM
How's your New Years resolution coming along? Tanner31593 Schweb's Lounge 25 05-22-2008 07:57 PM
New episodes of Futurama coming to Comedy Central ... for real! I Can Has Mac! Schweb's Lounge 8 12-23-2007 10:28 PM
New Mini or other new macs coming out soon? markw10 Apple Desktops 4 08-31-2006 02:13 AM
Strange hum coming out of Dual G4 2.5 Built-in Audio Krypton545 Apple Desktops 3 12-15-2005 08:27 PM

All times are GMT -4. The time now is 05:49 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?