This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iOS developer resource ... all kind of plugin | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Basic set up for API |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func fetchJSON(from url: URL) -> RACSignal { | |
print("Fetching: \(url.absoluteString)") | |
// 1 | |
return RACSignal.createSignal({(_ subscriber: RACSubscriber) -> RACDisposable in | |
// 2 | |
var dataTask = self.session.dataTask(withURL: url, completionHandler: {(_ data: Data, _ response: URLResponse, _ .error: Error) -> Void in | |
// TODO: Handle retrieved data | |
}) | |
// 3 | |
dataTask.resume() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following viewDidLoad will (1) set two locations, (2) remove all the previous annotations, and (3) call user defined helper functions (to get route points and draw the route). | |
var loc1: CLLocationCoordinate2D | |
loc1.latitude = 29.0167 | |
loc1.longitude = 77.3833 | |
var origin = Annotation(title: "loc1", subTitle: "Home1", andCoordinate: loc1) | |
objMapView.addAnnotation(origin) | |
// Destination Location. | |
var loc2: CLLocationCoordinate2D | |
loc2.latitude = 19.076000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sparteLine : UIView = { | |
var view = UIView() | |
view.backgroundColor = UIColor.blue | |
view.translatesAutoresizingMaskIntoConstraints = false | |
return view | |
}() | |
//Dish Comment | |
var disComment : LeftPaddingLabel = { | |
var label = LeftPaddingLabel() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override func setEditing(_ editing: Bool, animated: Bool) { | |
// Toggles the edit button state | |
super.setEditing(editing, animated: animated) | |
// Toggles the actual editing actions appearing on a table view | |
tableView.setEditing(editing, animated: true) | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
talk with segue : | |
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { | |
//TODO: | |
// showShop(shop: shops[indexPath.row]) | |
performSegue(withIdentifier: "ShopIdentifire", sender: indexPath) | |
} | |
override func prepare(for segue: UIStoryboardSegue, sender: Any?) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
item[details] | |
Mixed Herbs + €0, Base - Regular Base, Sauce - Our Signature Tomato Sauce, Cheese - Mozzarella, Topping 1 - None, Topping 2 - None, Topping 3 - None, Topping 4 - None, Would You Like Any Extra Toppings? (€1 per topping) - Ham, , | |
item[dishId] | |
464 | |
item[price] | |
6.99 | |
item[quantity] | |
1 | |
item[shopId] | |
51 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
What responsibilities will you get when working with us? | |
Writing clean, architecturally sound and maintainable code. | |
Maintaining the current iOS apps by fixing bugs and improving application performance. | |
Working with the other iOS engineers to create a seamless app. | |
Delivering features in tight deadlines. | |
Creating a multiple-language mobile app for the entire Middle East. | |
Collaborating with cross-functional teams to create, design and ship new features. | |
Unit-test code for robustness, include edge cases, usability and reliability. | |
Working with our testing team to ensure 100% test coverage. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
//import XCGLogger | |
typealias CheckResult = (Bool)->() | |
class NewsViewController: BaseViewController { | |
OlderNewer