Category Archives: IOS

ios アプリ 開発にUIImage画像の回転や反転

//
// UIImage+Rotate_Flip.h
// SvImageEdit
//
// Created by maple on 6/26/2014.
// Copyright (c) 2014 smileEvday. All rights reserved.
//
//

#import <UIKit/UIKit.h>

@interface UIImage (Rotate_Flip)

/*
* @brief rotate image 90 withClockWise
*/
– (UIImage*)rotate90Clockwise;

/*
* @brief rotate image 90 counterClockwise
*/
– (UIImage*)rotate90CounterClockwise;

/*
* @brief rotate image 180 degree
*/
– (UIImage*)rotate180;

/*
* @brief rotate image to default orientation
*/
– (UIImage*)rotateImageToOrientationUp;

/*
* @brief flip horizontal
*/
– (UIImage*)flipHorizontal;

/*
* @brief flip vertical
*/
– (UIImage*)flipVertical;

/*
* @brief flip horizontal and vertical
*/
– (UIImage*)flipAll;

@end

UIImage+Rotate_Flip.h
//
// UIImage+Rotate_Flip.m
// SvImageEdit
//
// Created by maple on 6/26/2014.
// Copyright (c) 2014 smileEvday. All rights reserved.
//

#import “UIImage+Rotate_Flip.h”

@implementation UIImage (Rotate_Flip)

/*
* @brief rotate image 90 with CounterClockWise
*/
– (UIImage*)rotate90CounterClockwise
{
UIImage *image = nil;
switch (self.imageOrientation) {
case UIImageOrientationUp:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationLeft];
break;
}
case UIImageOrientationDown:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationRight];
break;
}
case UIImageOrientationLeft:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationDown];
break;
}
case UIImageOrientationRight:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationUp];
break;
}
case UIImageOrientationUpMirrored:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationRightMirrored];
break;
}
case UIImageOrientationDownMirrored:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationLeftMirrored];
break;
}
case UIImageOrientationLeftMirrored:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationUpMirrored];
break;
}
case UIImageOrientationRightMirrored:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationDownMirrored];
break;
}
default:
break;
}

return image;
}

/*
* @brief rotate image 90 with Clockwise
*/
– (UIImage*)rotate90Clockwise
{
UIImage *image = nil;
switch (self.imageOrientation) {
case UIImageOrientationUp:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationRight];
break;
}
case UIImageOrientationDown:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationLeft];
break;
}
case UIImageOrientationLeft:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationUp];
break;
}
case UIImageOrientationRight:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationDown];
break;
}
case UIImageOrientationUpMirrored:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationLeftMirrored];
break;
}
case UIImageOrientationDownMirrored:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationRightMirrored];
break;
}
case UIImageOrientationLeftMirrored:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationDownMirrored];
break;
}
case UIImageOrientationRightMirrored:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationUpMirrored];
break;
}
default:
break;
}

return image;
}

/*
* @brief rotate image 180 degree
*/
– (UIImage*)rotate180
{
UIImage *image = nil;
switch (self.imageOrientation) {
case UIImageOrientationUp:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationDown];
break;
}
case UIImageOrientationDown:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationUp];
break;
}
case UIImageOrientationLeft:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationRight];
break;
}
case UIImageOrientationRight:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationLeft];
break;
}
case UIImageOrientationUpMirrored:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationDownMirrored];
break;
}
case UIImageOrientationDownMirrored:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationUpMirrored];
break;
}
case UIImageOrientationLeftMirrored:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationRightMirrored];
break;
}
case UIImageOrientationRightMirrored:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationLeftMirrored];
break;
}
default:
break;
}

return image;
}

/*
* @brief rotate image to default orientation
*/
– (UIImage*)rotateImageToOrientationUp
{
CGSize size = CGSizeMake(self.size.width * self.scale, self.size.height * self.scale);
UIGraphicsBeginImageContext(size);
CGContextRef context = UIGraphicsGetCurrentContext();
CGContextClearRect(context, CGRectMake(0, 0, size.width, size.height));

[self drawInRect:CGRectMake(0, 0, size.width, size.height)];

UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();

return image;
}

/*
* @brief flip horizontal
*/
– (UIImage*)flipHorizontal
{
UIImage *image = nil;
switch (self.imageOrientation) {
case UIImageOrientationUp:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationUpMirrored];
break;
}
case UIImageOrientationDown:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationDownMirrored];
break;
}
case UIImageOrientationLeft:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationRightMirrored];
break;
}
case UIImageOrientationRight:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationLeftMirrored];
break;
}
case UIImageOrientationUpMirrored:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationUp];
break;
}
case UIImageOrientationDownMirrored:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationDown];
break;
}
case UIImageOrientationLeftMirrored:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationRight];
break;
}
case UIImageOrientationRightMirrored:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationLeft];
break;
}
default:
break;
}

