Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying iOS Programming Cookbook
  • Table Of Contents Toc
  • Feedback & Rating feedback
iOS Programming Cookbook

iOS Programming Cookbook

By : Hossam Ghareeb
3.5 (2)
close
close
iOS Programming Cookbook

iOS Programming Cookbook

3.5 (2)
By: Hossam Ghareeb

Overview of this book

Do you want to understand all the facets of iOS programming and build complex iOS apps? Then you have come to the right place. This problem-solution guide will help you to eliminate expensive learning curves and focus on specific issues to make you proficient at tasks and the speed-up time involved. Beginning with some advanced UI components such as Stack Views and UICollectionView, you will gradually move on to building an interface efficiently. You will work through adding gesture recognizer and touch elements on table cells for custom actions. You will work with the Photos framework to access and manipulate photos. You will then prepare your app for multitasking and write responsive and highly efficient apps. Next, you will integrate maps and core location services while making your app more secure through various encryption methods. Finally, you will dive deep into the advanced techniques of implementing notifications while working with memory management and optimizing the performance of your apps. By the end of the book, you will master most of the latest iOS 10 frameworks.
Table of Contents (16 chapters)
close
close

Editing table views


Table views are not meant only for displaying data (read-only); users can be engaged in managing the table views to insert, update, delete, and reorder the table view cells. Thanks to UITableView, these kinds of operations are not difficult to implement and with just simple lines of code, you can bring all these awesome features to your app. In this section, we will see how to trigger the editing mode in table view to delete or reorder cells. We will see how to insert new rows at runtime to the table view with animations as well.

Getting ready

In the demo project that we will implement, we are building a simple Todo app. We will have a screen where the user can see a list of open tasks and options to add new tasks, delete specific tasks, and reorder tasks based on priority. This demo will be very interesting.

How to do it...

  1. First, let's create a new Xcode project with Single View Application template.

  2. Add a table view and configure its delegate and data source, as we learnt...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
iOS Programming Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon