Example: http://itunes.apple.com/us/app/where-to-eat-free-gps-restaurant/id468661982?mt=8
On the tab bar, there's a "Recents", which will record anything you've viewed.
I'd like to create that for my web app, a shopping guide. Users check out various shops from a list, and when they select to view a shop, it'll be recorded. Sort of like a browser History.
I know it'd be too much to ask for an entire code, so can someone just push me in the right direction? Like explain to me how to get started, what I need to know or better yet point me to any examples out there (I've yet to find one)
Thanks!
Try using Ext.data.Store in Sencha Touch to create a data store of your user's browsing history. When they view a shop, add it as an item in the store. You will need to create an Ext.data.Model to describe a view action. You can also sync stores with your backend. It's all in the Sencha Touch Docs.
The MVC example uses a store (I think) if you need an example.
you can look at Sencha Touch 2 getting started documentation. there are History Support section. Hope this help. good luck ...
Related
I've been trying to find some info about this but the combination of words just doesn't help as it just so I figured I'd might as well ask it in here.
I'm developing a sencha touch app and I want to show the user how to use my app. But those messages should obviously only be displayed on the app's first run. Does any of you have any idea of how to achieve this in sencha touch?
Haven't tried anything as I have no idea where to start and as I mentioned earlier looking this up on google just returns tutorials about Sencha Touch.
you can set a flag and save it to the localstorage.
On every app launch you can check for that flag and only create the guide view if needed
I am developing an iOS app for iPhone using Xcode of course, and need to have the facility to update the information on my initial view daily. This would consist of editing a logo for the day's date, and daily changing a block of text on the same page.
Another feature within the app would need to be to progressively add more and more content (adding further menus and categories of information available to the user on the interface).
I cannot seem to find anything to help me online so I would be HUGELY GRATEFUL for any help!
Cheers :)
Search for JSON and how to retrieve data from an online resource - that's what you want.
Here's a randon tutorial:
http://www.appcoda.com/fetch-parse-json-ios-programming-tutorial/
I want to make something similar to facebook tag mechanism. I will display an image of a building to the users and i want them to be able to tag themselves in which room they are at the moment. The location would be sent to a web server so all users can see other's location. Is that possible and how? Thanks in advance.
It is likely to be possible.
I can suggest the following solution: store the building photo/scheme AND rooms information on server.
In your App, you will display image (perhaps in ScrollView), there you will have just TapGestureRecognizer which will recognize the room, depending on coordinates of tap.
In case of this solution, you will have to manually store information about each tap-zone corresponding to a room. But that's the most likely case.
I have a navigation controller where i have the list of appointments in a table view. I have an add button on the right side corner for the navigation controller. When the user clicks the add button a view will appear with the textfields and buttons. The problem is when ever the user (of the app) adds his appointments and clicks the add button it has to hit the server and store that data. I want to do that using RestKit. Can anybody tell me how to hit the server and how i can store the data.
Yes, Google can.
Here is the first result for the search 'restkit tutorial' :
http://mobile.tutsplus.com/tutorials/iphone/restkit_ios-sdk/
And, in case that one is a little out of date, here's the second result for the search 'restkit tutorial' :
http://mobile.tutsplus.com/tutorials/iphone/advanced-restkit-development_iphone-sdk/
The current documentation is only on github. Most other sources are outdated, thanks to RestKit's rapid development.
The wiki has a lot of good information, and you can find documentation that's always up-to-date in the docs directory.
I recently wrote a detailled overview of RestKit with many piece of code and I think it can help you to understand how it works and how to get things done.
http://blog.octo.com/en/overview-of-restkit-a-core-data-enabled-ios-macosx-framework-for-restful-apps/
I want to create a sidebar in one of my mac applications. Basically it will look much like the Things sidebar.
Here is the picture that I basically want to recreate:
I can't figure out how to show the "sections" (collect, focus and active projects) and how to have certain items always show up (inbox, today, next, etc...) and finally I would really appreciate if someone would explain how to make the active projects section, with the triangle.
Also I need the active projects section to load from an entity in core data.
I would also really appreciate if you could post an example.
Apple's "SourceView" sample should be helpful with this:
Apple Example
PXSourceList is an open source NSOutlineView subclass specifically built for mimicking what you posted. I've used it in a number of projects, and it's very easy and flexible to use. I highly recommend it.
The active projects section is probably just a 1 column NSOutlineView with no column header.