iPhone and iPad development
619.2K views | +33 today
Follow
iPhone and iPad development
Tips, Libs and more about iPhone and iPad development and ios
Curated by Vincent Demay
Your new post is loading...
Scooped by Vincent Demay
Scoop.it!

Wicked iOS Range Slider: Part One » BuildMobile

Wicked iOS Range Slider: Part One » BuildMobile | iPhone and iPad development | Scoop.it

"One of the commonly used iOS controls is the slider control. It’s a great, all purpose slider, that allows you to quickly swipe your finger along the screen to set a value.

Things get a little complicated when you want to create a range of values however. The options are somewhat limited. Should you provide two sliders? One for the minimum range and one for the maximum range? This is sacrificing usability and screen space, and generally isn’t an ideal outcome.

The answer, most of the time, is to create a range slider, something that isn’t in the default range of iOS controls. Here’s a peek at what we’re going to create over this two part tutorial."

more...
No comment yet.
Scooped by Vincent Demay
Scoop.it!

Parallax Scrolling (Core Animation Games 4)

Parallax Scrolling (Core Animation Games 4) | iPhone and iPad development | Scoop.it

"It has been quite a while since I wrote the last article in the Core Animation Games series."

more...
No comment yet.
Scooped by Vincent Demay
Scoop.it!

Scrolling Hell (Core Animation Games 3)

Scrolling Hell (Core Animation Games 3) | iPhone and iPad development | Scoop.it

"This week my post is going to be necessarily short. Noel and I have been working on preparing the first beta for Casey’s Contraptions, and there is still plenty to do before our intended milestone on Friday. He is deep at work squeashing bugs and working on loose ends, while I have been working on creating levels. Yes, you could say I got all the fun while he was hard working, but somehow solving those bugs always involves the rag doll thrown around, poked, squashed, and generally mistreated during his tests (I have this theory that is all due to his repressed feelings as a game developer that doesn’t want to make violent games; he is probably dying to make a zombie FPS). Anyway, look at the pretty thumbnails of my levels!"

more...
No comment yet.
Scooped by Vincent Demay
Scoop.it!

Space-Time! (Core Animation Games 2)

Space-Time! (Core Animation Games 2) | iPhone and iPad development | Scoop.it

"Progress this week has been slow on most of my projects. Noel and I were working on Casey‘s tutorial, then we started implementing more objects so we can create some more levels and start beta–testing. "

more...
No comment yet.
Scooped by Vincent Demay
Scoop.it!

Frame-by-Frame Sprites with Core Animation

Frame-by-Frame Sprites with Core Animation | iPhone and iPad development | Scoop.it

"So you want to make a 2D game full of real 80s technology: sprites, tiled backgrounds, parallax scrolling, and all that goodness. The last console you played a 2D RPG game in, back when you had hair, is long lost in the rat’s nest behind your TV stand. Your iPhone’s processor can run circles around that old console but you wonder… how do I do it?"

more...
No comment yet.
Scooped by Vincent Demay
Scoop.it!

Introduction to A* Pathfinding | Ray Wenderlich

Introduction to A* Pathfinding | Ray Wenderlich | iPhone and iPad development | Scoop.it

This is a blog post by iOS Tutorial Team member Johann Fradj, a software developer currently full-time dedicated to iOS.

more...
No comment yet.
Scooped by Vincent Demay
Scoop.it!

Open Source iOS Library For Adding Basic Touch Handling To A UIView Instantly

"JMWhenTapped is a simple little syntactical-sugar addition to all UIView objects, as well as any class that inherits from UIView. It allows you to assign touch-up, touch-down, tapped (touched down then up), double taps and two finger taps actions to a UIView object using a convenient blocks-style syntax. (Examples shown below)."


✔ Sources: https://github.com/jakemarsh/JMWhenTapped

more...
No comment yet.
Scooped by Vincent Demay
Scoop.it!

iScroll 4

iScroll 4 | iPhone and iPad development | Scoop.it