return image;
}

/*
* @brief flip vertical
*/
– (UIImage*)flipVertical
{
UIImage *image = nil;
switch (self.imageOrientation) {
case UIImageOrientationUp:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationDownMirrored];
break;
}
case UIImageOrientationDown:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationUpMirrored];
break;
}
case UIImageOrientationLeft:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationLeftMirrored];
break;
}
case UIImageOrientationRight:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationRightMirrored];
break;
}
case UIImageOrientationUpMirrored:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationDown];
break;
}
case UIImageOrientationDownMirrored:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationUp];
break;
}
case UIImageOrientationLeftMirrored:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationLeft];
break;
}
case UIImageOrientationRightMirrored:
{
image = [UIImage imageWithCGImage:self.CGImage scale:1 orientation:UIImageOrientationRight];
break;
}
default:
break;
}

return image;
}

/*
* @brief flip horizontal and vertical
*/
– (UIImage*)flipAll
{
return [self rotate180];
}

@end

UIImage+Rotate_Flip.m

ios IMチャットデモサンプル

ダウンロード:
githubサイトからダウンロード

Opera Mobile (Symbian) 12.0.2のダウンロード

ダウンロード:
softpediaサイトからダウンロード
提供元サイトからダウンロード
cnetサイトからダウンロード

更新内容:
HTML5のビデオのサポートを向上
スピードダイヤル画像キャッシングが改良された
新バージョン通知が追加された
Fixed issues with Opera Link initiating connections
Fixed several issues with text input
Fixed general stability issues

Hello Kitty Kruisers for iOS 1.2のダウンロード

ダウンロード:
提供元サイトからダウンロード

更新内容:

新しいコンテンツがアンロックされている方法を修正

マルチバイト文字の検索アプリDay One 1.9.4のダウンロード

ダウンロード:
Appleサイトからダウンロード

新機能:
– マルチバイト文字検索のため大幅に改善された(Chinese, Japanese, Korean, Emoji, etc.).
– タグは現在モメントテキスト入力に含まれている
– Most recent entry location is shown by default in Map view.

不具合修復:
– Header styles are more consistent between Mac and iOS.
– Markdown footnotes link properly.
– Day One icon no longer appears in Mac OS X Mission Control when Main Window is closed.
– Menu Bar Quick Entry icon is only shown when enabled in Day One Preferences.
– Improved rendering of Chinese character dates.
– PDFs can again be used as entry photos. (Only the first page of multi-page PDFs is used.)
– Improved accessibility support. (More improvements will come in future releases.)
– MacJournal import fixed.
– Mac OS X 10.7: Fixed issue with loading spinner.
– Various visual issues and crashes were fixed.

「英語聞き取り王国」のダウンロード

ダウンロード:
appleサイトからダウンロード

 

ios版Adobe Readerのダウンロード

ダウンロード:
提供元サイトからダウンロード
特徴:

電子メール、Web、「開く… 」をサポートするアプリから、すばやく PDF 文書を開く

• PDF ポートフォリオ、パスワードで保護された PDF、注釈、描画マークアップを表示
• テキストを検索して特定の情報を見つける
• 単一ページまたは連続スクロールモードを選択
• 簡単にテキストや画像にズームインして拡大表示
• 周囲が暗くてもナイトモードで閲覧
• 明るさ固定で長文を閲覧
• iOS 辞書サポートを使用して定義を取得
• iOS VoiceOver アクセシビリティを使用して文書を閲覧

NSLogのcharデータを出力する

サンプルコード:
#import <Foundation/Foundation.h>

int main(int argc, charchar * argv[])
{
@autoreleasepool {
char a = ‘a’;
char b = 100;
char c = ‘\n’;

NSLog(@”a = %d”, a);
NSLog(@”b = %c”, b);
NSLog(@”c = %d”, c);
}
}

IOS版 IP Scanner のダウンロード

ダウンロード
appleサイトからダウンロード
機能:
IP Scanner for Macintosh scans your local area network to determine the identity of all machines and internet devices on the LAN. Powerful results, yet easy and intuitive to use.

IOS版Instagramのダウンロード

ダウンロード:
提供元サイトからダウンロード

インスタグラムは無料の画像共有である、デジタル画像を撮影し、画像編集をし、同サービスあるいは、Facebook、Twitter、foursquare、Tumblr、Flickr、ポスタラスといった他のソーシャルネットワーキングサービス(SNS)で共有する。

20 / 22« 先頭...10...1819202122