npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

uicatalog-app-iphonesimulator7.1

v2.0.1

Published

Apple's UICatalog app

Downloads

80

Readme

Build

grunt default

UICatalog: Creating and Customizing UIKit Controls

This sample is a catalog exhibiting many views and controls in the UIKit framework along with their various functionalities. Refer to this sample if you are looking for specific controls or views that are provided by the system.

Note that this sample also shows you how to make your non-standard views (images or custom views) accessible. Using the iOS Accessibility API enhances the user experience of VoiceOver users.

You will also notice this sample shows how to localize string content by using the NSLocalizedString macro. Each language has a "Localizeable.strings" file and this macro refers to this file when loading the strings from the default bundle.

=========================================================================== Using the Sample

This sample can be run on a device or on the simulator.

While looking over the source code of UICatalog you will find that many elements keep the same order of the view controller classes listed in the project. For example, AAPLActionSheetViewController is the first view controller in the UICatalog project folder, but it is also the first view controller that's shown in the master view controller's table view.

UICatalog uses a master/detail application architecture, which can be seen in the storyboard files. The master view controller defines the list of views that are used for demonstration in this application. Each detail view controller corresponds to a given system-provided control (and is named accordingly). For example, AAPLAlertViewController shows how to use UIAlertView and its associated functionality. The only two exceptions to this rule are UISearchBar and UIToolbar; each of these controls have multiple view controllers to explain how the control works and can be customized. This is done to make sure that each view controller only has one UIToolbar or UISearchBar in a view controller at one point in time. Each view controller is responsible for configuring a set of of specific controls that have been set in Interface Builder.

=========================================================================== UIKit Controls

UICatalog demonstrates how to configure and customize the following controls:

  • UIActionSheet
  • UIActivityIndicatorView
  • UIAlertView
  • UIButton
  • UIDatePicker
  • UIImageView
  • UIPageControl
  • UIPickerView
  • UIProgressView
  • UISegmentedControl
  • UISlider
  • UIStepper
  • UISwitch
  • UITextField
  • UITextView
  • UIWebView
  • UISearchBar
  • UIToolbar

=========================================================================== Build/Runtime Requirements

Building this sample requires Xcode 5.0 and iOS 7.0 SDK Running the sample requires iOS 7.0 or later.

=========================================================================== Copyright (C) 2008-2014 Apple Inc. All rights reserved.