List of available filters - ios

I'm looking for the list of filters provided by Apple to apply on Images.
Summery : I want to create an application which will allow user to edit photos. I'm looking into Core Image Programming Guide, but not able to get full list of filters already available. Right now referring Core Image Filter Reference
Also I need to build this application with new language swift. And it would be my first swift app.So can we use this framework with Swift?
Any help is appreciated.

I've created a website called CIFilter.io which lists all the Core Image filters and their parameters (to learn more about how it works you can read this blog post). The documentation archive link you mentioned lists most of them, but as far as I know, CIFilter.io is the most up to date reference for documentation.
CIFilter is usable in Swift. I'd recommend reading this other blog post which provides example code for generating a color wheel using CIHueSaturationValueGradient for an example.

Related

KML Viewer for iOS (any update example?)

I´m beginner and I trying to add on a predefined routes on a map application. I have seen the example of Apple's documentation: KMLViewer
It's just what I need, but uses outdated procedures, such as not using ARC (which can be edited) and other functions not well as updating. The advantage would KML me is that I create a file from My Maps in Google, with fully custom route.
I have seen examples (GitHub and Stackoverflow) using alternative libraries, but I get them working.
Do you know of any valid example for at least iOS 7.1 or alternative?

Tagging in ios development

I'm an absolute newbie on iOS Development at the minute so please pardon me if this seems like such a simple question to ask.
I want to build a project - almost like a note taking application - in which the user will be able to associate tags to their inputs. I'm sure many have seen them before - it's used in things like hashtags, or to give an example of an iOS app - Journalling apps like DayOne have it. It's basically used to generate tags for easy retrieval of a particular article.
My question is - how do you go about creating these kinds of tags? Particularly - how do you implement the tagging system that can generate custom tags for articles in the app?
Is it something that is built into Cocoa/SDK or do i have to look at something more complex like Core Data (NSPredicates) to learn how to create something like that?
OR is it something that has to be done programatically rather than a built in system in SDK?
Thanks.
In a super simple form (i.e. there are many ways you can build on this to make it scalable):
If each note is text, create an object with properties for the text and the tags
Make the tags property an array of strings
Store the notes in an array initially (archive to save to disk, or just practice with a non-saved version)
Make the user enter the tags (auto-tagging is an interesting topic...)
Consider using a token field (google for 3rd party implementations) for tag entry
Now, when a user starts a search for tagged content, iterate through each of the notes you have and run a predicate on the tag array. This could be done using NSPredicate, or you could ensure that all tags are saved in lower case and, to start with, require exact matching - so you could use '[tagArray containsObject:userEnteredTag];`
Then:
Look at real predicates
Look at Core Data (or SQLite if you love it)
You will need to use Core Data or SQLite3. Personally I would use SQLite but it is down to preference. I have used both but if you have any SQL knowledge then I wouldn't use Core Data. Having created an app with CoreData and using a lot of NSPredicates I found that the app had a lot of bug that appeared over time.
I changed it to use SQLite and now it runs perfectly.
As you are new to iOS I would recommend you take a look at Ray Wenderlich's tutorials. I learnt a lot from there.
http://www.raywenderlich.com/913/sqlite-tutorial-for-ios-making-our-app

iOS Server Driven UI Example/Tutorial

I have already watched Apples's WWDC 2010 video of Building a Server-driven User Experience.
It is really a great concept but i need a simple example or tutorial to start with.
I have searched hours in Google for iOS Dynamic UI generation from XML or JSON based web services but didn't find anything useful so far.
More Information:
I am developing an iPhone application where i present user a Input Form like questionnaire with different types of question with different UI Controls to answer like Text Field, switches, image, audio, video etc.
Now I have different questionnaire for different user, I want to generate them dynamically and also store completed form in Core Data.
Any help or guidance to solve this problem will be greatly appreciated.
Thanx
have you seen heroku's Core Data Buildpack video?
http://mobile.heroku.com/

Integrating Google Docs API

I'm just beginning with programming, but i wanted to know if it's possible to use google docs api to make documents on another site using the google docs text editor?
Is there some sort of way i can put the google docs text editor onto a website so that we can use that for document creation instead of tiny mce?
Basically the functionality needed would be documents created, openly shared, a postable version of it (take html code) -- so it can go on the document display page, and
Of course there would be google login and everything, but i just wanted to see if this would work.
No, that is not possible, sorry.

Create an XML file to save app data

I am creating an app where there is a page which enables users to create a small project, I mean painting with the brush, adding labels, text fields, and adding UIImageViews and placing an image in them using the iOS library. then a screenshot is taken (for now) and it is uploaded on dropbox. from a tableview the users will be able to see all the uploaded documents. but the point is that it is only a screenshot. I wanted to upload things in a way that the textfields could be scrolled, and when I add the video feature, see the video. then add comments. I thought of uploading all the images, photos, textviews separately, and then save all the position of the pieces in an XML, so that the projects can be viewed from the table view: when a row is selected the app opens the XML and in base of that composes all the pieces like a puzzle. I decided to use Google library, (data), but I can't seem to find where to download the sample project with the library. so I put it at a side. I then tried to use NSXML parser, but I only see tutorials that enable asccess to an xml file, not actually create one according to each project!! Help!! How can I proceed? Any suggestions or tutorials? May be were to give me the link to data project, and please not to the google developer page or trunk, because it is a mess!!
thanks for the help in advance
There is a very good tutorial by Ray Wenderlich's web site (a great iOS dev and tutorial resource) on how to create XML with GDataXML here:
http://www.raywenderlich.com/725/how-to-read-and-write-xml-documents-with-gdataxml
Here is the GitHub repo: https://github.com/neonichu/GDataXML
OR you could use the very simple, very easy to use standard NSPropertyListSerialization:dataWithPropertyList:format:options:error and this is how you would do it:
Populate it with NSArray's and NSDictionary's (this is the part that requires the most code - but it isn't difficult to do). The objects in your dictionary are the children and sub children (which may be NSArray's of NSDictionaries). Then use the following to write it out:
NSData *xmlData = [NSPropertyListSerialization dataWithPropertyList: resultLists
format: NSPropertyListXMLFormat_v1_0
options: 0
error: &error];
//----- DO ERROR CHECKING (left out to simplify)
BOOL result = [xmlData writeToFile:arrayFileName atomically:YES];
Boom. An XML file.
I'm backing up a core data file and it is relatively trivial to do.
I normally like Ray Wenderlich's web site, but in this case he makes something that is very easy to do very complex. I've done it that way and honestly, the Apple way is much, much easier.

Resources