spot7.org logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML Categories

Co-mingling "default" data with user-supplied data in Core Data


I had a similar situation in my app. It has sample data, but the sample data is designed to be edited by the user, and has metadata attached to it that is user specific. In other words, the data is mutable, and belonged with the rest of the user's personally created data.

At one point, the app was rejected. I first appealed to the reviewer, explaining that the data was mutable, and personal to the user — it would not be possible to reproduce the data purely from the app bundle. The reviewer would not budge, so I appealed, and they sided with the reviewer. Game over.

You may be able to get away with a small amount of data loaded from your bundle (<1MB). If you plan to include images or anything that will push up that amount, they will likely reject you.

I also heard from another developer rejected for including data downloaded from a web service in the user's store. Apple claimed that the data could be re-downloaded, which may be partially true, but ignores the fact that the web service was operated by a third party, and the downloaded data could be unshared at any time. It also ignores that the user can edit the downloaded data, and that the client app is attaching user-specific metadata that cannot be downloaded.

That developer was rejected as well. He eventually got the app through review by introducing a complex set of procedures to import the data: the user had to first download the data to a temporary holding area that was not backed up. They then had to explicitly import the data, and dismiss a wordy dialog warning that the imported data would contribute to their iCloud backup quota. Horrible. But that is apparently what Apple wants.

The rule is pretty mindless, in my view, and Apple seem to be completely oblivious to the implications in terms of user interface changes and drastic refactoring of an app's model. I can't imagine any engineers were involved in forming the rule, because they surely would have realized how much unnecessary complexity it would impose on developers. We can only hope they see reason at some point.


Categories : IOS

Related to : Co-mingling "default" data with user-supplied data in Core Data
Matplotlib Patches not matching supplied arguments.
You can set the color of the circles when you create the patch collection: p = PatchCollection(patches,facecolors='w',edgecolor='k') From the Collection documentation: "If any of edgecolors, facecolors, linewidths, antialiaseds are None, they default to their matplotlib.rcParams patch setting, in sequence form."

Categories : Python
Column name or number of supplied values does not match table
Here: INSERT INTO Comments VALUES ('Mdbuzzer','Times Up', 'Best post I have seen in a while', '22:55pm', '22:00pm'); You are inserting 5 values into a table with 4 columns. Sometimes using the more verbose syntax can help both with organization and error messages: INSERT INTO Comments(UsernameID, PostTitle, Comments, TimeofComments) VALUES('Mdbuzzer','Times Up', 'Best post I have seen in a wh

Categories : Sql Server
i get this error Procedure or function 'AddDepartment' expects parameter '@D_id', which was not supplied
Your stored procedure parameter is of type int whereas you have defined your D_id as string in your method. AddiWithValue uses type inference and that is why you are getting the error. You should use and int type parameter in your method or do: cmd.Parameters.AddWithValue("@D_id", int.Parse(D_id)); See: AddWithValue is Evil Other option is to explicitly define type like: cmd.Parameters.Add("@

Categories : C#
php - filter_input - set to default value if GET key not set
You can use default option to achieve this, If value not set then default value will get assign, example as given below $options = array( 'options' => array('default'=> 0) ); $valid = filter_input(INPUT_GET, 'id', FILTER_VALIDATE_INT, $options); filter_input() doesn't read from the _POST/_GET/_COOKIE/_SERVER/_ENV $opened_staff['id'] = 0; if($valid){ $opened_staff['id'] = $_GET['id'];

Categories : PHP
How to limit the default cache
Here you found anything you want to know about "cache control". If you still have any problem the you can ask. http://symfony.com/doc/current/book/installation.html

Categories : PHP
Recently Add
why scrollView.frame = CGRectMake() not work
Codesigning failed when building app from terminal
View presented by UINavigationController embedded in UITabBarController doesn't size view to account for tabBar at bottom of view
App Groups and iCloud in iOS
What is the purpose of the init! failable initializer?
Trying to segue to another view controller using an alert action, in Swift
ios - Action from UITableView to a UIViewController
Unused variable warning in XCode 6
What happens when you touch two buttons at the same time
Adding pan gesture to multiple dynamically created views?
Edit UI Table View, Call Between Swipe And Button Display
Detect whether device can receive sms
NSPredicate for array of Dictionaries generating null array
Send iOS push notifications to multiple devices
Send IPad App for review every x days ( continuous deploy )
Constraints are working on iOS 8, but not on iOS 7
Parse.com Friend Relations
Sorting NSMutableArray with custom class by date
How to programmatically slice an image in 4 , 9 , 16 and 25 slices
Redraw issue with UITableView using Objective C and Xcode 6
How to convert string "$double_number" to double number
Switching from iBeacon to BLE in real time?
Weekly subscription payment in inapp purchase
What's the advantages of using NSOutputstream?
CoreData Issue: There was an error creating or loading the application's saved data
Update UITableView size based on UIView constraints
Run code in background
How to deploy app in ios simulator(Xcode 6.0.1)
Cannot get permission for user_events facebook
Unexplainable memory leak swift iOS
© Copyright 2017 spot7.org Publishing Limited. All rights reserved.