Articles Tagged 'NSURL'

Very short snippet: NSConnection POST with parameters

che in modalità POST . The object NSMutableURLRequest can be utilized either as GET that mode POST . . The parameters, however, must be formatted as if they are GET , ie in the sequence nome_campo1=valore1&nome_campo2=valore2&... . Here is a useful snippets to simplify the construction of fields:

More ...

Connect to Foursquare via ASIHTTPRequest

Foursquare allows through its API to access a range of features (many in this version 1) directly from our iPhone apps. We see, then, how to integrate access to Foursquare in Objective-C using the known framework ASIHTTPRequest to authenticate base.

More ...

UIWebView to intercept the opening of a Link

The object UIWebView component is a very useful and versatile, ideal for solving many problems. Not only is perfect to display an HTML page on the net, but you can use it for other useful purposes such as:

  • Quickly display PDF documents
  • View videos or pictures
  • Display content HTML / CSS Local
  • Fake content in the prototype phase ...

More ...

Very short snippet: NSURL, and various possible

Returns the name of a file from the object NSURLRequest , allowing you to decide whether or not its extension:

More ...

Very short snippet: UIWebView, and display PDF files inside

The object UIWebView can be used for the display of numerous files. For example you can use it to display - as well as QuickTime movies or YouTube - PDF or HTML files into our own code.

More ...


Stop SOPA