Pro ID Available: http://www.jianshu.com/p/11959977589a
Mac OS X 10.1
Xcode 7.2 (7c68)
OpenCV 2.4.13Mac OS10.11
OpenCV for Linux/macAfter downloading OpenCV, the CD enters the specified directory and uses the unzip command to extractPlease install the Homebrew command in advanceFirst install the CMake tool and then the CD into the unpacked folder$ brew install cmake$ mkdir release$ cd release$ cmake -G "Unix Makefiles" ..$ make$
This is the earlier in Tang Qiao Daniel blog to see, although the time has been quite long. But I think it's very meaningful, just mark.Did you notice? In Xcode, when you click to view the call stack, there is an icon in front of each method of the call stack, and there are several different looks, as shown, do you know what they mean?In fact, they represent the following meanings:
Person icon is User
Mug icon is AppKit (or UIKit)
Bri
There are always some convenient development methods or general methods that you can't remember. You always go through the previous projects and make a backup. (Supplemented slowly)
1. xcode debugging skills-set a breakpoint when an exception is thrown by the SystemSometimes our program doesn't know where it is to run and crash is hard to reproduce.A conservative approach is to set a breakpoint before the s
F (x) Zheng Xiujingprogrammers do not look at the code all day, and occasionally to see the scenery?? www.90168.org First a picture of my Xcode console to give you a feel for yourself . cool console Do you think it's cool? But just cool is not enough, when you click on the blue link will be instantly positioned to the NSLog code there . I have to say, very strong.You think that's enough? Please see: Isn't that different?? Think it's no different fr
This article focuses on using a GitHub managed projectFirst, you want to apply for a GitHub account, login to the GitHub account, and then generate a warehouse hosting address:When you click Create, a warehouse address is generated, and the address generated here is "Https://github.com/yybchl/yoyo.git"Second, use Xcode to create the project, to the next step, to check the Create Git ... This optionAfter creating the project find the Source Control opt
if you want to submit your code to the code site for synchronous development, here I recommend using BitBucket because it is free hehe, can create a private group warehouse and can assign permissions to team members,GitHub create a private group warehouse is charged . BitBucket features 1. Unlimited number of private warehouses 2. Unlimited disk space3. Support Https/ssh at the same time4.Bug Tracking 5. Project Wiki6.API Support7. Flexible control of
Ios development-xcode shortcutsCommon shortcuts for XcodeHere are some common shortcut keys for xcode.We can develop our software efficiently and reduce the amount of time we use the mouse.This reduces the development time and is very convenient.Command + R run the programThere are two methods, one is the shortcut key.The other is to click the triangle number in
methods as follows:To re-use the structure, we need to add this code to the Snippets Library. Now add it and select the text you want to add, as follows:Use the left mouse button to add it to the Code Snippets Gallery. When you're done adding, you'll see a default "My Code Snippet" name. You can edit the name, or you can add a description and shortcut keys for it.Find your FileQuickly find the files you need with CMD + SHIFT + O key combination.Press CMD + SHIFT + O to open quickly window, type
document first), and then restart your computerControl option-command-eject key to exit all applications (will let you store changes made to the open document first), and then turn off the computerFn-delete forward Delete (for portable Mac built-in keyboard)CONTROL-F1 Toggle full Keyboard control on or offControl-f2 Focus Menu BarCONTROL-F3 Spotlight DockControl-f4 Focus active window or next windowShift-control-f4 focus on an active windowControl-f5 Focus toolbar.Control-f6 Focus on the first
About the Analyze tool, click Product->alalyze, Xcode will help you compile once, and find you to find the defective code, really, although reported the hint, and then eggs. The hints are something you forget to add "super viewdidappear", or you declare a local variable, but you don't use that variable. Such a hint, I am also drunk. Temporarily did not find the bright spot of this tool, in the network search, feel this tool in the face of non-arc, sho
the cursor to the previous lineCtrl + N: Move the cursor to the next lineCtrl + A: Move the cursor to the beginning of the bankCtrl + E: Move the cursor to the end of our lineCtrl + T: Swap the characters on the left and right side of the cursorCtrl + D: Remove the character to the right of the cursorCtrl + K: Delete BankCtrl + L: Places the insertion point in the middle of the windowCommand + Alt + D: Show open quickly windowCommand + ALT + UP ARROW key: Open the companion fileCommand + D: Add
Xcode interaction.
IPhone Lifecycle
A multi-window program appears multiple sub-Windows, while a multi-window controller is a limited number provided by the Iphone.
Iphone development Reference System
Interface layout Control
Mainly special controls and special event responses
Persistent Layer
Application Deployment and access limitations on the Iphone
Plotting
Personal Understanding
A view is similar to a
IOS development statistics XCODE code lines, iosxcodeTo collect statistics on ios development code, including header files, run the terminal command to enter the project directory. The command is as follows:
Find. -name "*. m "-or-name "*. h "-or-name "*. xib "-or-name "*. c "| xargs wc-l
List the number of lines per file
Find. -name "*. m "-or-name "*
In the development process, we often need to use the NSLog output some information, and even some development process, you must view the output in the console, experienced programmers through the console output to know the entire data interaction of a process. But a release of the program, with too much nslog output, certainly for app performance, this time we can use a macro definition to deal with, in the
1. Backlight: Highlight the line that is currently being edited
2. CocoaPods plugin: Rely on Management Assistant (can easily manage the common third-party library in the project)
3. ksimagenamed: Auto-complete picture name (Quick view of the current project class picture, auto-complete picture name)
4. Vvdocumenter : Quick note the function of the current method and the use of various parameters
This is my development in the use of plug-i
Warning:multiple build commands for output fileThis problem is caused by a duplicate reference to an external file, and the workaround is:Method One:go to Copy Bundle Resources, Build phases, TargetsRemoves a file that is repeatedly referenced from the list.Method Two:go to Copy Bundle Resources, Build phases, TargetsRight-click the duplicate file in the list, Reveal in Project Navigator right-click to jump to the file, Delete, Move to Trash Copyright NOTICE: This article for Bo Master original
. h: Header file. Header files contain declarations of classes, types, functions, and constants.. M: source code files. This is a typical source code file name extension and can contain objective-c and C code.. MM: Source code files. Source code files with this extension can contain C + + code in addition to the OBJECTIVE-C and C code. This extension is only used when you really need to use C + + classes or features in your objective-c code.. cpp: Compile C + + onlyYou can use the standard # inc
TableView is a control we use frequently, and using TableView controls requires you to implement some basic tableview proxies. These are basically the same for every program. It is also a job that we often need to do to declare property. So we need to summarize these common things into blocks of code that we can use later.The steps are as follows:1. Select all of the code blocks that we need to reuse and drag them to the libray in the lower right corner.2. A dialog box will pop up and we need to
settitle:@] Button Press "forstate:uicontrolstatehighlighted";Gray background ColorBtn.backgroundcolor = [Uicolor Graycolor];//Set the color of text display//P1: ColorP2: Status[btn Settitlecolor:[uicolor Redcolor] forstate:uicontrolstatenormal];[btn Settitlecolor:[uicolor Orangecolor] forstate:uicontrolstatehighlighted];//Set the style color of the button[Btn Settintcolor:[uicolor Whitecolor];//titlelabel:uilabel ControlsBtn.titleLabel.font = [Uifont systemfontofsize:24];//Add to view and disp
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.