Ios why use categories




















Apps that are interactive and designed to entertain and inform the user, and which contain audio, visual, or other content. For example: television, movies, second screens, fan clubs, theatre, ringtones, voice manipulation, ticketing services, art creation.

Apps that perform financial transactions or assist the user with business or personal financial matters. For example: personal financial management, mobile banking, investment, bill reminders, budgets, debt management, tax, small business finance, insurance. Apps that provide recommendations, instruction, or critique related to the preparation, consumption, or review of food or beverages.

For example: action, adventure, board, card, family, music, puzzle, racing, role playing, simulation, sports, strategy. For example: vector graphic design, image editing, drawing and illustration. Apps related to healthy living, including stress management, fitness, and recreational activities.

For example: real estate, crafts, hobbies, parenting, fashion, home improvement. Apps designed specifically for children ages 11 and under. Age-appropriate apps must be placed in one of three age bands based on their primary audience: 5 and under, 6—8, or 9— For example: age-appropriate games, interactive stories, educational materials, magazines. Apps that offer auto-renewing subscriptions to magazine or newspaper content.

Apps that are focused on medical education, information management, or health reference for patients or healthcare professionals. For example: skeletal, muscular, anatomy, medical record-keeping, diseases, symptom reference, companion devices blood pressure, pulse, and so on , health tracking. Apps that are for discovering, listening to, recording, performing, or composing music, and that are interactive in nature.

For example: music creation, radio, education, sound editing, music discovery, composition, lyric writing, band and recording artists, music videos and concerts, concert ticketing. Apps that provide information about current events or developments in areas of interest such as politics, entertainment, business, science, technology, and so on. Choose News if your app serves content via newsreader or digest format, or if your app is for a digital-first or broadcast-first media outlet with frequent content updates.

For example: television, video, radio, or online news outlets or programs, RSS readers. For example: capture, editing, special effects, sharing, imaging, printing, greeting card creation, manuals. For example: task management, calendar management, translation, note taking, printing, password management, cloud storage, email clients, flow chart generators, audio dictation, simulation, data viewing.

For example: atlas, dictionary, thesaurus, quotations, encyclopedia, general research, animals, law, religion, how-tos, politics. For example: content bookmarkers, password managers, adblockers, savings finders. For example: commerce, marketplace, coupon, product review, apps with Apple Pay.

Apps that connect people by means of text, voice, photo, or video. Apps that contribute to community development. For example: calculators standard, tip, financial , clocks, measurement, time, web browsing, flashlights, screen locks, barcode scanners, unit conversion tools, password management, remote controls.

Apple recommend to name such files by starting with the superclass, followed by a plus sign, followed by your Category name. Xcode 6 no longer provides a mechanism for that, so either empty.

We add one public method here. Notice the way we declare the implementation, again with brackets. After importing the Category we can instantiate an NSString object and use our own method as if Apple had baked it right into the Foundation Framework.

How cool is that? A category must import the interface file for the class it extends:. If you use a category to declare private methods of one of your own classes, you can put the declaration in the implementation file before the implementation block:. A category implementation might therefore look like this:. All Rights Reserved. Terms of Use Privacy Policy Updated: Documentation Archive Developer Search.



0コメント

  • 1000 / 1000