background preloader

Mobile Developer Tips

Mobile Developer Tips
Related:  IOS 7 Development

Mac App Store - Unused Learn & Master Cocos2D Game 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

RestKit/RestKit iPhone Development: OpenGL ES from the Ground Up: Table of Contents kimptoc said... Many Thanks for the series and this TOC - was just trying to do the same under my delicious bookmarks and then saw this :) May 24, 2009 at 5:12 AM Andrew said... I have browsed all the books on OpenGL ES for the iPhone and otherwise (I have even bought one), and I have read as much of the other online tutorials I can find time to read - none of them are as good... this should be a book! June 9, 2009 at 6:57 AM tom said... Totally agree with Andrew. June 18, 2009 at 2:06 AM Mr. hi there ! August 6, 2009 at 3:56 AM Daz said... This is very helpful for who's new for openGL ES like myself. September 27, 2009 at 11:35 PM Joseph Lin said... Thanks Jeff, this is so helpful! December 8, 2009 at 8:39 PM C Harrison said... Just a simple Thank You December 17, 2009 at 6:53 PM Julius said... Is there a chance to get these tutorials as PDF? December 19, 2009 at 9:48 AM Prabakar said... This is good, but not explaining about blender usage. December 28, 2009 at 1:42 AM Jonathan MP Praba said... Mr.

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:

Game Kit Programming Guide: About Game Kit People love to play games. Games on the App Store are no exception—games continue to be the most popular category of apps on iOS. Games are inherently a social activity. Sometimes, this social interaction is part of the game itself, such as when the game provides competitive or cooperative multiplayer gameplay. But even for games intended for single-player experiences, players like to see and share their accomplishments. Because social gaming is such an important part of the game-playing experience, Apple supports it directly with the Game Center service. Each player performs different activities but all of them are interacting with Game Center: Bob uses the Game Center app provided by Apple to view his scores earned in a game that supports Game Center. At a Glance Game Center is best viewed as a collection of interconnected components that provide features both to game developers and to end users: The Game Center service is the online portion of Game Center. How to Use This Document

Custom UI Controls for iOS and Mac OS X 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.

What's New in iOS: iOS 6.0 This article summarizes the key developer-related features introduced in iOS 6. This version of the operating system runs on current iOS-based devices. In addition to describing the key new features, this article lists the documents that describe those features in more detail. For late-breaking news and information about known issues, see iOS 6.0 Release Notes. Maps In addition to the new map tiles provided by Apple, the Maps app and MapKit framework now support additional interactions with other apps. Registering as a routing app gives you more opportunities to get your app in front of users. Apps that do not provide routing directions themselves can also take advantage of both Maps and routing apps. For information about how to provide directions from your app, or how to use the Maps app to display directions, see Location and Maps Programming Guide. Social Framework The Social framework (Social.framework) provides a simple interface for accessing the user’s social media accounts.

Ray Wenderlich | Tutorials for iPhone / iOS Developers and Gamers 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. ). ).

Vote for Your Favorite iOS Libraries! If you're new here, you may want to subscribe to my RSS feed or follow me on Twitter. Thanks for visiting! Vote for your favorite iOS libraries! In one of our recent weekly tutorial polls on the sidebar, you guys voted for us to write a tutorial about the “Top 10 Most Useful iOS Libraries to Know and Love.” Tutorial Team member Marcelo Fabri is writing this article, and thought instead of just listing his own personal favorites, it would be better to get some input from others – such as you! I recently sent out a couple Tweets asking for you guys to nominate your favorite iOS libraries, and Marcelo pulled out the most frequently nominated (non gaming) libraries from the list. So now it’s vote time! Also, to make it fun, the top “Reader’s Choice” library winner will win an engraved plaque from all of us to thank them for writing such a popular library! Choose up to 5 of your favorite libraries below, and please help spread the word about this vote!

Temporary files and folders in Cocoa Introduction With large amounts of RAM on modern computers and alternatives such as the cache directories and application support directories, genuine temporary files are not needed in most Cocoa applications. Even when they are needed, for atomic write operations or for Core Data databases, Cocoa libraries often create them automatically. Eventually though, you're likely to encounter a situation where you need to create a temporary file yourself. You need to be careful when creating temporary files because: Predictable temporary file locations can be a security hole in your applications.On Mac OS X, multiple users on the computer may have their own copies of your application open, so the creation must be atomic (safe when concurrent). In addition to this, you must be able to find the correct directories to place your files, be aware of the lifetime of files in these locations and manage cleanup correctly when you are done. Required steps Choosing the right enclosing directory Conclusion