Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
 
For 2023 (and 2024 ...) - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))
Hello iPad world - view layout
this example from a Well House Consultants training course
More on this [link]

This example is described in the following article(s):
   • Seeing how Melksham has changed over the years, via an iPad - [link]

Source code: helloipad_ViewController.xib Module: C501

<?xml version="1.0" encoding="UTF-8"?>
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="8.00">
        <data>
                <int key="IBDocument.SystemTarget">1280</int>
                <string key="IBDocument.SystemVersion">11C74</string>
                <string key="IBDocument.InterfaceBuilderVersion">1938</string>
                <string key="IBDocument.AppKitVersion">1138.23</string>
                <string key="IBDocument.HIToolboxVersion">567.00</string>
                <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
                        <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
                        <string key="NS.object.0">933</string>
                </object>
                <array key="IBDocument.IntegratedClassDependencies">
                        <string>IBUISlider</string>
                        <string>IBUIView</string>
                        <string>IBUILabel</string>
                        <string>IBProxyObject</string>
                </array>
                <array key="IBDocument.PluginDependencies">
                        <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
                </array>
                <object class="NSMutableDictionary" key="IBDocument.Metadata">
                        <string key="NS.key.0">PluginDependencyRecalculationVersion</string>
                        <integer value="1" key="NS.object.0"/>
                </object>
                <array class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
                        <object class="IBProxyObject" id="841351856">
                                <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
                                <string key="targetRuntimeIdentifier">IBIPadFramework</string>
                        </object>
                        <object class="IBProxyObject" id="606714003">
                                <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
                                <string key="targetRuntimeIdentifier">IBIPadFramework</string>
                        </object>
                        <object class="IBUIView" id="766721923">
                                <reference key="NSNextResponder"/>
                                <int key="NSvFlags">274</int>
                                <array class="NSMutableArray" key="NSSubviews">
                                        <object class="IBUISlider" id="439155591">
                                                <reference key="NSNextResponder" ref="766721923"/>
                                                <int key="NSvFlags">292</int>
                                                <string key="NSFrame">{{28, 663}, {735, 23}}</string>
                                                <reference key="NSSuperview" ref="766721923"/>
                                                <reference key="NSWindow"/>
                                                <reference key="NSNextKeyView"/>
                                                <string key="NSReuseIdentifierKey">_NS:624</string>
                                                <bool key="IBUIOpaque">NO</bool>
                                                <string key="targetRuntimeIdentifier">IBIPadFramework</string>
                                                <int key="IBUIContentHorizontalAlignment">0</int>
                                                <int key="IBUIContentVerticalAlignment">0</int>
                                                <float key="IBUIValue">0.5</float>
                                        </object>
                                        <object class="IBUILabel" id="75097244">
                                                <reference key="NSNextResponder" ref="766721923"/>
                                                <int key="NSvFlags">292</int>
                                                <string key="NSFrame">{{137, 396}, {475, 140}}</string>
                                                <reference key="NSSuperview" ref="766721923"/>
                                                <reference key="NSWindow"/>
                                                <reference key="NSNextKeyView" ref="439155591"/>
                                                <string key="NSReuseIdentifierKey">_NS:345</string>
                                                <bool key="IBUIOpaque">NO</bool>
                                                <bool key="IBUIClipsSubviews">YES</bool>
                                                <int key="IBUIContentMode">7</int>
                                                <bool key="IBUIUserInteractionEnabled">NO</bool>
                                                <string key="targetRuntimeIdentifier">IBIPadFramework</string>
                                                <string key="IBUIText">This is my initial text</string>
                                                <object class="NSColor" key="IBUITextColor">
                                                        <int key="NSColorSpace">1</int>
                                                        <bytes key="NSRGB">MCAwIDAAA</bytes>
                                                </object>
                                                <nil key="IBUIHighlightedColor"/>
                                                <int key="IBUIBaselineAdjustment">1</int>
                                                <float key="IBUIMinimumFontSize">10</float>
                                                <int key="IBUITextAlignment">1</int>
                                                <object class="IBUIFontDescription" key="IBUIFontDescription">
                                                        <int key="type">1</int>
                                                        <double key="pointSize">32</double>
                                                </object>
                                                <object class="NSFont" key="IBUIFont">
                                                        <string key="NSName">Helvetica</string>
                                                        <double key="NSSize">32</double>
                                                        <int key="NSfFlags">16</int>
                                                </object>
                                        </object>
                                </array>
                                <string key="NSFrame">{{0, 20}, {768, 1004}}</string>
                                <reference key="NSSuperview"/>
                                <reference key="NSWindow"/>
                                <reference key="NSNextKeyView" ref="75097244"/>
                                <object class="NSColor" key="IBUIBackgroundColor">
                                        <int key="NSColorSpace">3</int>
                                        <bytes key="NSWhite">MQA</bytes>
                                        <object class="NSColorSpace" key="NSCustomColorSpace">
                                                <int key="NSID">2</int>
                                        </object>
                                </object>
                                <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics">
                                        <int key="IBUIStatusBarStyle">2</int>
                                </object>
                                <string key="targetRuntimeIdentifier">IBIPadFramework</string>
                        </object>
                </array>
                <object class="IBObjectContainer" key="IBDocument.Objects">
                        <array class="NSMutableArray" key="connectionRecords">
                                <object class="IBConnectionRecord">
                                        <object class="IBCocoaTouchOutletConnection" key="connection">
                                                <string key="label">view</string>
                                                <reference key="source" ref="841351856"/>
                                                <reference key="destination" ref="766721923"/>
                                        </object>
                                        <int key="connectionID">3</int>
                                </object>
                                <object class="IBConnectionRecord">
                                        <object class="IBCocoaTouchOutletConnection" key="connection">
                                                <string key="label">mylabel</string>
                                                <reference key="source" ref="841351856"/>
                                                <reference key="destination" ref="75097244"/>
                                        </object>
                                        <int key="connectionID">6</int>
                                </object>
                                <object class="IBConnectionRecord">
                                        <object class="IBCocoaTouchOutletConnection" key="connection">
                                                <string key="label">myslider</string>
                                                <reference key="source" ref="841351856"/>
                                                <reference key="destination" ref="439155591"/>
                                        </object>
                                        <int key="connectionID">7</int>
                                </object>
                                <object class="IBConnectionRecord">
                                        <object class="IBCocoaTouchEventConnection" key="connection">
                                                <string key="label">dragMySlider</string>
                                                <reference key="source" ref="439155591"/>
                                                <reference key="destination" ref="606714003"/>
                                                <int key="IBEventType">13</int>
                                        </object>
                                        <int key="connectionID">8</int>
                                </object>
                        </array>
                        <object class="IBMutableOrderedSet" key="objectRecords">
                                <array key="orderedObjects">
                                        <object class="IBObjectRecord">
                                                <int key="objectID">0</int>
                                                <array key="object" id="0"/>
                                                <reference key="children" ref="1000"/>
                                                <nil key="parent"/>
                                        </object>
                                        <object class="IBObjectRecord">
                                                <int key="objectID">-1</int>
                                                <reference key="object" ref="841351856"/>
                                                <reference key="parent" ref="0"/>
                                                <string key="objectName">File's Owner</string>
                                        </object>
                                        <object class="IBObjectRecord">
                                                <int key="objectID">-2</int>
                                                <reference key="object" ref="606714003"/>
                                                <reference key="parent" ref="0"/>
                                        </object>
                                        <object class="IBObjectRecord">
                                                <int key="objectID">2</int>
                                                <reference key="object" ref="766721923"/>
                                                <array class="NSMutableArray" key="children">
                                                        <reference ref="75097244"/>
                                                        <reference ref="439155591"/>
                                                </array>
                                                <reference key="parent" ref="0"/>
                                        </object>
                                        <object class="IBObjectRecord">
                                                <int key="objectID">4</int>
                                                <reference key="object" ref="439155591"/>
                                                <reference key="parent" ref="766721923"/>
                                        </object>
                                        <object class="IBObjectRecord">
                                                <int key="objectID">5</int>
                                                <reference key="object" ref="75097244"/>
                                                <reference key="parent" ref="766721923"/>
                                        </object>
                                </array>
                        </object>
                        <dictionary class="NSMutableDictionary" key="flattenedProperties">
                                <string key="-1.CustomClassName">ViewController</string>
                                <string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
                                <string key="-2.CustomClassName">UIResponder</string>
                                <string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
                                <string key="2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
                                <string key="4.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
                                <string key="5.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
                        </dictionary>
                        <dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
                        <nil key="activeLocalization"/>
                        <dictionary class="NSMutableDictionary" key="localizations"/>
                        <nil key="sourceID"/>
                        <int key="maxID">8</int>
                </object>
                <object class="IBClassDescriber" key="IBDocument.Classes">
                        <array class="NSMutableArray" key="referencedPartialClassDescriptions">
                                <object class="IBPartialClassDescription">
                                        <string key="className">ViewController</string>
                                        <string key="superclassName">UIViewController</string>
                                        <object class="NSMutableDictionary" key="actions">
                                                <string key="NS.key.0">dragMySlider</string>
                                                <string key="NS.object.0">id</string>
                                        </object>
                                        <object class="NSMutableDictionary" key="actionInfosByName">
                                                <string key="NS.key.0">dragMySlider</string>
                                                <object class="IBActionInfo" key="NS.object.0">
                                                        <string key="name">dragMySlider</string>
                                                        <string key="candidateClassName">id</string>
                                                </object>
                                        </object>
                                        <dictionary class="NSMutableDictionary" key="outlets">
                                                <string key="mylabel">UILabel</string>
                                                <string key="myslider">UISlider</string>
                                        </dictionary>
                                        <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
                                                <object class="IBToOneOutletInfo" key="mylabel">
                                                        <string key="name">mylabel</string>
                                                        <string key="candidateClassName">UILabel</string>
                                                </object>
                                                <object class="IBToOneOutletInfo" key="myslider">
                                                        <string key="name">myslider</string>
                                                        <string key="candidateClassName">UISlider</string>
                                                </object>
                                        </dictionary>
                                        <object class="IBClassDescriptionSource" key="sourceIdentifier">
                                                <string key="majorKey">IBProjectSource</string>
                                                <string key="minorKey">./Classes/ViewController.h</string>
                                        </object>
                                </object>
                        </array>
                </object>
                <int key="IBDocument.localizationMode">0</int>
                <string key="IBDocument.TargetRuntimeIdentifier">IBIPadFramework</string>
                <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
                <int key="IBDocument.defaultPropertyAccessControl">3</int>
                <string key="IBCocoaTouchPluginVersion">933</string>
        </data>
</archive>
Learn about this subject
This module and example are covered as required on private courses. Should you wish to cover this example and associated subjects, and you're attending a public course to cover other topics with us, please see our extra topic program.

Books covering this topic
Yes. We have over 700 books in our library. Books covering C and C++ are listed here and when you've selected a relevant book we'll link you on to Amazon to order.

Other Examples
This example comes from our "this" training module. You'll find a description of the topic and some other closely related examples on the "this" module index page.

Full description of the source code
You can learn more about this example on the training courses listed on this page, on which you'll be given a full set of training notes.

Many other training modules are available for download (for limited use) from our download centre under an Open Training Notes License.

Other resources
• Our Solutions centre provides a number of longer technical articles.
• Our Opentalk forum archive provides a question and answer centre.
The Horse's mouth provides a daily tip or thought.
• Further resources are available via the resources centre.
• All of these resources can be searched through through our search engine
• And there's a global index here.

Purpose of this website
This is a sample program, class demonstration or answer from a training course. It's main purpose is to provide an after-course service to customers who have attended our public private or on site courses, but the examples are made generally available under conditions described below.

Web site author
This web site is written and maintained by Well House Consultants.

Conditions of use
Past attendees on our training courses are welcome to use individual examples in the course of their programming, but must check the examples they use to ensure that they are suitable for their job. Remember that some of our examples show you how not to do things - check in your notes. Well House Consultants take no responsibility for the suitability of these example programs to customer's needs.

This program is copyright Well House Consultants Ltd. You are forbidden from using it for running your own training courses without our prior written permission. See our page on courseware provision for more details.

Any of our images within this code may NOT be reused on a public URL without our prior permission. For Bona Fide personal use, we will often grant you permission provided that you provide a link back. Commercial use on a website will incur a license fee for each image used - details on request.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2024: 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/resources/ex.php4 • PAGE BUILT: Sun Oct 11 14:50:09 2020 • BUILD SYSTEM: JelliaJamb