Apple manual Changing a View’s Size, 26Dragging a view’s drag handle moves the view

Models: 2

1 307
Download 307 pages 50.05 Kb
Page 78
Image 78

C H A P T E R 2

Container Views

Figure 2-26Dragging a view’s drag handle moves the view

Drag handle

1. User drags the keyboard view’s drag handle up

2. Keyboard view moves up

Changing a View’s Size

Your application determines the size of its views. It should base its view sizes on the screen size of the Newton device on which it is running, since Newton screens can come in a wide range of sizes. For example, a container view that fills the screen on an Apple MessagePad 120 (which measures 240⋅ 320 pixels) will not fill the screen on a MessagePad 100 (which measures 240336 pixels). The same image would be too tall to fit on a screen of a MessagePad 120 that a user has rotated to the wide orientation (320 ⋅ 240 pixels). An application can dynamically determine the screen size, and based on that information can calculate appropriate view sizes. An application may also need to adjust view layouts according to the aspect ratio of the screen. Figure 2-27 shows how the built-in Calculator adjusts its size and layout when a user rotates the display.

2-34

How Views Work

Page 78
Image 78
Apple manual Changing a View’s Size, 26Dragging a view’s drag handle moves the view

2 specifications

The Apple II is a defining product in the history of personal computing, first introduced in 1977 by Apple Computer, Inc. Designed by Steve Wozniak, the Apple II was one of the first highly successful mass-produced microcomputer products and played a significant role in bringing personal computers into homes and schools.

One of the Apple II's standout features was its color graphics capability. It was one of the first personal computers to provide color output, thanks to its built-in video interface. The initial model supported a resolution of 280x192 pixels with a palette of 6 colors, which allowed for vibrant visuals that set it apart from contemporaries like the monochrome Altair 8800.

The Apple II was notable for its open architecture. This design allowed users to expand the computer's capabilities easily through a series of expansion slots. Users could add floppy disk drives, additional memory, and various peripheral devices, making the system highly adaptable to individual needs. This encouraged a thriving ecosystem of third-party hardware and software, which contributed to its popularity.

Another significant feature was its use of the 6502 microprocessor. This 8-bit CPU was not only affordable but also powerful for its time, allowing the Apple II to run various applications efficiently. Along with a built-in keyboard and an innovative plastic case that housed its components, the design was user-friendly and appealing.

The Apple II also introduced the concept of “bootable software” through the use of floppy disks. The disk operating system (DOS) allowed users to store and run multiple programs without having to reload software manually, providing a level of convenience that had not been widely available before. Key software like VisiCalc, the first spreadsheet program, helped boost sales, showcasing the Apple II's utility in business and education environments.

The computer was also well-known for its early adoption of BASIC programming language. Apple provided an operating system that supported Applesoft BASIC, which enabled users, including students, to write their programs, further fostering a community of developers.

In summary, the Apple II's color graphics, open architecture, powerful 6502 processor, innovative use of floppy disks, and support for BASIC programming made it a revolutionary product in its time. Its legacy laid the groundwork for future personal computers and established Apple as a leader in the burgeoning tech industry. The Apple II remains an iconic symbol of the early personal computing era, reflecting a generation's transition into a digitally connected world.