Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 861763
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T09:01:54+00:00 2026-05-15T09:01:54+00:00

Just a guess: I make an attribute and make it’s type binary. But in

  • 0

Just a guess: I make an attribute and make it’s type “binary”. But in the end, how would I use that? I guess there is an NSData behind the scenes? So that attribute actually takes an NSData?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T09:01:54+00:00Added an answer on May 15, 2026 at 9:01 am

    This question has been asked a number of times and the answer is a bit more complex.

    When it comes to binary data you should determine how to store it based on the expected size of data you are going to be working with. The rule is:

    • Less than 100K;store as a binary property in your main table
    • Less than 1M; store as a binary property in a ancillary table to avoid over fetching
    • Greater than 1M; store on disk and store its file path in the Core Data table.

    In addition, when you are storing images, it is recommended to store them in a standard format such as JPG or PNG. By using the transformable property type you can actually have your subclass give the appearance of accessing the UIImage class when the actual store is a PNG representation. I go into this in detail in the bog post on Cocoa Is My Girlfriend.

    Update

    The reason behind storing > 1M binary data on disk is because of the cache. The NSPersistentStoreCoordinator will keep a cache of data so that when your app asks for the “next” object it doesn’t need to go back out to disk. This cache works really well. However it is small, very small on iOS. If you pull in a big piece of binary data you can easily blow out that entire cache and your entire app suffers greatly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am to make Guess match card game, that is :there are 24 cards(UIImageView)
My guess is that this javascript just finds the div called divid and then
I guess I'm doing something wrong with my includes but I just can't seem
I am new to Linq and extension methods and I guess I just can't
I looked all over on google, I guess I just don't know what to
I guess I'm wondering if it is ill-advisable to just set: div { overflow:
2^n + 6n^2 + 3n I guess it's just O(2^n), using the highest order
edit alright, I guess C is painful in nature--Just, this part, is particularly painful.
Just checking my JS and I have an error, but I cannot see where.
Given an attribute on an event that will be browser prefixed, I'd like to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.