• 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: Populating a new SQLite Core Data store with default data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Populating a new SQLite Core Data store with default data


  • Subject: Re: Populating a new SQLite Core Data store with default data
  • From: "I. Savant" <email@hidden>
  • Date: Mon, 23 Feb 2009 14:28:49 -0500

On 2/23/09, Jon C. Munson II <email@hidden> wrote:

> Kyle mentioned something about casting.  While I know what certain casting
> is, (int)i for example, I'm not sure what he meant.  If he meant to include
> the class header file and stipulate the class up front, etc., then I hadn't
> done that as, again, the samples didn't cover that particular method for
> this case - that was usually mentioned in the normal method, not the
> convenience method being used here.

  Well no, it wouldn't ... This is an aspect of the language with
which you are expected to be familiar. It doesn't make sense that this
information be repeated everywhere it could be used, right? This isn't
even Objective-C; it's just a pointer:

id obj = ...some class instance
(MyClassyClass *)[obj doSomethingSpecificToMyClassyClass]

  Same as your int cast example.

--
I.S.









> _______________________________________________
>
> 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
>
_______________________________________________

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

  • Follow-Ups:
    • RE: Populating a new SQLite Core Data store with default data
      • From: "Jon C. Munson II" <email@hidden>
    • Re: Populating a new SQLite Core Data store with default data
      • From: "I. Savant" <email@hidden>
References: 
 >Populating a new SQLite Core Data store with default data (From: "Jon C. Munson II" <email@hidden>)
 >RE: Populating a new SQLite Core Data store with default data (From: "Jon C. Munson II" <email@hidden>)
 >Re: Populating a new SQLite Core Data store with default data (From: mmalc Crawford <email@hidden>)
 >RE: Populating a new SQLite Core Data store with default data (From: "Jon C. Munson II" <email@hidden>)
 >Re: Populating a new SQLite Core Data store with default data (From: mmalc Crawford <email@hidden>)
 >RE: Populating a new SQLite Core Data store with default data (From: "Jon C. Munson II" <email@hidden>)

  • Prev by Date: Re: iTunes like transition?
  • Next by Date: Re: Populating a new SQLite Core Data store with default data
  • Previous by thread: RE: Populating a new SQLite Core Data store with default data
  • Next by thread: Re: Populating a new SQLite Core Data store with default data
  • Index(es):
    • Date
    • Thread