iOS snippets
311 views | +0 today
Follow
Your new post is loading...
Your new post is loading...
Scooped by Alexander Usoltsev
Scoop.it!

Custom Activity Indicator - JadeMind

Custom Activity Indicator - JadeMind | iOS snippets | Scoop.it
Have you ever dreamed of your own custom activity indicator within your iPhone App? The class [crayon-54989aa898a77792246798-i/] provides a very useful and simple way to implement such a thing. The only thing you have to do is to: Provide a number of …
more...
No comment yet.
Scooped by Alexander Usoltsev
Scoop.it!

Using xcodebuild To Export a .ipa From an Archive | thecave

Using xcodebuild To Export a .ipa From an Archive | thecave | iOS snippets | Scoop.it
Alexander Usoltsev's insight:

really helpful with Xcode 6

more...
No comment yet.
Scooped by Alexander Usoltsev
Scoop.it!

Getting RGB pixel data from CGImage

Getting RGB pixel data from CGImage | iOS snippets | Scoop.it
I am trying to access pixel data from a CGImage. I want to be able to access the RGB values as integers. I think I am nearly there with this code:

UIImage* theImage = [UIImage imageNamed:@"rgb.png...
Alexander Usoltsev's insight:

Nice obj-c code to check all basic properties of an image file on iOS iPhone iPad

more...
No comment yet.
Scooped by Alexander Usoltsev
Scoop.it!

Zoom In and Zoom Out Animation for UIButton in Xcode - SEO, SEM, Web, eCommerce, iOS, Cloud, HTML5, Chrome Apps and Android

Zoom In and Zoom Out Animation for UIButton in Xcode - SEO, SEM, Web, eCommerce, iOS, Cloud, HTML5, Chrome Apps and Android | iOS snippets | Scoop.it
Consider a UIButton object, myButtonObject, for which you want to give the zoom in and out animation. Now use the following code to give the desired animation
Alexander Usoltsev's insight:

Easy and nice UIButton animation

more...
No comment yet.
Scooped by Alexander Usoltsev
Scoop.it!

Build fat static library (device + simulator) using Xcode and SDK 4+

Build fat static library (device + simulator) using Xcode and SDK 4+ | iOS snippets | Scoop.it
It appears that we can - theoretically - build a single static library that includes both simulator and iPhone and iPad.

However, Apple has no documentation on this that I can find, and Xcode's de...
Alexander Usoltsev's insight:

Saved my life! Thanks a lot!!!

more...
No comment yet.
Scooped by Alexander Usoltsev
Scoop.it!

Taylor Beck – Designing Buttons For iOS 7

Taylor Beck – Designing Buttons For iOS 7 | iOS snippets | Scoop.it
Alexander Usoltsev's insight:

Sometimes I need to avoid "plain-text" style of iOS7 buttons - here are a nice tips

more...
No comment yet.
Scooped by Alexander Usoltsev
Scoop.it!

iOS 7

iOS 7 | iOS snippets | Scoop.it
With the NDA finally lifted, we can finally talk about all of the amazing new APIs in iOS 7.
Alexander Usoltsev's insight:

Speech synthesizer API 

more...
No comment yet.
Scooped by Alexander Usoltsev
Scoop.it!

Using the HTK and the Penn Phonetics Lab Forced Aligner on Mac OS X - Notes from a Linguistic Mystic

Alexander Usoltsev's insight:

htk for mac os x, speech recognition

more...
No comment yet.
Scooped by Alexander Usoltsev
Scoop.it!

KVO Considered Harmful

KVO Considered Harmful | iOS snippets | Scoop.it
I would normally title this something more clever, but I want this post to be findable by people who are looking for exactly this. Thus, we stick to the convention. KVO, or key-value observing, is ...
Alexander Usoltsev's insight:

Why KVO in Objective-C is better not to use

more...
No comment yet.
Scooped by Alexander Usoltsev
Scoop.it!

Accessing Image Properties Without Loading the Image into Memory – Ole Begemann

Sometimes you might want to retrieve certain properties from an image file, such as the image's dimensions or other metadata, without having to load the entire image into memory. The CGImageSource set of functions can do just that.
Alexander Usoltsev's insight:

low level access to an image data in obj-c - exif, bite and bpp

more...
No comment yet.
Scooped by Alexander Usoltsev
Scoop.it!

Converting NSArray to char** and returning the c array

Converting NSArray to char** and returning the c array | iOS snippets | Scoop.it
I need to convert an NSarray filled with NSStrings and return this c array to the function.

-(char**) getArray{
int count = [a_array count];
char** array = calloc(count, sizeof(cha...
Alexander Usoltsev's insight:

useful for all linux cmd-line tools I ported to iOS

more...
No comment yet.
Scooped by Alexander Usoltsev
Scoop.it!

Quick-Tip: Detecting Smiles Using iOS 7 (Objective-C) - Evangelism - Infragistics.com Blog

Quick-Tip: Detecting Smiles Using iOS 7 (Objective-C) - Evangelism - Infragistics.com Blog | iOS snippets | Scoop.it
Introduction

iOS 7 introduced 2 new detections for faces in images; smiles and eye blinking. This functionality is really useful for developers writing ...
Alexander Usoltsev's insight:

New iOS 7 blinking- smiling- detection example

more...
No comment yet.
Scooped by Alexander Usoltsev
Scoop.it!

Save and Load UIImage in Documents Directory on iPhone - XCode iOS - BeAGeek

Save and Load UIImage in Documents Directory on iPhone - XCode iOS - BeAGeek | iOS snippets | Scoop.it
The following function saves UIImage in test.png file in the user Document folder: - (void)saveImage: (UIImage*)image { if (image != nil) { NSArray *paths
Alexander Usoltsev's insight:

saves UIImage in the user's Document folder

more...
No comment yet.