Time of Update: 2014-10-24
iOS開發之使用XMPPFramework實現即時通訊(三),iosxmppframework 你看今天是(三)對吧,前面肯定有(一)和(二),在發表完iOS開發之使用XMPPFramework實現即時通訊(一)和iOS開發之使用XMPPFramework實現即時通訊(二)後有好多的小夥伴加我Q或者評論留言提出一些問題,比如:“樓主,在哪註冊?”,“樓主,你的登入使用者名稱和密碼是多少?”之類的問題。在之前的部落格中使用的帳號和密碼,為了方便,是
Time of Update: 2014-10-24
iOS開發之CocoaPods(objective-c第三方庫管理工具)介紹:iOS開發中,大多數情況下,我們都需要整合一些第三方依賴庫,對於一個稍大的項目,用到的第三方依賴庫的數量也非常可觀。CocoaPods是objective-c第三方庫管理工具,方便第三方庫的管理。用法:1. 安裝$ sudo gem install cocoapods更新cocoaPodsgem update cocoapod如果gem不是最新的的,執行命令sudo gem update --system2.
Time of Update: 2014-10-24
iOS導航控制器和標籤欄控制器的結合- (void)initTabBar{ // 初始化首頁 HomePageViewController *homePage = [[HomePageViewController alloc]init]; UINavigationController *homePageNav = [[UINavigationController alloc]initWithRootViewController:homePage]; //
Time of Update: 2014-10-24
模仿美圖秀秀拼圖應用ios源碼,秀秀ios模仿美圖秀秀拼圖應用源碼,這個是模仿美圖秀秀拼圖應用源碼,類比美圖秀秀拼圖功能,支援圖片自由拖動,添加邊框,以及不規則圖形的切割,也可以說是十分不錯的拼圖功能實現。 <ignore_js_op><ignore_js_op><ignore_js_op>詳細說明:http://ios.662p.com/thread-2010-1-1.htmlIOS裝置上 有沒有好用的拼圖軟體 沒有白邊的
Time of Update: 2014-10-24
定時器和進度條(IOS開發)詳見注釋哈!- (IBAction)startToMove:(id)sender { // 判斷是否在旋轉 // stopAnimating方法為停止動畫效果 if ([self.myActivityIndicatorView isAnimating]) { [self.myActivityIndicatorView stopAnimating]; } else {
Time of Update: 2014-10-24
iOS_第3方類庫_BlurAlertView_GPUImage最終:先添加GPUImage.framework匯入BlurAlertView的類聲明和類實現//// BlurAlertView.h// 特效彈出框//// Created by beyond on 14-10-18.// Copyright (c) 2014年 com.beyond All rights reserved.//#import // 必須先匯入GPUImage.framework#import
Time of Update: 2014-10-22
看圖聽聲音,看圖聲音 : 點擊播放按鈕的時候,會播放聲音;點擊左側按鈕,會轉到上一首。點擊右側按鈕,會轉到下一首。同時,中間會顯示所播放內容的畫面和字。 工程架構:RootViewController.h#import <UIKit/UIKit.h>#import <AVFoundation/AVFoundation.h>@interface RootViewController :
Time of Update: 2014-10-22
仿鋼琴的聲音,仿鋼琴聲音 :當點擊按鈕的時候,會播放相應的鋼琴的聲音。此代碼需要引入庫AudioToolbox.framework.此為工程目錄:RootViewController.h#import <UIKit/UIKit.h>//加入標頭檔#import <AudioToolbox/AudioToolbox.h>@interface RootViewController : UIViewController{ NSString *soundFile;
Time of Update: 2014-10-23
iOS
Time of Update: 2014-10-21
ios開發-NSOperation介紹,ios開發-nsoperation簡介:1、NSOperation是蘋果對GCD的一個物件導向的封裝,是OC的2、NSOperation同時提供了一些GCD不是特別容易實現的功能3、將操作添加到隊列,操作會被立即”非同步“執行4、NSOperation是個抽象的類,並不具備封裝操作的能力,必須使用它的子類 1>NSInvocationOperation 2>NSBlockOperation 3>自
Time of Update: 2014-10-23
ParseChat應用IOS源碼,parsechatios源碼ParseChat是一個完全原生的iPhone應用程式,用於建立即時的、基於文本的Parse聊天室。功能:支援多台裝置之間的即時聊天,可動態添加新的聊天室,支援基本配置,可發送和接收音效以及任意大小的訊息,具有時間戳記,可識別電話號碼、連結、資料,向下輕掃隱藏鍵盤,無需後端編程等。 <ignore_js_op><ignore_js_op><ignore_js_op>詳細說明:http://
Time of Update: 2014-10-22
加號增加書架,減號減少書架(code4App),書架code4app 開始時候的:點擊增加時候的:點擊減少時候的:ReaderViewController.h#import <UIKit/UIKit.h>@interface ReaderViewController : UIViewController<UIScrollViewDelegate>{ UIScrollView *scrollView;}@property(nonatomic,strong)
Time of Update: 2014-10-21
ios開發- NSOperation進階功能,iosnsoperation直接上代碼樣本1:@interface TBViewController()//隊列@property(nonatomic,strong)NSOperationQueue *queue;@end//隊列的暫停和繼續(在storyboard中拖兩個按鈕,分別為暫停、繼續,連線)//暫停-(IBAction)pause{ if(self.queue.operationCount == 0){ NSLog(@"無操作");
Time of Update: 2014-10-22
知乎日報用戶端應用ios源碼,日報用戶端ios源碼swift開發的知乎日報用戶端詳細源碼,裡面分UI和網路兩個模組。1.涉及到了大部分的UI控制項的使用(甚至包括UIRefreshView,UITableConrol等等)2.Connection完成網路的互動操作3.json格式的資料解析4.sqlite資料庫的各種常用操作5.包含swift開發過程中常用的工具類它能協助開發人員快速的進入到swift的開發中,而不需要慢慢的去學習swift的基本文法,能快速的提高swift的運用能力。<i
Time of Update: 2014-10-21
底下滾動,上邊標題也會跟著滾動(仿環球時報),標題環球時報 選擇第一個的:選擇第二個的:項目目錄:注意本代碼引入了第三方庫SVSegmentedControlRootViewController.h#import <UIKit/UIKit.h>#import "SVSegmentedControl.h"@interface RootViewController : UIViewController<UIScrollViewDelegate>{
Time of Update: 2014-10-21
My97DatePickerDemo,my97datepicker 開始時候的:點擊之後的:工程架構:工程詳細架構:代碼: #import "RootViewController.h"//加入標頭檔#import "My97DatePicker.h"- (void)viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view.
Time of Update: 2014-10-22
iCarouselDemo,icarousel :項目結構:RootViewController.h#import <UIKit/UIKit.h>#import "iCarousel.h"@interface RootViewController : UIViewController<iCarouselDelegate,iCarouselDataSource>{ iCarousel *
Time of Update: 2014-10-21
IOS
Time of Update: 2014-10-21
DCPathButtonDemo(按鈕的動畫效果), 開始:點擊button後:工程目錄:工程詳細目錄:RootViewController.h#import <UIKit/UIKit.h>//加入標頭檔#import "DCPathButton.h"@interface RootViewController : UIViewController<DCPathButtonDelegate>@end RootViewController.m -
Time of Update: 2014-10-21
帶輸入框的UIAlertView,輸入框uialertview : 代碼: //點擊任何處,彈出輸入框-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ UIAlertView *dialog = [[UIAlertView alloc] initWithTitle:@"請輸入分組名稱" message:@"\n" delegate:self