Time of Update: 2014-10-11
IOS開發之表視圖添加索引,ios開發視圖索引我們要實現的效果如下。
Time of Update: 2014-10-10
iOS開發之地圖與定位,ios開發地圖 無論是QQ還是的移動用戶端都少不了定位功能,之前在demo中沒有添加定位功能,今天就寫個定位的小demo來瞭解一下定位和地圖的東西。地圖和定位看上去是挺高大上一東西,其實用法比TableView簡單多了,下面的Demo是用的iOS中內建的地圖和定位,當然了也可以用第三方的來載入地圖,比如百度地圖啥的,在這就不贅述了。今天的部落客要是介紹MKMapView的使用,MapView的使用和其他組件的用法差不多,MapView用的是委託回調,在使用mapView
Time of Update: 2014-10-12
Xcode 6 Simulator Folder,xcodesimulator原文地址:http://leancodingnow.com/xcode-6-simulator-folder/本文主要介紹一下Xcode 6的iOS模擬器的應用目錄的變化。Xcode 5的iOS模擬器的應用的目錄是在~/Library/Application Support/iPhone Simulator/<iOS_Version>/Applications/{Application_ID}Xcode 6
Time of Update: 2014-10-09
ios Base64編解碼工具類及使用,iosbase64為了避免明碼傳遞http內容,可以用base64編碼後傳輸,收到方再解碼,也方便了2進位資料的字串式傳輸。 對於ios來說,google給提供了一個很好的工具類,方便進行base64編解碼,當然也可以用openssl來進行,但這東西相對來 說比較麻煩。google給提供了3個檔案就夠了。 官網地址是: http://code.google.com/p/google-toolbox-for-mac/&
Time of Update: 2014-10-11
UITextView上顯示txt檔案中的文字,uitextviewtxt : 代碼: - (void)viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view. UITextView *textView = [[UITextView alloc]initWithFrame:CGRectMake(0, 100, 3
Time of Update: 2014-10-11
頁面跳轉的時候工具條隱藏,頁面跳轉工具條 當兩個頁面跳轉的時候,如果兩個頁面中的工具條的時候,工具條隱藏。 上代碼: - (void)viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view. self.title=@"頁面調的時候隱藏工具條"; //當跳轉的時候,隱藏工具條
Time of Update: 2014-10-11
翻書效果的實現,翻書效果實現 : 代碼:- (void)viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view. //初始化背景圖 [self initBackgroundView];}#pragma -mark -functions-(void)initBackgroundView{
Time of Update: 2014-10-10
iOS 開發一年總結,ios一年總結收穫很多1. 一個人包辦從構思, 設計, 實現, 推廣的全過程, 對自己的能力, 特別是能力範圍有很大的提升。 以前在公司上班僅僅局限在實現的局域內, 現在在做自己的產品時, 在設計時的取捨, 對工作時間的分配, 對工作重點的決定,表徵圖的設計, 像素的拿捏, 這些都是以前沒有過的體驗 2. 學習obj-c開發,
Time of Update: 2014-10-10
判斷是不是類比機,判斷類比機 直接上代碼啦!!! - (void)viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view. self.title=@"判斷是否是類比機"; [self isSimulator];}#pragma -mark -functions-(void)isSimulator{ if
Time of Update: 2014-10-11
書架頁面,丹特麗安的書架 : 代碼結構圖: 代碼: RootTableViewCell.h#import <UIKit/UIKit.h>@interface RootTableViewCell : UITableViewCell@property(nonatomic,strong) UIButton * bookLeft;@property(nonatomic,strong) UIButton * bookMiddle;
Time of Update: 2014-10-09
ios 截屏(代碼),ios截屏代碼//1.首先在storyboard中拖一些控制項,包括UIButton控制項,將UIButton控制項拖線到控制器中(方法、CutImage)//2.在CutImage方法中調用NSTimer方法- (IBAction)CutImage:(UIButton *)sender { NSTimer *timer = [NSTimer scheduledTimerWithTimeInterval:1.0 targer:self
Time of Update: 2014-10-10
xmpp好友請求5,xmpp好友請求實現好友請求.m 1 #pragma mark - rosterHandle 2 3 // initRoster 4 - (void)initRoster { 5 self.xmppRosterMemory = [[XMPPRosterMemoryStorage alloc] init]; 6 self.xmppRoster = [[XMPPRoster alloc]
Time of Update: 2014-10-11
iOS開發之WebView,ioswebview 做iOS的應用也有一段時間了,在之前的demo中一直沒有機會用到WebView,今天就查缺補漏一下,使用一下WebView。最早接觸WebView是在Android中接觸的,iOS中的WebView的用法也是挺簡單的。本篇部落格沒有什麼高深的技術,只是對webView的應用。從字面意思可以看出WebView就是用來載入網頁的視圖,和手機上的瀏覽器類似。 1.之前用storyboard拖控制項時只是看著WebView在哪裡靜靜的躺著(如所示),
Time of Update: 2014-10-10
IOS
Time of Update: 2014-10-11
【IOS】分享下近一年IOS開發的經驗總結,ios經驗總結 從上個暑假末到現在,自己做IOS開發也快一年了。從一開始的什麼都不知道,到現在大多事都能搭上一兩手,期間經曆了很多事情。下面來和大家分享一下心得和感觸。 1、現在移動領域的知識更新的很快,無論是IOS,Android,還是WP,像IOS的版本從我開始學習的時候,還是3.X的,到後面
Time of Update: 2014-10-09
XMPP登入註冊好友群組_實戰教學2,xmpp登入註冊Message:接著寫.h 1 /*! 2 * @Author Dylan. 3 * 4 * callback Block 5 */ 6 typedef void(^sendSuccess)(); 7 typedef void(^sendFailure)(id); 8 9 /*!10 * sendMessageBy model11 */12 - (void)sendMessage:
Time of Update: 2014-10-09
iOS藍芽4.0開發例子,ios藍芽4.01建立中心角色#import <CoreBluetooth/CoreBluetooth.h> CBCentralManager *manager; manager = [[CBCentralManager alloc] initWithDelegate:self queue:nil]; 2掃描外設(discover)[manager scanForPeripheralsWithServices:nil options:options];
Time of Update: 2014-10-10
iOS 8使用Touch ID進行使用者認證iOS 8的SDK開放了Touch ID的介面.從WWDC的視頻中可以看到Touch ID應用在兩個方面:用於Key Chain加密和用於授權.iOS 8正式版發布以後我們可以看到Evernote的iOS app已經整合了該功能.下面來看看如何?使用Touch ID進行身份認證. 其實很簡單,用於身份認證的所有的介面都在LocalAuthentication framework中, 該framework實際上只有三個標頭檔:
Time of Update: 2014-10-10
兩個頁面之間的動畫跳轉。,兩個頁面動畫跳轉 接觸到了兩個頁面之間的跳轉帶動畫的。效果還不錯。 一,先上項目總體圖。 二,上代碼。 AppDelegate.m檔案 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ self.window = [[UIWindow
Time of Update: 2014-10-09
xmpp登入註冊好友群組_實戰教學4,xmpp登入註冊// 實現好友狀態的擷取 - 線上、離線 別的狀態自己去寫一下判斷和回掉就好.h 1 /*! 2 * @Author Dylan. 3 * 4 * Paresence 5 */ 6 typedef void (^userGoOnline) (NSString *); 7 typedef void (^userGoOffline) (NSString *); 8 9 -