IOS cainiao learning-UITextView return key hides the keyboard

During iOS development, we found that UITextView didn't want to use textFieldShouldReturn in UITextField: To hide the keyboard with the UITextView return key, we can determine whether the input character is a carriage return character. First,

Ios learning notes (3) UISlider and UISwitch controls

1. First, create a Single View Application, open MainStoryboard_iphone.storyboard, and add a UISlider control and a Label in IB. This Label is used to display the Slider value. Select the newly added Slider control, open Attribute Inspector, modify

Play audio files in sipphone

This article records the function of playing music files based on Java sip softphone. We have introduced several sipphones. We found that Java sip softphone, an open-source software, is easy to modify and can choose whether to retain its GUI based

Cocos2d-x Learning (3): Touch Screen events (single touch screen)

Cocos2d-x touch screen events are divided into multi-point touch screen and single point touch screen, and the use of multi-point touch screen is not a lot, so the first major record the single point touch screen usage and basic principles.   There

IOS learning 13: Use Versions in code management

Okay. Let's briefly describe the Version control tool.I downloaded the cracked version and sent it to me by a friend. I found it online last time, but I don't know why. The website cannot be opened today ~~ (There should be a lot of searches)After

Cocos2d-x Study Notes (2)-Basic Elements of scenarios

Next, the order of the articles I write is based on the game development process. Some may not be very reasonable. You can check the order based on your own needs.In the last HelloWorld, I briefly introduced the concepts of layers and scenarios.

IOS Study Notes 18-UIImageView

Previously, we used UIImage to load images, while UIImageView is a control for displaying images on the interface. To display images in UIImageView, we should first load the images to UIImage, then use the UIImage in other ways. The following

Build ios xocde in cocos2d Environment

1): download the latest cocos2d-iphone version: http://code.google.com/p/cocos2d-iphone/downloads/list this according to the version you can see and set, the newer the better hahaha !!!! (2) decompress the downloaded package and place it in the

Image Processing in iOS (II) -- convolution

For convolution in image processing, here are two brief introductions: Wenyi and wen'er. Among them, a possible convolution operation code is as follows: [Cpp]-(UIImage *) applyConvolution :( NSArray *) kernel{CGImageRef inImage = self.

Cocos2d-x beginner's Guide (3): Expanding CCAction to make your own motion track

There are many kinds of Basic Motion Animation in the cocos2d-x example, but still don't feel satisfied with it. Fortunately, this is open-source. We can refer to his source code to implement an action on our own. First, take CCMoveTo, which is the

A small game demo tank war written by cocos2d-xna

Recently saw a lot of information about cocos2d online, looked at cocos2d also supports wp7, download a Cocos2d-XNA installation package, write a small example to play, familiar with cocos2dThe program is very simple. It is an entry-level mini-game.

Cocos2d-x Study Notes-CCSprite (genie)

Genie is a very important component of the game and can be seen everywhere, such as the game background, NPC, figures, and items. In the cocos2d-x engine, as long as the image is displayed, basically need to use the genie class.1. First, let's take

Cocos2d-x elementary school (15) -- & gt; background music and sound effects

First of all, I am sorry to everyone here. I have prepared the action editor for this lecture, but there is really no good action editor on the Internet. spriteX can barely join in, however, I only have the java parsing version. If I have time, I

Cocos2d_x + lua [2] ------ use of TexturePacker texture packer

Advantages of TexturePacke:1. Memory problems. The width and height of OpenGL textures and the memory used will automatically expand to the Npower of 2. For example, 257*257 will be used for 512*512, and mobile phone memory is a rare resource,2. In

Add shortcuts to BlackBerry programs

The Blackberry development documentation describes how to add shortcuts to applications. In your Project Properties in the Integration Development Environment (IDE), click the Resources tab.Under the Title ID option, specify the Resource variable

[Cocos2d-x from c ++ to js] 03: hybrid Development Model

Because Apple does not allow apps to download executable code, it cannot use a dynamic link library to build a plug-in engine and download it over the Internet on iOS. However, one way is to integrate a script interpreter inside the engine and then

Cocos2d-iphone magic tower layer 20 Part 1

To create this game, we must first learn how to use the Titled map editor. I will not explain in detail how to use the map editor here. There are tutorials in the himi and Zilong mountain blogs, if you are interested, you can go and have a look.

Cocos2d-x Study Notes (I) HelloCpp

Main. cpp is the entry class of the win32 platform, and AppDelegate is the real entry of the application: The applicationDidFinishLaunching function is used to handle the director class and scenario start and Resource Adaptation: [cpp] bool

Cocos2d-x added texture auto recovery mechanism

1. It is not a complete module, so it does not provide complete code. It only provides ideas and core code. The idea is simple. Maintain a life cycle and the last rendering time for each texture, update the rendering time for each rendering, and

Cocos2d-x Study Notes (3) menu items

The cocos2d-x provides a variety of menu items, including: CCMenuItemLable, CCMenuItemSprite, temperature, temperature, and CCMenuItemImage. They all inherit CCMenuItem, the inheritance diagram is as follows: CCMenuItemLable: mainly including labels

Total Pages: 5220 1 .... 2782 2783 2784 2785 2786 .... 5220 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.