• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Language options: Objective-C, Swift, C or C++?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Language options: Objective-C, Swift, C or C++?


  • Subject: Re: Language options: Objective-C, Swift, C or C++?
  • From: Rick Mann <email@hidden>
  • Date: Sun, 14 Jun 2015 13:53:53 -0700

> On Jun 14, 2015, at 04:56 , Maxthon Chan <email@hidden> wrote:
>
> I actually don’t use C++ with Objective-C - in fact, I flat out hate it from the half year being forced to use it in a CS course. Actually I even created a rough Foundation clone and migrated almost all programming paradigms from Objective-C to C++. Compare this:
>
> CCArray *array = CCArray::alloc().init(object).autorelease();
>
> and this:
>
> NSArray *array = [[[NSArray alloc] initWithObject:object] autorelease];

Actually, that's now:

	NSArray* array = @[ object ];

--
Rick Mann
email@hidden



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Re: Language options: Objective-C, Swift, C or C++? (From: Roland King <email@hidden>)
 >Re: Language options: Objective-C, Swift, C or C++? (From: Quincey Morris <email@hidden>)
 >Re: Language options: Objective-C, Swift, C or C++? (From: Graham Cox <email@hidden>)
 >Re: Language options: Objective-C, Swift, C or C++? (From: Michael David Crawford <email@hidden>)
 >Re: Language options: Objective-C, Swift, C or C++? (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: NSFontPanel for a modal window
  • Next by Date: Re: Language options: Objective-C, Swift, C or C++?
  • Previous by thread: Re: Language options: Objective-C, Swift, C or C++?
  • Next by thread: Re: Language options: Objective-C, Swift, C or C++?
  • Index(es):
    • Date
    • Thread