background preloader

iOSDeveloperTips.com - Code, tips and tricks for iOS developers. [iOS developer:tips];

iOSDeveloperTips.com - Code, tips and tricks for iOS developers. [iOS developer:tips];
Related:  IOS 7 Development

Learn Objective-C: Day 1 Welcome to my series on coming to grips with the awesome language that is Objective-C. Throughout this small series of articles, my aim is to take you from no prior experience with Objective-C to using it confidently in your own applications. This isnʼt a rush job - so donʼt expect to just skim through the basics and be away - weʼll be going through not just the bare essentials, but also the best practices you can apply to ensure your code is the best it can be. Letʼs jump straight in! What is Objective-C? If youʼre reading this series then Iʼll hazard a guess that you already know, but for those of you who donʼt, donʼt worry as by the end of this part youʼll know what it is back-to-front and inside-out. Objective-C is an object oriented language which lies on top of the C language (but I bet you guessed that part!). Because Objective-C is a strict superset of C, we are free to use C in an Objective-C file and it will compile fine. What will I need? Compiling your code Simple. The Basics

Objective-C Math functions | Touch Code Magazine Hi this is Marin - the author of Touch Code Magazine, I hope you are enjoying my tutorials and articles. Also if you need a bright iPhone developer overseas contact me - I do contract work. Here's my LinkedIn profile Objective-C uses C’s math which you can find in math.h, however as we do program in different languages it is really annoying to remember by heart how the function names are abbreviated in each and every language. double pow ( double, double ) - power of double sqrt( double ) - square root double ceil ( double ) - if the argument has any decimal part, returns the next bigger integer double floor ( double ) - removes the decimal part of the argument double round ( double ) - rounds the argument double fmin ( double, double ) - returns the smaller argument double fmax ( double, double ) - returns the bigger argument double fabs( double ) - returns the absolute value of the argument As found in the math.h Image:

A Tasty Pixel » Blog Loopy News! I’m happy to announce Loopy HD 1.4 and Loopy 2.5 – a significant update that brings the features most frequently requested by users: Reverse and decay. Also – Loopy HD is 50% off! You can access the new effects via the track menu, which can now be rotated to access the new menu items. Reverse will play the track back in the reverse direction – you’ll see the position indicator move in the opposite direction. Decay works while you are overdubbing a track: While it’s enabled, it will eat away at your track audio as you overdub new audio on top of it, fading away old layers as you make new ones. There’s also a change to the way you finish track recordings: Now, when you punch out, Loopy will count out to the next cycle. New actions that can be triggered via MIDI or Bluetooth: Toggle fadingMute and play next muted trackToggle record, mute, then start recording next track More changes: Loopy HD and Loopy are available on the App Store right now.

Xcode Overview: Build a User Interface You create your app’s user interface in Interface Builder. Select a user interface file in the project navigator, and the file’s contents open in Interface Builder in the editor area of the workspace window. A user interface file has the filename extension .storyboard or .xib. Default user interface files are supplied by Xcode when you create new projects from its built-in templates. The contents of .xib and .storyboard files are stored by Xcode in XML format. At build time, Xcode compiles your .xib and .storyboard files into binary files known as nibs. To add user interface elements, drag objects from the utility area into Interface Builder, where you arrange the elements, set their attributes, and establish connections between them and the code in your source files. Add User Interface Elements from the Object Library Interface Builder has two major areas: the dock (on the left) and the canvas (on the right). ). in the view selector in the toolbar. in the library selector bar. ). ).

Google Objective-C Style Guide Unlike C++, Objective-C doesn't have a way to differentiate between public and private methods—everything is public. As a result, avoid placing methods in the public API unless they are actually expected to be used by a consumer of the class. This helps reduce the likelihood they'll be called when you're not expecting it. This includes methods that are being overridden from the parent class. For internal implementation methods, use a category defined in the implementation file as opposed to adding them to the public header. #import "GTMFoo.h" @interface GTMFoo (PrivateDelegateHandling) - (NSString *)doSomethingWithDelegate; // Declare private method @end @implementation GTMFoo (PrivateDelegateHandling) ... - (NSString *)doSomethingWithDelegate { // Implement this method } ... If you are using Objective-C 2.0, you should instead declare your private category using a class extension, for example: @interface GMFoo () { ... } Again, "private" methods are not really private.

Matt Neuburg’s Home Page Superlatives Elected to the MacTech Top 25, 2007 “The MacTech 25 honors the most influential people in the Macintosh community. How do we know who these people are? Best technical writer John Gruber: “I consider [Matt Neuburg] the best technical writer in the business…” “[The online help for Affrus] is quite simply the finest software documentation I have every encountered. iOS Programming book: Cary Champlin, on Amazon.com: “I don’t know how Matt Neuburg does it differently from other authors, but when I read his books on programming, I just understand the topics at a whole new level of comprehension.” AppleScript book: “Truth.” David Cortesi, on Amazon.com: “The first AppleScript book that tells the deep truth… [Matt Neuburg] has taken the time to test out every corner case and exception of the language, and he lays them all bare. Reader email: “Your book is the only one I have come across that really explains precisely the basics linguistic concepts of the language. “Rocks.” Helpful. Zotz

The 10 Best Online Resources to Learn iOS App Development Looking to learn iOS app development? Here is our pick of 10 online resources for learning iOS programming, whether you are completely new to iOS app development or know the basics, these online resources will provide a strong foundation to help you learn the ropes of app development. Introduction to Apple iOS App Development This is Apple’s official introduction module to iOS app development. iOS Dev Center The official iOS Dev Center contains all the information you need regarding app development. Edumobile Blog Edumobile is a blog devoted to tutorials and guides on mobile technology. iPhoneDevSDK More of a forum than anything else, the iPhoneDevSDK is a great place to ask questions and read what others have to say. Treehouse Treehouse offers great educational courses that take you from a complete beginner to a proficient programmer. Mobile Tuts+ Mobile Tuts+ is part of the Envato network which is known as a great development and design resource. Lynda.com Ray Wenderlich

Related: