UrbanPro

Learn iOS Developer from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

I have a URL ,the first time we make request and play videos. Now, I want to store the data in cache so that second time the video is played directly from cache rather that hitting the service again and downloading video. I don't want to save it in app directory. Kindly tell me how videos can be cached in objective C.

Asked by Last Modified  

Follow 0
Answer

Please enter your answer

IT Professional Trainer with 12+ years of experience in IT Industry(Mobile TechLead, iOS, Android)

You can create an instance of NSCache and utilise its method for setting data(videos) and retrieving whenever it's required. You can find Sample code Apple ' NSCache' Documentation: NSCache is similar to NSMutableDictionary, with the differences being: 1. It is guaranteed to be thread-safe. 2....
read more
You can create an instance of NSCache and utilise its method for setting data(videos) and retrieving whenever it's required. You can find Sample code Apple ' NSCache' Documentation: NSCache is similar to NSMutableDictionary, with the differences being: 1. It is guaranteed to be thread-safe. 2. It is much slower to access. 3. It may throw out objects from time to time. You can set costs and limits, but they're not guaranteed to be followed. 4. It is not toll-free bridged to anything in CoreFoundation. 5. You can't query the number of objects that are in the cache. 6. You can't enumerate a cache. read less
Comments

Related Questions

I want to be a web/ios/android developer though I have studied till class10. So can I do the course to work as a freelancer? M y main query is I have heard about many things which we get to study when we do B.Sc but I am not up to that level so can I do the course?
Hi Ashutosh , I like your confidence and would like to say definitively you can do the course , as you are upto 10 th class so it may be very difficult to get jobs in companies but if you will have good...
Ashutosh
Which is the best centre or person or institute to study iOS application development in Bangalore....
We conduct online trainings in iOS. Note however that you need to have a Mac to learn iOS App Development.
Geeyar
0 0
8
What courses can I do to become an iOS app developer specializing in games?
Hi Rajeev, You can take two approaches : 1) Learn the native iOS Game Development Framework. It is called SpriteKit. For 3D games, you have SceneKit and Metal. If you already have iOS App development...
Rajeev J
0 0
6
What are the best sources to learn iOS mobile application development?
Search the best IOS developer and learn from that guys or you could find the best institute or trainer who gave the depth knowledge for develop the IOS Apps
Pratibha

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

iOS Interview Questions
Q1.What is property? Ans:Properties are used to access the instance variables from outside of class. Q2. What is synthesized? Ans:After you declare the property in objective­c . we have to tell...

IOS App Development
Student could work on the normal laptop or system. Some of student are thinking that Mac operating system is mandatory for Learn IOS but this is not mandatory. Thanks Ajay

Working With Arrays in Swift
Swift Arrays:Like Objective C arrays Swift arrays are also collection of Objects The Difference is in swift we don't work directly with addresses.The declaration of Swift array is as follows The above...

Developing iOS Apps Part 1
The Basics Swift opts to use a Javascript-like ‘var’ keyword to define any new variable. So for example to create a new variable with a bit of text in it, you would have this: var...

P Balasubramanyam

0 0
0

Phone number validation in swift language
Simple phone number validation in swift ios 8 , Using this function you can easily check phone number . Also have some example for this using NSPredicate etc . you can see lots of method for number...

Recommended Articles

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

Read full article >

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Looking for iOS Developer Training?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for iOS Developer Classes?

The best tutors for iOS Developer Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn iOS Developer with the Best Tutors

The best Tutors for iOS Developer Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more