"iScroll 4 is a complete rewrite of the original iScroll code. The script development began because mobile webkit (on iPhone, iPad, Android) does not provide a native way to scroll content inside a fixed width/height element. This unfortunate situation prevents any web-app to have a position:absolute header and/or footer and a scrolling central area for contents."

more...
No comment yet.
Scooped by Vincent Demay
Scoop.it!

gimenete/iOS-boilerplate - GitHub

gimenete/iOS-boilerplate - GitHub | iPhone and iPad development | Scoop.it

Is a code base for iOS projects. Current version provides

  • BaseViewController with methods for secure handling of async http requests
  • ImageManager: a class for downloading images asynchronously
  • FastCell (inspired on Atebits implementation) is a base class for implementing custom UITableViewCells with fast scrolling.
  • ListViewController: a base class for creating ViewControllers with one UITableView that can be refreshed with a pull-down component.
  • Place: a simple implementation of the MKAnnotation protocolDictionaryHelper: an
  • NSDictionary helper with methods for safe handling of collections
  • StringHelper: an NSString helper with methods for manipulating NSStrings. Including: trim, sha1 and urlEncode method.
  • DataHelper: an NSData helper with one method: hexString. It is used inside StringHelper to calculate the sha1 hash hexstring representation of a given string

The project contains some examples with the use of those utility classes:

  • Example that fetches a JSON object through an async HTTP request, and shows a progress HUD.
  • Example that fetches a single image with ImageManager
  • Example that combines FastCells with async image loading using ImageManager.
  • Example of variable height table cells using FastCell.
  • Example that shows how to extend ListViewController to create a tableview with a simple pull-down-to-refresh component.
  • Example that shows how to implement a swipeable cell
  • ViewController that uses MapOverlays and the Google Maps API to show the directions between two points.
  • Search bar that autocompletes locations.


✔ Sources: https://github.com/gimenete/iOS-boilerplate

more...
No comment yet.
Scooped by Vincent Demay
Scoop.it!

Autosaving Core Data managed object context

Autosaving Core Data managed object context | iPhone and iPad development | Scoop.it

"This has nothing to do with Lion autosaving. It has everything to do with the fact that Apple’s template for Core Data saves the managed object context only at exit.


I’m proposing the following solution. Note that while you’re at it, you may want to move most of Core Data related code that Apple’s “shoebox” Core Data template puts in the AppDelegate. Put it in a singleton class called Database.


Expose +sharedDatabase, and #define DB [Database sharedDatabase] in the header. This was somewhat unrelated, but it’s worth mentioning."

more...
No comment yet.
Scooped by Vincent Demay
Scoop.it!

Never-ending paging UIScrollView

Never-ending paging UIScrollView | iPhone and iPad development | Scoop.it

"Paging through views on the iPhone feels great. Flicking your way through the photos app feels easy and natural. And like most iPhone UI controls it's available to developers through UIKit. It's a UIScrollView with paging enabled."

more...
No comment yet.
Rescooped by Vincent Demay from iPhone
Scoop.it!

Apple - Remembering Steve Jobs

Apple - Remembering Steve Jobs | iPhone and iPad development | Scoop.it


Apple - Remembering Steve Jobs

"Apple has lost a visionary and creative genius, and the world has lost an amazing human being. Those of us who have been fortunate enough to know and work with Steve have lost a dear friend and an inspiring mentor...."

http://www.apple.com/stevejobs/

more...
No comment yet.
Scooped by Vincent Demay
Scoop.it!

Resize a UIImage the right way — Trevor’s Bike Shed

"When deadlines loom, even skilled and experienced programmers can get a little sloppy. The pressure to ship may cause them to cut corners and look for a quick and easy solution, even if that solution is sure to cause trouble later on. Eventually, their coding style devolves into copy and paste programming, a lamentable tactic that involves cherry-picking snippets of code from a past project and putting them to use in the current one. Of course, the proper solution is to factor out the code into some kind of reusable library, but due to time constraints, it’s simply duplicated wherever it’s needed. Any bugs in the original code have now spread to a dozen different places in a dozen different projects. It’s an algorithm for chaos."

more...
No comment yet.
Scooped by Vincent Demay
Scoop.it!

Open Source Page Transition Component

