30 мар. 2015 г.

26 мар. 2015 г.

24 мар. 2015 г.

UIButton popup анимация / UIButton popup animation

Анимация кнопки (UIButton) по клику или без. Также можно анимировать любой другой контрол. button.transform = CGAffineTransformScale(CGAffineTransformIdentity, 0.001, 0.001);     [self.view addSubview:button];          [UIView animateWithDuration:0.4/1.5 animations:^{         button.transform = CGAffineTransformScale(CGAffineTransformIdentity, 1.3, 1.3);     } completion:^(BOOL...

23 мар. 2015 г.

21 мар. 2015 г.

Beginning Xcode. Swift Edition

Beginning Xcode, Swift Edition will not only get you up and running with Apple’s latest version of Xcode, but it also shows you how to use Swift in Xcode and includes a variety of projects to build.If you already have some programming experience with iOS SDK and Objective-C, but want a more in-depth tutorial on Xcode, especially Xcode with Apple’s new programming language, Swift, then Beginning Xcode, Swift Edition is for you. The book focuses...

20 мар. 2015 г.

Swift Quick Syntax Reference

Swift Quick Syntax Reference is a condensed code and syntax reference to the new Apple Swift programming language, which is the alternative new programming language along side Objective-C behind the APIs found in the Apple iOS SDK 8 and OS X Yosemite SDK. It presents the essential Swift syntax in a well-organized format that can be used as a handy reference.You won't find any technical jargon, bloated samples, drawn out history lessons, or witty...

Pro Design Patterns in Swift

The Swift programming language has transformed the world of iOS development and started a new age of modern Cocoa development. Pro Design Patterns in Swift shows you how to harness the power and flexibility of Swift to apply the most important and enduring design patterns to your applications, taking your development projects to master level.This book will teach you those design patterns that have always been present at some level in your...

Swift for Absolute Beginners

The professional development team that brought you two editions of Objective-C for the Absolute Beginners and have taught thousands of developers around the world to write some of the most popular iPhone apps in their categories on the app store, have now leveraged their instruction for Swift. Swift for Absolute Beginners is perfect for those with no programming background, those with some programming experience but no object-oriented...

19 мар. 2015 г.

Programming iOS 8 Dive Deep into Views, View Controllers, and Frameworks

Programming iOS 8 Start building apps for iOS 8 with Apple’s Swift programming language. If you’re grounded in the basics of Xcode and the Cocoa framework, this book provides a structured explanation of all essential real-world iOS app components. Through deep exploration and copious code examples, you’ll learn how to create views, manipulate view controllers, and use iOS frameworks for adding features such as audio and video, access to user...

Анимация UITextField, проверка на число / UITextField not number animation

Проверка UITextField на числовой тип (float) и простая анимация если введенные данные не являются таковыми. // Проверка введенных данных на числовую форму - (void)textIsValidValue:(NSString *)text textField:(UITextField *)textField {          BOOL result = NO;     NSScanner *scanner = [NSScanner scannerWithString:text];          if (!(result = [scanner scanFloat:NULL] &&...

18 мар. 2015 г.

Beginning iOS Media App Development

Beginning iOS Media App Development is a ground-breaking tutorial that explores the near limitless, programmable audio-visual capabilities of the iPhone, iPad and iPod touch using real-world examples and thorough explanations of the code. This book includes detailed step-by-step instructions and important background information from experienced media and utility app developer, Ahmed Bakir.You'll learn about content creation, playback, and advanced...

Learn iOS 8 App Development, 2nd Edition

Learn iOS 8 App Development is both a rapid tutorial and a useful reference. You'll quickly get up to speed with Swift, Cocoa Touch, and the iOS 8 SDK. It's an all-in-one getting started guide to building useful apps. You'll learn best practices that ensure your code will be efficient and perform well, earning positive reviews on the iTunes App Store, and driving better search results and more revenue. The iOS 8 SDK offers powerful new features,...

16 мар. 2015 г.

Swift Development with Cocoa

Ready to build apps for iPhone, iPad, and Mac now that Swift has landed? If you're an experienced programmer who's never touched Apple developer tools, this hands-on book shows you how to use the Swift language to make incredible iOS 8 and OS X apps, using Cocoa and Cocoa Touch. Learn how to use Swift in a wide range of real-world situations, with Cocoa features such as Event Kit and Core Animation. You'll pick up Swift language features and...

11 мар. 2015 г.

8 мар. 2015 г.

Удаление / замена ненужных символов в строке

Иногда нам нужно избавиться от ненужных символов в строке, так как они могут помешать нам что либо реализовать. Например ответ от сервера с не отформатированным JSON`ом, ключи и значения которого просто разделены запятыми. По запятым мы строку разбить можем, а дальше у нас в подстроках присутствует JSON`овский мусор ( {[ключ:значение] ). Почистить строку довольно просто (например я использую данную функцию чтобы преобразовать запятую в точку,...