找到约10000个结果。
英语原文共 19 页, 自定义 Collection View 布局 Ole Begemann UICollectionView 在 iOS6 中第一次被引入,也是 UIKit 视图类中的一颗新星。它和 UITableView 共享一套 API 设计,但也在 UITableView 上做了一些扩展。UICollectionView 最强大、同时显著超出 UITableView 的特色就是其完全灵活的布局结构。在这篇文章中,我们将会实现一个相当复杂的自定义 collection view 布局,并且顺便讨论一下这个类设计的重要部分。项目的示例代码在 GitHub 上。 布局对象 (Layout Objects) UITableView 和 UICollectionView 都是 data-source 和 delegate 驱动的。它们在显示其子视图集的过程中仅扮演容器角色(dumb containers),且对子视图集真正的内容毫不知情。 UICollectionView 在此之上进行了进一步抽象。它将其子视图的位置,大小和外观的控制权委托给一个单独的布局对象。通过提供一
英语原文共 14 页, 通过PHP访问MySQL 译文: 现在你已经可以熟练地使用MySQL客户端软件来操作数据库里的数据,我们也可以开始学习如何使用PHP来显示和修改数据库里的数据了。PHP有标准的函数用来操作数据库。 我们首先学习PHP内建的数据库函数,然后会学习PHP扩展和应用程序库(PEAR,PHP Extension and Application Repository )中的数据库函数,我们可以使用这些函数操作所有支持的数据库。这种灵活性源自于抽象。对于编程接口而言,抽象简化了复杂的交互过程。它将交互过程中无关紧要的部分屏蔽起来,让你关注于重要的部分。PEAR的DB类就是这样一种数据库接口的抽象。你登录一个数据库所需要提供的信息被减少到最少。这种标准的格式可以通过同一个函数来访问MySQL以及其他的数据库。同样,一些MySQL特定的函数被更一般
The History of Security and Loss Prevention: A Critical Perspective 安全和防止损失的历史:一个批判的视角 Security and loss prevention practitioners face enormous challenges. Dealing with crimes, accidents, and natural disasters requires sound planning and action and the ability to adapt to a changing environment. Critical thinking offers an avenue for practitioners to enhance positive results in their work. The techniques of critical thinking are also helpful to students in any discipline to improve their thinking. We all think, but when we apply critical thinking, we produce a clearer, more accurate picture of our world. This chapter traces the history and growth of the private security industryinto the 21st century. The content also explains the challenges security and loss prevention professionals face in our world today. 安全和防损工作者面临巨大挑战。处理犯罪,事故和自然灾害需要合理的规划和行动以及适应不断
Automotive safety systems and technology research and analysis As traffic tools of the modernization and absolute number increase sharply, traffic accidents are also increasing. Car accident has become severe global social issues. Undoubtedly, advanced auto safety facilities are the driving safety indispensable safeguard. So, we should start, from technology to research and development of high performance, high safety car, also want to strengthen the regular inspection in cars, so timely maintenance investigation, make cars often in good technical status, so as to improve the safety performance of the car. Here we introduced active safety technology and automobile car passive safety technology. Auto safety is according to the traffic accident happened before and after the classified. One is in a traffic accident take safety measures, especially before immediately will produce risk condition, drivers manipulate the steering wheel avoid or emergency brake to avoid traffic acci
Intelligent City Traffic Management and Public Transportation System And Intelligent Assistant for Public Transport Management Abstract Intelligent Transportation System in case of cities is controlling traffic congestion and regulating the traffic flow. This paper presents three modules that will help in managing city traffic issues and ultimately gives advanced development in transportation system. First module- Congestion Detection and Management will provide user real time information about congestion on the road towards his destination, second module – Intelligent Public Transport System will provide user real time public transport information(local buses), and the third module- Signal Synchronization will help in controlling congestion at signals, with real time adjustments of signal timers according to the congestion. All the information that user is getting about the traffic or public transportation will be provided on userrsquo;s day to.day device that is mobile (
Curriculum independent learning implementation system An overview of the MVC Model Studies Abstract: as the object oriented technique develops, the use of MVC became w ider and wider, and no longer limited to the construction of component, it can also be used in the softw are design of large object oriented system, such as the electronic com merce. this paper starts w ith the origin of the MVC pattern, discusses about the structure, design im implementation tech niques, good side and bad side, and the application of it. At the end of this paper, MVC2 structure is discussed, which is construct of JSP, servlet and javabeans. Key words: model view controller( MVC);Mvc2; The early graphical program design often revolve around an event-driven user interface to the organization, such as a direct consequence of data processing, the features and the code, some completely tangles[1] . The large graphical program is a data usually corresponds to the number of means and waysof
Introducing the Spring Framework The Spring Framework: a popular open source application framework that addresses many of the issues outlined in this book. This chapter will introduce the basic ideas of Spring and dis-cuss the central “bean factory” lightweight Inversion-of-Control (IoC) container in detail. Spring makes it particularly easy to implement lightweight, yet extensible, J2EE archi-tectures. It provides an out-of-the-box implementation of the fundamental architectural building blocks we recommend. Spring provides a consistent way of structuring your applications, and provides numerous middle tier features that can make J2EE development significantly easier and more flexible than in traditional approaches. The basic motivations for Spring are: To address areas not well served by other frameworks. There are numerous good solutions to specific areas of J2EE infrastructure: web frameworks, persistence solutions, remoting tools, and so on. However, integra
英语原文共 13 页, 垂直钢丝绳的横向刚度和挠度在矿井提升中的应用 ME Greenway dagger; Sinclair Knight Merz, Perth, Western Australia 小结:垂直悬挂钢丝绳是导矿竖井的一种方法。当它们上下移动时的运输工具。这些绳索为当交通工具在由于气动、科里奥利和钢丝绳扭矩效应而施加的载荷。绳索导向系统的设计在缺乏基本经验的行业经验法则的支持下,进行了相当经验性的研究。工程力学基础。本文通过以下方法解决了部分缺乏基本信息的问题:分析发展了悬索在横向点作用下的偏转形状。分布荷载。这个分析是从平衡的控制微分方程出发的。绳子的一部分。本文将此项技术应用于钢丝绳导向运输中。系统。但是,所开发的解决方案是通用的,可以应用于其他情况。给出了导绳在横向作用点载荷作用下的变形形状,并给出了导绳在横
Innovation Is a Good Way to Maintain Market Presence The Jumbo-Koter venture is a good example of the development of a successful new product by solving a consumer problem. The Wooster Brush Company identified the difficulty that painters were having because their mini-rollers were sticking after a few uses. The new Jumbo-Koter mini-rollers solved that problem by using a smooth-turning cage frame. Wooster Brush further improved these mini- rollers by using high-quality fabrics from its highly successful nine- inch rollers. Finally, by not extending fabric over the end of the new mini- rollers, Jumbo -Koter enabled the painter to get into tighter spaces than with traditional mini-rollers. This also prevented paint from spinning off onto another surface. One lesson to be learned from the Jumbo-Koter program is that innovation s a good way for a company to maintain its presence in the marketplace. The Wooster Brush Company has made a notable effort to continue to innovate, deve
英语原文共 9 页, 基于GPS和GSM技术的汽车实时生物识别系统 摘要 在当今世界,科技日新月异,科学研究人员正呈现新的发现时代,对安全的需求也在各个领域不断增加。目前,车辆的使用是每个人的基本需要。同时,保护车辆防盗也非常重要。传统的车辆安全系统依赖于多种传感器,成本也很高。当车辆被盗时,无法再作出反应或采取其他办法帮助车主找到车辆。本文的主要目的是保护车辆不受任何非法进入,采用快速、易用、清晰、可靠、经济的指纹识别技术。此车辆安全系统使用全球移动系统(GSM)通信技术将车辆状态告知权威人士(车主)。如果此人获得认证,则允许车辆进入。否则,将向车主发送短信,发动机将被锁定。安全系统的原型模型是在嵌入式平台上用PIC单片机建立的,它控制了所有的过程,成本也很低。
加微信咨询
加QQ咨询
服务时间:09:00-23:50(周一至周日)