XBPageCurl is a free and open-source implementation of a page curl animation/transition for views in iOS that intends to mimic the behavior of the pages in apps like iBooks and GoogleMaps for iOS.

It uses OpenGL ES 2 to draw a deformed mesh of triangles. Conceptually, it projects the vertices of the mesh on a virtual cylinder that touches the view. You can move, rotate and change the radius of the cylinder, with or without animation. This will make the mesh curl around the cylinder. The mesh deformation is performed in a vertex shader which makes it really fast.


✔ Sources: https://github.com/xissburg/XBPageCurl

more...
No comment yet.
Scooped by Vincent Demay
Scoop.it!

vgrichina/ios-calendar - GitHub

vgrichina/ios-calendar - GitHub | iPhone and iPad development | Scoop.it

ios-calendar is a stylable month calendar view for use in iPhone applications. It uses Three20 framework heavily, especially for styling.
While there are existing implementations (Kal and TKCalendarMonthView from Tapku Library, they are quite limited. In particular they both replicate styling and functionality of iPhone Calendar app and there is basically no easy way to adjust them. In addition to this – only portrait view is supported in them.





✔ Sources: https://github.com/vgrichina/ios-calendar

more...
No comment yet.
Scooped by Vincent Demay
Scoop.it!

ZaBlanc/iBoost - GitHub

ZaBlanc/iBoost - GitHub | iPhone and iPad development | Scoop.it

The iBoost library aims to supplement everyday iPhone development with a set of classes, macros, components and constants that speed up development without abstracting the SDK away from you in any way.


  • Components: e,g. Glossy button with IBButton, Html Label with IBHTMLLabel
  • Message Center: The Message Center improves upon NSNotificationCenter in every way. A compact, essentially simple system if you want it to be, the Message Center also goes way beyond if you allow it.
  • Core Data Helpers
  • Categories: e,g. UIColor, NSArray - sorting
  • Macros: e,g.  UNBOX_INT, IS_EMPTY_STRING, SAFE_RELEASE

✔ Sources: https://github.com/ZaBlanc/iBoost

more...
No comment yet.
Scooped by Vincent Demay
Scoop.it!

iPhone App Development Tutorial – Core Data part 2 – One to Many Relationship

iPhone App Development Tutorial – Core Data part 2 – One to Many Relationship | iPhone and iPad development | Scoop.it

"In this tutorial we will look at creating a one to many relationship in core data. It’s really very easy and not that much different than creating the one to one relationship. The difference comes in how the relationship allows the entities to interact with each other. In part one we had two entities, Fruit and Source. These two entities had a one to one relationship to each other. For each Fruit there was only one Source, and the inverse was true as well, for each Source there was only one Fruit. Now we are going to create two new entities, Artist and Album. Each artist can have multiple albums, but each album can have only one artist. "


more...
No comment yet.
Scooped by Vincent Demay
Scoop.it!

Jo HTML5 Mobile App Framework

Jo HTML5 Mobile App Framework | iPhone and iPad development | Scoop.it
Jo was made for apps, not websites.



Your HTML5 app lives in a single page and Jo helps you create a native-like app experience. Sure, there's some DOM manipulation going on in there, but you don't have to worry about it unless you want to. Build your app with JavaScript, tweak some CSS and call it a day.

more...
No comment yet.
Scooped by Vincent Demay
Scoop.it!

How To Integrate Cocos2D and UIKit | Ray Wenderlich

How To Integrate Cocos2D and UIKit | Ray Wenderlich | iPhone and iPad development | Scoop.it

Cocos2D is a great framework, but sometimes it’s handy to implement some of your game with UIKit.


For example, it’s often useful to design your main menu, settings pages, and the like with UIKit and just use Cocos2D for your main game logic.

You also might find it handy to use UIKit controls on top of a Cocos2D scene – such as text fields, buttons, tab bars, or ad views.


In this tutorial, you’ll learn how to do exactly like this! We’ll take a simple Cocos2D app and modify it to use UIKit for the main menu and an about page, and overlay some UIKit controls on top.

more...
No comment yet.
Scooped by Vincent Demay
Scoop.it!

Library: iPhone Component For Easy Scrolling Between Multiple Views Like Mobile Safari

Library: iPhone Component For Easy Scrolling Between Multiple Views Like Mobile Safari | iPhone and iPad development | Scoop.it

"The Mobile Safari provides a great interface for easily switching between multiple views."


Here component that allows you to easily enable a very similar control within your own iPhone apps that enables similar sideways scrolling.













✔ Sources: https://github.com/100grams/HGPageScrollView


more...
No comment yet.
Scooped by Vincent Demay
Scoop.it!

How To Make a Catapult Shooting Game with Cocos2D and Box2D Part 1 | Ray Wenderlich

How To Make a Catapult Shooting Game with Cocos2D and Box2D Part 1 | Ray Wenderlich | iPhone and iPad development | Scoop.it

This is a blog post by iOS Tutorial Team member Gustavo Ambrozio, a software engineer with over 20 years experience, over 3 years of iOS experience and founder of CodeCrop Software.

Create a cute-a-pult game with Cocos2D and Box2D! :D


In this tutorial series we’ll build a cool catapult type game from scratch using Cocos2D and Box2D!

We’ll use the art created by Ray’s lovely and talented wife Vicki to create a game about catapults, acorns, dogs, cats, and angry squirrels.


2 tutorials :

more...
No comment yet.
Scooped by Vincent Demay
Scoop.it!

Generate Particles Along A Path

This video demoed a particle emitter that emits particles along a predefined path. See this blog about how to implement it on iPhone / iPad


✔ Sources and tutorial : http://www.clingmarks.com/?p=822



more...
Rescooped by Vincent Demay from iOS dev (iPhone, iPad)
Scoop.it!

Open Source: Easy UITableView Replacement Library Great For Forms/Config Screens

Open Source: Easy UITableView Replacement Library Great For Forms/Config Screens | iPhone and iPad development | Scoop.it

The UITableView is such a versatile class – usable for so many different purposes, but can really be a pain to work with when you’re just creating something simple, and don’t want to mess around with delegates or set up data sources.

 

 

 

 

 

 














 

✔ Sources : https://github.com/escoz/QuickDialog


Via anandram venkataswamy, Sébastien HOUZÉ
more...
No comment yet.
Scooped by Vincent Demay
Scoop.it!

TestFlight » iOS beta testing on the fly

TestFlight » iOS beta testing on the fly | iPhone and iPad development | Scoop.it

"Painless App Distribution. Send your beta apps over the air with ease. It's simple, painless, and magical"


Here’s a complete listing of the new features from the Testflight blog:

  • Crash Reports – Real time reports with environment snapshots, full session activity, and your NSLogs.
  • Check Points - Monitor tester engagement and watch as they progress through your app or take unexpected turns.
  • Sessions - Discover how testers are using your application. Watch as they progress and take unexpected turns.
  • In-App Questions - Get the answers you need right when you need them. Ask multiple choice or open answer questions in real time the moment a checkpoint is reached.
  • Feedback - Gather more feedback with in-app forms or via tester email replies, which is all neatly organized in your dashboard and enables immediate responses.
  • In-App Updates - Prompt testers to install the latest version of your app and they can update instantly over-the-air.
  • Enterprise IPA Support - If you have an Enterprise Developer account through Apple, you get the added benefit of unlimited devices with all the TestFlight features.
  • Build Reporting -View realtime build status and tester activity.
more...
No comment yet.
Scooped by Vincent Demay
Scoop.it!

Example: iOS App Demonstrating Basic Usage Of The OpenCV Library

Example: iOS App Demonstrating Basic Usage Of The OpenCV Library | iPhone and iPad development | Scoop.it

OpenCV is an image processing lib :


"I’ve mentioned in the extremely useful OpenCV library, and tutorials on usage and install.  Getting started with OpenCV can be difficult, but can be key if you’re looking to do any sort of image processing on the iOS platform."

more...
No comment yet.
Curated by Vincent Demay
Development Manager @ Scoop.it - http://www.scoop.it
iPad, iPhone and Android developer
Geek :)