Time of Update: 2016-01-20
標籤://// ViewController.m// 計算Label高度//// Created by 大歡 on 16/1/19.// Copyright © 2016年 bjsxt. All rights reserved.//#import "ViewController.h"@interface ViewController ()@end@implementation ViewController-
Time of Update: 2016-01-20
標籤:很多語言中都有深複製淺複製的概念,如C++,ObjC等。簡單來說,淺複製就是兩個變數指向了同一塊記憶體地區,深複製就是兩個變數指向了不同的記憶體地區,但是兩個記憶體地區裡面的內容是一樣的。淺複製: 深複製:iOS開發中,淺複製和深複製要更複雜一些,涉及到集合對象和非集合對象的copy與mutableCopy。非集合對象:如NSString,NSInteger,NSNumber……集合對象:如NSArray,NSDictionary,…&h
Time of Update: 2016-01-20
標籤://// ViewController.m// Label富文本//// Created by 大歡 on 16/1/19.// Copyright © 2016年 bjsxt. All rights reserved.//#import "ViewController.h"@interface ViewController ()@end@implementation ViewController-
Time of Update: 2016-01-20
標籤:什麼是VFL語言VFL(Visual Format Language),“可視化格式語言”。VFL是蘋果公司為了簡化autolayout的編碼而推出的抽象語言。文法說明H:[cancelButton(72)]-12-[acceptButton(50)]cancelButton寬72,acceptButton寬50,它們之間間距12
Time of Update: 2016-01-20
標籤:ImageView.ScaleType.CENTER|android:scaleType="center" 以原圖的幾何中心點和ImagView的幾何中心點為基準,按圖片的原來size置中顯示,不縮放,當圖片長/寬超過View的長/寬,則截取圖片的置中部分顯示ImageView的size.當圖片小於View 的長寬時,只顯示圖片的size,不剪裁。 ImageView.ScaleType.CENTER_CROP|android:scaleType="centerCrop"
Time of Update: 2016-01-20
標籤://// UIColor+Radom.h// 七彩方塊//// Created by 大歡 on 16/1/18.// Copyright © 2016年 bjsxt. All rights reserved.//#import <UIKit/UIKit.h>@interface UIColor (Radom)+ (UIColor *)Random;@end/*******************************
Time of Update: 2016-01-20
標籤://// ViewController.m// 飛舞的UIView//// Created by 大歡 on 16/1/18.// Copyright © 2016年 bjsxt. All rights reserved.///********************************************************/#import "ViewController.h"#define SCREEN_WIDTH
Time of Update: 2016-01-20
標籤:該樣本假設Android開發環境已經搭建完成,NDK也配置成功;1、在Eclipse上建立Android工程,名稱為ndkdemo。修改res\layout\activity_main.xml<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"
Time of Update: 2016-01-20
標籤:- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath{ if ([tableView respondsToSelector:@selector(setSeparatorInset:)]) { [tableView
Time of Update: 2016-01-20
標籤:一、 JSON (JavaScript Object Notation)一種簡單的資料格式,比xml更輕巧。 Json建構於兩種結構: 最後再加一種格式在文章的最後顯示出來非常少有的格式 1、“名稱/值”對的集合(A collection of name/value
Time of Update: 2016-01-20
標籤:一,js中對象繼承js中有三種繼承方式1.js原型(prototype)實現繼承代碼如下:<SPAN style="<SPAN style="FONT-SIZE: 18px"><html> <body> <script type="text/javascript"> function Person(name,age){ this.name=name; this.age=age;
Time of Update: 2016-01-20
標籤: React Natvie的官方文檔的 Integrating with Existing Apps 已經很詳細地教我們如何將React Natvie整合到現在的Android項目。我根據官方文檔的步驟,在Windows上將React
Time of Update: 2016-01-20
標籤:Unity3D Android手機開發環境配置Date:2014-01-01 07:091、配置eclipse環境:首先在官網下載安裝包:http://developer.android.com/sdk/index.html,點擊這個按鈕開始下載 進入下一頁,選擇對應你系統的版本,繼續下載。 32和64位版本千萬不能選錯了,如果不清楚就查看一下你的系統版本。 下載完成後就是類似這樣的包adt-bundle-windows-x86_64-201310
Time of Update: 2016-01-20
標籤:入職到今天有半年的時間了,感覺時間過的太快,自己的技術水平也沒有顯著的提高。覺得應該整理下iOS的知識體繫結構,按照知識體系詳細的學習。開啟 iOS Developer Library,之前一直哪裡有問題查詢的哪裡,都沒有仔細看過網站的結構。現在看才知道: iOS Frameworks 有4個部分Cocoa Touch Layer,Media Layer,Core Services Layer, Core OS Layer。之前一直傻傻分不清Cocoa Touch 和
Time of Update: 2016-01-20
標籤: 由於SDK現在大部分都是OC版本, 所以假如你是一名主要以Swift語言進行開發的開發人員, 就要面臨如何讓OC和Swift相容在一個工程中, 如果你沒有進行過這樣的操作, 會感覺異常的茫然, 不用擔心, 整個過程非常簡單. 在已有的Swift工程中, 當你需要使用OC的類檔案, 或者需要整合SDK時, 建立你需要的OC的類檔案, 建立結束後, 會提示產生一個橋接標頭檔, 點擊藍色Create按鈕. *OC工程也一樣, 只是要進行相反的操作,
Time of Update: 2016-01-20
標籤:@interface ViewController (){ NSLayoutConstraint *yellowViewTopConstraint; NSLayoutConstraint *blueViewLeadConstraint; }@end@implementation ViewController- (void)viewDidLoad { [super viewDidLoad]; UILayoutGuide *view_Guide =
Time of Update: 2016-01-20
標籤:Android 如何引用com.android.internal.R目錄下的資源項目需求有一個資源跟系統上的一個資源相同,想要引用它:frameworks/base/core/res/res/drawable/ic_text_dot.xml檔案名稱:ic_text_dot.xml檔案的具體內容:<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2014 The Android Open Source
Time of Update: 2016-01-20
標籤:waiting 著作權 通過率 蘋果 電話 iOS應用第一次提交的話,需要1-2周的排隊時間(waiting for review),然後蘋果審核(in review)1-2天就能出結果,假如你的應用已經(in review)很多天。那一般是你的應用涉及著作權問題或者授權問題,蘋果可
Time of Update: 2016-01-20
標籤:c++1
Time of Update: 2016-01-20
標籤:開發工程師 測試工程師 創業項目 產品經理 行動裝置 App Bug 管理系統之重回想我們每次開啟一個新項目,籌備之初,首要之事就是選擇一款 Bug 管理系統。市面上有諸多 Bug 管理系統可供選擇:Jira、Redmine、Bugzilla 等。這些系統功能強大,經過多年的迭代,可謂無所不能,卻又無一例外,存在如下問題: