Posts

Swift Qick

@IBDesignable @IBInspectable 3D touch alignment alpha anchor animate animateWithDuration animation animation chains appearance arc4random arc4random_uniform array async attributedPlaceholder Attributes Inspector autoresize subviews autoresizesSubviews autoresizing AVFoundation AVKit AVPlayer backgroundcolor bounce Bundle.main.url button menu CAGradientLayer capitalizedString case cellForRowAtIndexPath cgaffinetransform CGAffineTransformMakeScale Class clears graphics context clip to bounds closures collection color manager color picker color saver. command command equals completion handler componentsSeparatedByCharactersInSet constant constraint constraints content hugging priority content mode contentmode control flow core data custom fonts customize data dataTaskWithURL Date default delay dequeueReusableCellWithIdentifier dictionary didFinishPickingImage didSet dismissViewControllerAnimated DispatchQueue distri...

Case Insensitive Search with Swift, PHP and MySQL

Image
In these 3 videos I am going to share how to implement case insensitive search with Swift, PHP and MySQL. I am going to use UISearchBar to let user type their search word and then send HTTP POST request to a server side PHP script which will connect to MySQL database and will perform SELECT SQL query. Found records will then be returned in a form of JSON document back to our Swift mobile app and be displayed in a UITableView. Also,  check out my new video course   http://goo.gl/gTxpwH  if you would like to learn how to implement essential features like User sign up, Sign in, Password reset, Email verification, Profile details update and more with Swift, PHP and MySQL. Download Xcode project source code Download PHP scripts source code

JSON Data Set Sample

https://adobe.github.io/Spry/samples/data_region/JSONDataSetSample.html The JSON output from different Server APIs can range from simple to highly nested and complex. The examples on this page attempt to illustrate how the JSON Data Set treats specific formats, and gives examples of the different constructor options that allow the user to tweak its behavior. See our  JSON Primer  for more information. Example 1  - JSON Array with simple data types as elements. Example 2  - JSON Array with objects as elements Example 3  - JSON Object Example 4  - The "path" constructor option. Example 5  - The "path" constructor option and JSON Array with objects as elements. Example 6  - The "subPaths" constructor option with a single path. Example 7  - The "subPaths" constructor option with multiple paths. Example 8  - "path" constructor option example. Example 9  - Multiple matches for a single sub path. Example 10  - Multiple ...