blob_id
stringlengths 40
40
| directory_id
stringlengths 40
40
| path
stringlengths 2
625
| content_id
stringlengths 40
40
| detected_licenses
sequencelengths 0
47
| license_type
stringclasses 2
values | repo_name
stringlengths 5
116
| snapshot_id
stringlengths 40
40
| revision_id
stringlengths 40
40
| branch_name
stringclasses 643
values | visit_date
timestamp[ns] | revision_date
timestamp[ns] | committer_date
timestamp[ns] | github_id
int64 80.4k
689M
⌀ | star_events_count
int64 0
209k
| fork_events_count
int64 0
110k
| gha_license_id
stringclasses 16
values | gha_event_created_at
timestamp[ns] | gha_created_at
timestamp[ns] | gha_language
stringclasses 85
values | src_encoding
stringclasses 7
values | language
stringclasses 1
value | is_vendor
bool 1
class | is_generated
bool 1
class | length_bytes
int64 4
6.44M
| extension
stringclasses 17
values | content
stringlengths 4
6.44M
| duplicates
sequencelengths 1
9.02k
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ce6e80a9614d4e8cf3431acde241e31daf487daf | 22273ca0fca2d7e000fb99713fab8b056baf8a65 | /IOS_Xcode8_iPad/PRO2/PRO2UITests/PRO2UITests.swift | 161c66deebc5a4f982ebb3a3fbbca4c52034ea88 | [] | no_license | npfeng900/IOS_Xode8_iPad | 4e7a3bfff1d45e07a927756f0c5517fdac6f2b8f | d9ace251fa0af47fdabf775617702b9e6f5c6658 | refs/heads/master | 2021-01-11T09:18:39.543515 | 2016-12-20T15:12:06 | 2016-12-20T15:12:06 | 76,960,636 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 1,231 | swift | //
// PRO2UITests.swift
// PRO2UITests
//
// Created by Niu Panfeng on 8/2/16.
// Copyright © 2016 NaPaFeng. All rights reserved.
//
import XCTest
class PRO2UITests: XCTestCase {
override func setUp() {
super.setUp()
// Put setup code here. This method is called before the invocation of each test method in the class.
// In UI tests it is usually best to stop immediately when a failure occurs.
continueAfterFailure = false
// UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.
XCUIApplication().launch()
// In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
}
override func tearDown() {
// Put teardown code here. This method is called after the invocation of each test method in the class.
super.tearDown()
}
func testExample() {
// Use recording to get started writing UI tests.
// Use XCTAssert and related functions to verify your tests produce the correct results.
}
}
| [
155665,
237599,
229414,
278571,
229425,
180279,
229431,
319543,
213051,
286787,
237638,
311373,
196687,
278607,
311377,
368732,
180317,
278637,
319599,
278642,
131190,
131199,
278669,
278676,
311447,
327834,
278684,
278690,
311459,
278698,
278703,
278707,
278713,
180409,
295099,
139459,
131270,
229591,
147679,
311520,
147680,
319719,
286957,
319764,
278805,
311582,
278817,
311596,
336177,
98611,
278843,
287040,
319812,
311622,
229716,
278895,
287089,
139641,
311679,
311692,
106893,
156069,
311723,
377265,
311739,
319931,
278974,
336319,
311744,
278979,
336323,
278988,
278992,
279000,
279009,
369121,
188899,
279014,
319976,
279017,
311787,
319986,
279030,
311800,
279033,
279042,
287237,
377352,
279053,
303634,
303635,
279060,
279061,
279066,
188954,
279092,
377419,
303693,
115287,
189016,
287319,
295518,
287327,
279143,
279150,
287345,
287348,
189054,
303743,
287359,
164487,
279176,
311944,
344714,
311950,
311953,
287379,
336531,
295575,
303772,
205469,
221853,
279207,
295591,
295598,
279215,
279218,
164532,
287412,
303802,
287418,
66243,
287434,
287438,
279249,
303826,
369365,
369366,
279253,
230105,
295653,
230120,
279278,
312046,
230133,
279293,
205566,
295688,
312076,
295698,
221980,
336678,
262952,
279337,
262953,
262957,
164655,
328495,
303921,
230198,
295745,
222017,
279379,
295769,
230238,
230239,
279393,
303973,
279398,
295797,
295799,
279418,
336765,
287623,
279434,
320394,
189327,
189349,
279465,
304050,
189373,
213956,
345030,
213961,
279499,
304086,
304104,
123880,
320492,
320495,
287730,
320504,
214009,
312313,
312315,
312317,
328701,
328705,
418819,
320520,
230411,
320526,
238611,
140311,
238617,
197658,
336930,
132140,
189487,
312372,
238646,
238650,
320571,
336962,
238663,
205911,
296023,
156763,
214116,
230500,
279659,
230514,
238706,
312435,
279666,
279686,
222344,
337037,
296091,
238764,
148674,
312519,
279752,
148687,
189651,
279766,
189656,
279775,
304352,
304353,
279780,
279789,
279803,
320769,
312588,
320795,
320802,
304422,
312628,
345398,
222523,
181568,
279872,
279874,
304457,
230730,
345418,
337228,
296269,
222542,
238928,
296274,
230757,
296304,
312688,
230772,
337280,
296328,
296330,
304523,
9618,
279955,
148899,
279979,
279980,
173492,
279988,
280003,
370122,
280011,
337359,
329168,
312785,
222674,
329170,
280020,
280025,
239069,
320997,
280042,
280043,
329198,
337391,
296434,
288248,
288252,
312830,
230922,
304655,
329231,
230933,
222754,
312879,
230960,
288305,
239159,
157246,
288319,
288322,
280131,
124486,
288328,
230999,
239192,
345697,
312937,
312941,
206447,
288377,
337533,
280193,
239238,
288391,
239251,
280217,
198304,
337590,
280252,
280253,
296636,
321217,
280259,
321220,
239305,
296649,
280266,
9935,
313042,
280279,
18139,
280285,
321250,
337638,
181992,
288492,
34547,
67316,
313082,
288508,
288515,
280326,
116491,
280333,
124691,
116502,
321308,
321309,
280367,
280373,
280377,
321338,
280381,
345918,
280386,
280391,
280396,
18263,
370526,
296807,
296815,
313200,
313204,
280451,
67464,
305032,
214936,
337816,
239515,
214943,
313257,
288698,
214978,
280517,
280518,
214983,
231382,
329696,
190437,
313322,
329707,
174058,
296942,
124912,
313338,
239610,
182277,
313356,
305173,
223269,
354342,
354346,
313388,
124974,
215095,
288829,
288835,
313415,
239689,
354386,
280660,
223317,
329812,
321632,
280674,
280676,
313446,
215144,
288878,
288890,
215165,
280708,
329884,
215204,
280761,
223418,
280767,
338118,
280779,
321744,
280792,
280803,
338151,
182503,
125166,
125170,
395511,
313595,
125184,
125192,
125197,
125200,
338196,
125204,
125215,
338217,
125225,
321839,
125236,
280903,
289109,
379224,
239973,
313703,
280938,
321901,
354671,
199030,
223611,
248188,
313726,
158087,
313736,
240020,
190870,
190872,
289185,
305572,
289195,
338359,
289229,
281038,
281039,
281071,
322057,
182802,
322077,
289328,
338491,
322119,
281165,
281170,
281200,
297600,
289435,
314020,
248494,
166581,
314043,
363212,
158424,
322269,
338658,
289511,
330473,
330476,
289517,
215790,
125683,
199415,
322302,
289534,
35584,
322312,
346889,
264971,
322320,
166677,
207639,
281378,
289580,
289599,
281407,
281426,
281434,
322396,
281444,
207735,
314240,
158594,
330627,
240517,
289691,
240543,
289699,
289704,
289720,
289723,
281541,
19398,
191445,
183254,
207839,
142309,
314343,
183276,
289773,
248815,
240631,
330759,
322571,
330766,
281647,
322609,
314437,
207954,
339031,
314458,
281698,
281699,
322664,
314493,
150656,
347286,
330912,
339106,
306339,
249003,
208044,
322733,
3243,
339131,
290001,
339167,
298209,
290030,
208123,
322826,
126229,
298290,
208179,
159033,
216387,
372039,
224591,
331091,
314708,
150868,
314711,
314721,
281958,
314727,
134504,
306541,
314740,
314742,
314745,
224637,
306558,
290176,
306561,
314752,
314759,
298378,
314765,
314771,
306580,
224662,
282008,
314776,
282013,
290206,
314788,
298406,
314790,
282023,
241067,
314797,
306630,
306634,
339403,
191980,
282097,
306678,
191991,
290304,
323079,
323083,
323088,
282132,
282135,
175640,
282147,
306730,
290359,
323132,
282182,
224848,
224852,
290391,
306777,
282214,
224874,
314997,
290425,
339579,
282244,
282248,
323208,
323226,
282272,
282279,
298664,
298666,
306875,
282302,
323262,
323265,
282309,
306891,
241360,
282321,
241366,
282330,
282336,
12009,
282347,
282349,
323315,
200444,
282366,
249606,
282375,
323335,
282379,
216844,
118549,
282390,
282399,
241440,
282401,
339746,
315172,
216868,
241447,
282418,
282424,
282428,
413500,
241471,
315209,
159563,
307024,
241494,
307030,
307038,
282471,
282476,
339840,
315265,
282503,
315272,
315275,
184207,
282517,
298912,
118693,
298921,
126896,
200628,
282572,
282573,
323554,
298987,
282634,
241695,
102441,
315433,
102446,
282671,
241717,
307269,
233548,
315468,
315477,
200795,
323678,
315488,
315489,
45154,
307306,
233578,
241809,
323730,
299166,
233635,
299176,
323761,
184498,
258233,
299197,
299202,
176325,
299208,
233678,
282832,
356575,
307431,
184574,
217352,
282908,
299294,
282912,
233761,
282920,
315698,
332084,
282938,
307514,
127292,
168251,
323914,
201037,
282959,
250196,
168280,
323934,
381286,
242027,
242028,
250227,
315768,
291193,
315769,
291194,
291200,
242059,
315798,
291225,
242079,
283039,
299449,
291266,
283088,
283089,
176602,
242138,
160224,
291297,
283138,
233987,
324098,
340489,
283154,
291359,
283185,
234037,
340539,
332379,
111197,
242274,
291455,
316044,
184974,
316048,
316050,
340645,
176810,
299698,
291529,
225996,
135888,
242385,
299737,
234216,
234233,
242428,
291584,
299777,
291591,
291605,
283418,
234276,
283431,
234290,
201534,
283466,
201562,
234330,
275294,
349025,
357219,
177002,
308075,
242540,
201590,
177018,
308093,
291713,
340865,
299912,
316299,
234382,
308111,
308113,
209820,
283551,
177074,
127945,
340960,
234469,
340967,
324587,
234476,
201721,
234499,
234513,
316441,
300087,
21567,
308288,
160834,
349254,
300109,
234578,
250965,
234588,
250982,
234606,
300145,
300147,
234626,
234635,
177297,
308375,
324761,
119965,
234655,
300192,
234662,
300200,
324790,
300215,
283841,
283846,
283849,
316628,
251124,
316661,
283894,
234741,
292092,
234756,
242955,
177420,
292145,
300342,
333114,
333115,
193858,
300355,
300354,
234830,
283990,
357720,
300378,
300379,
316764,
292194,
284015,
234864,
243073,
292242,
112019,
234902,
333224,
284086,
259513,
284090,
54719,
415170,
292291,
300488,
300490,
234957,
144862,
300526,
308722,
300539,
210429,
292359,
218632,
316951,
374297,
235069,
349764,
194118,
292424,
292426,
333389,
349780,
128600,
235096,
300643,
300645,
243306,
325246,
333438,
235136,
317102,
300725,
300729,
333508,
333522,
325345,
153318,
333543,
284410,
284425,
300810,
300812,
284430,
161553,
284436,
325403,
341791,
325411,
186148,
186149,
333609,
284460,
300849,
325444,
153416,
325449,
317268,
325460,
341846,
284508,
300893,
284515,
276326,
292713,
292719,
325491,
333687,
317305,
317308,
333700,
325508,
243590,
243592,
325514,
350091,
350092,
350102,
333727,
219046,
333734,
284584,
292783,
300983,
153553,
292835,
6116,
292838,
317416,
325620,
333827,
243720,
292901,
325675,
243763,
325695,
333902,
227432,
194667,
284789,
284790,
227459,
194692,
235661,
333968,
153752,
284827,
333990,
284840,
284843,
227517,
309443,
227525,
301255,
227536,
301270,
301271,
325857,
334049,
317676,
309504,
194832,
227601,
325904,
334104,
211239,
334121,
317738,
325930,
227655,
383309,
391521,
285031,
416103,
227702,
211327,
227721,
227730,
285074,
285083,
293275,
317851,
227743,
285089,
293281,
301482,
375211,
334259,
293309,
317889,
326083,
129484,
326093,
285152,
195044,
334315,
236020,
293368,
317949,
342537,
309770,
334345,
342560,
227881,
293420,
236080,
23093,
244279,
244280,
301635,
309831,
55880,
301647,
326229,
309847,
244311,
244326,
277095,
301688,
244345,
301702,
334473,
326288,
227991,
285348,
318127,
285360,
293552,
285362,
342705,
154295,
342757,
285419,
170735,
342775,
375552,
228099,
285443,
285450,
326413,
285457,
285467,
326428,
318247,
203560,
293673,
318251,
301872,
285493,
285496,
301883,
342846,
293702,
318279,
244569,
301919,
293729,
351078,
310132,
228214,
269179,
228232,
416649,
252812,
293780,
310166,
293801,
326571,
326580,
326586,
359365,
211913,
56270,
203758,
293894,
293911,
326684,
113710,
318515,
203829,
285795,
228457,
318571,
187508,
302202,
285819,
285823,
285833,
285834,
318602,
228492,
162962,
187539,
326803,
285850,
302239,
302251,
294069,
294075,
64699,
228541,
343230,
310496,
228587,
302319,
228608,
318732,
318746,
245018,
130342,
130344,
130347,
286012,
294210,
294220,
318804,
294236,
327030,
310650,
179586,
294278,
318860,
368012,
318876,
343457,
245160,
286128,
286133,
310714,
302523,
228796,
302530,
228804,
310725,
302539,
310731,
310735,
327122,
310747,
286176,
187877,
310758,
40439,
286201,
359931,
245249,
228868,
302602,
294413,
359949,
302613,
302620,
245291,
130622,
310853,
286281,
196184,
212574,
204386,
204394,
138862,
310896,
294517,
286344,
179853,
286351,
188049,
229011,
179868,
229021,
302751,
245413,
212649,
286387,
286392,
302778,
286400,
212684,
302798,
286419,
278232,
278237,
294621,
278241,
294629,
286457,
286463,
319232,
278292,
278294,
286507,
294699,
319289,
237397,
188250,
237411,
327556,
188293,
311183,
294806,
294808,
319393,
294820,
294824,
343993,
98240,
294849,
24531,
294887,
278507,
311277,
327666,
278515
] |
2a12071ec3cc8a29c5016161208fba18936cf1bd | 4187500718f230fb1aed7467aaa7f089ed2945b5 | /IphoneInventoryTracker/Controllers/AddStockController/ParentSheetSizeController/ParentSheetSize_TableViewController.swift | 62cc3e3a17f0f76ad5bf88ba7de4cb6e53603245 | [] | no_license | victis23/Inventory-Tracker-Iphone-App | cd8bc360233794028803dbbb1ef7cec32fc557d6 | 1b64bf133c00e2cff3f31e80a39c7e37d796ac77 | refs/heads/variableVender | 2021-07-06T18:49:42.812272 | 2021-01-03T22:49:04 | 2021-01-03T22:49:04 | 220,559,470 | 0 | 0 | null | 2020-01-24T22:16:36 | 2019-11-08T22:45:29 | Swift | UTF-8 | Swift | false | false | 8,782 | swift | //
// ParentSheetSize_TableViewController.swift
// IphoneInventoryTracker
//
// Created by Scott Leonard on 10/6/19.
// Copyright © 2019 Scott Leonard. All rights reserved.
//
import UIKit
/// Allows user to select parent sheet size.
class ParentSheetSize_TableViewController: UITableViewController {
//MARK: Keys
private struct SegueIdentifiers {
static var returnToNewStock = "unwindToNewStock"
}
//MARK: Local data types
//Sections for tableview.
private enum Section {
case paper
case envelopes
}
//Local Data type to be held by tableview using different initializers.
fileprivate struct StockGroupings :Hashable {
var paper : Stock?
var envelopes :Stock?
var defaultTextForPaper :String?
var defaultTextForEnvelope :String?
init(paper :Stock) {
self.paper = paper
}
init(envelopes :Stock) {
self.envelopes = envelopes
}
init(defaultTextForPaper :String) {
self.defaultTextForPaper = defaultTextForPaper
}
init(defaultTextForEnvelope :String) {
self.defaultTextForEnvelope = defaultTextForEnvelope
}
}
//MARK: Privated class properties
private var dataSource :Datasource!
fileprivate var selectPaper = [StockGroupings(defaultTextForPaper: "Select Option")]
fileprivate var selectEnvelope = [StockGroupings(defaultTextForEnvelope: "Select Option")]
fileprivate var defaultPaperStock :[StockGroupings] = [
StockGroupings(paper: Stock(nil, ParentSize(rawValue: "8.5 x 11"), nil, nil, nil, nil)),
StockGroupings(paper: Stock(nil, ParentSize(rawValue: "8.5 x 14"), nil, nil, nil, nil)),
StockGroupings(paper: Stock(nil, ParentSize(rawValue: "11 x 17"), nil, nil, nil, nil)),
StockGroupings(paper: Stock(nil, ParentSize(rawValue: "12 x 18"), nil, nil, nil, nil))
]
fileprivate var defaultEnvelopes : [StockGroupings] = [
StockGroupings(envelopes: Stock(nil, ParentSize(rawValue: "#9 Envelope"), nil, nil, nil, nil)),
StockGroupings(envelopes: Stock(nil, ParentSize(rawValue: "#10 Envelope"), nil, nil, nil, nil))
]
//MARK: Class Properties
var paperCellIsHidden = true
var envelopeIsHidden = true
var userSelectionItem :String!
var selectedModel : Stock?
//MARK: State
override func viewDidLoad() {
super.viewDidLoad()
setDataSource()
}
// Avoid error for placing values onto a tableview that is not within the view hierachy.
// tableview.window != nil at this point in controller's life cycle.
override func viewDidAppear(_ animated: Bool) {
super.viewDidAppear(animated)
createSnapShot(selectPaper, selectEnvelope, animated: true)
}
//MARK: Methods
fileprivate func setValueLayout(_ model:[StockGroupings], indexPath:IndexPath){
// This model object is originating from tableView(_:didSelectRowAt:)
let object = model[indexPath.row]
var item : Stock?
// assigns the value of variable: item based on whether the incoming StockGroupings array contains a value for the given property. The default value in this case will always be paper.
if object.envelopes != nil {
item = object.envelopes
}else{
item = object.paper
}
// We assign the string value of the enum type: parentSheetSize
userSelectionItem = item?.parentSheetSize?.rawValue
selectedModel = item
// We reload the data so that the checkmark appears next to the selected item. We could have used a delegate/protocol pattern here but did not out of laziness.
tableView.reloadData()
// This is the convoluted part and the reason why we took a different approach to get the same results in the StockWeight_TableViewController.swift.
//This is only being utilized in the code base to demonstrate the alternative to the approach in the aformentioned.
Timer.scheduledTimer(withTimeInterval: 1, repeats: false) { [weak self](timer) in
switch item {
case object.envelopes:
self?.envelopeIsHidden = true
case object.paper:
self?.paperCellIsHidden = true
default:
break
}
self?.performSegue(withIdentifier: SegueIdentifiers.returnToNewStock, sender: self)
}
}
fileprivate func createSnapShot(_ stock : [StockGroupings], _ envelopes : [StockGroupings], animated: Bool){
var snapShot = NSDiffableDataSourceSnapshot<Section,StockGroupings>()
snapShot.appendSections([.paper, .envelopes])
snapShot.appendItems(stock, toSection: .paper)
snapShot.appendItems(envelopes, toSection: .envelopes)
UIView.animate(withDuration: 0.50) { [weak self] in
self?.dataSource.apply(snapShot, animatingDifferences: animated, completion: nil)
}
}
//MARK: Navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
if segue.identifier == SegueIdentifiers.returnToNewStock {
let destination = segue.destination as! NewStock_TableViewController
destination.sheetSizeLabel.text = userSelectionItem
guard let model = selectedModel else {return}
destination.updateNewStock(model)
}
}
}
//MARK: - TableView DataSource & Delegate Methods
extension ParentSheetSize_TableViewController {
// Required class if you want to have multiple sections.
private class Datasource : UITableViewDiffableDataSource<Section,StockGroupings>{
// Sets title for each section.
override func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
switch section {
case 0:
return "Paper"
case 1:
return "Envelopes"
default:
return nil
}
}
}
func setDataSource(){
dataSource = Datasource(tableView: tableView, cellProvider: { [weak self] (tableView, indexPath, parentSizeObject) -> UITableViewCell? in
let section = indexPath.section
let cell = tableView.dequeueReusableCell(withIdentifier: Keys.paper, for: indexPath) as! CustomCellTableViewCell
guard let paperCellIsHidden = self?.paperCellIsHidden, let envelopeIsHidden = self?.envelopeIsHidden else {fatalError()}
// determines which section each value will be placed.
switch section {
case 0:
if paperCellIsHidden {
cell.nameLabel.text = parentSizeObject.defaultTextForPaper
cell.nameLabel.textColor = .systemBlue
cell.accessoryType = .none
}else{
cell.nameLabel.text = parentSizeObject.paper?.parentSheetSize?.rawValue
cell.nameLabel.textColor = .label
if self?.userSelectionItem == parentSizeObject.paper?.parentSheetSize?.rawValue {
cell.accessoryType = .checkmark
}else{
cell.accessoryType = .none
}
}
case 1:
if envelopeIsHidden {
cell.nameLabel.text = parentSizeObject.defaultTextForEnvelope
cell.nameLabel.textColor = .systemBlue
cell.accessoryType = .none
}else{
cell.nameLabel.text = parentSizeObject.envelopes?.parentSheetSize?.rawValue
cell.nameLabel.textColor = .label
if self?.userSelectionItem == parentSizeObject.envelopes?.parentSheetSize?.rawValue {
cell.accessoryType = .checkmark
}else{
cell.accessoryType = .none
}
}
default:
break
}
return cell
})
}
override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return 70
}
// A more convoluted and badly written version of StockWeight_Tableview's equivalent method.
/// Controls which set of values the user sees when the tableview loads and once the first selection is made.
/// - Parameters:
/// - tableView: current tableview for controller.
/// - indexPath: index for item that user selected.
/// - important: The switch statement always evaluates first when the view has just loaded. This will control what prompts the user sees upon the view loading.
/// - note: This code is an alternative version to what can be found in `StockWeight_TableViewController`
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
// Depending on which section was selected the first time snapshot is updated.
if paperCellIsHidden == false {
switch indexPath.section {
case 0:
setValueLayout(defaultPaperStock, indexPath: indexPath)
default:
break
}
}else if envelopeIsHidden == false {
switch indexPath.section {
case 1:
setValueLayout(defaultEnvelopes, indexPath: indexPath)
default:
break
}
}
let paperSection = IndexPath(row: 0, section: 0)
let envelopeSection = IndexPath(row: 0, section: 1)
// Sets default values for the view.
switch indexPath {
case paperSection:
paperCellIsHidden = false
envelopeIsHidden = true
createSnapShot(defaultPaperStock, selectEnvelope, animated: true)
case envelopeSection:
envelopeIsHidden = false
paperCellIsHidden = true
createSnapShot(selectPaper, defaultEnvelopes, animated: true)
default:
break
}
tableView.deselectRow(at: indexPath, animated: true)
}
}
| [
-1
] |
d52a090ea31d0af6086fe4353c8beb81c3dd4aa8 | 6b675128f2f1ea899c9bad60d15925d701ba37d8 | /DemoAppMeriDukan/DemoAppMeriDukan/ContentView.swift | 0d0379b67c3e706cc1b0787a203fa8f2cf8588ec | [] | no_license | HirenAgravat/DemoAppMeriDukan | 0456a7d90bf47d200bbd22abeda7f58f4a41643c | 81e13417707723864211ed84099495f705f346ed | refs/heads/main | 2023-07-04T18:28:23.612623 | 2021-09-03T05:45:23 | 2021-09-03T05:45:23 | 395,540,237 | 0 | 0 | null | 2021-09-03T05:42:11 | 2021-08-13T06:14:53 | Swift | UTF-8 | Swift | false | false | 326 | swift | //
// ContentView.swift
// DemoAppMeriDukan
//
// Created by IOSDEV1 on 13/08/21.
//
import SwiftUI
struct ContentView: View {
var body: some View {
Text("Hello")
.padding()
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}
| [
-1
] |
675b2d0f3d0599b16f3d79052de353523fe0697c | b09c7106cd1f134971508b4aa2009604928693b3 | /HERefreshDemo/HERefresh/default/HERefreshDefaultFooter.swift | c97d86b2e48463251a801d8fb94e803ead832a82 | [] | no_license | myandroid007/HERefresh | d104abcd435ac1bdbc341f169f1e06b5500f7383 | 172b6f4c8827258692c7863351ccabe01ac26875 | refs/heads/master | 2021-01-13T03:09:58.329023 | 2016-11-19T08:34:23 | 2016-11-19T08:34:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 664 | swift | //
// HERefreshDefaultFooter.swift
// PullToRefereach
//
// Created by 贺俊孟 on 16/11/12.
// Copyright © 2016年 User. All rights reserved.
//
import UIKit
class HERefreshDefaultFooter: HERefreshFooter {
}
extension UIScrollView{
func addDefaultFooter(action:@escaping (()->())){
let frame = CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 40)
let defaultFooterView = HERefreshDefaultFooterView(frame: frame)
let defaultFooter = HERefreshDefaultFooter(withRefreshView: defaultFooterView)
defaultFooter.isHiddenWhenNoMoreData = true
self.addRefreshFooter(defaultFooter, action: action)
}
}
| [
-1
] |
faaf6c743649e1a74de2ff201f4956ce8135a9f7 | 623e5eb3ccec50090bab945b839e03a5e793e6aa | /appointment/Scenes/Home/Timeline/TimelinePresenter.swift | 9ea8374a343a1b55c56e1f97b962e3b16b07d2fb | [] | no_license | Youssef-jdi/Appointment | 858f81eb51ff2e42ab0401bcecf77199e59ccb64 | f613c719ea95d28c331a4a6bfbecdcc1c77338d3 | refs/heads/main | 2023-07-18T06:32:28.142495 | 2021-09-09T20:49:55 | 2021-09-09T20:49:55 | 404,866,177 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 1,085 | swift | //
// TimelineWeeklyPresenter.swift
// appointment
//
// Created by Raluca Mesterca on 18/03/2020.
// Copyright (c) 2020 DTT. All rights reserved.
//
// This file was generated by the Clean Swift Xcode Templates so
// you can apply clean architecture to your iOS and Mac projects,
// see http://clean-swift.com
//
// This template is meant to work with Swinject.
import UIKit
protocol TimelinePresenterProtocol {
func set(viewController: TimelineViewControllerProtocol?)
func present(appointments: [Appointment])
func present(settings: Settings)
}
class TimelinePresenter: TimelinePresenterProtocol {
// MARK: DI
weak var viewController: TimelineViewControllerProtocol?
func set(viewController: TimelineViewControllerProtocol?) {
self.viewController = viewController
}
}
// MARK: Methods
extension TimelinePresenter {
func present(appointments: [Appointment]) {
viewController?.display(appointments: appointments)
}
func present(settings: Settings) {
viewController?.display(settings: settings)
}
}
| [
-1
] |
293ce595a2f64dc1e86715eae9ed3b85eb9bb880 | 6205648813c8163741bdd4908aed5d8516026cec | /LittleSwiftComputer/Sources/Utilities/Extensions/safe-array-access.swift | a468819d736d1432949b5ade3b0bba4cebc7c170 | [] | no_license | calebwilson706/little-swift-computer | 3b0f2b656ec2db178d0bb9d914ae128e5d28ccef | 6436467ef55401f79bc1c848fa60be6fb8edb34c | refs/heads/main | 2023-04-02T01:06:13.871498 | 2021-04-15T21:38:25 | 2021-04-15T21:38:25 | 353,141,043 | 1 | 0 | null | 2021-04-15T21:34:13 | 2021-03-30T21:04:11 | Swift | UTF-8 | Swift | false | false | 270 | swift | //
// safe-array-access.swift
// LittleSwiftComputer
//
// Created by Caleb Wilson on 30/03/2021.
//
import Foundation
extension Collection {
subscript (safe index : Index) -> Element? {
return (self.indices.contains(index) ? self[index] : nil)
}
}
| [
-1
] |
39a49c2a9c9a36f928cc52267b402e79971f9a1b | 3dfa39e7659da58c4315354894a17ce642fafd8f | /MetricPage/MetricViewController.swift | 732fc0582c7eab8151dbc8e1775f371693bd3f17 | [] | no_license | MB00/MetricPage | 97f194ab4dd5c32f20720daa66b87586af0ce554 | 32d638a3c4a783205eea98e2dc209a61ddc1b46d | refs/heads/master | 2020-04-05T07:01:35.046347 | 2018-12-11T23:53:28 | 2018-12-11T23:53:28 | 155,157,625 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 9,325 | swift | import UIKit
import SwiftChart
//import ScrollableGraphView
class MetricViewController: UIViewController {
@IBOutlet weak var containerView: UIView!
@IBOutlet weak var tableView: UITableView!
@IBOutlet weak var currentValueLabel: UILabel!
@IBOutlet weak var previousValueLabel: UILabel!
@IBOutlet weak var averageValueLabel: UILabel!
@IBOutlet weak var field: UITextField!
var metrics: [Metric] = []
var sections: [String] = []
var metricDataRepository: MetricDataRepository = MetricDataRepository.init()
let footerHeight : CGFloat = 50
let headerHeight : CGFloat = 30
var currentCellTitle = ""
override func viewDidLoad() {
super.viewDidLoad()
tableView.showsVerticalScrollIndicator = false
initData()
initGraphView()
initActions()
}
func initData() {
metrics = metricDataRepository.getMetrics()
sections = metricDataRepository.getSections()
}
func initGraphView() {
let graphView = Chart()
graphView.delegate = self
let formatter = GraphDataFormatter(points: getFakeGraphData(), range: .month)
graphView.minX = -2
graphView.maxX = Double(formatter.maxX)
graphView.minY = formatter.paddedMinY
graphView.maxY = formatter.paddedMaxY
let series = ChartSeries(data: formatter.plotsPoints)
series.area = true
graphView.xLabels = formatter.xLabelCoordinates
graphView.yLabels = formatter.yLabelsCoordinates
// Format the labels with a unit
graphView.xLabelsFormatter = formatter.getXLabelFormatter()
graphView.showYLabelsAndGrid = true
graphView.add(series)
graphView.backgroundColor = UIColor.white
graphView.frame = containerView.bounds
containerView.addSubview(graphView)
containerView.bringSubviewToFront(graphView)
let button = UIButton()
button.frame = CGRect(x: 0, y: 0, width: tableView.bounds.size.width, height: footerHeight)
button.addTarget(self, action: #selector(addMetricsPressed), for: .touchUpInside)
button.setTitle("+ Add More Metrics", for: .normal)
button.setTitleColor(UIColor.blue, for: .normal)
self.tableView.tableFooterView = button
}
private func getFakeGraphData() -> [(Date,Double)] {
var points : [(Date,Double)] = []
let start = Date()
var components = DateComponents()
components.day = -28
var nextdate = Calendar.current.date(byAdding: components, to: start)!
points.append((nextdate,168.0))
components.day = -26
nextdate = Calendar.current.date(byAdding: components, to: start)!
points.append((nextdate,166.5))
components.day = -24
nextdate = Calendar.current.date(byAdding: components, to: start)!
points.append((nextdate,163.5))
components.day = -23
nextdate = Calendar.current.date(byAdding: components, to: start)!
points.append((nextdate,163.8))
components.day = -21
nextdate = Calendar.current.date(byAdding: components, to: start)!
points.append((nextdate,163.5))
components.day = -20
nextdate = Calendar.current.date(byAdding: components, to: start)!
points.append((nextdate,162.5))
components.day = -16
nextdate = Calendar.current.date(byAdding: components, to: start)!
points.append((nextdate,163.5))
components.day = -10
nextdate = Calendar.current.date(byAdding: components, to: start)!
points.append((nextdate,162.0))
components.day = -9
nextdate = Calendar.current.date(byAdding: components, to: start)!
points.append((nextdate,160.5))
components.day = -7
nextdate = Calendar.current.date(byAdding: components, to: start)!
points.append((nextdate,160.5))
components.day = -4
nextdate = Calendar.current.date(byAdding: components, to: start)!
points.append((nextdate,161.5))
components.day = -2
nextdate = Calendar.current.date(byAdding: components, to: start)!
points.append((nextdate,161.2))
components.day = -1
nextdate = Calendar.current.date(byAdding: components, to: start)!
points.append((nextdate,161.5))
return points
}
func initActions() {
let valueLabelTap = UITapGestureRecognizer(target: self, action: #selector(onCurrentValueClicked))
currentValueLabel.isUserInteractionEnabled = true
currentValueLabel.addGestureRecognizer(valueLabelTap)
}
@objc func onCurrentValueClicked(sender: UIButton) {
presentValueAlert()
}
@objc private func addMetricsPressed() {
let storyboard = UIStoryboard(name: "Main", bundle: Bundle.main)
let vc = storyboard.instantiateViewController(withIdentifier: "MetricEditViewController")
self.navigationController?.pushViewController(vc, animated: true)
}
func presentValueAlert() {
let alert = UIAlertController(title: "Add value", message: "Enter current value", preferredStyle: .alert)
alert.addTextField { (textField: UITextField) in
textField.placeholder = "Value goes here"
}
alert.addAction(UIAlertAction(title: "OK", style: .default, handler: { (action:UIAlertAction) in
if let textField = alert.textFields?.first {
if textField.text == "" {
print("alert text empty")
} else {
print("alert text not empty")
}
}
MetricDataRepository.setData(selectedMetricTitle: self.currentCellTitle, currentValue: (alert.textFields?.first?.text)!)
self.loadValuesForSelectedMetric(selectedMetricTitle: self.currentCellTitle)
}))
self.present(alert, animated: true, completion: nil)
}
func loadValuesForSelectedMetric(selectedMetricTitle: String) {
let data: MetricData = MetricDataRepository.getData(selectedMetricTitle: selectedMetricTitle)
currentValueLabel.text = String(data.currentValue)
previousValueLabel.text = String(data.previousValue)
averageValueLabel.text = String(data.averageValue)
}
}
extension MetricViewController : ChartDelegate {
func didTouchChart(_ chart: Chart, indexes: [Int?], x: Double, left: CGFloat) {
print("touch")
}
func didFinishTouchingChart(_ chart: Chart) {
}
func didEndTouchingChart(_ chart: Chart) {
}
}
extension MetricViewController: UITableViewDataSource, UITableViewDelegate {
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return metrics.count
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let metric = metrics[indexPath.row]
let cell = tableView.dequeueReusableCell(withIdentifier: "MetricCell") as! MetricCell
cell.selectionStyle = .none
cell.setMetric(metric: metric)
return cell
}
func numberOfSections(in tableView: UITableView) -> Int {
return sections.count
}
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
let metric = metrics[indexPath.row]
currentCellTitle = metric.exercise
loadValuesForSelectedMetric(selectedMetricTitle: metric.exercise)
}
func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {
return headerHeight
}
func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
let label = UILabel()
let hview = UIView()
hview.backgroundColor = UIColor.white
hview.frame = CGRect(x: 0, y: 0, width: view.bounds.width, height: headerHeight)
let sectionTitle = sections[section]
label.backgroundColor = UIColor.black.withAlphaComponent(0.03)
label.textAlignment = .center
label.textColor = UIColor.gray
label.text = sectionTitle
hview.addSubview(label)
label.frame = hview.bounds
return hview
}
}
//
//extension MetricViewController: ScrollableGraphViewDataSource {
// func value(forPlot plot: Plot, atIndex pointIndex: Int) -> Double {
// print("log for plot")
// switch(plot.identifier) {
// case "line":
// return MetricDataRepository.allValues[pointIndex]
// default:
// return 0
// }
// }
//
// func label(atIndex pointIndex: Int) -> String {
// print("log label")
// return "FEB \(pointIndex)"
// }
//
// func numberOfPoints() -> Int {
// print("log points")
// return MetricDataRepository.allValues.count
// }
//}
| [
-1
] |
146a79de79426372e1ae73b7530797bebea39823 | 0df59ab0f0e41625b93e9860bb2c7d61b7127cef | /appMobileIOS/PokemonTeam/moveViewController.swift | 197954e0bc5dca745c77afda3d5438c1e76c662f | [] | no_license | RichardUlissesGabriel/tcc-algoritmo-genetico | 3a5a95fa66562f48c370a8f08a878f6e877b55c1 | d0ad3058111ac46ce58bcbd06bb38d1d5c76c0c7 | refs/heads/master | 2023-01-30T04:56:03.814396 | 2020-12-14T23:56:19 | 2020-12-14T23:56:19 | 321,500,986 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 13,130 | swift | //
// moveViewController.swift
// PokemonTeam
//
// Created by Richard Gabriel on 04/05/17.
// Copyright © 2017 Richard Gabriel. All rights reserved.
//
import UIKit
class moveViewController: UIViewController {
var idGolpe = 0
var golpe = move()
@IBOutlet weak var descricao: UILabel!
@IBOutlet weak var power: UILabel!
@IBOutlet weak var accuracy: UILabel!
@IBOutlet weak var pp: UILabel!
@IBOutlet weak var tipo: UIImageView!
@IBOutlet weak var categoria: UIImageView!
@IBOutlet weak var contest: UIImageView!
@IBOutlet weak var prioridade: UILabel!
@IBOutlet weak var alvo: UILabel!
@IBOutlet weak var tm: UILabel!
@IBOutlet weak var tmNum: UILabel!
@IBOutlet weak var scrolView: UIScrollView!
override func viewDidLoad() {
super.viewDidLoad()
preparaTela()
}
func preparaTela(){
golpe = dataManager.instance.listaMove[idGolpe]
//coloco o nome do move no topo da tela
self.navigationItem.title = golpe.nome
descricao.text = golpe.descricao
power.text = "\(golpe.power)"
accuracy.text = "\(golpe.accuracy)"
pp.text = "\(golpe.pp)"
tipo.image = UIImage(named: dataManager.instance.listaTipo[golpe.idTipo-1].nomeImg)
categoria.image = UIImage(named: golpe.nomeImgCategoriaMove)
contest.image = UIImage(named: golpe.nomeImgContestMove)
prioridade.text = "\(golpe.prioridade)"
alvo.text = golpe.target
if golpe.numeroTM == 0{
tm.isHidden = true
tmNum.isHidden = true
}else{
tmNum.text = "\(golpe.numeroTM)"
}
// //Alterar o tamanho do scroll view
// scrolView.contentSize.height = self.view.bounds.height * 1
//
criaListaPokemons()
//Adiciono o efeito swipe
//let leftSwipe = UISwipeGestureRecognizer(target: self, action: #selector(MoveViewController.swipeRecognizer(_:)))
//let rightSwipe = UISwipeGestureRecognizer(target: self, action: #selector(MoveViewController.swipeRecognizer(_:)))
//leftSwipe.direction = .left
//rightSwipe.direction = .right
//self.view.addGestureRecognizer(leftSwipe)
//self.view.addGestureRecognizer(rightSwipe)
}
/*func swipeRecognizer(_ sender:UISwipeGestureRecognizer){
if sender.direction == .right{
//Pegando a habilidade anterior
move = DataBaseManager.instance.getMove(move.id - 1)
//Cheguei ao zero preciso colocar o maximo id
if move.nome == ""{
move = DataBaseManager.instance.getMove(DataBaseManager.instance.getMaxIdMove())
}
}else{
//Pegando a proxima habilidade
move = DataBaseManager.instance.getMove(move.id + 1)
//Cheguei no fim preciso voltar para o primeiro
if move.nome == ""{
move = DataBaseManager.instance.getMove(1)
}
}
//recrio a tela novamente
preparaTela()
}*/
func criaListaPokemons(){
//Alterar o tamanho do scroll view
//scrolView.contentSize.height = 50
//removo todos os pokemons existentes
for view in self.scrolView.subviews {
view.removeFromSuperview()
}
var listaIdsPokemons = Array<Int>()
var viewReferencia:UIView = scrolView
for i in 0 ..< 4 {
//label com o tipo de aprendizado
var labelMove = UILabel()
//altero o titulo de acordo com o tipo de aprendizado requirido
if i == 0{
labelMove = UILabel()
listaIdsPokemons = golpe.listaIdsPokesLevelUp
labelMove.text = "Level UP"
}
if i == 1{
labelMove = UILabel()
listaIdsPokemons = golpe.listaIdsPokesTm
labelMove.text = "TM"
}
if i == 2{
labelMove = UILabel()
listaIdsPokemons = golpe.listaIdsPokesBreed
labelMove.text = "Breed"
}
if i == 3{
labelMove = UILabel()
listaIdsPokemons = golpe.listaIdsPokesMoveTutor
labelMove.text = "Move Tutor"
}
if listaIdsPokemons.count != 0{
//Alterar o tamanho do scroll view
//scrolView.contentSize.height += self.view.bounds.height * (CGFloat(listaPokemons.count)/21)
//Definindo as configuracoes do label
labelMove.textColor = UIColor.white
labelMove.font = UIFont.boldSystemFont(ofSize: 15.0)
scrolView.addSubview(labelMove)
if viewReferencia == scrolView{
criaConstraints(labelMove, destino: viewReferencia, verticalSpacing:10)
}else{
criaConstraints(labelMove, destino: viewReferencia, verticalSpacing:40)
}
criaConstraints(labelMove, destino: scrolView, leading:10)
//barra branca que acompanha o titulo
let barraBranca = UIView()
barraBranca.backgroundColor = UIColor.white
scrolView.addSubview(barraBranca)
//definindo as constraints
criaConstraints(barraBranca, destino: self.view, height: 5, leading: 16, trailing: -16)
criaConstraints(barraBranca, destino: labelMove, verticalSpacing:16)
viewReferencia = barraBranca
for idPoke in listaIdsPokemons{
let poke = dataManager.instance.listaPokemons[idPoke-1]
let imgPoke = UIImageView()
imgPoke.image = UIImage(named: poke.nomeImgMS)
scrolView.addSubview(imgPoke)
if viewReferencia == barraBranca{
criaConstraints(imgPoke, destino: viewReferencia, height: 40, width: 40, verticalSpacing: 10)
}else{
criaConstraints(imgPoke, destino: viewReferencia, height: 40, width: 40, verticalSpacing: 30)
}
criaConstraints(imgPoke, destino: scrolView, leading:10)
let pokeName = UILabel()
pokeName.textColor = UIColor.white
pokeName.font = UIFont.boldSystemFont(ofSize: 13.0)
pokeName.text = poke.nome
//crio o mecanismo de chamar a outra tela
let tap = UITapGestureRecognizer(target: self, action: #selector(moveViewController.tapPoke(_:)))
pokeName.addGestureRecognizer(tap)
pokeName.isUserInteractionEnabled = true
scrolView.addSubview(pokeName)
criaConstraints(pokeName, destino: imgPoke, leading:40, centerY:true)
let pokelv = UILabel()
pokelv.textColor = UIColor.white
pokelv.font = UIFont.boldSystemFont(ofSize: 13.0)
if i == 0{
pokelv.text = poke.listaIdsMovesLevelUp["\(golpe.idMove)"]
}
scrolView.addSubview(pokelv)
criaConstraints(pokelv, destino: pokeName, centerY:true)
criaConstraints(pokelv, destino: self.view, trailing:-26)
viewReferencia = imgPoke
}
}
}
criaConstraints(viewReferencia, destino: scrolView, bottomSpacing: -10)
}
func tapPoke(_ sender:UITapGestureRecognizer){
//Consigo o label que eu dei tap
let label = sender.view as! UILabel
//print(label.text!)
//consigo meu poke
var poke = pokemon()
for pokeEscolhido in dataManager.instance.listaPokemons{
//print(pokeEscolhido.nome)
if pokeEscolhido.nome == label.text{
poke = pokeEscolhido
break
}
}
//chamando a tela propria da aventura
let vc = self.storyboard?.instantiateViewController(withIdentifier: "pokemon") as! pokemonViewController
//altero a forma de apresentacao da tela
vc.modalTransitionStyle = UIModalTransitionStyle.crossDissolve
vc.idPokemon = poke.idPokemon - 1
//apresento a tela
self.navigationController?.pushViewController(vc, animated: true)
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
}
func criaConstraints(_ origem:UIView, destino:UIView, height:CGFloat = -1, width:CGFloat = -1, leading:CGFloat = -1, trailing:CGFloat = -1, verticalSpacing:CGFloat = -1, bottomSpacing:CGFloat = -1,centerX:Bool = false, centerY:Bool = false){
origem.translatesAutoresizingMaskIntoConstraints = false
//definindo as constraints
if height != -1{
//altura
let heightObj = NSLayoutConstraint(item: origem, attribute:
.height, relatedBy: .equal, toItem: nil,
attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1.0,
constant: height)
//ativando a constraint
NSLayoutConstraint.activate([heightObj])
}
if width != -1{
//largura
let widthObj = NSLayoutConstraint(item: origem, attribute:
.width, relatedBy: .equal, toItem: nil,
attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1.0,
constant: width)
//ativando a constraint
NSLayoutConstraint.activate([widthObj])
}
if leading != -1{
//margem esquerda
let leaddingObj = NSLayoutConstraint(item: origem, attribute:
.leadingMargin, relatedBy: .equal, toItem: destino,
attribute: .leadingMargin, multiplier: 1.0,
constant: leading)
//ativando a constraint
NSLayoutConstraint.activate([leaddingObj])
}
if trailing != -1{
//margem direita
let trailingObj = NSLayoutConstraint(item: origem, attribute:
.trailingMargin, relatedBy: .equal, toItem: destino,
attribute: .trailingMargin, multiplier: 1.0,
constant: trailing)
//ativando a constraint
NSLayoutConstraint.activate([trailingObj])
}
if verticalSpacing != -1{
//espaco do label de cima
let verticalSpacingObj = NSLayoutConstraint(item: origem, attribute: .top, relatedBy: .equal,
toItem: destino, attribute: .top, multiplier: 1.0, constant: verticalSpacing)
//ativo as constraints
NSLayoutConstraint.activate([verticalSpacingObj])
}
if bottomSpacing != -1{
//espaco do label de cima
let bottomObj = NSLayoutConstraint(item: origem, attribute: .bottomMargin, relatedBy: .equal,
toItem: destino, attribute: .bottomMargin, multiplier: 1.0, constant: bottomSpacing)
//ativo as constraints
NSLayoutConstraint.activate([bottomObj])
}
if centerX == true{
//Centralizacao em X
let centerXObj = NSLayoutConstraint(item: origem, attribute: .centerX, relatedBy: .equal,
toItem: destino, attribute: .centerX, multiplier: 1.0, constant: 0)
//ativo as constraints
NSLayoutConstraint.activate([centerXObj])
}
if centerY == true{
//centralizacao em Y
let centerYObj = NSLayoutConstraint(item: origem, attribute: .centerY, relatedBy: .equal,
toItem: destino, attribute: .centerY, multiplier: 1.0, constant: 0)
//ativo as constraints
NSLayoutConstraint.activate([centerYObj])
}
}
}
| [
-1
] |
fc18849da5cce26568f8b39e18d13ecd37b10bd5 | 9bbbd5210d5ac6cc33238868ab946c849a2c0dc4 | /MichMediTrans_iOS/MichMediTrans_iOS/ViewController.swift | e6edd07e2efe4ad72bf6de5f858dbd50c8d37532 | [] | no_license | nammar/MichMediTrans | 605c3feb0576f5e00c0a4e93d287d26740139032 | 88d4f15afd1f4c37f5bc3333a53673567574aff8 | refs/heads/master | 2021-10-23T20:26:32.846596 | 2019-03-19T19:14:14 | 2019-03-19T19:14:14 | 24,111,537 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 365 | swift | //
// ViewController.swift
// MichMediTrans_iOS
//
// Created by Amney Iskandar on 6/11/15.
// Copyright (c) 2015 MichMediTrans. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
@IBAction func signIn(sender: AnyObject) {
}
@IBAction func signUp(sender: AnyObject) {
}
}
| [
-1
] |
46a3a584e877bedaabee062116e70c798966b886 | 3088c5c1f77a37feaea17664ad4680130291d858 | /Friends/Classes/Models/SPUserModel.swift | 4e508dfcbefe99a46d7b176fdc0dc32bc34aeea9 | [] | no_license | mamun-bd/friends | 564c6a8be7a602d67ad045ac98e9f8661b08312c | a5facd56ab717728d7911cc29b0757e52552c91d | refs/heads/main | 2023-04-25T05:32:25.478912 | 2021-05-21T16:43:58 | 2021-05-21T16:43:58 | 369,593,981 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 2,840 | swift | //
// SPUserModel.swift
// Friends
//
// Created by Md. Mamun-Ur-Rashid on 5/21/21.
//
import UIKit
class SPUserModel: NSObject {
private var firstName = ""
private var lastName = ""
private var email = ""
private var artwork = ""
private var cell = ""
private var phone = ""
public var location : SPLocationModel!
convenience init(information: [String:Any]?) {
self.init()
if let user = information {
if let nameInfo = user[SPConstants.kName] as? [String:Any] {
if let name = nameInfo[SPConstants.kFirstName] as? String {
firstName = name
}
if let name = nameInfo[SPConstants.kLastName] as? String {
lastName = name
}
}
if let mailId = user[SPConstants.kEmail] as? String {
email = mailId
}
if let cellInfo = user[SPConstants.kCell] as? String {
cell = cellInfo
}
if let phoneInfo = user[SPConstants.kPhone] as? String {
phone = phoneInfo
}
location = SPLocationModel(information: user[SPConstants.kLocation] as? [String:Any])
if let pictureInfo = user[SPConstants.kPicture] as? [String:Any] {
if let picture = pictureInfo[SPConstants.kLarge] as? String {
artwork = picture
}
}
}
}
}
extension SPUserModel {
func getUserName() -> String {
var name = ""
if self.firstName.count > 0 {
name = self.firstName
}
if self.lastName.count > 0 {
if name.count > 0 {
name.append(" ")
}
name.append(self.lastName)
}
return name
}
func getUserArtwork() -> String {
var name = ""
if self.artwork.count > 0 {
name = self.artwork
}
return name
}
func getPhoneNumber() -> String {
var name = ""
if self.phone.isEmpty == false {
name = self.phone
}
return name
}
func getUserEmailID() -> String {
var name = ""
if self.email.count > 0 {
name = self.email
}
return name
}
func getCountry() -> String {
var name = ""
if let information = self.location {
name = information.getCountry()
}
return name
}
func getAddress() -> String {
var address = ""
if let information = self.location {
address = information.getAddress()
}
return address
}
}
| [
-1
] |
584413ce900f475a7cb56229b9042ee45c5820a0 | d32c47fc146dabf570940d8cf283445afedf7ed3 | /MemeMe/AppDelegate.swift | c2a2e43f1aee5d8148d4304bca7f06394b2fb063 | [] | no_license | ricardo-hdz/mememe | dcd8e73298201c260fdc7cf7232877750640607e | 01f979d2ef90afc46e956b8f9a5c72c9430eb1d4 | refs/heads/master | 2020-05-01T15:25:37.267212 | 2015-08-04T03:56:52 | 2015-08-04T03:56:52 | 39,417,302 | 0 | 0 | null | 2015-08-04T03:22:29 | 2015-07-21T01:32:43 | Swift | UTF-8 | Swift | false | false | 2,167 | swift | //
// AppDelegate.swift
// MemeMe
//
// Created by Ricardo Hdz on 7/20/15.
// Copyright (c) 2015 Ricardo Hdz. All rights reserved.
//
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
var memes = [Meme]()
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
// Override point for customization after application launch.
return true
}
func applicationWillResignActive(application: UIApplication) {
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
}
func applicationDidEnterBackground(application: UIApplication) {
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}
func applicationWillEnterForeground(application: UIApplication) {
// Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
}
func applicationDidBecomeActive(application: UIApplication) {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}
func applicationWillTerminate(application: UIApplication) {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
}
| [
229380,
229383,
229385,
278539,
229388,
294924,
278542,
229391,
327695,
278545,
229394,
278548,
229397,
229399,
229402,
278556,
229405,
278559,
229408,
278564,
294950,
229415,
229417,
327722,
237613,
229422,
229426,
237618,
229428,
286774,
229432,
286776,
286778,
319544,
204856,
286791,
237640,
278605,
286797,
311375,
237646,
163920,
196692,
319573,
311383,
278623,
278626,
319590,
311400,
278635,
303212,
278639,
278648,
131192,
237693,
327814,
131209,
417930,
303241,
311436,
303244,
319633,
286873,
286876,
311460,
311469,
32944,
327862,
286906,
327866,
180413,
286910,
131264,
286916,
286922,
286924,
286926,
319694,
286928,
131281,
278743,
278747,
295133,
155872,
319716,
278760,
237807,
303345,
286962,
131314,
229622,
327930,
278781,
278783,
278785,
237826,
319751,
278792,
286987,
319757,
311569,
286999,
319770,
287003,
287006,
287009,
287012,
287014,
287016,
287019,
311598,
287023,
262448,
311601,
287032,
155966,
278849,
319809,
319810,
319814,
319818,
311628,
229709,
287054,
319822,
278865,
229717,
196963,
196969,
139638,
213367,
106872,
319872,
311683,
319879,
311693,
65943,
319898,
311719,
278952,
139689,
278957,
311728,
278967,
180668,
311741,
278975,
319938,
278980,
98756,
278983,
319945,
278986,
319947,
278990,
278994,
311767,
279003,
279006,
188895,
172512,
279010,
287202,
279015,
172520,
319978,
279020,
172526,
279023,
311791,
172529,
279027,
319989,
164343,
180727,
279035,
311804,
287230,
279040,
303617,
287234,
279045,
287238,
172550,
172552,
303623,
320007,
279051,
172558,
279055,
303632,
279058,
303637,
279063,
279067,
172572,
279072,
172577,
295459,
172581,
295461,
279082,
311850,
279084,
172591,
172598,
279095,
172607,
172609,
172612,
377413,
172614,
172618,
303690,
33357,
287309,
279124,
172634,
262752,
311911,
189034,
295533,
189039,
189040,
172655,
172656,
295538,
189044,
172660,
287349,
352880,
287355,
287360,
295553,
287365,
311942,
303751,
295557,
352905,
279178,
287371,
311946,
311951,
287377,
287381,
311957,
221850,
287386,
164509,
287390,
295583,
303773,
230045,
287394,
172702,
303780,
172705,
287398,
172707,
287400,
279208,
172714,
295595,
279212,
189102,
172721,
287409,
66227,
303797,
189114,
287419,
303804,
328381,
279231,
287423,
328384,
287427,
312006,
107208,
107212,
172748,
287436,
172751,
287440,
295633,
172755,
303827,
279255,
172760,
279258,
303835,
213724,
189149,
303838,
287450,
279267,
312035,
295654,
279272,
230128,
312048,
312050,
230131,
205564,
303871,
230146,
328453,
295685,
230154,
33548,
312077,
295695,
295701,
369433,
230169,
295707,
328476,
295710,
230175,
303914,
279340,
205613,
279353,
230202,
312124,
222018,
295755,
377676,
148302,
287569,
279383,
303959,
230237,
279390,
230241,
279394,
303976,
336744,
303985,
328563,
303987,
279413,
303991,
303997,
295806,
295808,
295813,
304005,
320391,
213895,
304007,
304009,
304011,
230284,
304013,
213902,
279438,
295822,
295825,
189329,
304019,
189331,
279445,
58262,
279452,
410526,
279461,
279462,
304042,
213931,
230327,
304055,
287675,
197564,
304063,
238528,
304065,
189378,
213954,
156612,
295873,
213963,
312272,
304084,
304090,
320481,
304106,
320490,
312302,
328687,
320496,
304114,
295928,
320505,
312321,
295945,
197645,
295949,
230413,
320528,
140312,
295961,
238620,
197663,
304164,
189479,
304170,
238641,
312374,
238652,
238655,
230465,
238658,
296004,
336964,
205895,
320584,
238666,
296021,
402518,
336987,
230497,
296036,
296040,
361576,
205931,
296044,
164973,
205934,
279661,
312432,
279669,
337018,
189562,
279679,
279683,
222340,
205968,
296084,
238745,
304285,
238756,
205991,
222377,
165035,
337067,
165038,
238766,
230576,
238770,
304311,
350308,
230592,
279750,
230600,
230607,
148690,
279769,
304348,
279777,
304354,
296163,
320740,
279781,
304360,
279788,
320748,
279790,
304370,
296189,
320771,
312585,
296202,
296205,
230674,
320786,
230677,
296213,
296215,
214294,
320792,
230681,
304416,
230689,
173350,
312622,
296243,
312630,
222522,
222525,
230718,
312639,
296255,
296259,
378181,
230727,
238919,
320840,
222545,
230739,
312663,
337244,
222556,
230752,
312676,
230760,
173418,
410987,
230763,
230768,
296305,
312692,
230773,
279929,
181626,
304506,
304505,
181631,
312711,
312712,
296331,
288140,
230800,
288144,
304533,
337306,
288154,
288160,
173472,
288162,
288164,
279975,
304555,
370092,
279983,
288176,
279985,
173488,
312755,
296373,
279991,
312759,
288185,
337335,
222652,
312766,
173507,
296389,
222665,
230860,
312783,
230865,
288210,
370130,
288212,
280021,
288214,
222676,
239064,
288217,
288218,
280027,
288220,
329177,
239070,
288224,
288226,
370146,
280036,
288229,
280038,
288230,
288232,
280034,
288234,
320998,
288236,
288238,
288240,
291754,
288242,
296435,
288244,
296439,
288250,
402942,
148990,
206336,
296446,
296450,
321022,
230916,
230919,
214535,
370187,
304651,
304653,
230940,
222752,
108066,
296486,
296488,
157229,
230961,
288320,
288325,
124489,
280140,
280145,
288338,
280149,
280152,
288344,
239194,
280158,
403039,
370272,
181854,
239202,
312938,
280183,
280185,
280188,
280191,
280194,
116354,
280208,
280211,
288408,
280218,
280222,
190118,
321195,
296622,
321200,
337585,
296626,
296634,
296637,
313027,
280260,
280264,
206536,
206539,
206541,
206543,
280276,
313044,
321239,
280283,
313052,
288478,
313055,
321252,
313066,
280302,
288494,
280304,
313073,
419570,
321266,
288499,
288502,
280314,
288510,
124671,
67330,
280324,
198405,
288519,
280331,
198416,
280337,
296723,
116503,
321304,
329498,
296731,
321311,
313121,
313123,
304932,
321316,
280363,
141101,
165678,
280375,
321336,
296767,
288576,
345921,
280388,
304968,
280393,
280402,
313176,
280419,
321381,
296812,
313201,
1920,
255873,
305028,
280454,
247688,
280458,
280464,
124817,
280468,
239510,
280473,
124827,
214940,
247709,
214944,
280487,
313258,
321458,
296883,
124853,
214966,
10170,
296890,
288700,
296894,
280515,
190403,
296900,
337862,
165831,
280521,
231379,
296921,
239586,
313320,
231404,
124913,
165876,
321528,
239612,
313340,
288764,
239617,
313347,
288773,
313358,
321560,
305176,
313371,
354338,
305191,
223273,
313386,
354348,
124978,
215090,
124980,
288824,
288826,
321595,
378941,
313406,
288831,
288836,
67654,
223303,
280651,
354382,
288848,
280658,
215123,
354390,
288855,
288859,
280669,
313438,
280671,
223327,
149599,
321634,
149603,
329830,
280681,
313451,
223341,
280687,
313458,
280691,
215154,
313464,
329850,
321659,
280702,
288895,
321670,
215175,
141446,
141455,
141459,
280725,
313498,
288936,
100520,
280747,
288940,
280755,
288947,
321717,
280759,
280764,
280769,
280771,
280774,
280776,
313548,
321740,
280783,
280786,
280788,
313557,
280793,
280796,
280798,
338147,
280804,
280807,
157930,
280811,
280817,
280819,
157940,
125171,
182517,
280823,
280825,
280827,
280830,
280831,
280833,
280835,
125187,
125191,
125207,
125209,
321817,
125218,
321842,
223539,
125239,
280888,
280891,
289087,
280897,
280900,
239944,
305480,
280906,
239947,
305485,
305489,
379218,
280919,
354653,
313700,
280937,
313705,
280940,
190832,
280946,
223606,
313720,
280956,
239997,
280959,
313731,
199051,
240011,
289166,
240017,
297363,
190868,
297365,
240021,
297368,
297372,
141725,
297377,
289186,
297391,
289201,
240052,
289207,
305594,
289210,
281024,
289218,
289221,
289227,
281045,
281047,
215526,
166378,
305647,
281075,
174580,
281084,
240124,
305662,
305664,
240129,
305666,
305668,
240132,
223749,
281095,
338440,
150025,
223752,
223757,
281102,
223763,
223765,
281113,
322074,
281116,
281121,
182819,
281127,
281135,
150066,
158262,
158266,
289342,
281154,
322115,
158283,
281163,
281179,
199262,
338528,
338532,
281190,
199273,
281196,
158317,
19053,
313973,
281210,
297594,
158347,
133776,
314003,
117398,
314007,
289436,
174754,
330404,
289448,
133801,
174764,
314029,
314033,
240309,
133817,
314045,
314047,
314051,
199364,
297671,
199367,
158409,
289493,
363234,
289513,
289522,
289525,
289532,
322303,
289537,
322310,
264969,
322314,
322318,
281361,
281372,
322341,
215850,
281388,
207661,
289593,
281401,
289601,
281410,
281413,
281414,
240458,
281420,
240468,
281430,
322393,
297818,
281435,
281438,
281442,
174955,
224110,
207733,
207737,
183172,
158596,
240519,
322440,
338823,
314249,
183184,
289687,
240535,
297883,
289694,
289696,
289700,
289712,
281529,
289724,
52163,
281567,
289762,
322534,
297961,
281581,
183277,
322550,
134142,
322563,
175134,
322599,
322610,
314421,
281654,
314427,
207937,
314433,
314441,
207949,
322642,
281691,
314461,
281702,
281704,
314474,
281708,
281711,
289912,
248995,
306341,
306344,
306347,
306354,
142531,
199877,
289991,
306377,
249045,
363742,
363745,
298216,
330988,
126190,
216303,
322801,
388350,
257302,
363802,
199976,
199978,
314671,
298292,
298294,
257334,
216376,
298306,
380226,
224584,
224587,
224594,
216404,
306517,
150870,
314714,
224603,
159068,
314718,
265568,
314723,
281960,
150890,
306539,
314732,
314736,
290161,
216436,
306549,
298358,
314743,
306552,
290171,
314747,
306555,
290174,
298365,
224641,
281987,
298372,
314756,
281990,
224647,
265604,
298377,
314763,
142733,
298381,
224657,
306581,
314779,
314785,
282025,
314793,
282027,
241068,
241070,
241072,
282034,
241077,
150966,
298424,
306618,
282044,
323015,
306635,
306640,
290263,
290270,
290275,
339431,
282089,
191985,
282098,
290291,
282101,
241142,
191992,
290298,
151036,
290302,
282111,
290305,
175621,
192008,
323084,
257550,
282127,
290321,
282130,
323090,
282133,
290325,
241175,
290328,
282137,
290332,
241181,
282142,
282144,
290344,
306731,
290349,
290351,
290356,
282186,
224849,
282195,
282199,
282201,
306778,
159324,
159330,
314979,
298598,
224875,
241260,
323181,
257658,
315016,
282249,
290445,
324757,
282261,
298651,
282269,
323229,
298655,
323231,
61092,
282277,
306856,
282295,
282300,
323260,
323266,
282310,
323273,
282319,
306897,
241362,
282328,
298714,
52959,
216801,
282337,
241380,
216806,
323304,
282345,
12011,
282356,
323318,
282364,
282367,
306945,
241412,
323333,
282376,
216842,
323345,
282388,
323349,
282392,
184090,
315167,
315169,
282402,
315174,
323367,
241448,
315176,
282410,
241450,
306988,
306991,
315184,
323376,
315190,
241464,
282425,
159545,
298811,
307009,
413506,
241475,
307012,
148946,
315211,
282446,
307027,
315221,
282454,
315223,
241496,
323414,
241498,
307035,
307040,
282465,
110433,
241509,
110438,
298860,
110445,
282478,
282481,
110450,
315251,
315249,
315253,
315255,
339838,
282499,
315267,
315269,
241544,
282505,
241546,
241548,
298896,
282514,
298898,
44948,
298901,
241556,
282520,
241560,
241563,
241565,
241567,
241569,
282531,
241574,
282537,
298922,
36779,
241581,
282542,
241583,
323504,
241586,
282547,
241588,
290739,
241590,
241592,
241598,
290751,
241600,
241605,
151495,
241610,
298975,
241632,
298984,
241640,
241643,
298988,
241646,
241649,
241652,
323574,
290807,
241661,
299006,
282623,
315396,
241669,
315397,
282632,
282639,
290835,
282645,
241693,
282654,
241701,
102438,
217127,
282669,
323630,
282681,
290877,
282687,
159811,
315463,
315466,
192589,
307278,
192596,
176213,
307287,
315482,
217179,
315483,
192605,
233567,
200801,
299105,
217188,
299109,
307303,
315495,
45163,
307307,
315502,
192624,
307314,
323700,
299126,
233591,
299136,
307329,
307338,
233613,
241813,
307352,
299164,
184479,
299167,
184481,
315557,
184486,
307370,
307372,
184492,
307374,
307376,
323763,
176311,
299191,
307385,
307386,
258235,
176316,
307388,
307390,
184503,
299200,
184512,
307394,
307396,
299204,
184518,
323784,
307409,
307411,
176343,
299225,
233701,
307432,
184572,
282881,
184579,
282893,
291089,
282906,
291104,
233766,
282931,
307508,
315701,
307510,
332086,
151864,
307512,
176435,
307515,
168245,
282942,
307518,
151874,
282947,
282957,
323917,
110926,
233808,
323921,
315733,
323926,
233815,
315739,
323932,
299357,
242018,
242024,
299373,
315757,
250231,
242043,
315771,
299388,
299391,
291202,
299398,
242057,
291212,
299405,
291222,
283033,
291226,
242075,
315801,
291231,
61855,
283042,
291238,
291241,
127403,
127405,
291247,
127407,
299440,
299444,
127413,
283062,
291254,
127417,
291260,
283069,
127421,
127424,
299457,
127429,
127431,
283080,
176592,
315856,
315860,
176597,
283095,
127447,
299481,
176605,
242143,
291299,
242152,
291305,
127466,
176620,
127474,
291314,
291317,
135672,
291323,
233979,
291330,
283142,
127497,
233994,
135689,
291341,
233998,
234003,
234006,
152087,
127511,
283161,
242202,
234010,
135707,
242206,
135710,
242208,
291361,
242220,
291378,
234038,
152118,
70213,
242250,
111193,
242275,
299620,
242279,
168562,
184952,
135805,
291456,
135808,
373383,
299655,
135820,
316051,
225941,
316054,
299672,
135834,
373404,
299677,
225948,
135839,
299680,
225954,
299684,
242343,
209576,
242345,
373421,
135870,
135873,
135876,
135879,
299720,
299723,
225998,
299726,
226002,
226005,
119509,
226008,
242396,
299740,
201444,
299750,
283368,
234219,
283372,
381677,
226037,
283382,
234231,
316151,
234236,
226045,
234239,
242431,
209665,
234242,
299778,
242436,
226053,
234246,
226056,
234248,
291593,
242443,
234252,
242445,
234254,
291601,
242450,
234258,
242452,
234261,
348950,
201496,
234264,
234266,
283421,
234269,
234272,
234274,
152355,
234278,
299814,
283432,
234281,
234284,
234287,
283440,
185138,
242483,
234292,
234296,
234298,
283452,
160572,
234302,
234307,
242499,
234309,
292433,
234313,
316233,
316235,
234316,
283468,
242511,
234319,
234321,
234324,
185173,
201557,
234329,
234333,
308063,
234336,
234338,
242530,
349027,
234341,
234344,
234347,
177004,
234350,
324464,
234353,
152435,
234356,
177011,
234358,
234362,
226171,
234364,
291711,
234368,
234370,
201603,
291714,
234373,
226182,
234375,
291716,
226185,
308105,
234379,
234384,
234388,
234390,
226200,
324504,
234393,
209818,
308123,
324508,
234398,
234396,
291742,
234401,
291747,
291748,
234405,
291750,
234407,
324518,
324520,
234410,
324522,
226220,
291756,
234414,
324527,
291760,
234417,
201650,
324531,
226230,
234422,
275384,
324536,
234428,
291773,
234431,
242623,
324544,
324546,
226239,
324548,
226245,
234437,
234439,
234434,
234443,
291788,
193486,
275406,
193488,
234446,
234449,
316370,
234452,
234455,
234459,
234461,
234464,
234467,
234470,
168935,
5096,
324585,
234475,
234478,
316400,
234481,
316403,
234484,
234485,
324599,
234487,
234490,
234493,
234496,
316416,
234501,
275462,
308231,
234504,
234507,
234510,
234515,
300054,
234519,
316439,
234520,
234523,
234528,
300066,
234532,
300069,
234535,
234537,
234540,
144430,
234543,
234546,
275508,
234549,
300085,
300088,
234556,
234558,
316479,
234561,
316483,
234563,
308291,
234568,
234570,
316491,
300108,
234572,
234574,
300115,
234580,
234581,
300628,
275545,
242777,
234585,
234590,
234593,
234595,
300133,
234597,
234601,
300139,
234605,
234607,
160879,
275569,
234610,
300148,
234614,
398455,
144506,
275579,
234618,
234620,
234623,
226433,
234627,
275588,
234629,
242822,
234634,
234636,
177293,
234640,
275602,
234643,
226453,
275606,
234647,
275608,
308373,
234650,
234648,
308379,
283805,
234653,
324766,
119967,
234657,
300189,
324768,
242852,
283813,
234661,
300197,
234664,
275626,
234667,
316596,
308414,
234687,
316610,
300226,
226500,
234692,
300229,
308420,
283844,
308418,
283850,
300234,
300238,
300241,
316625,
300243,
300245,
316630,
300248,
300253,
300256,
300258,
300260,
234726,
300263,
300265,
161003,
300267,
300270,
300272,
120053,
300278,
316663,
275703,
300284,
275710,
300287,
283904,
300289,
292097,
300292,
300294,
275719,
177419,
300299,
283917,
300301,
242957,
177424,
275725,
349464,
283939,
259367,
283951,
292143,
300344,
226617,
283963,
243003,
226628,
283973,
300357,
177482,
283983,
316758,
357722,
316766,
292192,
316768,
218464,
292197,
316774,
243046,
218473,
284010,
136562,
324978,
275834,
333178,
275836,
275840,
316803,
316806,
226696,
316811,
226699,
316814,
226703,
300433,
234899,
226709,
357783,
316824,
316826,
144796,
300448,
144807,
144810,
284076,
144812,
144814,
144820,
284084,
284087,
292279,
144826,
144828,
144830,
144832,
284099,
144835,
144837,
38342,
144839,
144841,
144844,
144847,
144852,
144855,
103899,
300507,
333280,
218597,
292329,
300523,
259565,
259567,
300527,
308720,
226802,
316917,
308727,
300537,
316947,
308757,
308762,
284191,
284194,
284196,
235045,
284199,
284204,
284206,
284209,
284211,
284213,
194101,
194103,
284215,
284218,
226877,
284223,
284226,
243268,
292421,
226886,
284231,
128584,
284228,
284234,
366155,
276043,
317004,
284238,
226895,
284241,
194130,
284243,
276052,
276053,
284245,
284247,
317015,
284249,
243290,
284251,
235097,
284253,
300638,
284255,
243293,
284258,
292452,
292454,
284263,
177766,
284265,
292458,
284267,
292461,
284272,
284274,
276086,
284278,
292470,
292473,
284283,
276093,
284286,
276095,
284288,
292481,
276098,
284290,
325250,
284292,
292479,
292485,
284297,
317066,
284299,
317068,
276109,
284301,
284303,
276114,
284306,
284308,
284312,
284314,
284316,
276127,
284320,
284322,
284327,
276137,
284329,
284331,
317098,
284333,
284335,
276144,
284337,
284339,
300726,
284343,
284346,
284350,
276160,
358080,
284354,
358083,
276166,
284358,
358089,
276170,
284362,
276175,
284368,
276177,
284370,
317138,
284372,
358098,
284377,
276187,
284379,
284381,
284384,
284386,
358114,
358116,
276197,
317158,
358119,
284392,
325353,
284394,
358122,
284397,
276206,
284399,
358126,
358128,
358133,
358135,
276216,
358138,
300795,
358140,
284413,
358142,
284418,
358146,
317187,
317191,
284428,
300816,
300819,
317207,
284440,
186139,
300828,
300830,
276255,
325408,
284449,
300834,
300832,
227109,
317221,
358183,
186151,
276268,
300845,
194351,
243504,
284469,
276280,
325436,
358206,
276291,
366406,
276295,
300872,
153417,
284499,
276308,
284502,
317271,
178006,
276315,
292700,
284511,
227175,
292715,
300912,
284529,
292721,
300915,
284533,
292729,
317306,
284540,
292734,
325512,
169868,
276365,
284564,
358292,
284566,
350106,
284572,
276386,
284579,
276388,
358312,
284585,
317353,
276395,
292776,
292784,
276402,
358326,
161718,
276410,
276411,
358330,
276418,
276425,
301009,
301011,
301013,
292823,
301015,
301017,
358360,
292828,
276446,
153568,
276448,
276452,
276455,
292839,
292843,
276460,
276464,
178161,
276466,
227314,
276472,
325624,
317435,
276476,
276479,
276482,
276485,
317446,
276490,
292876,
276496,
317456,
317458,
243733,
243740,
317468,
317472,
325666,
243751,
292904,
276528,
243762,
309298,
325685,
325689,
276539,
235579,
235581,
178238,
325692,
276544,
284739,
292934,
276553,
243785,
350293,
350295,
194649,
227418,
309337,
194654,
227423,
350302,
194657,
227426,
276579,
178273,
194660,
227430,
276583,
309346,
309348,
276586,
309350,
309352,
309354,
276590,
350313,
227440,
350316,
284786,
350321,
276595,
301167,
350325,
350328,
292985,
301178,
292989,
292993,
301185,
350339,
317570,
317573,
350342,
227463,
350345,
350349,
301199,
317584,
325777,
350354,
350357,
350359,
350362,
276638,
350366,
284837,
153765,
350375,
350379,
350381,
350383,
129200,
350385,
350387,
350389,
350395,
350397,
350399,
227520,
227522,
350402,
301252,
350406,
227529,
309450,
301258,
276685,
276689,
309462,
301272,
276699,
309468,
194780,
309471,
301283,
317672,
276713,
325867,
243948,
194801,
227571,
309491,
276725,
309494,
243960,
227583,
276735,
227587,
276739,
211204,
276742,
227593,
227596,
325910,
309530,
342298,
276766,
211232,
317729,
276775,
211241,
325937,
276789,
325943,
211260,
260421,
276809,
285002,
276811,
235853,
276816,
235858,
276829,
276833,
391523,
276836,
276843,
293227,
276848,
293232,
186744,
285051,
211324,
227709,
285061,
317833,
178572,
285070,
285077,
178583,
227738,
317853,
276896,
317858,
342434,
285093,
317864,
285098,
276907,
235955,
276917,
293304,
293307,
293314,
309707,
293325,
317910,
293336,
235996,
317917,
293343,
358880,
276961,
227810,
293346,
276964,
293352,
236013,
293364,
301562,
317951,
309764,
301575,
121352,
236043,
317963,
342541,
55822,
113167,
277011,
317971,
309781,
309779,
55837,
227877,
227879,
293417,
227882,
309804,
293421,
105007,
236082,
285236,
23094,
277054,
244288,
129603,
318020,
301636,
301639,
301643,
277071,
285265,
399955,
309844,
277080,
309849,
285277,
285282,
326244,
318055,
277100,
277106,
121458,
170618,
170619,
309885,
309888,
277122,
227975,
285320,
277128,
301706,
318092,
326285,
318094,
334476,
277136,
277139,
227992,
285340,
318108,
227998,
318110,
137889,
383658,
285357,
318128,
277170,
342707,
154292,
277173,
293555,
318132,
285368,
277177,
277181,
318144,
277187,
277191,
277194,
277196,
277201,
137946,
113378,
203491,
228069,
277223,
342760,
285417,
56041,
56043,
277232,
228081,
56059,
310015,
285441,
310020,
285448,
310029,
228113,
285459,
277273,
293659,
326430,
228128,
285474,
293666,
228135,
318248,
277291,
293677,
318253,
285489,
293685,
285494,
301880,
285499,
301884,
310080,
293696,
277317,
277322,
277329,
162643,
310100,
301911,
301913,
277337,
301921,
400236,
236397,
162671,
326514,
310134,
277368,
15224,
236408,
416639,
416640,
113538,
310147,
416648,
39817,
187274,
277385,
301972,
424853,
277405,
277411,
310179,
293798,
293802,
236460,
277426,
293811,
293817,
293820,
203715,
326603,
293849,
293861,
228327,
228328,
228330,
318442,
228332,
277486,
326638,
318450,
293876,
293877,
285686,
302073,
285690,
244731,
293882,
302075,
121850,
293887,
277504,
277507,
277511,
277519,
293908,
293917,
293939,
318516,
277561,
277564,
310336,
7232,
293956,
277573,
228422,
310344,
277577,
293960,
277583,
203857,
310355,
293971,
310359,
236632,
277594,
138332,
277598,
285792,
277601,
203872,
310374,
203879,
310376,
228460,
318573,
203886,
187509,
285815,
285817,
367737,
285821,
302205,
285824,
392326,
285831,
253064,
302218,
285835,
294026,
162964,
384148,
187542,
302231,
285849,
302233,
285852,
302237,
285854,
285856,
285862,
277671,
302248,
64682,
277678,
228526,
294063,
294065,
302258,
277687,
294072,
318651,
294076,
277695,
318657,
244930,
302275,
130244,
302277,
228550,
302282,
310476,
302285,
302288,
310481,
302290,
203987,
302292,
302294,
302296,
384222,
310498,
285927,
318698,
302315,
195822,
228592,
294132,
138485,
204023,
228601,
204026,
228606,
204031,
64768,
310531,
285958,
228617,
138505,
318742,
204067,
277798,
130345,
277801,
113964,
285997,
277804,
285999,
277807,
113969,
277811,
318773,
318776,
277816,
286010,
277819,
294204,
277822,
417086,
286016,
294211,
302403,
277832,
384328,
277836,
326991,
277839,
277842,
277847,
277850,
179547,
277853,
146784,
277857,
302436,
277860,
294246,
327015,
310632,
327017,
351594,
277864,
277869,
277872,
351607,
310648,
277880,
310651,
277884,
277888,
310657,
351619,
294276,
277892,
310659,
327046,
253320,
310665,
318858,
277898,
277894,
277903,
310672,
351633,
277905,
277908,
277917,
310689,
277921,
277923,
130468,
228776,
277928,
277932,
310703,
277937,
310710,
130486,
310712,
277944,
310715,
277947,
302526,
228799,
277950,
277953,
64966,
245191,
163272,
277959,
302534,
310727,
292968,
302541,
277966,
302543,
277963,
310737,
277971,
277975,
286169,
228825,
163290,
277978,
310749,
277981,
277984,
310755,
277989,
277991,
187880,
277995,
286188,
310764,
278000,
278003,
310772,
228851,
278006,
212472,
278009,
40440,
40443,
286203,
228864,
40448,
286214,
228871,
302603,
65038,
302614,
286233,
302617,
286240,
146977,
187939,
294435,
40484,
286246,
294439,
286248,
278057,
294440,
294443,
40486,
294445,
40488,
310831,
40491,
212538,
40507,
40511,
40513,
228933,
40521,
286283,
40525,
40527,
228944,
212560,
400976,
40533,
147032,
40537,
40539,
278109,
40541,
40544,
40548,
40550,
286312,
286313,
40554,
40552,
310892,
40557,
40560,
188022,
122488,
294521,
343679,
310925,
286354,
278163,
302740,
122517,
278168,
327333,
229030,
212648,
278188,
302764,
278192,
319153,
278196,
319171,
302789,
294599,
278216,
294601,
302793,
343757,
212690,
278227,
229076,
286420,
319187,
286425,
319194,
278235,
301163,
229086,
278238,
286432,
294625,
294634,
302838,
319226,
286460,
171774,
278274,
302852,
278277,
302854,
294664,
311048,
352008,
319243,
311053,
302862,
294682,
278306,
188199,
294701,
278320,
319280,
319290,
229192,
302925,
188247,
237409,
294776,
360317,
294785,
327554,
40840,
40851,
294803,
188312,
294811,
319390,
294817,
319394,
40865,
294821,
311209,
180142,
294831,
188340,
40886,
319419,
294844,
294847,
393177,
294876,
294879,
294883,
294890,
311279,
278513,
237555,
278516,
311283,
278519,
237562
] |
9f1c26440f4a1d23eda28d56104483e015f8ce00 | 217cc774bb55554dbeb5cde55cb40a237e58fcf0 | /Modules/RoxieMobile.SwiftCommons/Sources/Diagnostics/Sources/Check/Check.Throws.swift | 368a983d4905de2ddbbacd82fa8ce21dca41ce4a | [
"BSD-2-Clause"
] | permissive | MamuninaNV/swift-commons.ios | bc5cba0f24d02da728fd7e76d6d1dd9954a4f4da | 97cf998c74a7b877394faa4460d7adbebb7ac5e5 | refs/heads/master | 2021-06-23T10:40:55.418192 | 2019-10-11T23:00:41 | 2019-10-11T23:00:41 | 123,100,327 | 0 | 0 | NOASSERTION | 2020-10-16T12:43:24 | 2018-02-27T08:50:27 | Swift | UTF-8 | Swift | false | false | 2,269 | swift | // ----------------------------------------------------------------------------
//
// Check.Throws.swift
//
// @author Alexander Bragin <[email protected]>
// @copyright Copyright (c) 2017, Roxie Mobile Ltd. All rights reserved.
// @link http://www.roxiemobile.com/
//
// ----------------------------------------------------------------------------
import SwiftCommonsLang
// ----------------------------------------------------------------------------
extension Check
{
// MARK: - Methods
/// Verifies that the exact error is thrown (and not a derived error type).
///
/// - Parameters:
/// - action: A delegate to the code that is expected to throw an error when executed.
/// - errorType: The type of the error expected to be thrown.
/// - message: The identifying message for the `CheckError` (`nil` okay). The default is an empty string.
/// - file: The file name. The default is the file where function is called.
/// - line: The line number. The default is the line number where function is called.
///
/// - Throws:
/// CheckError
///
public static func isThrows<T:Error>(
_ action: () throws -> Void,
_ errorType: T.Type,
_ message: @autoclosure () -> String = "",
file: StaticString = #file,
line: UInt = #line
) throws {
var cause: Error? = nil
do {
try action()
}
catch {
cause = error
}
if (cause == nil) {
let text = message()
throw newCheckError(
text.isNotBlank ? text :
"Expected \(Roxie.typeName(of: errorType)) to be thrown, but nothing was thrown.",
file, line);
}
else if let error = cause, (type(of: error) != errorType) {
let text = message()
throw newCheckError(
text.isNotBlank ? text :
"Unexpected error type thrown. Expected: \(Roxie.typeName(of: errorType)) but was: \(Roxie.typeName(of: error))",
file, line);
}
}
}
// ----------------------------------------------------------------------------
| [
-1
] |
a9f697b64a656c6e3f760ffbdf8312d85867705e | d5cc0c9f8d94e9d020b3e50c0a125d2041dd3baa | /Pods/RxCocoa/RxCocoa/iOS/UIRefreshControl+Rx.swift | 9a38cb93e900c8b7e68defc31d73eecef896cf7c | [
"MIT"
] | permissive | arnavgup/Attendify_iOS | be896579de4560cff36a4b163384d0eeabbb7dd9 | c2efc3273a7b99c09d918567718ac87d7f0179d8 | refs/heads/master | 2022-10-31T13:16:11.081902 | 2018-12-09T00:11:42 | 2018-12-09T00:11:42 | 158,432,022 | 3 | 2 | MIT | 2022-10-10T10:53:53 | 2018-11-20T18:10:16 | Swift | UTF-8 | Swift | false | false | 903 | swift | //
// UIRefreshControl+Rx.swift
// RxCocoa
//
// Created by Yosuke Ishikawa on 1/31/16.
// Copyright © 2016 Krunoslav Zaher. All rights reserved.
//
#if os(iOS)
import UIKit
#if !RX_NO_MODULE
import RxSwift
#endif
extension Reactive where Base: UIRefreshControl {
/// Bindable sink for `beginRefreshing()`, `endRefreshing()` methods.
@available(*, deprecated, renamed: "isRefreshing")
public var refreshing: UIBindingObserver<Base, Bool> {
return self.isRefreshing
}
/// Bindable sink for `beginRefreshing()`, `endRefreshing()` methods.
public var isRefreshing: UIBindingObserver<Base, Bool> {
return UIBindingObserver(UIElement: self.base) { refreshControl, refresh in
if refresh {
refreshControl.beginRefreshing()
} else {
refreshControl.endRefreshing()
}
}
}
}
#endif
| [
305504,
250,
158454
] |
f7454abff7df67fc5a85562d1c901ea4a07b53e2 | 9ab9287f3d387c4eb9aa49adfca2ad40efd7d9df | /ticketApp/Providers/AlertProviders.swift | ede4c8dd54943ec9c89ce876543e17f485a90e16 | [] | no_license | EgorIden/ticketApp | 941b33115b75e0e189d24dc72be3746702c9067a | 5684da524e3aaecc246bbe031a2c624df7121f82 | refs/heads/master | 2020-07-11T13:14:58.664298 | 2019-08-27T10:54:47 | 2019-08-27T10:54:47 | 201,802,887 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 3,186 | swift | //
// AlertProviders.swift
// ticketApp
//
// Created by Egor on 26.08.2019.
// Copyright © 2019 Egor. All rights reserved.
//
import Foundation
import UIKit
class AlertProviders {
static func showAlert(style: UIAlertController.Style, title: String?, message: String?, actions: [UIAlertAction] = [UIAlertAction(title: "Ok", style: .cancel, handler: nil)], completion: (() -> Swift.Void)? = nil) {
let alert = UIAlertController(title: title, message: message, preferredStyle: style)
for action in actions {
alert.addAction(action)
}
if let topVC = UIApplication.getTopMostViewController() {
alert.popoverPresentationController?.sourceView = topVC.view
alert.popoverPresentationController?.sourceRect = CGRect(x: topVC.view.bounds.midX, y: topVC.view.bounds.midY, width: 0, height: 0)
alert.popoverPresentationController?.permittedArrowDirections = []
topVC.present(alert, animated: true, completion: completion)
}
}
static func successAlert(){
let alert = UIAlertController(title: "Билет сохранен в галерее", message: "", preferredStyle: UIAlertController.Style.alert)
alert.addAction(UIAlertAction(title: "Ок", style: UIAlertAction.Style.default, handler: nil))
if let topVC = UIApplication.getTopMostViewController() {
alert.popoverPresentationController?.sourceView = topVC.view
alert.popoverPresentationController?.sourceRect = CGRect(x: topVC.view.bounds.midX, y: topVC.view.bounds.midY, width: 0, height: 0)
alert.popoverPresentationController?.permittedArrowDirections = []
topVC.present(alert, animated: true, completion: nil)
}
}
static func needPhotoAlert(){
let alert = UIAlertController(title: "Добавьте фото", message: "", preferredStyle: UIAlertController.Style.alert)
alert.addAction(UIAlertAction(title: "Ок", style: UIAlertAction.Style.default, handler: nil))
if let topVC = UIApplication.getTopMostViewController() {
alert.popoverPresentationController?.sourceView = topVC.view
alert.popoverPresentationController?.sourceRect = CGRect(x: topVC.view.bounds.midX, y: topVC.view.bounds.midY, width: 0, height: 0)
alert.popoverPresentationController?.permittedArrowDirections = []
topVC.present(alert, animated: true, completion: nil)
}
}
}
extension UIApplication {
class func getTopMostViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
if let nav = base as? UINavigationController {
return getTopMostViewController(base: nav.visibleViewController)
}
if let tab = base as? UITabBarController {
if let selected = tab.selectedViewController {
return getTopMostViewController(base: selected)
}
}
if let presented = base?.presentedViewController {
return getTopMostViewController(base: presented)
}
return base
}
}
| [
-1
] |
2260bc4a490339175b50a28a68b4688cba9e6e4c | bb71255314e4b6dc4a7d57973306de6fefdea272 | /FeedMePro/FeedMe.swift | ca859f157a6e7ffb6a5e454c094fc485a142d609 | [] | no_license | tony-kunliu/FeedMePro | 49611c4be0ec6a8d045005343c42c0e6c0958b4f | 0090998ba5420fc430c748eeab2c197e432f1bfc | refs/heads/master | 2021-01-22T17:42:59.676124 | 2016-06-16T00:22:22 | 2016-06-16T00:22:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 1,289 | swift | //
// FeedMe.swift
// FeedMeIOS
//
// Created by Jun Chen on 19/03/2016.
// Copyright © 2016 FeedMe. All rights reserved.
//
import UIKit
struct FeedMe {
struct Path {
static let TEXT_HOST = "http://ec2-52-27-149-51.us-west-2.compute.amazonaws.com:8080/"
// static let TEXT_HOST = "http://localhost:8080/"
static let PICTURE_HOST = "http://ec2-52-27-149-51.us-west-2.compute.amazonaws.com:8080/"
}
struct Variable {
static var userID: Int?
static var restaurantID: Int?
static var restaurantName: String?
static var dishID: Int?
static var images: [String: UIImage]?
static var dishes: [Int: Dish]!
static var userInLoginState: Bool?
}
static var transColor4 = UIColor(red: 255/225, green: 255/255, blue: 255/255, alpha: 0.4)
static var transColor7 = UIColor(red: 255/225, green: 255/255, blue: 255/255, alpha: 0.7)
static var redColor = UIColor(red: 194/255, green: 45/255, blue: 36/255, alpha: 1)
static var grayColor = UIColor(red: 153/225, green: 153/255, blue: 153/255, alpha: 1)
}
enum DishType: String {
case Staple = "Staple"
case Soup = "Soup"
case Dessert = "Dessert"
case Drinks = "Drinks"
case Others = "Others"
} | [
-1
] |
a26a5749e8bfab6b335aa23be39dd86188af3f84 | 206cd314bc9e9700b3d0ba7a35f2b1986cc76883 | /DishwashersTests/Model/PriceTests.swift | 96cd18c3e828d31cd1578c897c6a2ae92b0e3563 | [] | no_license | loumanv/Dishwasher | 9ebba0e325321e12134bc16726a51e5193915250 | 3a814c5154850bf117f332672dae05fd7ae4e587 | refs/heads/master | 2020-03-20T22:02:26.561592 | 2018-06-20T19:41:03 | 2018-06-20T19:41:03 | 137,775,754 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 1,586 | swift | //
// PriceTests.swift
// DishwashersTests
//
// Created by Vasileios Loumanis on 18/06/2018.
// Copyright © 2018 Vasileios Loumanis. All rights reserved.
//
import Foundation
import XCTest
@testable import Dishwashers
class PriceTests: XCTestCase {
func testPriceInitializationSucceeds() {
let price = Factory.createPrice()
XCTAssertNotNil(price)
}
func testDishwasherJsonParseSucceeds() {
let price = Factory.createPrice()
XCTAssertEqual(price.was, "444.50")
XCTAssertEqual(price.then1, "431.50")
XCTAssertEqual(price.then2, "421.00")
XCTAssertEqual(price.now, "349.00")
XCTAssertEqual(price.uom, "test")
XCTAssertEqual(price.currency, "GBP")
}
func testThrowsErrorWhenNowPriceIsMissing() {
let dictionary: JSONDictionary = [
"was": "444.50",
"then1": "431.50",
"then2": "421.00",
"uom": "test",
"currency": "GBP"
]
XCTAssertThrowsError(try Price(dictionary: dictionary)) { error in
XCTAssertEqual(error as! PriceError, PriceError.missingNowPrice)
}
}
func testThrowsErrorWhenCurrencyIsMissing() {
let dictionary: JSONDictionary = [
"was": "444.50",
"then1": "431.50",
"then2": "421.00",
"now": "349.00",
"uom": "test"
]
XCTAssertThrowsError(try Price(dictionary: dictionary)) { error in
XCTAssertEqual(error as! PriceError, PriceError.missingCurrency)
}
}
}
| [
-1
] |
9a8fef72f7bdc2d7eab5dca5020098e47f999ff9 | 5d9c5fcf5be076e955a4d97a0edea2b7d22a0a82 | /iVisual/Classes/AnimationOverlay.swift | cfc7909ca21d5959438d6a47a7054b9375e58e4f | [] | no_license | hhy5277/iVisual | a2f582cc0e3e66ddd8a421389eaaa7a309200456 | f1ddf24013d2bd9b28a323b2b27de122fcd82a1b | refs/heads/main | 2023-09-06T02:58:14.281981 | 2021-11-16T06:50:42 | 2021-11-16T06:50:42 | null | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 11,039 | swift | //
// AnimationOverlay.swift
// SmartVideoEditor
//
// Created by jinfeng on 2021/11/11.
//
import Foundation
import CoreMedia
import CoreImage
import UIKit
public class BaseAnimation {
public fileprivate(set) var key: String?
/// 相对于贴纸作用开始的时间,比如贴纸在2s中显示,`startTime`设置为1s,那么这个动画将在3s的时候生效
public var startTime: CMTime = .zero
/// 一个完整的动画持续时长
public var duration: CMTime = .zero
/// 在一个动画周期结束后,并且还未达到贴纸的结束时间,是否重复进行动画
public var isRepeat: Bool = true
/// 在一个动画周期结束后,并且还未达到贴纸的结束时间,是否自动按原路返回
public var isAutoreverse: Bool = false
public enum AnimationType {
case none
/// 透明度变化,类型为`CGFloat`
case opacity
/// 旋转变化,类型为`CGFloat`
case rotate
/// 缩放变化,类型为`CGFloat`
case scale
/// 位移变化,类型为`CGPoint`,相对于当前位置
case translate
}
public var type: AnimationType = .none
public init() {}
}
extension BaseAnimation {
func anyPointValue(_ value: Any?) -> CGPoint {
if let value = value {
if let ret = value as? CGPoint {
return CGPoint(x: ret.x, y: ret.y)
}
}
return .zero
}
func anyFloatValue(_ value: Any?) -> CGFloat {
if let value = value {
if let ret = value as? Double {
return ret
} else if let ret = value as? Int {
return CGFloat(ret)
}
}
return 0
}
}
/// 基础动画
public class BasicAnimation: BaseAnimation {
public var from: Any?
public var to: Any?
}
/// 帧动画
public class KeyFrameAnimation: BaseAnimation {
public var values: [Any] = []
/// 当`keyTimes`设置为`nil`时,将会根据`values`自动做一个时间上的均分。keyTimes元素的取值范围是0~1
public var keyTimes: [Float]?
}
/// 动画贴纸
public class AnimationOverlay: OverlayProvider {
public var frame: CGRect = .zero {
didSet {
originFrame = frame
}
}
public var timeRange: CMTimeRange = .zero
public var bounds: CGRect {
CGRect(origin: .zero, size: originFrame.size)
}
private var originFrame: CGRect = .zero
public var extent: CGRect = .zero
public var visualElementId: VisualElementIdentifer = .invalid
public var userTransform: CGAffineTransform = .identity
public var image: CIImage!
private init() {}
public init(image: CIImage) {
self.image = image
extent = image.extent
}
public func applyEffect(at time: CMTime) -> CIImage? {
var _image: CIImage = image
for (_, an) in animations {
if an.type == .none { continue }
var relativeTime = CMTimeSubtract(time, timeRange.start)
let relativeSeconds = CMTimeGetSeconds(relativeTime)
let duration = CMTimeGetSeconds(an.duration)
// 第几个动画周期了
var aci = 0
if an.isRepeat {
aci = Int(relativeSeconds / duration)
relativeTime = CMTimeSubtract(relativeTime, CMTime.init(value: an.duration.value * Int64(aci), timescale: an.duration.timescale))
}
if an.isAutoreverse && aci % 2 == 1 {
// 需要将动画反向
relativeTime = CMTimeSubtract(an.duration, relativeTime)
}
if relativeTime >= an.startTime {
// 达到触发动画的时机
let progressTime = CMTimeSubtract(relativeTime, an.startTime)
var progressRatio = CMTimeGetSeconds(progressTime) / duration
if progressRatio > 1.0 {
progressRatio = 1.0
}
if an is BasicAnimation {
_image = handleAnimation(basic: an as! BasicAnimation, progress: progressRatio, image: _image)
}
else if an is KeyFrameAnimation {
_image = handleAnimation(keyframe: an as! KeyFrameAnimation, progress: progressRatio, image: _image)
}
}
}
return _image
}
private lazy var animations: [String?: BaseAnimation] = [:]
}
public extension AnimationOverlay {
func add(animation an: BaseAnimation, for key: String?) {
if an.duration == .zero {
an.duration = timeRange.duration
}
guard an.duration > .zero else {
return
}
guard an.startTime < timeRange.duration else {
return
}
if an is BasicAnimation {
let basic = an as! BasicAnimation
guard basic.from != nil || basic.to != nil else {
fatalError("BaseAnimation must set either fromValue or toValue")
}
switch basic.type {
case .opacity:
if basic.from == nil { basic.from = 1.0 }
if basic.to == nil { basic.to = 1.0 }
case .scale:
if basic.from == nil { basic.from = 1.0 }
if basic.to == nil { basic.to = 1.0 }
case .rotate:
if basic.from == nil { basic.from = 0 }
if basic.to == nil { basic.to = nil }
case .translate:
if basic.from == nil { basic.from = CGPoint.zero }
if basic.to == nil { basic.to = CGPoint.zero }
default:
break
}
} else if an is KeyFrameAnimation {
let keyFrame = an as! KeyFrameAnimation
guard !keyFrame.values.isEmpty else {
return
}
if keyFrame.keyTimes == nil {
var times: [Float] = []
let averageTime = 1.0 / Float(keyFrame.values.count)
var addTime = averageTime
while times.count < keyFrame.values.count {
times.append(addTime)
addTime += averageTime
}
keyFrame.keyTimes = times
}
} else {
fatalError("BaseAnimation is an abstract class and cannot be used directly")
}
an.key = key
animations[key] = an
}
func remove(animation forkey: String?) {
guard animations.index(forKey: forkey) != nil else {
return
}
animations.removeValue(forKey: forkey)
}
}
private extension AnimationOverlay {
func handleAnimation(basic an: BasicAnimation, progress ratio: CGFloat, image: CIImage) -> CIImage {
guard an.from != nil && an.to != nil else {
return image
}
switch an.type {
case .opacity:
let by = an.anyFloatValue(an.from) + (an.anyFloatValue(an.to) - an.anyFloatValue(an.from)) * ratio
return image.apply(alpha: by)
case .rotate:
let by = an.anyFloatValue(an.from) + (an.anyFloatValue(an.to) - an.anyFloatValue(an.from)) * ratio
return image.apply(rotate: by, extent: image.extent)
case .scale:
let by = an.anyFloatValue(an.from) + (an.anyFloatValue(an.to) - an.anyFloatValue(an.from)) * ratio
return image.apply(scale: by, extent: image.extent)
case .translate:
let byx = an.anyPointValue(an.from).x + (an.anyPointValue(an.to).x - an.anyPointValue(an.from).x) * ratio
let byy = an.anyPointValue(an.from).y + (an.anyPointValue(an.to).y - an.anyPointValue(an.from).y) * ratio
let scalex: CGFloat = extent.width / frame.width
let scaley: CGFloat = extent.height / frame.height
return image.apply(translate: CGPoint(x: byx * scalex, y: -byy * scaley))
default:
break
}
return image
}
func handleAnimation(keyframe an: KeyFrameAnimation, progress ratio: CGFloat, image: CIImage) -> CIImage {
guard !an.values.isEmpty else {
return image
}
guard let keyTimes = an.keyTimes else {
return image
}
// 计算当前进度对应的value和keyTime
var keyTime: Float = Float(ratio)
var index: Int = 0
for i in 0..<keyTimes.count {
let _keyTime = keyTimes[i]
if keyTime <= _keyTime {
keyTime = _keyTime
index = i
break
}
}
let toValue = index >= an.values.count ? an.values.count - 1 : an.values[index]
let fromValue: Any!
if index == 0 {
switch an.type {
case .opacity:
fromValue = 1.0
case .scale:
fromValue = 1.0
case .rotate:
fromValue = 0
case .translate:
fromValue = CGPoint.zero
default:
fromValue = 0
break
}
} else {
fromValue = an.values[index - 1]
}
// 转换成两个关键帧内的进度比
var _ratio = ratio
if index > 0 {
let froKeyTime = keyTimes[index - 1]
let curKeyDuration = keyTime - froKeyTime
let relateTime = Float(_ratio) - froKeyTime
_ratio = CGFloat(relateTime / curKeyDuration)
} else {
_ratio = _ratio / CGFloat(keyTime)
}
// print("keytime: \(keyTime), index: \(index), from: \(fromValue), to: \(toValue), ratio: \(_ratio)")
switch an.type {
case .opacity:
let by = an.anyFloatValue(fromValue) + (an.anyFloatValue(toValue) - an.anyFloatValue(fromValue)) * _ratio
return image.apply(alpha: by)
case .rotate:
let by = an.anyFloatValue(fromValue) + (an.anyFloatValue(toValue) - an.anyFloatValue(fromValue)) * _ratio
return image.apply(rotate: by, extent: image.extent)
case .scale:
let by = an.anyFloatValue(fromValue) + (an.anyFloatValue(toValue) - an.anyFloatValue(fromValue)) * _ratio
return image.apply(scale: by, extent: image.extent)
case .translate:
let byx = an.anyPointValue(fromValue).x + (an.anyPointValue(toValue).x - an.anyPointValue(fromValue).x) * _ratio
let byy = an.anyPointValue(fromValue).y + (an.anyPointValue(toValue).y - an.anyPointValue(fromValue).y) * _ratio
let scalex: CGFloat = extent.width / frame.width
let scaley: CGFloat = extent.height / frame.height
return image.apply(translate: CGPoint(x: byx * scalex, y: -byy * scaley))
default:
break
}
return image
}
}
| [
-1
] |
1e404cd733d9dcd3eb8cd1cb0e83f0195ed6313e | 6a0c0ff9efabc71fc9426ce7dbbd3743498fba58 | /IntelimentTestApp/Views/CustomCells/ImageCollectionViewCell.swift | a89d578303502248ff35358b1dd4c5fa7ed864aa | [] | no_license | pradeepsinghtomar/Exam | 7101823de801a09bbcd323f90a509cec256f058c | d62bc7be692634b1ad3c192125454c090a569b5c | refs/heads/master | 2021-01-17T04:30:55.566451 | 2017-02-23T20:56:17 | 2017-02-23T20:56:17 | 82,970,304 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 292 | swift | //
// ImageCollectionViewCell.swift
// IntelimentTestApp
//
// Created by Pradeep Singh on 23/02/17.
// Copyright © 2017 Pradeep Singh. All rights reserved.
//
import UIKit
class ImageCollectionViewCell: UICollectionViewCell {
@IBOutlet weak var cellImageView: UIImageView!
}
| [
-1
] |
a67a8ee26e100c7905367e4a85574ee2be0ad07c | 6dff13da1390c0620174c04918cd5c0be3f82dcd | /NetworkLayer/Model/Movie.swift | 22c5ba983a77b9372a5e5194ca2e89ecd6c5d4f2 | [] | no_license | mokoranyAli/NetworkLayer | 4cf859d6a55efbd48d4f7a49b026e77f2c520fa8 | e3c82f535d43e27b338391b75b962db629a5ec39 | refs/heads/master | 2023-01-02T08:01:08.739667 | 2020-10-06T20:33:22 | 2020-10-06T20:33:22 | 301,846,796 | 1 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 2,167 | swift | //
// Movie.swift
// NetworkLayer
//
// Created by Mohamed Korany Ali on 10/6/20.
// Copyright © 2020 Mohamed Korany Ali. All rights reserved.
//
import Foundation
struct MovieApiResponse {
let page: Int
let numberOfResults: Int
let numberOfPages: Int
let movies: [Movie]
}
extension MovieApiResponse: Decodable {
private enum MovieApiResponseCodingKeys: String, CodingKey {
case page
case numberOfResults = "total_results"
case numberOfPages = "total_pages"
case movies = "results"
}
init(from decoder: Decoder) throws {
let container = try decoder.container(keyedBy: MovieApiResponseCodingKeys.self)
page = try container.decode(Int.self, forKey: .page)
numberOfResults = try container.decode(Int.self, forKey: .numberOfResults)
numberOfPages = try container.decode(Int.self, forKey: .numberOfPages)
movies = try container.decode([Movie].self, forKey: .movies)
}
}
struct Movie {
let id: Int
let posterPath: String
let backdrop: String
let title: String
let releaseDate: String
let rating: Double
let overview: String
}
extension Movie: Decodable {
enum MovieCodingKeys: String, CodingKey {
case id
case posterPath = "poster_path"
case backdrop = "backdrop_path"
case title
case releaseDate = "release_date"
case rating = "vote_average"
case overview
}
init(from decoder: Decoder) throws {
let movieContainer = try decoder.container(keyedBy: MovieCodingKeys.self)
id = try movieContainer.decode(Int.self, forKey: .id)
posterPath = try movieContainer.decode(String.self, forKey: .posterPath)
backdrop = try movieContainer.decode(String.self, forKey: .backdrop)
title = try movieContainer.decode(String.self, forKey: .title)
releaseDate = try movieContainer.decode(String.self, forKey: .releaseDate)
rating = try movieContainer.decode(Double.self, forKey: .rating)
overview = try movieContainer.decode(String.self, forKey: .overview)
}
}
| [
-1
] |
c985f2fc25159ac85262d4ec2932fc5a494f0fa7 | 4055d6a1e08380f3dd049472943ba93a36b9bb29 | /submodules/TelegramUI/TelegramUI/ChatHistoryEntriesForView.swift | d1f765bfd7011bc82917319aa9146f421df8cbd1 | [] | no_license | ks1707/Telegram-iOS | 3a4d2da74235d939ac12826074c8e4285bd7ecac | 9b3b894d3ff0b016db16202aeb2400eee8eb0ae6 | refs/heads/master | 2021-10-13T07:50:39.241823 | 2019-08-02T06:59:52 | 2019-08-02T06:59:52 | 200,121,631 | 1 | 1 | null | 2021-10-12T23:39:01 | 2019-08-01T21:30:28 | C | UTF-8 | Swift | false | false | 6,626 | swift | import Foundation
import Postbox
import TelegramCore
func chatHistoryEntriesForView(location: ChatLocation, view: MessageHistoryView, includeUnreadEntry: Bool, includeEmptyEntry: Bool, includeChatInfoEntry: Bool, includeSearchEntry: Bool, reverse: Bool, groupMessages: Bool, selectedMessages: Set<MessageId>?, presentationData: ChatPresentationData, historyAppearsCleared: Bool) -> [ChatHistoryEntry] {
if historyAppearsCleared {
return []
}
var entries: [ChatHistoryEntry] = []
var adminIds = Set<PeerId>()
if case let .peer(peerId) = location, peerId.namespace == Namespaces.Peer.CloudChannel {
for additionalEntry in view.additionalData {
if case let .cacheEntry(id, data) = additionalEntry {
if id == cachedChannelAdminIdsEntryId(peerId: peerId), let data = data as? CachedChannelAdminIds {
adminIds = data.ids
}
break
}
}
}
var groupBucket: [(Message, Bool, ChatHistoryMessageSelection, ChatMessageEntryAttributes)] = []
loop: for entry in view.entries {
for media in entry.message.media {
if let action = media as? TelegramMediaAction {
switch action.action {
case .channelMigratedFromGroup, .groupMigratedToChannel, .historyCleared:
continue loop
default:
break
}
}
}
var isAdmin = false
if let author = entry.message.author {
isAdmin = adminIds.contains(author.id)
}
if groupMessages {
if !groupBucket.isEmpty && entry.message.groupInfo != groupBucket[0].0.groupInfo {
entries.append(.MessageGroupEntry(groupBucket[0].0.groupInfo!, groupBucket, presentationData))
groupBucket.removeAll()
}
if let _ = entry.message.groupInfo {
let selection: ChatHistoryMessageSelection
if let selectedMessages = selectedMessages {
selection = .selectable(selected: selectedMessages.contains(entry.message.id))
} else {
selection = .none
}
groupBucket.append((entry.message, entry.isRead, selection, ChatMessageEntryAttributes(isAdmin: isAdmin, isContact: entry.attributes.authorIsContact)))
} else {
let selection: ChatHistoryMessageSelection
if let selectedMessages = selectedMessages {
selection = .selectable(selected: selectedMessages.contains(entry.message.id))
} else {
selection = .none
}
entries.append(.MessageEntry(entry.message, presentationData, entry.isRead, entry.monthLocation, selection, ChatMessageEntryAttributes(isAdmin: isAdmin, isContact: entry.attributes.authorIsContact)))
}
} else {
let selection: ChatHistoryMessageSelection
if let selectedMessages = selectedMessages {
selection = .selectable(selected: selectedMessages.contains(entry.message.id))
} else {
selection = .none
}
entries.append(.MessageEntry(entry.message, presentationData, entry.isRead, entry.monthLocation, selection, ChatMessageEntryAttributes(isAdmin: isAdmin, isContact: entry.attributes.authorIsContact)))
}
}
if !groupBucket.isEmpty {
assert(groupMessages)
entries.append(.MessageGroupEntry(groupBucket[0].0.groupInfo!, groupBucket, presentationData))
}
if let maxReadIndex = view.maxReadIndex, includeUnreadEntry {
var i = 0
let unreadEntry: ChatHistoryEntry = .UnreadEntry(maxReadIndex, presentationData)
for entry in entries {
if entry > unreadEntry {
if i != 0 {
entries.insert(unreadEntry, at: i)
}
break
}
i += 1
}
}
if includeChatInfoEntry {
if view.earlierId == nil {
var cachedPeerData: CachedPeerData?
for entry in view.additionalData {
if case let .cachedPeerData(_, data) = entry {
cachedPeerData = data
break
}
}
if let cachedPeerData = cachedPeerData as? CachedUserData, let botInfo = cachedPeerData.botInfo, !botInfo.description.isEmpty {
entries.insert(.ChatInfoEntry(botInfo.description, presentationData), at: 0)
} else {
var isEmpty = true
if entries.count <= 3 {
loop: for entry in view.entries {
var isEmptyMedia = false
for media in entry.message.media {
if let action = media as? TelegramMediaAction {
switch action.action {
case .groupCreated, .photoUpdated, .channelMigratedFromGroup, .groupMigratedToChannel:
isEmptyMedia = true
default:
break
}
}
}
var isCreator = false
if let peer = entry.message.peers[entry.message.id.peerId] as? TelegramGroup, case .creator = peer.role {
isCreator = true
} else if let peer = entry.message.peers[entry.message.id.peerId] as? TelegramChannel, case .group = peer.info, peer.flags.contains(.isCreator) {
isCreator = true
}
if isEmptyMedia && isCreator {
} else {
isEmpty = false
break loop
}
}
} else {
isEmpty = false
}
if isEmpty {
entries.removeAll()
}
}
}
} else if includeSearchEntry {
if view.laterId == nil {
if !view.entries.isEmpty {
entries.append(.SearchEntry(presentationData.theme.theme, presentationData.strings))
}
}
}
if reverse {
return entries.reversed()
} else {
return entries
}
}
| [
-1
] |
2e4c5978feefc4ef94733265856c0cf6507fcf1c | 43de4e68af2fa8dc397ca44c0af8ad06944e9a6c | /sources/video provider/dictionary parser/ParsingExample.playground/Contents.swift | c923413ff99a65f46ee63603658aba6b36baccf0 | [
"MIT"
] | permissive | altusnets/VerizonVideoPartnerSDK-iOS | 50c82ff94a946c6af81504a79e3a3373ed940921 | bdd613fbdf56a28d54e170b7bfea98e08487f6ee | refs/heads/master | 2021-08-07T14:03:54.701636 | 2020-09-17T22:55:50 | 2020-09-17T22:55:50 | 219,627,137 | 0 | 0 | MIT | 2019-11-05T01:02:36 | 2019-11-05T01:02:35 | null | UTF-8 | Swift | false | false | 1,263 | swift | // Copyright 2018, Oath Inc.
// Licensed under the terms of the MIT License. See LICENSE.md file in project root for terms.
import Foundation
@testable import VerizonVideoPartnerSDK
let json = [
"int" : 1,
"float" : 0.5,
"bool" : true,
"string" : "abc",
"array" : ["1", "2", "3"],
"object" : [
"field_1" : "value1",
"field_2" : "value2"
] as JSON
] as JSON
struct Value {
let int: Int
let float: Float
let bool: Bool
let string: String
let array: [String]
let object: Object; struct Object {
let field1: String
let field2: String
}
}
func doWith<T, U>(value: T, transform: T -> U) -> U {
return transform(value)
}
let value = Value(
int: json.parse("int"),
float: json.parse("float"),
bool: json.parse("bool"),
string: json.parse("string"),
array: json.parse("array"),
object: doWith(json.parse("object")) { Value.Object(
field1: $0.parse("field_1"),
field2: $0.parse("field_2"))
})
json.parse("string") as String
json.parse("array") as [String]
json.parse("int") as Int
json.parse("bool") as Bool
json.parse("float") as Float
json.parse("object").parse("field_1") as String
json.parse("object").parse("field_2") as S
| [
-1
] |
3b5c1e23068ac81f6cb9da4bdfa9eb70eaa99dbe | e51bc7482969b335aae1bb59c420e7fd392257c5 | /LeetCode/50/32_longest_valid_parentheses.swift | fc4e0c168e291ab2af6f22bd4998225a2a3d7702 | [] | no_license | ThickFive/Playground | 55faa6512a5e7ae2f5e4d7793bb819233a63724b | 5bce39c01af59593b90d8cd655c27f2a40b113aa | refs/heads/master | 2023-05-22T05:43:20.763868 | 2021-06-11T14:51:18 | 2021-06-11T14:51:18 | 344,749,719 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 2,524 | swift | /* FILEPATH = "./LeetCode/50/32_longest_valid_parentheses.swift"
* 32. Longest Valid Parentheses
Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.
Example 1:
Input: s = "(()"
Output: 2
Explanation: The longest valid parentheses substring is "()".
Example 2:
Input: s = ")()())"
Output: 4
Explanation: The longest valid parentheses substring is "()()".
Example 3:
Input: s = ""
Output: 0
Constraints:
0 <= s.length <= 3 * 104
s[i] is '(', or ')'.
*/
class Solution {
func longestValidParentheses(_ s: String) -> Int {
var string: [Character] = []
for c in s {
string.append(c)
}
func reverse(_ string: [Character]) -> [Character] {
var res: [Character] = []
for c in string.reversed() {
res.append(c == "(" ? ")" : "(")
}
return res
}
// 如果整个字符串符合条件的 ")" 比 "(" 多, _max 返回正确的匹配数
// 否则将字符串分为两部分, 后半部分字符串翻转, 分别计算匹配数, 返回最大值
func _max(_ string: [Character]) -> Int {
var max = 0
var tmp = 0
var last_continuous_index = 0
var stack: [Character] = []
for (i, c) in string.enumerated() {
if c == "(" {
if stack.count == 0 {
last_continuous_index = i
}
stack.append(c)
} else {
let index = stack.count - 1
if index >= 0 && stack[index] == "(" {
stack.remove(at: index)
tmp += 2
max = tmp > max ? tmp : max
} else {
stack.removeAll()
tmp = 0
}
}
}
if (stack.count == 0) {
return max
} else {
let a = _max(Array(string[0..<last_continuous_index]))
let b = _max(reverse(Array(string[last_continuous_index..<string.count])))
return a > b ? a : b
}
}
return _max(string)
}
}
/*
* TEST
*/
import Foundation
class Test {
class func run(_ code:() -> ()) {
let start = Date()
print("\(start): Test start")
code()
let end = Date()
print("\(end): Test end in \(Int((end.timeIntervalSince1970 - start.timeIntervalSince1970)*1000))ms")
}
}
Test.run {
print(Solution().longestValidParentheses("))))())()()(()"))
print(Solution().longestValidParentheses("()()(((()"))
print(Solution().longestValidParentheses("(((("))
print(Solution().longestValidParentheses("()()"))
print(Solution().longestValidParentheses("(()(((()"))
print(Solution().longestValidParentheses("())))))(((((()"))
} | [
-1
] |
ee22a990bf8432892598dd234e0a0d3eeeb5ca4c | 41b0d2f686ce1c94348a57c4f8833aac41f9106f | /XebiaTest/EndPoints.swift | ba5cffe8a55de403dcaaa620177d5091b40979ad | [] | no_license | NarenderArora/XebiaTest | 2a493f74c72f8db890824b2d577fe58de479b794 | 9be1f393df9cc484865fef3cc378508fb7d3986c | refs/heads/master | 2020-09-28T21:24:20.838308 | 2019-12-09T13:18:47 | 2019-12-09T13:18:47 | 226,868,200 | 1 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 288 | swift | //
// EndPoints.swift
// XebiaTest
//
// Created by mojave on 09/12/19.
// Copyright © 2019 Narender. All rights reserved.
//
import Foundation
enum NYTEndPoints: String {
case getLast7Days = "7.json?"
case getLast1Days = "1.json?"
case getLast30Days = "30.json?"
}
| [
-1
] |
d0a06420c635679e65e0ae839c4f49130112af1a | 93690c836edae61cc3c5c758483b5d1e680823ed | /trySwift/SpeakersViewController.swift | 481714a13018493b62cbf2aee95525c8235c1a18 | [] | no_license | koher/trySwiftApp | c1b0adc790603b661f427418e6a5ba2dbf365144 | 56a83d1b3b81f06fb307ad51c157d2f6f6793bcd | refs/heads/master | 2020-12-25T03:01:15.405621 | 2016-02-16T02:43:46 | 2016-02-16T02:43:46 | 51,798,394 | 1 | 0 | null | 2016-02-16T01:24:15 | 2016-02-16T01:24:14 | null | UTF-8 | Swift | false | false | 3,057 | swift | //
// SpeakersViewController.swift
// trySwift
//
// Created by Natasha Murashev on 2/11/16.
// Copyright © 2016 NatashaTheRobot. All rights reserved.
//
import UIKit
class SpeakersViewController: UITableViewController {
private let speakers = Speaker.speakers
private let speakerDetailSegue = "speakerDetailSegue"
override func awakeFromNib() {
super.awakeFromNib()
title = isJapanese ? "講演者" : "Speakers"
}
override func viewDidLoad() {
super.viewDidLoad()
tableView.registerNib(UINib(nibName: String(SpeakerTableViewCell), bundle: nil), forCellReuseIdentifier: String(SpeakerTableViewCell))
tableView.estimatedRowHeight = 83
tableView.rowHeight = UITableViewAutomaticDimension
if traitCollection.forceTouchCapability == .Available {
registerForPreviewingWithDelegate(self, sourceView: tableView)
}
}
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
if let speakerDetailVC = segue.destinationViewController as? SpeakerDetailViewController {
if let selectedIndexPath = tableView.indexPathForSelectedRow {
speakerDetailVC.speaker = speakers[selectedIndexPath.row]
}
}
}
// MARK: - Table view data source
override func numberOfSectionsInTableView(tableView: UITableView) -> Int {
return 1
}
override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return speakers.count
}
override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCellWithIdentifier(String(SpeakerTableViewCell), forIndexPath: indexPath) as! SpeakerTableViewCell
cell.configure(withSpeaker: speakers[indexPath.row])
return cell
}
override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
performSegueWithIdentifier(speakerDetailSegue, sender: self)
}
}
extension SpeakersViewController: UIViewControllerPreviewingDelegate {
func previewingContext(previewingContext: UIViewControllerPreviewing, viewControllerForLocation location: CGPoint) -> UIViewController? {
if let indexPath = tableView.indexPathForRowAtPoint(location) {
//This will show the cell clearly and blur the rest of the screen for our peek.
previewingContext.sourceRect = tableView.rectForRowAtIndexPath(indexPath)
let speakerDetailVC = SpeakerDetailViewController()
speakerDetailVC.speaker = speakers[indexPath.row]
return speakerDetailVC
}
return nil
}
func previewingContext(previewingContext: UIViewControllerPreviewing, commitViewController viewControllerToCommit: UIViewController) {
navigationController?.pushViewController(viewControllerToCommit, animated: true)
}
}
| [
-1
] |
18ee923c458c6e90e2aa3390e1bba7148aa0abac | e4d4c0f3779e1be0f401bd4c290b53b3a2a8651e | /CovidGraphs/CovidGraphsApp.swift | 8c732a61413305b51a1900d5f419d2f1134b76d3 | [
"MIT"
] | permissive | SolidWorksPDM/CovidGraphs | 002497551e3e98ee89ff695a070859fec354206c | f67f293a2677d4c2640362076402528ce8b7049a | refs/heads/main | 2023-07-25T05:50:28.481548 | 2021-08-25T02:25:14 | 2021-08-25T02:25:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 657 | swift | //
// CovidGraphsApp.swift
// CovidGraphs
//
// Created by Miguel de Icaza on 10/5/20.
//
import SwiftUI
@main
struct CovidGraphsApp: App {
@AppStorage ("locations")
var locations: String = "Massachusetts,California,Mexico,25021.0,25025.0,Vermont"
func makeLocations (input: String) -> [UpdatableStat]
{
var res: [UpdatableStat] = []
for x in input.split(separator: ",") {
res.append (UpdatableStat (code: String (x)))
}
return res
}
var body: some Scene {
WindowGroup {
ContentView(locations: makeLocations(input: locations))
}
}
}
| [
-1
] |
d8f3ccb03e276bf266f4b367b879778d9a2b9a52 | 65492624eeb55b0a80d302b0ab54e8a4b181a005 | /57blocks assesment/Utils/Localized.swift | 3dea716f1bbd3389fd80817a45825c54fcbcd5bf | [] | no_license | sgelves/meli-assesment | 02d7c1a49145dd4fdb7658c9c5ed83d552e1bf92 | e46962a4d125db4732ff1f2474dad0238e82f67d | refs/heads/master | 2023-05-27T09:39:16.614841 | 2021-06-14T20:50:19 | 2021-06-14T20:50:19 | 355,679,834 | 0 | 0 | null | 2021-06-14T20:50:20 | 2021-04-07T20:56:01 | Swift | UTF-8 | Swift | false | false | 411 | swift | //
// Localized.swift
// 57blocks assesment
//
// Created by Sergio Gelves on 17/05/21.
//
struct Localized {
static var emailLabel = "emailLabel"
static var passwordLabel = "passwordLabel"
static var emailEmptyError = "emailEmptyError"
static var emailInvalidError = "emailInvalidError"
static var passwordEmptyError = "passwordEmptyError"
static var loginButton = "loginButton"
}
| [
-1
] |
10466c59e308bf535c4671206102b4c5a747765a | e9756ea9ed152426de1e9e7365e56b372edc2432 | /EngaugeTx/WhereCondition.swift | ab873e5fc76f2f175da38934a4dae382f656b7c7 | [
"MIT"
] | permissive | medullan/etx-sdk-ios | 59d017c67d844ccba1a92a1faff162e20dacb541 | 55ad35d385aaced5178a4f88bd18d41fd948a4e5 | refs/heads/develop | 2021-03-27T17:18:55.534995 | 2019-11-11T19:01:27 | 2019-11-11T19:01:27 | 73,133,435 | 0 | 1 | MIT | 2019-11-11T19:11:22 | 2016-11-08T00:27:09 | Swift | UTF-8 | Swift | false | false | 1,960 | swift | //
// WhereCondition.swift
// EngaugeTx
//
// Created by Sean Hoilett on 1/11/17.
// Copyright © 2017 Medullan Platform Solutions. All rights reserved.
//
import Foundation
enum ComparatorD: String {
case between = "between"
}
/**
REpresents a single condition by which to filter data
*/
public class ETXWhereCondition: ETXCondition {
class Comp {
var value: Any!
var comparator: ETXComparator!
init(comparator: ETXComparator, value: Any) {
self.comparator = comparator
self.value = value
}
}
private var property: String!
private var comp: Comp!
/**
Create a new where condition
- parameter property: The name of the property to compare the value against
- parameter comparator: The operator to use to compare values
- parameter value: The value to compare against to find matching results
*/
public init(property: String, comparator: ETXComparator, value: Any) {
self.property = property
self.comp = Comp(comparator: comparator, value: value)
}
// init(property: String) {
// self.property = property
// }
// func between<T: Any>(_ value1: T, and value2:T ) -> Comp {
// //self.property = prop
// self.comp = Comp(comparator: .gte, value: value1)
// return self.comp
// }
/**
Converts the condition to its Dictionary representation
- returns: The Dictionary representation of the condition
*/
public func toJson() -> [String: Any] {
var q = [String:Any]()
var value: Any = self.comp.value!
if value is Date {
value = (value as! Date).toTxDateFormat()!
}
if self.comp.comparator == .eq {
q[self.property] = value
} else {
q[self.property] = [self.comp.comparator.rawValue : value]
}
return q
}
}
| [
-1
] |
8abadb1b35eeb42c99d0616be10dff3c78392cb1 | c2818e810f67e11de76483727a5b250f0d807760 | /MetTracker/UserInterface/General/FileManager.swift | 6eaef71e4a56824c7aa8bfa887ffb8c20d0d54d0 | [] | no_license | Vladimirus87/Track | 4910cf7695741de4c98c87d3e931da43010ca21f | 730e5fcf56e2a6e4b374d3bf0b4dc44c24ad867d | refs/heads/master | 2020-03-18T06:09:32.419374 | 2018-05-22T07:47:35 | 2018-05-22T07:47:35 | 134,379,146 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 3,117 | swift | //
// FileManager.swift
// MetTracker
//
// Created by Владимир Моисеев on 05.04.2018.
// Copyright © 2018 Lindenvalley. All rights reserved.
//
import UIKit
func createDirectory() {
let fileManager = FileManager.default
let paths = (NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)[0] as NSString).appendingPathComponent("customDirectory")
if !fileManager.fileExists(atPath: paths){
try! fileManager.createDirectory(atPath: paths, withIntermediateDirectories: true, attributes: nil)
}
}
func getDirectoryPath() -> String {
let paths = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)
let documentsDirectory = paths[0]
return documentsDirectory
}
func getImage(name: String) -> UIImage? {
let fileManager = FileManager.default
let imagePAth = (getDirectoryPath() as NSString).appendingPathComponent(name)
if fileManager.fileExists(atPath: imagePAth) {
return UIImage(contentsOfFile: imagePAth)
}else{
return nil
}
}
func saveImageDocumentDirectory(image: UIImage, name: String) {
let fileManager = FileManager.default
let paths = (NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)[0] as NSString).appendingPathComponent(name)
let imageData = UIImageJPEGRepresentation(image, 0.5)
fileManager.createFile(atPath: paths as String, contents: imageData, attributes: nil)
}
func randomString() -> String {
let pswdChars = Array("abcdefghijklmnopqrstuvwxyz")
let rndPswd = String((0..<8).map { _ in pswdChars[Int(arc4random_uniform(UInt32(pswdChars.count)))]})
return rndPswd
}
func compressImage (_ image: UIImage) -> UIImage {
let actualHeight:CGFloat = image.size.height
let actualWidth:CGFloat = image.size.width
let imgRatio:CGFloat = actualWidth/actualHeight
let maxWidth:CGFloat = 716.8
let resizedHeight:CGFloat = maxWidth/imgRatio
let compressionQuality:CGFloat = 0.7
let rect:CGRect = CGRect(x: 0, y: 0, width: maxWidth, height: resizedHeight)
UIGraphicsBeginImageContext(rect.size)
image.draw(in: rect)
let img: UIImage = UIGraphicsGetImageFromCurrentImageContext()!
let imageData:Data = UIImageJPEGRepresentation(img, compressionQuality)!
UIGraphicsEndImageContext()
return UIImage(data: imageData)!
}
func strongCompressImage (_ image: UIImage) -> UIImage {
let actualHeight:CGFloat = image.size.height
let actualWidth:CGFloat = image.size.width
let imgRatio:CGFloat = actualWidth/actualHeight
let maxWidth:CGFloat = 358.4
let resizedHeight:CGFloat = maxWidth/imgRatio
let compressionQuality:CGFloat = 0.35
let rect:CGRect = CGRect(x: 0, y: 0, width: maxWidth, height: resizedHeight)
UIGraphicsBeginImageContext(rect.size)
image.draw(in: rect)
let img: UIImage = UIGraphicsGetImageFromCurrentImageContext()!
let imageData:Data = UIImageJPEGRepresentation(img, compressionQuality)!
UIGraphicsEndImageContext()
return UIImage(data: imageData)!
}
| [
-1
] |
8496fdc9e40b304890cd92e2dfc2295b6ef3441e | 740f5215a846d2c57ca560afdda85df37dfe8cd0 | /Clap2UITests/Clap2UITests.swift | 306d056391c58cf6994216f7b29c1c5c50be6cbc | [] | no_license | nanoma/Clap2 | 8b72298388113da4df10e3e75dcc9897da7b53eb | 9ad623bbe560523c9ab84b928ec9142fd95e1f79 | refs/heads/master | 2021-01-18T05:35:02.316690 | 2016-02-11T13:40:03 | 2016-02-11T13:40:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 1,243 | swift | //
// Clap2UITests.swift
// Clap2UITests
//
// Created by 福田かるな on 2016/02/11.
// Copyright © 2016年 Karuna. All rights reserved.
//
import XCTest
class Clap2UITests: XCTestCase {
override func setUp() {
super.setUp()
// Put setup code here. This method is called before the invocation of each test method in the class.
// In UI tests it is usually best to stop immediately when a failure occurs.
continueAfterFailure = false
// UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.
XCUIApplication().launch()
// In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
}
override func tearDown() {
// Put teardown code here. This method is called after the invocation of each test method in the class.
super.tearDown()
}
func testExample() {
// Use recording to get started writing UI tests.
// Use XCTAssert and related functions to verify your tests produce the correct results.
}
}
| [
333827,
243720,
282634,
313356,
155665,
237599,
241695,
223269,
229414,
292901,
354342,
315433,
354346,
278571,
313388,
325675,
124974,
282671,
102446,
229425,
102441,
243763,
241717,
180279,
229431,
215095,
319543,
288829,
325695,
288835,
307269,
237638,
313415,
285360,
239689,
233548,
311373,
315468,
278607,
333902,
311377,
354386,
196687,
329812,
223317,
315477,
354394,
200795,
323678,
315488,
321632,
45154,
315489,
280676,
313446,
227432,
215144,
307306,
233578,
194667,
217194,
288878,
319599,
278637,
278642,
284789,
131190,
284790,
288890,
292987,
131199,
227459,
194692,
278669,
235661,
241809,
323730,
278676,
311447,
153752,
327834,
284827,
278684,
329884,
299166,
278690,
233635,
215204,
311459,
284840,
299176,
278698,
284843,
184489,
278703,
184498,
278707,
125108,
278713,
223418,
280761,
180409,
295099,
299197,
280767,
258233,
227517,
299202,
139459,
309443,
176325,
131270,
301255,
299208,
227525,
280779,
227536,
282832,
321744,
229591,
280792,
301271,
311520,
325857,
334049,
280803,
307431,
182503,
319719,
295147,
317676,
286957,
125166,
125170,
313595,
125180,
184574,
309504,
125184,
125192,
125197,
194832,
227601,
325904,
125200,
125204,
278805,
319764,
334104,
315674,
282908,
299294,
125215,
282912,
233761,
278817,
311582,
211239,
282920,
125225,
317738,
311596,
321839,
315698,
98611,
125236,
332084,
282938,
307514,
278843,
168251,
287040,
319812,
311622,
280903,
227655,
319816,
323914,
201037,
282959,
229716,
289109,
168280,
379224,
323934,
391521,
239973,
381286,
285031,
313703,
416103,
280938,
242027,
242028,
321901,
354671,
278895,
287089,
199030,
227702,
315768,
291193,
291194,
223611,
248188,
315769,
313726,
311679,
211327,
291200,
240003,
158087,
313736,
227721,
242059,
311692,
227730,
285074,
240020,
190870,
315798,
190872,
291225,
317851,
293275,
285083,
242079,
227743,
285089,
293281,
289185,
305572,
156069,
283039,
301482,
311723,
289195,
234957,
377265,
338359,
299449,
311739,
319931,
293309,
278974,
311744,
317889,
291266,
278979,
326083,
278988,
289229,
281038,
326093,
278992,
283089,
283088,
281039,
279000,
176602,
242138,
160224,
279009,
291297,
369121,
195044,
285152,
279014,
242150,
319976,
279017,
188899,
311787,
281071,
319986,
236020,
279030,
311800,
279033,
317949,
279042,
283138,
233987,
287237,
377352,
322057,
309770,
342537,
279053,
283154,
303634,
279060,
279061,
182802,
303635,
279066,
188954,
322077,
291359,
227881,
293420,
236080,
283185,
289328,
279092,
23093,
234037,
244279,
244280,
338491,
234044,
301635,
309831,
55880,
322119,
377419,
303693,
281165,
301647,
281170,
326229,
309847,
189016,
115287,
332379,
111197,
295518,
287327,
283431,
242274,
244326,
279143,
279150,
287345,
313970,
301688,
244345,
189054,
303743,
297600,
287359,
291455,
301702,
164487,
279176,
311944,
316044,
311948,
184974,
311950,
316048,
311953,
316050,
287379,
326288,
295575,
227991,
289435,
303772,
205469,
221853,
285348,
314020,
279207,
295591,
295598,
279215,
318127,
248494,
285362,
299698,
287412,
166581,
293552,
154295,
164532,
342705,
287418,
314043,
303802,
66243,
291529,
287434,
225996,
363212,
287438,
279249,
303826,
242385,
164561,
279253,
158424,
230105,
299737,
322269,
342757,
295653,
289511,
230120,
330473,
234216,
285419,
330476,
289517,
279278,
312046,
215790,
170735,
125683,
230133,
199415,
234233,
242428,
279293,
322302,
289534,
205566,
299777,
291584,
228099,
285443,
291591,
295688,
322312,
285450,
264971,
312076,
326413,
322320,
285457,
295698,
291605,
166677,
283418,
285467,
326428,
221980,
281378,
234276,
318247,
203560,
279337,
262952,
262953,
318251,
289580,
262957,
164655,
301872,
242481,
303921,
234290,
328495,
285493,
230198,
285496,
301883,
201534,
289599,
281407,
295745,
222017,
342846,
293702,
318279,
283466,
281426,
279379,
295769,
234330,
201562,
244569,
281434,
275294,
301919,
322396,
279393,
293729,
230238,
281444,
230239,
279398,
349025,
303973,
351078,
177002,
308075,
242540,
242542,
310132,
295797,
228214,
207735,
201590,
295799,
177018,
269179,
279418,
308093,
314240,
291713,
158594,
240517,
287623,
228232,
416649,
279434,
320394,
316299,
299912,
234382,
252812,
308111,
308113,
293780,
310166,
289691,
209820,
277404,
240543,
283551,
310177,
289699,
189349,
293673,
289704,
293801,
279465,
326571,
177074,
304050,
326580,
289720,
326586,
289723,
189373,
213956,
281541,
19398,
345030,
213961,
279499,
56270,
191445,
304086,
183254,
183258,
234469,
314343,
304104,
324587,
234476,
183276,
203758,
320495,
320492,
289773,
287730,
277493,
240631,
320504,
214009,
312313,
312317,
328701,
328705,
234499,
293894,
320520,
322571,
230411,
320526,
330766,
234513,
238611,
140311,
293911,
238617,
197658,
316441,
132140,
113710,
189487,
281647,
322609,
312372,
203829,
238646,
300087,
238650,
320571,
21567,
308288,
160834,
336962,
314437,
349254,
238663,
300109,
234578,
207954,
296023,
205911,
314458,
156763,
277600,
281698,
281699,
285795,
214116,
230500,
322664,
228457,
318571,
279659,
234606,
300145,
230514,
238706,
187508,
312435,
279666,
300147,
302202,
285819,
314493,
285823,
150656,
234626,
279686,
222344,
285833,
285834,
234635,
318602,
337037,
228492,
177297,
162962,
187539,
326803,
308375,
324761,
285850,
296091,
119965,
234655,
300192,
302239,
339106,
306339,
234662,
300200,
302251,
208044,
238764,
322733,
249003,
3243,
279729,
294069,
300215,
294075,
64699,
228541,
283841,
283846,
312519,
279752,
283849,
148687,
290001,
189651,
316628,
279766,
189656,
279775,
304352,
298209,
304353,
310496,
279780,
228587,
279789,
290030,
302319,
251124,
234741,
283894,
316661,
208123,
292092,
279803,
228608,
320769,
234756,
322826,
242955,
312588,
177420,
318732,
126229,
318746,
320795,
245018,
320802,
130342,
304422,
130344,
292145,
298290,
312628,
300342,
159033,
333114,
333115,
286012,
222523,
181568,
279872,
279874,
300355,
294210,
216387,
286019,
193858,
300354,
304457,
230730,
372039,
296269,
222542,
224591,
238928,
234830,
296274,
314708,
318804,
283990,
314711,
357720,
300378,
300379,
294236,
316764,
314721,
292194,
230757,
281958,
134504,
306541,
314734,
327023,
234864,
312688,
296304,
284015,
230772,
314740,
314742,
327030,
290170,
310650,
224637,
306558,
290176,
306561,
243073,
179586,
314752,
294278,
314759,
296328,
298378,
296330,
318860,
314765,
368012,
304523,
279955,
306580,
314771,
224662,
234902,
282008,
314776,
112019,
318876,
282013,
290206,
148899,
314788,
298406,
314790,
245160,
333224,
282023,
279979,
279980,
241067,
314797,
286128,
173492,
279988,
286133,
284086,
284090,
302523,
228796,
310714,
54719,
302530,
280003,
228804,
310725,
306630,
292291,
300488,
415170,
306634,
280011,
302539,
300490,
310731,
370122,
339403,
329168,
222674,
327122,
280020,
329170,
310735,
312785,
280025,
310747,
239069,
144862,
286176,
187877,
310758,
320997,
280042,
280043,
191980,
300526,
329198,
337391,
282097,
296434,
308722,
306678,
40439,
191991,
288248,
286201,
300539,
288252,
312830,
286208,
290304,
245249,
228868,
292359,
218632,
302602,
230922,
323083,
294413,
304655,
323088,
329231,
282132,
230933,
302613,
316951,
282135,
374297,
302620,
313338,
282147,
222754,
306730,
245291,
312879,
230960,
288305,
239159,
290359,
323132,
235069,
157246,
288319,
288322,
280131,
349764,
310853,
282182,
124486,
288328,
194118,
286281,
292426,
333389,
224848,
224852,
290391,
128600,
235096,
239192,
306777,
196184,
212574,
99937,
204386,
300643,
323171,
300645,
282214,
345697,
312937,
224874,
243306,
204394,
312941,
206447,
310896,
314997,
294517,
290425,
288377,
325246,
333438,
235136,
280193,
282244,
239238,
288391,
282248,
286344,
323208,
179853,
286351,
188049,
229011,
239251,
280217,
323226,
179868,
229021,
302751,
282272,
198304,
282279,
298664,
212649,
298666,
317102,
286387,
300725,
337590,
286392,
300729,
302778,
306875,
280252,
296636,
282302,
280253,
286400,
323265,
323262,
280259,
321220,
282309,
321217,
333508,
239305,
296649,
306891,
280266,
212684,
302798,
9935,
241360,
282321,
313042,
286419,
241366,
280279,
282330,
18139,
294621,
280285,
282336,
321250,
294629,
153318,
333543,
181992,
12009,
337638,
282347,
288492,
282349,
34547,
67316,
323315,
286457,
284410,
200444,
288508,
282366,
286463,
319232,
278273,
288515,
280326,
282375,
323335,
284425,
300810,
282379,
216844,
116491,
284430,
280333,
300812,
161553,
124691,
278292,
118549,
278294,
282390,
116502,
284436,
325403,
321308,
321309,
282399,
241440,
282401,
325411,
315172,
186149,
241447,
333609,
286507,
294699,
284460,
280367,
300849,
282418,
280373,
282424,
280377,
321338,
319289,
282428,
280381,
345918,
413500,
241471,
280386,
280391,
153416,
315209,
325449,
159563,
280396,
307024,
317268,
237397,
307030,
18263,
241494,
188250,
284508,
300893,
307038,
237411,
284515,
276326,
282471,
296807,
292713,
282476,
292719,
296815,
313200,
325491,
313204,
333687,
317305,
124795,
317308,
339840,
315265,
280451,
327556,
188293,
243590,
282503,
67464,
243592,
325514,
305032,
315272,
315275,
311183,
184207,
124816,
282517,
294806,
214936,
294808,
337816,
239515,
124826,
214943,
298912,
319393,
333727,
294820,
333734,
219046,
284584,
294824,
313257,
298921,
292783,
126896,
200628,
300983,
343993,
288698,
98240,
294849,
214978,
280517,
280518,
214983,
282572,
282573,
153553,
231382,
329696,
323554,
292835,
6116,
190437,
292838,
294887,
317416,
313322,
278507,
298987,
311277,
296942,
329707,
124912,
278515,
325620,
239610
] |
70c79ee40b88050680b4ccba2579657b2a92de30 | 7d847db8686dca6f50d2e9099b615cfcd935c0a4 | /Instagram/FeedTableViewController.swift | 86600eb533b2f3d99030b69746c74c6d05d397b7 | [] | no_license | biddyweb/Instagram-1 | 7cd8e3180c66c4fcdafc2f3517b196b4c7be81cd | 2bad583a45c24036424a7309638cc7af439f0579 | refs/heads/master | 2021-01-14T13:42:49.158766 | 2014-12-07T09:12:15 | 2014-12-07T09:12:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 2,598 | swift | //
// FeedTableViewController.swift
// Instagram
//
// Created by Rustan Corpuz on 12/7/14.
// Copyright (c) 2014 Rustan Corpuz Software Lab. All rights reserved.
//
import UIKit
class FeedTableViewController: UITableViewController {
var titles = [String]()
var usernames = [String]()
var images = [UIImage]()
var imageFiles = [PFFile]()
override func viewDidLoad() {
super.viewDidLoad()
var query = PFQuery(className:"Post")
query.findObjectsInBackgroundWithBlock {
(objects: [AnyObject]!, error: NSError!) -> Void in
if error == nil {
for object in objects {
self.titles.append(object["title"] as String)
self.usernames.append(object["username"] as String)
if let image = object["imagefile"] as? PFFile {
self.imageFiles.append(image)
}
self.tableView.reloadData()
}
} else {
println(error)
}
}
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
// MARK: - Table view data source
override func numberOfSectionsInTableView(tableView: UITableView) -> Int {
// #warning Potentially incomplete method implementation.
// Return the number of sections.
return 1
}
override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
// #warning Incomplete method implementation.
// Return the number of rows in the section.
return titles.count
}
override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
var feedCell = tableView.dequeueReusableCellWithIdentifier("feedCell", forIndexPath: indexPath) as FeedTableViewCell
// Configure the cell...
feedCell.title.text = titles[indexPath.row]
feedCell.username.text = usernames[indexPath.row]
imageFiles[indexPath.row].getDataInBackgroundWithBlock { (imageData: NSData!, error: NSError!) -> Void in
if error == nil{
let image = UIImage(data: imageData)
feedCell.postedImage.image = image
}
}
return feedCell
}
}
| [
-1
] |
b023fe50c96a1683c7dcff854caab2040a19babe | 1ca188413b804540f80405a97f2cabe333c5464a | /test/SILGen/multi_file.swift | b5168b5a2416003726873e8387046f8010d67592 | [
"Apache-2.0",
"Swift-exception"
] | permissive | kuldeeptyagics2/swift | 631340c6213ba844181293d1417f25d8f639f8ba | 3ef5ef0ac90b7eb7881a3d2371d1e6c03255070e | refs/heads/master | 2021-01-23T00:06:39.594086 | 2017-03-21T09:25:57 | 2017-03-21T09:25:57 | 85,698,416 | 1 | 0 | null | 2017-03-21T12:20:19 | 2017-03-21T12:20:19 | null | UTF-8 | Swift | false | false | 3,137 | swift | // RUN: %target-swift-frontend -Xllvm -new-mangling-for-tests -emit-silgen -primary-file %s %S/Inputs/multi_file_helper.swift | %FileCheck %s
func markUsed<T>(_ t: T) {}
// CHECK-LABEL: sil hidden @_T010multi_file12rdar16016713{{[_0-9a-zA-Z]*}}F
func rdar16016713(_ r: Range) {
// CHECK: [[LIMIT:%[0-9]+]] = function_ref @_T010multi_file5RangeV5limitSifg : $@convention(method) (Range) -> Int
// CHECK: {{%[0-9]+}} = apply [[LIMIT]]({{%[0-9]+}}) : $@convention(method) (Range) -> Int
markUsed(r.limit)
}
// CHECK-LABEL: sil hidden @_T010multi_file26lazyPropertiesAreNotStored{{[_0-9a-zA-Z]*}}F
func lazyPropertiesAreNotStored(_ container: LazyContainer) {
var container = container
// CHECK: {{%[0-9]+}} = function_ref @_T010multi_file13LazyContainerV7lazyVarSifg : $@convention(method) (@inout LazyContainer) -> Int
markUsed(container.lazyVar)
}
// CHECK-LABEL: sil hidden @_T010multi_file29lazyRefPropertiesAreNotStored{{[_0-9a-zA-Z]*}}F
func lazyRefPropertiesAreNotStored(_ container: LazyContainerClass) {
// CHECK: bb0([[ARG:%.*]] : $LazyContainerClass):
// CHECK: [[BORROWED_ARG:%.*]] = begin_borrow [[ARG]]
// CHECK: {{%[0-9]+}} = class_method [[BORROWED_ARG]] : $LazyContainerClass, #LazyContainerClass.lazyVar!getter.1 : (LazyContainerClass) -> () -> Int, $@convention(method) (@guaranteed LazyContainerClass) -> Int
markUsed(container.lazyVar)
}
// CHECK-LABEL: sil hidden @_T010multi_file25finalVarsAreDevirtualizedyAA18FinalPropertyClassCF
func finalVarsAreDevirtualized(_ obj: FinalPropertyClass) {
// CHECK: bb0([[ARG:%.*]] : $FinalPropertyClass):
// CHECK: [[BORROWED_ARG:%.*]] = begin_borrow [[ARG]]
// CHECK: ref_element_addr [[BORROWED_ARG]] : $FinalPropertyClass, #FinalPropertyClass.foo
// CHECK: end_borrow [[BORROWED_ARG]] from [[ARG]]
markUsed(obj.foo)
// CHECK: [[BORROWED_ARG:%.*]] = begin_borrow [[ARG]]
// CHECK: class_method [[BORROWED_ARG]] : $FinalPropertyClass, #FinalPropertyClass.bar!getter.1
markUsed(obj.bar)
}
// rdar://18448869
// CHECK-LABEL: sil hidden @_T010multi_file34finalVarsDontNeedMaterializeForSetyAA27ObservingPropertyFinalClassCF
func finalVarsDontNeedMaterializeForSet(_ obj: ObservingPropertyFinalClass) {
obj.foo += 1
// CHECK: function_ref @_T010multi_file27ObservingPropertyFinalClassC3fooSifg
// CHECK: function_ref @_T010multi_file27ObservingPropertyFinalClassC3fooSifs
}
// rdar://18503960
// Ensure that we type-check the materializeForSet accessor from the protocol.
class HasComputedProperty: ProtocolWithProperty {
var foo: Int {
get { return 1 }
set {}
}
}
// CHECK-LABEL: sil hidden [transparent] @_T010multi_file19HasComputedPropertyC3fooSifm : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed HasComputedProperty) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
// CHECK-LABEL: sil hidden [transparent] [thunk] @_T010multi_file19HasComputedPropertyCAA012ProtocolWithE0A2aDP3fooSifmTW : $@convention(witness_method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @inout HasComputedProperty) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
| [
72632,
90355,
85600
] |
13c59001f6b2c02e14c36ae7860bfeb12da9145b | 4239d7c78f1782e8a56d5fd7769852cc6ea166f4 | /AmplifyPlugins/Storage/AWSS3StoragePluginTests/Operation/AWSS3StoragePutDataOperationTests.swift | aabb2ba474ce4dec16833255c256a762a1e46faf | [
"Apache-2.0"
] | permissive | ingenieursaurav/amplify-ios | ba9071c98fe6ae100f2c31192ac767137961355f | 532058a5052bc3a0a5565595708964c063b3c28a | refs/heads/master | 2022-07-17T18:35:03.264287 | 2020-05-14T04:54:49 | 2020-05-14T04:54:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 9,340 | swift | //
// Copyright 2018-2020 Amazon.com,
// Inc. or its affiliates. All Rights Reserved.
//
// SPDX-License-Identifier: Apache-2.0
//
import XCTest
@testable import Amplify
@testable import AmplifyTestCommon
@testable import AWSS3StoragePlugin
@testable import AWSPluginsCore
import AWSS3
class AWSS3StorageUploadDataOperationTests: AWSS3StorageOperationTestBase {
func testUploadDataOperationValidationError() {
let options = StorageUploadDataRequest.Options(accessLevel: .protected)
let request = StorageUploadDataRequest(key: "", data: testData, options: options)
let failedInvoked = expectation(description: "failed was invoked on operation")
let operation = AWSS3StorageUploadDataOperation(request,
storageService: mockStorageService,
authService: mockAuthService) { event in
switch event {
case .failed(let error):
guard case .validation = error else {
XCTFail("Should have failed with validation error")
return
}
failedInvoked.fulfill()
default:
XCTFail("Should have received failed event")
}
}
operation.start()
waitForExpectations(timeout: 1)
XCTAssertTrue(operation.isFinished)
}
func testUploadDataOperationGetIdentityIdError() {
mockAuthService.getIdentityIdError = AuthError.service("", "", "")
let options = StorageUploadDataRequest.Options(accessLevel: .protected)
let request = StorageUploadDataRequest(key: testKey, data: testData, options: options)
let failedInvoked = expectation(description: "failed was invoked on operation")
let operation = AWSS3StorageUploadDataOperation(request,
storageService: mockStorageService,
authService: mockAuthService) { event in
switch event {
case .failed(let error):
guard case .authError = error else {
XCTFail("Should have failed with authError")
return
}
failedInvoked.fulfill()
default:
XCTFail("Should have received failed event")
}
}
operation.start()
waitForExpectations(timeout: 1)
XCTAssertTrue(operation.isFinished)
}
func testUploadDataOperationUploadSuccess() {
mockAuthService.identityId = testIdentityId
mockStorageService.storageServiceUploadEvents = [
StorageEvent.initiated(StorageTaskReference(AWSS3TransferUtilityTask())),
StorageEvent.inProcess(Progress()),
StorageEvent.completed(())]
let expectedUploadSource = UploadSource.data(testData)
let metadata = ["mykey": "Value"]
let expectedMetadata = ["x-amz-meta-mykey": "Value"]
let options = StorageUploadDataRequest.Options(accessLevel: .protected,
metadata: metadata,
contentType: testContentType)
let request = StorageUploadDataRequest(key: testKey, data: testData, options: options)
let expectedServiceKey = StorageAccessLevel.protected.rawValue + "/" + testIdentityId + "/" + testKey
let inProcessInvoked = expectation(description: "inProgress was invoked on operation")
let completeInvoked = expectation(description: "complete was invoked on operation")
let operation = AWSS3StorageUploadDataOperation(request,
storageService: mockStorageService,
authService: mockAuthService) { event in
switch event {
case .completed:
completeInvoked.fulfill()
case .inProcess:
inProcessInvoked.fulfill()
default:
XCTFail("Should have received completed event")
}
}
operation.start()
waitForExpectations(timeout: 1)
XCTAssertTrue(operation.isFinished)
XCTAssertEqual(mockStorageService.uploadCalled, 1)
mockStorageService.verifyUpload(serviceKey: expectedServiceKey,
key: testKey,
uploadSource: expectedUploadSource,
contentType: testContentType,
metadata: expectedMetadata)
}
func testUploadDataOperationUploadFail() {
mockAuthService.identityId = testIdentityId
mockStorageService.storageServiceUploadEvents = [
StorageEvent.initiated(StorageTaskReference(AWSS3TransferUtilityTask())),
StorageEvent.inProcess(Progress()),
StorageEvent.failed(StorageError.service("", ""))]
let expectedUploadSource = UploadSource.data(testData)
let options = StorageUploadDataRequest.Options(accessLevel: .protected)
let request = StorageUploadDataRequest(key: testKey, data: testData, options: options)
let expectedServiceKey = StorageAccessLevel.protected.rawValue + "/" + testIdentityId + "/" + testKey
let inProcessInvoked = expectation(description: "inProgress was invoked on operation")
let failInvoked = expectation(description: "failed was invoked on operation")
let operation = AWSS3StorageUploadDataOperation(request,
storageService: mockStorageService,
authService: mockAuthService) { event in
switch event {
case .failed:
failInvoked.fulfill()
case .inProcess:
inProcessInvoked.fulfill()
default:
XCTFail("Should have received completed event")
}
}
operation.start()
waitForExpectations(timeout: 1)
XCTAssertTrue(operation.isFinished)
XCTAssertEqual(mockStorageService.uploadCalled, 1)
mockStorageService.verifyUpload(serviceKey: expectedServiceKey,
key: testKey,
uploadSource: expectedUploadSource,
contentType: nil,
metadata: nil)
}
func testUploadDataOperationMultiPartUploadSuccess() {
mockAuthService.identityId = testIdentityId
mockStorageService.storageServiceMultiPartUploadEvents = [
StorageEvent.initiated(StorageTaskReference(AWSS3TransferUtilityTask())),
StorageEvent.inProcess(Progress()),
StorageEvent.completed(())]
var testLargeDataString = "testLargeDataString"
for _ in 1 ... 20 {
testLargeDataString += testLargeDataString
}
let testLargeData = testLargeDataString.data(using: .utf8)!
XCTAssertTrue(testLargeData.count > StorageUploadDataRequest.Options.multiPartUploadSizeThreshold,
"Could not create data object greater than MultiPartUploadSizeThreshold")
let expectedUploadSource = UploadSource.data(testLargeData)
let metadata = ["mykey": "Value"]
let expectedMetadata = ["x-amz-meta-mykey": "Value"]
let options = StorageUploadDataRequest.Options(accessLevel: .protected,
metadata: metadata,
contentType: testContentType)
let request = StorageUploadDataRequest(key: testKey, data: testLargeData, options: options)
let expectedServiceKey = StorageAccessLevel.protected.rawValue + "/" + testIdentityId + "/" + testKey
let inProcessInvoked = expectation(description: "inProgress was invoked on operation")
let completeInvoked = expectation(description: "complete was invoked on operation")
let operation = AWSS3StorageUploadDataOperation(request,
storageService: mockStorageService,
authService: mockAuthService) { event in
switch event {
case .completed:
completeInvoked.fulfill()
case .inProcess:
inProcessInvoked.fulfill()
default:
XCTFail("Should have received completed event")
}
}
operation.start()
waitForExpectations(timeout: 1)
XCTAssertTrue(operation.isFinished)
XCTAssertEqual(mockStorageService.multiPartUploadCalled, 1)
mockStorageService.verifyMultiPartUpload(serviceKey: expectedServiceKey,
key: testKey,
uploadSource: expectedUploadSource,
contentType: testContentType,
metadata: expectedMetadata)
}
// TODO: test pause, resume, canel, etc.
}
| [
-1
] |
15ae9c01131d64f6367462bbd7ef6f8b9199a59e | f659552bb086c77436f70626dcc77b5f57a3005d | /Movies/Extensions/UIKit/UICollectionView+Cell.swift | 3737e6481fdcc5ae6c20ab99259a6c88bb3deab7 | [] | no_license | AlexeyBro/Movies | a17fe239d78653aeed343e221617f88c2ef1fcbd | 5e8eb4c148a65c4d3fc2c25925eae2f318777b6d | refs/heads/main | 2023-02-16T13:05:12.758982 | 2021-01-14T10:52:51 | 2021-01-14T10:52:51 | 328,875,355 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 525 | swift | //
// UICollectionView+Cell.swift
// Movies
//
// Created by Alex Bro on 21.12.2020.
//
import UIKit
extension UICollectionView {
func registerReusableCell<T: UICollectionViewCell>(_ cellType: T.Type) {
register(cellType, forCellWithReuseIdentifier: cellType.description())
}
func dequeueReusableCell<T: UICollectionViewCell>(_ cellType: T.Type, for indexPath: IndexPath) -> T? {
return dequeueReusableCell(withReuseIdentifier: cellType.description(), for: indexPath) as? T
}
}
| [
-1
] |
e5677c3aeb8f089e041e62a50556728e7d0a97ba | 69f9d7ea37fedb64336c298dc8ecdc3b1a88d7e5 | /LTapp/SD_Thursday_W3.swift | b9dae6e90fe39b08a8ade4bd1c03583b3cf6ba72 | [] | no_license | DSEHurford/LTapp | 2e233dd9b10f51adf5d760dd3e06330f369d8963 | ad6647b7edc40c48d82eb81aab9a49cc29480c3a | refs/heads/main | 2023-04-16T02:27:06.248442 | 2021-04-28T12:00:17 | 2021-04-28T12:00:17 | 362,459,041 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 6,372 | swift | //
// SD_Thursday_W3.swift
// LTapp
//
// Created by Danielle Hurford on 19/03/2021.
//
import SwiftUI
struct SD_Thursday_W3: View {
@AppStorage("TimeBedTh3") var TimeBedTh3 = "A:"
@AppStorage("TimeSleepTh3") var TimeSleepTh3 = "A:"
@AppStorage("TimeWakeTh3") var TimeWakeTh3 = "A:"
@AppStorage("TotalSleepTh3") var TotalSleepTh3 = "A:"
@AppStorage("NTimesTh3") var NTimesTh3 = "A:"
@AppStorage("SleepQualityTh3") var SleepQualityTh3 = "A:"
@AppStorage("CommentTh3") var CommentTh3 = "A:"
var body: some View {
NavigationView{
VStack( alignment: .leading){
ZStack{
Rectangle()
.frame(width:390, height:135, alignment:.topLeading)
.foregroundColor(Color.white)
.cornerRadius(10)
.opacity(0.5)
.edgesIgnoringSafeArea([.top])
.shadow(color: Color.black.opacity(0.3), radius: 5, x: 0, y:10)
VStack{
Spacer()
.frame(height: 50)
Text(" Quality of sleep was...")
.foregroundColor(Color.black).opacity(0.8)
Spacer()
.frame(height: 10)
Text(" 0 1 2 3 4 5 6 7 8 9 10")
.foregroundColor(Color.black).opacity(0.8)
Spacer()
.frame(height: 10)
Group{
HStack{
Text(" least refreshing ever")
.font(.system(size:10))
.foregroundColor(Color.black).opacity(0.8)
Text("->")
.foregroundColor(Color.black).opacity(0.8)
Text("average")
.font(.system(size:10))
.foregroundColor(Color.black).opacity(0.8)
Text("->")
.foregroundColor(Color.black).opacity(0.8)
Text("most refreshing ever")
.font(.system(size:10))
.foregroundColor(Color.black).opacity(0.8)
}
Spacer()
.frame(height: 50)
}
}
}
Group{
HStack{
VStack{
Text("Time I went to bed")
.foregroundColor(Color.black).opacity(0.8)
Spacer()
.frame(height: 1)
TextEditor(text: $TimeBedTh3)
.font(.system(size:15))
.foregroundColor(Color.black).opacity(0.8)
}
VStack{
Text("Time I went to sleep")
.foregroundColor(Color.black).opacity(0.8)
Spacer()
.frame(height: 1)
TextEditor(text: $TimeSleepTh3)
.font(.system(size:15))
.foregroundColor(Color.black).opacity(0.8)
}
}
}
Group{
HStack{
VStack{
Text("Time I woke up")
.foregroundColor(Color.black).opacity(0.8)
Spacer()
.frame(height: 1)
TextEditor(text: $TimeWakeTh3)
.font(.system(size:15))
.foregroundColor(Color.black).opacity(0.8)
}
VStack{
Text("Estimated total sleep time")
.foregroundColor(Color.black).opacity(0.8)
Spacer()
.frame(height: 1)
TextEditor(text: $TimeSleepTh3)
.font(.system(size:15))
.foregroundColor(Color.black).opacity(0.8)
}
}
HStack{
VStack{
Text("Number of times I woke up")
.foregroundColor(Color.black).opacity(0.8)
Spacer()
.frame(height: 1)
TextEditor(text: $NTimesTh3)
.font(.system(size:15))
.foregroundColor(Color.black).opacity(0.8)
}
VStack{
Text("Sleep Quality")
.foregroundColor(Color.black).opacity(0.8)
Spacer()
.frame(height: 1)
TextEditor(text: $SleepQualityTh3)
.font(.system(size:15))
.foregroundColor(Color.black).opacity(0.8)
}
}
Text("Comment")
.foregroundColor(Color.black).opacity(0.8)
Spacer()
.frame(height: 1)
TextEditor(text: $CommentTh3)
.font(.system(size:15))
.foregroundColor(Color.black).opacity(0.8)
}
}
.navigationBarHidden(true)
.ignoresSafeArea()
}
.navigationBarBackButtonHidden(true)
.ignoresSafeArea()
}
}
struct SD_Thursday_W3_Previews: PreviewProvider {
static var previews: some View {
SD_Thursday_W3()
}
}
| [
-1
] |
0cf7bdde2c960c9d796a81d04c7a737d50410e89 | 26adda14ad25cd2cd6f60fc959b2553110966ea9 | /qa/QA_3.playground/Contents.swift | d4cc69c62ddad18b60bee1fad5c1b467e7fb3e18 | [] | no_license | TOxaREY/Answers_Swift | 0ce2851ef552c9cb2f312f4aaea3a4d29a35d20d | b38bf39e1e4321a2888d80416af7b3c2f7bf0723 | refs/heads/master | 2022-11-17T19:20:04.698855 | 2020-07-17T10:59:24 | 2020-07-17T10:59:24 | 222,978,864 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 1,491 | swift | import UIKit
import PlaygroundSupport
1 //Очередь будет запущена с параллельном потоке с через 1 секунду
DispatchQueue.global().asyncAfter(deadline: .now() + 1) {
5 //внутри очереди последовательное выполнение кода
7 //"A"
DispatchQueue.global().async {
print("A")
}
6 //Выполнение "B" в потоке пока п.5 передал вызов и еще не сработал
print("B")
}
2 //По п.1 ждет, запускается параллельно в главной очереди
//и передает управления основному потоку
4 //Так как первый блок на таймере 1 секунда сработает "C"
DispatchQueue.main.async {
print("C")
}
3 //п.2 передал управление и пока ставит задачу срабатывает "D"
print("D")
/*
○ C, D, A, B
○ A, B, C, D
○ C, D, B, A
● D, C, B, A
○ D, C, A, B
*/
/*
После async управление передается вызывающему потоку,
sync же блокирует вызывающий поток (последовательное выполнение)
sync будет выполнять задачи последовательно внутри себя.
main - главная очередь (обновление UI)
global - пул очередей
*/
| [
-1
] |
4f16a0390f0dc9f3c1bbb58a5bf0c8e7852f9c27 | e2f5234b860f93f7dc9f8be8eacd8ae4a5cc2173 | /Drink Enough/AppDelegate.swift | 610c7b4502e8e046691005b5d5ab7890ce5ed393 | [] | no_license | madameoscura/Drink_Enough | 67afd4891d2e57beb159ef25c1f8b524b271cc59 | de16673b46f646f3994d95c924cbd5f212bbff81 | refs/heads/master | 2021-03-22T12:58:39.895079 | 2020-06-01T13:56:40 | 2020-06-01T13:56:40 | 247,367,106 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 3,908 | swift | //
// AppDelegate.swift
// Drink Enough
//
// Created by Annekatrin Dunkel on 3/14/20.
// Copyright © 2020 Annekatrin Dunkel. All rights reserved.
//
import UIKit
import CoreData
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
print(NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true).last! as String)
return true
}
// MARK: UISceneSession Lifecycle
func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
// Called when a new scene session is being created.
// Use this method to select a configuration to create the new scene with.
return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
}
func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set<UISceneSession>) {
// Called when the user discards a scene session.
// If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
// Use this method to release any resources that were specific to the discarded scenes, as they will not return.
}
// MARK: - Core Data stack
lazy var persistentContainer: NSPersistentContainer = {
/*
The persistent container for the application. This implementation
creates and returns a container, having loaded the store for the
application to it. This property is optional since there are legitimate
error conditions that could cause the creation of the store to fail.
*/
let container = NSPersistentContainer(name: "Drink_Enough")
container.loadPersistentStores(completionHandler: { (storeDescription, error) in
if let error = error as NSError? {
// Replace this implementation with code to handle the error appropriately.
// fatalError() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development.
/*
Typical reasons for an error here include:
* The parent directory does not exist, cannot be created, or disallows writing.
* The persistent store is not accessible, due to permissions or data protection when the device is locked.
* The device is out of space.
* The store could not be migrated to the current model version.
Check the error message to determine what the actual problem was.
*/
fatalError("Unresolved error \(error), \(error.userInfo)")
}
})
return container
}()
// MARK: - Core Data Saving support
func saveContext () {
let context = persistentContainer.viewContext
if context.hasChanges {
do {
try context.save()
} catch {
// Replace this implementation with code to handle the error appropriately.
// fatalError() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development.
let nserror = error as NSError
fatalError("Unresolved error \(nserror), \(nserror.userInfo)")
}
}
}
}
| [
199680,
379906,
253443,
418820,
328199,
249351,
379914,
377866,
372747,
199180,
326668,
329233,
349202,
186387,
350738,
262677,
330774,
324121,
245274,
377371,
345630,
384032,
362529,
349738,
394795,
404523,
245293,
262701,
349744,
361524,
337975,
343609,
375867,
333373,
418366,
152127,
339009,
413250,
214087,
352840,
377930,
337994,
370253,
330319,
200784,
436306,
333395,
244308,
374358,
329815,
254042,
402522,
326239,
322658,
340579,
244329,
333422,
349295,
204400,
173169,
339571,
330868,
344693,
268921,
343167,
192639,
344707,
330884,
336516,
266374,
346768,
268434,
409236,
336548,
333988,
356520,
377001,
379048,
361644,
402614,
361655,
325308,
339132,
343231,
403138,
337092,
244933,
322758,
337606,
367816,
257738,
342736,
245460,
257751,
385242,
366300,
350433,
345826,
328931,
395495,
363755,
343276,
346348,
338158,
325358,
212722,
251122,
350453,
338679,
393465,
351482,
264961,
115972,
268552,
346890,
362251,
328460,
333074,
356628,
257814,
333592,
397084,
342813,
257824,
362272,
377120,
334631,
336680,
389416,
384298,
254252,
204589,
271150,
366383,
328497,
257842,
339768,
326969,
257852,
384828,
386365,
204606,
375615,
339792,
358737,
389970,
361299,
155476,
330584,
361305,
257880,
362843,
429406,
374112,
353633,
439137,
355184,
361333,
332156,
337277,
245120,
260992,
389506,
380802,
264583,
337290,
155020,
348565,
337813,
250262,
155044,
333221,
373671,
333736,
252845,
356781,
370610,
268210,
210356,
342452,
370102,
338362,
327612,
358335,
380352,
201157,
333766,
187334,
339400,
347081,
349128,
358347,
336325,
393670,
272848,
379856,
155603,
219091,
399317,
249302,
379863,
372697,
155102,
182754,
360429,
338927,
330224,
379895,
201723,
257020,
254461
] |
425cfe858cfff151b10fb4b2e1d59d809ff139a1 | deeb7ab37f84c56a350857cb00af587a882910c5 | /DogYearConverter/ViewController.swift | 3e527955d18f220132b71b1da5a01e35058aa2c0 | [] | no_license | mukunidevelopers/App-DogYearsConverter | cc08aeee10abac831ad5dd84c1322d52b115df66 | f7e8d6fe90bda918bbde4a0db23329d980cdfed0 | refs/heads/master | 2020-12-29T01:32:26.781852 | 2014-11-09T13:26:51 | 2014-11-09T13:26:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 1,099 | swift | //
// ViewController.swift
// DogYearConverter
//
// Created by Arthur Labisi Siloka on 9/11/14.
// Copyright (c) 2014 MukuniDevelopers. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
@IBOutlet weak var dogYearLabel: UILabel!
@IBOutlet weak var enterHumanYearsTextField: UITextField!
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
@IBAction func convertDogYearButtonPressed(sender: UIButton) {
let stringFromTextField = enterHumanYearsTextField.text
let optionalIntFromTextField = stringFromTextField.toInt()
let intFromOptional = optionalIntFromTextField!
dogYearLabel.text = "\(intFromOptional * 7)" + " Human Years"
dogYearLabel.hidden = false
enterHumanYearsTextField.resignFirstResponder()
}
}
| [
-1
] |
224bcc7163dbcc8ff0edfc46712962cb7aefbf61 | 1ab6d1344b73004c7c49364f3a3b2c9003ddd66f | /iсварщик/Cell.swift | 4880881ce980ef5344d6ead90680122128819b4b | [] | no_license | kopytovs/iSvarshik | 71f2172815dc2a7e047b14278aac49312a496253 | 3111ba325a211a045cbaf5851d98801277b2c772 | refs/heads/master | 2021-01-19T20:22:20.298230 | 2018-05-11T16:54:25 | 2018-05-11T16:54:25 | 72,203,253 | 1 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 6,559 | swift | //
// Cell.swift
// iсварщик
//
// Created by Sergey Kopytov on 28.10.16.
// Copyright © 2016 Sergey Kopytov. All rights reserved.
//
import UIKit
import ChameleonFramework
import ImageScrollView
class Cell: UIViewController {
var name: String?
var exp: String?
@IBOutlet weak var text1: UILabel!
@IBOutlet weak var explain: UITextView!
@IBOutlet weak var imgView: ImageScrollView!
@IBOutlet weak var scrollView: UIScrollView!
@IBOutlet weak var contView: UIView!
var image = UIImage()
var choose = true
let backr = UIColor(patternImage: #imageLiteral(resourceName: "backgr2"))
override func viewDidLoad() {
super.viewDidLoad()
self.view.backgroundColor = backr
text1.text = name! as String
explain.text = exp! as String
contView.backgroundColor = UIColor.clear
text1.textColor = ContrastColorOf(backr, returnFlat: true)
explain.textColor = ContrastColorOf(backr, returnFlat: true)
text1.sizeToFit()
explain.sizeToFit()
explain.updateConstraints()
self.chooseImage()
self.imgView.display(image: image)
self.imgView.maximumZoomScale = 4.0
self.imgView.zoomScale = 0.3
self.navigationController?.hidesNavigationBarHairline = true
}
private func textViewDidChange(textView: UITextView){
let fixedWidth = textView.frame.size.width
textView.sizeThatFits(CGSize(width: fixedWidth, height: CGFloat.greatestFiniteMagnitude))
let newSize = textView.sizeThatFits(CGSize(width: fixedWidth, height: CGFloat.greatestFiniteMagnitude))
var newFrame = textView.frame
newFrame.size = CGSize(width: max(newSize.width, fixedWidth), height: newSize.height)
textView.frame = newFrame
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
private func chooseImage(){
switch name! {
case "Погонная энергия El":
image = #imageLiteral(resourceName: "pogon")
choose = false
break
case "Эффективный КПД процесса нагрева":
image = #imageLiteral(resourceName: "otnosh")
choose = false
break
case "Плотность эффективной энергии Ql" :
image = #imageLiteral(resourceName: "plotnost")
choose = false
break
case "Сварка взрывом" :
image = #imageLiteral(resourceName: "i11")
break
case "Точечная контактная сварка":
image = #imageLiteral(resourceName: "i20")
break
case "Шовная сварка внахлестку":
image = #imageLiteral(resourceName: "i21")
break
case "Рельефная сварка":
image = #imageLiteral(resourceName: "i25")
break
case "Стыковая сварка сопротивлением":
image = #imageLiteral(resourceName: "i26")
break
case "Стыковая сварка оплавлением":
image = #imageLiteral(resourceName: "i27")
break
case "Индукционная сварка":
image = #imageLiteral(resourceName: "i29")
break
case "Сварка трением с перемешиванием":
image = #imageLiteral(resourceName: "i34")
break
case "Диффузионная сварка":
image = #imageLiteral(resourceName: "i31")
break
case "Термитная сварка":
image = #imageLiteral(resourceName: "i35")
break
case "Лазерная сварка":
image = #imageLiteral(resourceName: "i48")
break
case "Электрошлаковая сварка":
image = #imageLiteral(resourceName: "i50")
break
case "Левый способ сварки":
image = #imageLiteral(resourceName: "i52")
break
case "Правый способ сварки":
image = #imageLiteral(resourceName: "i53")
break
case "Обратноступенчатая сварка":
image = #imageLiteral(resourceName: "i54")
break
case "Сварка углом вперед":
image = #imageLiteral(resourceName: "i55")
break
case "Сварка углом назад":
image = #imageLiteral(resourceName: "i56")
break
case "Сварка с поперечным колебанием горелки":
image = #imageLiteral(resourceName: "i57")
break
case "Наклон горелки":
image = #imageLiteral(resourceName: "i59")
break
case "Угол между горелкой и изделием":
image = #imageLiteral(resourceName: "i60")
break
case "Расстояние от мундштука до изделия":
image = #imageLiteral(resourceName: "i61")
break
default :
image = #imageLiteral(resourceName: "пусто")
break
}
}
/*
// MARK: - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destinationViewController.
// Pass the selected object to the new view controller.
}
*/
}
| [
-1
] |
ac1f5d258dd624c2119962fa4a1bb5e1d3a9af92 | 4b8fb12e1451317743f7cc785ca9728a01822417 | /Maw and Paw ATL/CommunityViewController.swift | 539894f6f3110bbabbf81b1c74b6f87f816c4373 | [] | no_license | mawandpawatl/MedHacks-Maw-and-Paw-ATL | 7e503dec49ec4c45c5a9cf64a6ab92440edb0874 | 7006f75c1cc98b010f1de202f9c4415d2077086f | refs/heads/master | 2020-08-02T23:42:12.768768 | 2019-11-08T06:07:42 | 2019-11-08T06:07:42 | 211,549,516 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 1,348 | swift | //
// CommunityViewController.swift
// Maw and Paw ATL
//
// Created by Laurence Wingo on 10/8/19.
// Copyright © 2019 Maw and Paw ATL, LLC. All rights reserved.
//
import UIKit
class CommunityViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
}
func circularOverlayMask() -> UIImage {
let bounds = self.view.bounds
let width = bounds.size.width
let height = bounds.size.height
let diameter = width
let radius = diameter / 2
let center = CGPoint.init(x: width / 2, y: height / 2)
// Create the image context
UIGraphicsBeginImageContextWithOptions(bounds.size, false, 0)
// Create the bezier paths
let clipPath = UIBezierPath(rect: bounds)
let maskPath = UIBezierPath.init(ovalIn: CGRect.init(x: center.x - radius, y: center.y - radius, width: diameter, height: diameter))
clipPath.append(maskPath)
clipPath.usesEvenOddFillRule = true
clipPath.addClip()
UIColor(white: 0, alpha: 0.5).setFill()
clipPath.fill()
let finalImage: UIImage = UIGraphicsGetImageFromCurrentImageContext()!
return finalImage
}
}
| [
-1
] |
f4ad23580d3b16f35fd35026d9b0a15466eb827a | 7156447f52b8f16507fcef312397c9d247cddea1 | /Weather forecast/WeatherTableViewCell.swift | 7a77b5bcc912c2c7adcf0762bc7fdb823482e3bb | [] | no_license | metwallies/weatherApp | 3e22d3825e6997abde9d97cbbe2a89810f667e76 | d70ab6135f89382d60aec0874eb9a61ee0252b1d | refs/heads/master | 2021-01-24T02:22:00.239360 | 2018-02-28T14:22:32 | 2018-02-28T14:22:32 | 122,842,949 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 1,104 | swift | //
// WeatherTableViewCell.swift
// Weather forecast
//
// Created by islam metwally on 2/25/18.
// Copyright © 2018 Islam Metwally. All rights reserved.
//
import UIKit
class WeatherTableViewCell: UITableViewCell {
@IBOutlet weak var waetherDescriptionLabel: UILabel!
@IBOutlet weak var maxDegreeLabel: UILabel!
@IBOutlet weak var minDegreeLabel: UILabel!
@IBOutlet weak var dateLabel: UILabel!
override func awakeFromNib() {
super.awakeFromNib()
// Initialization code
}
override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
// Configure the view for the selected state
}
func setupCell(with weather : Weather) {
waetherDescriptionLabel.text = weather.weatherDescription
let maxDegree = String(format: "%.02f", weather.maxDegree)
let minDegree = String(format: "%.02f", weather.minDegree)
maxDegreeLabel.text = "max: \(maxDegree) C˚"
minDegreeLabel.text = "min: \(minDegree) C˚"
dateLabel.text = weather.date
}
}
| [
-1
] |
94c9c8dec121d3182c240a3f5ae6a9db0d21f868 | d840be457f63143c09d54c181a567069e82c2876 | /Valute/StoryboardLoadable.swift | 5aee2d79b0503c300ea5b29998d9ccda71246499 | [] | no_license | djomla93/Valute | 3e47259ed2fcef2aba75f7f628e7ad7dda66e137 | cd51d3fc2e8589a524bb695fe378247519e6c78d | refs/heads/master | 2021-01-11T13:59:59.663006 | 2017-06-20T17:00:04 | 2017-06-20T17:00:04 | 94,915,007 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 380 | swift | //
// StoryboardLoadable.swift
// Valute
//
// Created by Aleksandar Vacić on 8.5.17..
// Copyright © 2017. Radiant Tap. All rights reserved.
//
import UIKit
protocol StoryboardLoadable {
static var storyboardIdentifier: String { get }
}
extension UIViewController: StoryboardLoadable {
static var storyboardIdentifier: String {
return String(describing: self)
}
}
| [
-1
] |
ea2be0839d7570323101bdfd9a8c44dbc4ece416 | fc6c76699a864e3fb888c3a0f4973d671590ab6b | /LoopLeap/New Controllers/EmailVerificationPopupup.swift | e852d1d50a06b088e6ee5a83ff40646fb827b0b0 | [] | no_license | TanviPanwar/SimpleApp | ee24997381ebd85d12b61837628b836411bac578 | cb1ef9f38b0d9c42756e72ea76e1610c6857d94a | refs/heads/master | 2023-02-05T16:14:51.738950 | 2020-08-13T08:06:39 | 2020-08-13T08:06:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 40,519 | swift | //
// EmailVerificationPopupup.swift
// LoopLeap
//
// Created by iOS6 on 27/03/19.
// Copyright © 2019 IOS3. All rights reserved.
//
import UIKit
import Alamofire
import MobileCoreServices
import Photos
import PopupDialog
import IQKeyboardManagerSwift
import AVKit
class EmailVerificationPopupup: UIViewController , UITextFieldDelegate {
@IBOutlet weak var titleLabel: UILabel!
@IBOutlet weak var closeBtn: UIButton!
@IBOutlet weak var emailLabel: UILabel!
@IBOutlet weak var phoneLabel: UILabel!
@IBOutlet weak var emailTextField: UITextField!
@IBOutlet weak var verifyBtn: UIButton!
var verifyAction :blockAction?
var noAction : blockAction?
var obj = KeyHolderObject()
var boolChecked = Bool()
var isEditBool = Bool()
var pro_pic = UIImage()
var isEditKeyHolderBool = Bool()
var addChildBool = true
var deleteBool = Bool()
var releaseChildBool = Bool()
var releaseObj = KeyHolderObject()
var profileBool = Bool()
var profileObject = KeyHolderObject()
var profile_pic = UIImage()
var index = Int()
override func viewDidLoad() {
super.viewDidLoad()
emailTextField.setBorder(width: 1, color: #colorLiteral(red: 0.9554988742, green: 0.9562225938, blue: 0.9556109309, alpha: 1), cornerRaidus: 2)
verifyBtn.setBorder(width: 1, color: #colorLiteral(red: 0, green: 0, blue: 0, alpha: 0), cornerRaidus: 39/2)
emailTextField.textFieldWithLeftView(width:35, icon:#imageLiteral(resourceName: "Email-icon"))
if isEditBool || deleteBool || boolChecked || releaseChildBool {
titleLabel.text = "A verification code has been sent to child email:"
}
if profileBool {
emailLabel.text = profileObject.email
phoneLabel.text = profileObject.phone
}
else {
emailLabel.text = obj.email
phoneLabel.text = obj.phone
}
// emailTextField.text = obj.email_activation_code
// Do any additional setup after loading the view.
}
//MARK:-
//MARK:- TextField Delegate Methods
func textFieldShouldReturn(_ textField: UITextField) -> Bool {
textField.resignFirstResponder()
return true
}
@IBAction func closeBtnAction(_ sender: Any) {
noAction!()
}
@IBAction func verifyBtnAction(_ sender: Any) {
verifyAction!()
if isEditBool {
verifyEditChildEmail()
}
else if boolChecked {
verifyEmailApi()
}
else if deleteBool {
verifyDeleteEmailApi()
}
else if isEditKeyHolderBool {
verifyKeyHolderApi()
}
else if releaseChildBool {
verifyReleaseChildEmailApi()
}
else if profileBool {
updateProfileEmailVerifyApi()
}
}
//MARK:-
//MARK:- API Methods
func verifyEmailApi() {
let email:String = (emailTextField.text?.trimmingCharacters(in: CharacterSet.whitespaces))!
if email.isEmpty {
ProjectManager.sharedInstance.showAlertwithTitle(title:"", desc:"Please enter email Otp", vc: self)
}
else {
if let accessToken = UserDefaults.standard.value(forKey:DefaultsIdentifier.access_token) as? String
{
let token_type = UserDefaults.standard.value(forKey:DefaultsIdentifier.token_type) as! String
//let todoEndpoint: String = "http://dev.loopleap.com/api/notificationslist"
let headers = [
"Authorization": token_type + accessToken,
"Accept": "application/json"
]
var parameters = [String: Any]()
var action = String()
if boolChecked {
action = "addChild"
parameters = ["child_id":obj.child_id,"action":action,"email_otp":email]
}
else if deleteBool {
action = "deleteChild"
parameters = ["child_id":obj.child_id,"action":action,"email_otp":email]
}
if ProjectManager.sharedInstance.isInternetAvailable()
{
ProjectManager.sharedInstance.showLoader()
Alamofire.request(baseURL + ApiMethods.verifyOTP, method: .post, parameters: parameters, encoding: JSONEncoding.default, headers:headers)
.responseJSON { response in
ProjectManager.sharedInstance.stopLoader()
// check for errors
guard response.result.error == nil else {
// got an error in getting the data, need to handle it
print("error calling GET on /todos/1")
print(response.result.error!)
return
}
// make sure we got some JSON since that's what we expect
guard let json = response.result.value as? [String: Any] else {
print("didn't get todo object as JSON from API")
if let error = response.result.error {
print("Error: \(error)")
}
return
}
print(json)
let status = json["status"] as? Int
if status == 1 {
UIApplication.topViewController()?.dismiss(animated: true, completion:
{
if self.deleteBool {
ProjectManager.sharedInstance.childDelegate?.refreshChildList(index: self.index)
}
let msg = json["message"] as? String
ProjectManager.sharedInstance.showAlertwithTitle(title:"", desc: msg!, vc: UIApplication.topViewController()!)
}
/* Phone Verification */
// {
//
//
// let alertVC :PhoneVerificationPopup = (self.storyboard?.instantiateViewController(withIdentifier: "PhoneVerificationPopup") as? PhoneVerificationPopup)!
//
// alertVC.obj = self.obj
// alertVC.index = self.index
//
// if self.boolChecked {
//
// alertVC.boolChecked = true
//
// }
// else {
// //if self.boolChecked {
// alertVC.deleteBool = true // self.addChildBool
// //}
// }
//
//
// let popup = PopupDialog(viewController: alertVC, buttonAlignment:.vertical, transitionStyle: .bounceDown
// , tapGestureDismissal: false, panGestureDismissal: false) {
// let overlayAppearance = PopupDialogOverlayView.appearance()
// overlayAppearance.blurRadius = 30
// overlayAppearance.blurEnabled = true
// overlayAppearance.liveBlur = false
// overlayAppearance.opacity = 0.4
// }
//
// alertVC.verifyAction = {
//
//// popup.dismiss({
////
//// // self.navigationController?.popViewController(animated: true)
////
//// })
//
//
// }
//
// alertVC.noAction = {
//
// popup.dismiss({
//
// // self.navigationController?.popViewController(animated: true)
//
// })
//
// }
//
// UIApplication.topViewController()?.present(popup, animated: true, completion: nil)
//
//
//
// }
)
}
else {
let msg = json["message"] as? String
ProjectManager.sharedInstance.showAlertwithTitle(title:"", desc: msg!, vc: UIApplication.topViewController()!)
}
}
}
else {
DispatchQueue.main.async(execute: {
ProjectManager.sharedInstance.stopLoader()
ProjectManager.sharedInstance.showAlertwithTitle(title:"Internet Connection Lost", desc: "Check internet connection", vc:UIApplication.topViewController()!)
})
}
}
}
}
func verifyDeleteEmailApi() {
let email:String = (emailTextField.text?.trimmingCharacters(in: CharacterSet.whitespaces))!
if email.isEmpty {
ProjectManager.sharedInstance.showAlertwithTitle(title:"", desc:"Please enter email Otp", vc: self)
}
else {
if let accessToken = UserDefaults.standard.value(forKey:DefaultsIdentifier.access_token) as? String
{
let token_type = UserDefaults.standard.value(forKey:DefaultsIdentifier.token_type) as! String
//let todoEndpoint: String = "http://dev.loopleap.com/api/notificationslist"
let headers = [
"Authorization": token_type + accessToken,
"Accept": "application/json"
]
var parameters = [String: Any]()
var action = String()
// if deleteBool {
action = "deleteChild"
parameters = ["child_id":obj.child_id,"action":action,"email_otp":email]
// }
if ProjectManager.sharedInstance.isInternetAvailable()
{
ProjectManager.sharedInstance.showLoader()
Alamofire.request(baseURL + ApiMethods.verifyOTP, method: .post, parameters: parameters, encoding: JSONEncoding.default, headers:headers)
.responseJSON { response in
ProjectManager.sharedInstance.stopLoader()
// check for errors
guard response.result.error == nil else {
// got an error in getting the data, need to handle it
print("error calling GET on /todos/1")
print(response.result.error!)
return
}
// make sure we got some JSON since that's what we expect
guard let json = response.result.value as? [String: Any] else {
print("didn't get todo object as JSON from API")
if let error = response.result.error {
print("Error: \(error)")
}
return
}
print(json)
let status = json["status"] as? Int
if status == 1 {
ProjectManager.sharedInstance.childDelegate?.refreshChildList(index: self.index)
UIApplication.topViewController()?.dismiss(animated: true, completion:
{
let msg = json["message"] as? String
ProjectManager.sharedInstance.showAlertwithTitle(title:"", desc: msg!, vc: UIApplication.topViewController()!)
}
/* Phone Verification */
// {
//
//
// let alertVC :PhoneVerificationPopup = (self.storyboard?.instantiateViewController(withIdentifier: "PhoneVerificationPopup") as? PhoneVerificationPopup)!
//
// alertVC.obj = self.obj
// alertVC.index = self.index
// alertVC.deleteBool = true
//
// let popup = PopupDialog(viewController: alertVC, buttonAlignment:.vertical, transitionStyle: .bounceDown
// , tapGestureDismissal: false, panGestureDismissal: false) {
// let overlayAppearance = PopupDialogOverlayView.appearance()
// overlayAppearance.blurRadius = 30
// overlayAppearance.blurEnabled = true
// overlayAppearance.liveBlur = false
// overlayAppearance.opacity = 0.4
// }
//
// alertVC.verifyAction = {
//
// // popup.dismiss({
// //
// // // self.navigationController?.popViewController(animated: true)
// //
// // })
//
//
// }
//
// alertVC.noAction = {
//
// popup.dismiss({
//
// // self.navigationController?.popViewController(animated: true)
//
// })
//
// }
//
// UIApplication.topViewController()?.present(popup, animated: true, completion: nil)
//
//
//
// }
)
}
else {
let msg = json["message"] as? String
ProjectManager.sharedInstance.showAlertwithTitle(title:"", desc: msg!, vc: UIApplication.topViewController()!)
}
}
}
else {
DispatchQueue.main.async(execute: {
ProjectManager.sharedInstance.stopLoader()
ProjectManager.sharedInstance.showAlertwithTitle(title:"Internet Connection Lost", desc: "Check internet connection", vc:UIApplication.topViewController()!)
})
}
}
}
}
func verifyEditChildEmail() {
let email:String = (emailTextField.text?.trimmingCharacters(in: CharacterSet.whitespaces))!
if email.isEmpty {
ProjectManager.sharedInstance.showAlertwithTitle(title:"", desc:"Please enter email Otp", vc: self)
}
else {
var parameters = [String: Any]()
parameters = ["action":"updateChild","email_otp":email,"child_id":obj.child_id, "name":obj.name, "email": obj.email, "dob":obj.dob,"phone_code":obj.country_code,"phone":obj.phone,"address":obj.address_line_1, "city":obj.city, "zip":obj.zip, "country":obj.country]
let imgParam = "change_profile_pic"
if ProjectManager.sharedInstance.isInternetAvailable()
{
ProjectManager.sharedInstance.showLoader()
ProjectManager.sharedInstance.callApiWithParameters(params:parameters, url:baseURL + ApiMethods.verifyOTP, image: pro_pic, imageParam:imgParam) { (response, error) in
ProjectManager.sharedInstance.stopLoader()
if response != nil {
if let status = response?["status"] as? NSNumber {
let message = response?["message"] as? String
if status == 1 {
UIApplication.topViewController()?.dismiss(animated: true, completion:
{
let msg = response?["message"] as? String
ProjectManager.sharedInstance.showAlertwithTitle(title:"", desc: msg!, vc: UIApplication.topViewController()!)
}
/* Phone Verification */
// {
//
//
// let alertVC :PhoneVerificationPopup = (self.storyboard?.instantiateViewController(withIdentifier: "PhoneVerificationPopup") as? PhoneVerificationPopup)!
//
// alertVC.obj = self.obj
// alertVC.index = self.index
// alertVC.isEditBool = self.isEditBool
// alertVC.pro_pic = self.pro_pic
//
// let popup = PopupDialog(viewController: alertVC, buttonAlignment:.vertical, transitionStyle: .bounceDown
// , tapGestureDismissal: false, panGestureDismissal: false) {
// let overlayAppearance = PopupDialogOverlayView.appearance()
// overlayAppearance.blurRadius = 30
// overlayAppearance.blurEnabled = true
// overlayAppearance.liveBlur = false
// overlayAppearance.opacity = 0.4
// }
//
// alertVC.verifyAction = {
//
//
//
//
// }
//
// alertVC.noAction = {
//
// popup.dismiss({
//
// // self.navigationController?.popViewController(animated: true)
//
// })
//
// }
//
// UIApplication.topViewController()?.present(popup, animated: true, completion: nil)
//
//
//
//
// }
)
}
else {
ProjectManager.sharedInstance.showAlertwithTitle(title:"", desc: message!, vc: UIApplication.topViewController()!)
}
}
}
else {
ProjectManager.sharedInstance.showAlertwithTitle(title:"", desc: "Server Error", vc: UIApplication.topViewController()!)
}
}
}
else {
DispatchQueue.main.async(execute: {
ProjectManager.sharedInstance.stopLoader()
ProjectManager.sharedInstance.showAlertwithTitle(title:"Internet Connection Lost", desc: "Check internet connection", vc:UIApplication.topViewController()!)
})
}
}
}
func verifyKeyHolderApi() {
let email:String = (emailTextField.text?.trimmingCharacters(in: CharacterSet.whitespaces))!
if email.isEmpty {
ProjectManager.sharedInstance.showAlertwithTitle(title:"", desc:"Please enter email Otp", vc: self)
}
else {
if let accessToken = UserDefaults.standard.value(forKey:DefaultsIdentifier.access_token) as? String
{
let token_type = UserDefaults.standard.value(forKey:DefaultsIdentifier.token_type) as! String
//let todoEndpoint: String = "http://dev.loopleap.com/api/notificationslist"
let headers = [
"Authorization": token_type + accessToken,
"Accept": "application/json"
]
var parameters = [String: Any]()
if obj.release_type == "ondate" {
parameters = ["action":"editKeyholder","email_otp":email,"receiver_id":obj.receiver_id, "access_dirs":obj.access_dirs, "release_type": obj.release_type, "release_date":obj.release_date]
}
else if obj.release_type == "ondeath" {
parameters = ["action":"editKeyholder","email_otp":email,"receiver_id":obj.receiver_id, "access_dirs":obj.access_dirs, "release_type": obj.release_type]
}
if ProjectManager.sharedInstance.isInternetAvailable()
{
ProjectManager.sharedInstance.showLoader()
Alamofire.request(baseURL + ApiMethods.verifyOTP, method: .post, parameters: parameters, encoding: JSONEncoding.default, headers:headers)
.responseJSON { response in
ProjectManager.sharedInstance.stopLoader()
// check for errors
guard response.result.error == nil else {
// got an error in getting the data, need to handle it
print("error calling GET on /todos/1")
print(response.result.error!)
return
}
// make sure we got some JSON since that's what we expect
guard let json = response.result.value as? [String: Any] else {
print("didn't get todo object as JSON from API")
if let error = response.result.error {
print("Error: \(error)")
}
return
}
print(json)
let status = json["status"] as? Int
if status == 1 {
UIApplication.topViewController()?.dismiss(animated: true, completion:
{
let msg = json["message"] as? String
ProjectManager.sharedInstance.showAlertwithTitle(title:"", desc: msg!, vc: UIApplication.topViewController()!)
}
/* Phone Verification */
// {
//
//
// let alertVC :PhoneVerificationPopup = (self.storyboard?.instantiateViewController(withIdentifier: "PhoneVerificationPopup") as? PhoneVerificationPopup)!
//
// alertVC.obj = self.obj
// //alertVC.index = self.index
// alertVC.isEditKeyBool = true
//
// let popup = PopupDialog(viewController: alertVC, buttonAlignment:.vertical, transitionStyle: .bounceDown
// , tapGestureDismissal: false, panGestureDismissal: false) {
// let overlayAppearance = PopupDialogOverlayView.appearance()
// overlayAppearance.blurRadius = 30
// overlayAppearance.blurEnabled = true
// overlayAppearance.liveBlur = false
// overlayAppearance.opacity = 0.4
// }
//
// alertVC.verifyAction = {
//
//// popup.dismiss({
////
//// // self.navigationController?.popViewController(animated: true)
////
//// })
////
//
// }
//
// alertVC.noAction = {
//
// popup.dismiss({
//
// // self.navigationController?.popViewController(animated: true)
//
// })
//
// }
//
// UIApplication.topViewController()?.present(popup, animated: true, completion: nil)
//
//
//
//
// }
)
}
else {
let msg = json["message"] as? String
ProjectManager.sharedInstance.showAlertwithTitle(title:"", desc: msg!, vc: UIApplication.topViewController()!)
}
}
}
else {
DispatchQueue.main.async(execute: {
ProjectManager.sharedInstance.stopLoader()
ProjectManager.sharedInstance.showAlertwithTitle(title:"Internet Connection Lost", desc: "Check internet connection", vc:UIApplication.topViewController()!)
})
}
}
}
}
func verifyReleaseChildEmailApi() {
let email:String = (emailTextField.text?.trimmingCharacters(in: CharacterSet.whitespaces))!
if email.isEmpty {
ProjectManager.sharedInstance.showAlertwithTitle(title:"", desc:"Please enter email Otp", vc: self)
}
else {
if let accessToken = UserDefaults.standard.value(forKey:DefaultsIdentifier.access_token) as? String
{
let token_type = UserDefaults.standard.value(forKey:DefaultsIdentifier.token_type) as! String
//let todoEndpoint: String = "http://dev.loopleap.com/api/notificationslist"
let headers = [
"Authorization": token_type + accessToken,
"Accept": "application/json"
]
var parameters = [String: Any]()
parameters = ["action":"releaseChild","email_otp":email,"child_id":releaseObj.id]
if ProjectManager.sharedInstance.isInternetAvailable()
{
ProjectManager.sharedInstance.showLoader()
Alamofire.request(baseURL + ApiMethods.verifyOTP, method: .post, parameters: parameters, encoding: JSONEncoding.default, headers:headers)
.responseJSON { response in
ProjectManager.sharedInstance.stopLoader()
// check for errors
guard response.result.error == nil else {
// got an error in getting the data, need to handle it
print("error calling GET on /todos/1")
print(response.result.error!)
return
}
// make sure we got some JSON since that's what we expect
guard let json = response.result.value as? [String: Any] else {
print("didn't get todo object as JSON from API")
if let error = response.result.error {
print("Error: \(error)")
}
return
}
print(json)
let status = json["status"] as? Int
if status == 1 {
// let alertVC :PhoneVerificationPopup = (self.storyboard?.instantiateViewController(withIdentifier: "PhoneVerificationPopup") as? PhoneVerificationPopup)!
//
// alertVC.releaseObj = self.releaseObj
// alertVC.index = self.index
// alertVC.releaseChildBool = true
// alertVC.obj = self.releaseObj
ProjectManager.sharedInstance.releaseDelegate?.changeReleaseChildStatus()
self.dismiss(animated: true, completion:
{
let msg = json["message"] as? String
ProjectManager.sharedInstance.showAlertwithTitle(title:"", desc: msg!, vc: UIApplication.topViewController()!)
}
)
/* Phone Verification */
// {
//
//
// let popup = PopupDialog(viewController: alertVC, buttonAlignment:.vertical, transitionStyle: .bounceDown
// , tapGestureDismissal: false, panGestureDismissal: false) {
// let overlayAppearance = PopupDialogOverlayView.appearance()
// overlayAppearance.blurRadius = 30
// overlayAppearance.blurEnabled = true
// overlayAppearance.liveBlur = false
// overlayAppearance.opacity = 0.4
// }
//
// alertVC.verifyAction = {
//
//
// }
//
// alertVC.noAction = {
//
// popup.dismiss({
//
// // self.navigationController?.popViewController(animated: true)
//
// })
//
// }
//
// UIApplication.topViewController()?.present(popup, animated: true, completion: nil)
//
//
//
//
// }
}
else {
let msg = json["message"] as? String
ProjectManager.sharedInstance.showAlertwithTitle(title:"", desc: msg!, vc: UIApplication.topViewController()!)
}
}
}
else {
DispatchQueue.main.async(execute: {
ProjectManager.sharedInstance.stopLoader()
ProjectManager.sharedInstance.showAlertwithTitle(title:"Internet Connection Lost", desc: "Check internet connection", vc:UIApplication.topViewController()!)
})
}
}
}
}
func updateProfileEmailVerifyApi() {
let email:String = (emailTextField.text?.trimmingCharacters(in: CharacterSet.whitespaces))!
if email.isEmpty {
ProjectManager.sharedInstance.showAlertwithTitle(title:"", desc:"Please enter email Otp", vc: self)
}
else {
var parameters = [String: Any]()
parameters = ["action":"updateProfile","email_otp":email,"name":profileObject.name, "email": profileObject.email, "dob":profileObject.dob,"phone_code":profileObject.country_code,"phone":profileObject.phone,"address":profileObject.address_line_1, "city":profileObject.city, "zip":profileObject.zip, "country":profileObject.country, "password":"", "enable_diary_mode":"","make_public":""]
let imgParam = "change_profile_pic"
if ProjectManager.sharedInstance.isInternetAvailable()
{
ProjectManager.sharedInstance.showLoader()
ProjectManager.sharedInstance.callApiWithParameters(params:parameters, url:baseURL + ApiMethods.verifyOTP, image: pro_pic, imageParam:imgParam) { (response, error) in
ProjectManager.sharedInstance.stopLoader()
if response != nil {
if let status = response?["status"] as? NSNumber {
let message = response?["message"] as? String
if status == 1 {
self.dismiss(animated: true, completion:
{
let msg = response?["message"] as? String
ProjectManager.sharedInstance.showAlertwithTitle(title:"", desc: msg!, vc: UIApplication.topViewController()!)
}
)
/* Phone Verification */
// {
//
//
// let alertVC :PhoneVerificationPopup = (self.storyboard?.instantiateViewController(withIdentifier: "PhoneVerificationPopup") as? PhoneVerificationPopup)!
//
// alertVC.profileObject = self.profileObject
// alertVC.profileBool = true
// alertVC.profile_pic = self.profile_pic
//
// let popup = PopupDialog(viewController: alertVC, buttonAlignment:.vertical, transitionStyle: .bounceDown
// , tapGestureDismissal: false, panGestureDismissal: false) {
// let overlayAppearance = PopupDialogOverlayView.appearance()
// overlayAppearance.blurRadius = 30
// overlayAppearance.blurEnabled = true
// overlayAppearance.liveBlur = false
// overlayAppearance.opacity = 0.4
// }
//
// alertVC.verifyAction = {
//
// // popup.dismiss({
// //
// // // self.navigationController?.popViewController(animated: true)
// //
// // })
//
// }
//
// alertVC.noAction = {
//
// popup.dismiss({
//
// // self.navigationController?.popViewController(animated: true)
//
// })
//
// }
//
// UIApplication.topViewController()?.present(popup, animated: true, completion: nil)
//
//
//
// }
// )
}
else {
ProjectManager.sharedInstance.showAlertwithTitle(title:"", desc: message!, vc: UIApplication.topViewController()!)
}
}
}
else {
ProjectManager.sharedInstance.showAlertwithTitle(title:"", desc: "Server Error", vc: UIApplication.topViewController()!)
}
}
}
else {
DispatchQueue.main.async(execute: {
ProjectManager.sharedInstance.stopLoader()
ProjectManager.sharedInstance.showAlertwithTitle(title:"Internet Connection Lost", desc: "Check internet connection", vc:UIApplication.topViewController()!)
})
}
}
}
/*
// MARK: - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destination.
// Pass the selected object to the new view controller.
}
*/
}
| [
-1
] |
62aee5cf260ca6c8843ee96e388d61b1643ccaf9 | ede7c1ddefd19e70913cc46c346bda26d103c7b7 | /PaymentSDK/Sources/Modules/Main/PaymentProtocols.swift | d702c9dd8c29d8c180f23c9201adf6dddbbc6861 | [
"MIT"
] | permissive | tungnx-teko/payment-sdk-ios | 9781c98161690372f0a2cb4e11b427cfd3f037c9 | 4ceec69237ca613bf89428100e84d57103e66a4a | refs/heads/master | 2022-11-13T05:38:16.700587 | 2020-07-10T02:47:47 | 2020-07-10T02:47:47 | 276,837,866 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 441 | swift | //
// PaymentProtocols.swift
// Alamofire
//
// Created by Tung Nguyen on 7/2/20.
//
import Foundation
import PaymentGateway
protocol PaymentPresenterProtocol: class {
var request: PaymentRequest { get }
func onResult(_ result: PaymentResult)
func handleCancel()
}
protocol PaymentViewProtocol: class {
var presenter: PaymentPresenterProtocol? { get }
}
protocol PaymentRouterProtocol: class {
func close()
}
| [
-1
] |
72d45b5ec457821a87153160f7350c950fc982d3 | 4b9f3d153aed5468cbba067604938364c59b716c | /ToDo/ToDo/ViewController.swift | a12273c0735beac4b046891a4037a99f15eaba87 | [] | no_license | rajat10bhatt/UnitTesting | 8e0ea57de71b99e08979e0bc008f5035f9aa5b33 | 95e7bc19fc9a2443cf7c83d74117905287e36015 | refs/heads/master | 2020-08-26T13:23:11.725899 | 2020-01-16T15:46:42 | 2020-01-16T15:46:42 | 217,024,046 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 315 | swift | //
// ViewController.swift
// ToDo
//
// Created by Rajat on 12/2/19.
// Copyright © 2019 Rajat. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
}
}
| [
327555,
398203,
356742,
384145,
391441,
375576,
384153,
399130,
258589,
254494,
254495,
436128,
254497,
155551,
397091,
351400,
316331,
356652,
319284,
383797,
396725,
402616,
316346,
397114,
111292,
384447,
266816,
360903,
359368,
437582,
330960,
146645,
399958,
402524,
362845,
332513,
399201,
384103,
374122,
352876,
349297,
210674,
320506,
361595
] |
c4cd920acfa0baee43ae2a0be8fa7027c5f87fba | 27b2cdc326d11becddd0fedbab078cda1c40ee41 | /NewsReader/WxcAPI.swift | 37ce3417d5f9c29e7e512a0fccc0ac1b681f7542 | [] | no_license | conanwhf/NewsReader | 75272a6bf10f52b85a941717cc96e0cef063054b | 89463dee4467aaec6f01604fb10ffa0b84797d92 | refs/heads/master | 2021-01-10T13:13:59.595225 | 2016-02-11T10:34:58 | 2016-02-11T10:34:58 | 51,011,538 | 3 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 2,520 | swift | //
// WxcAPI.swift
// NewsReader
//
// Created by Conan on 17/12/15.
// Copyright © 2015年 Conan. All rights reserved.
//
import Foundation
enum WxcChannels : Int {
case news = 0
case ent = 1
case social = 2
case blog = 3
case bbs = 4
}
let wxcChannelArr = ["新闻", "娱乐", "社会"]
struct WxcAPI {
private let _APIURL_BASE = "http://api.wenxuecity.com/service/api/?"
private let _CALLBACK_ID = "CONANTEST"
private let _FORMAT_ = "json"
private let _CHANNELS = ["&channel=news", "&channel=ent", "&channel=gossip", "&func=blog", "&func=bbs"]
var pagesize = 30
/* - act: {
view. ( - id)
list. ( - lastID, - pagesize)
index(永远返回24个)}
- version: 1. 2
- channel: news. bbs. blog. ent
- format: {jsonp(- callback:). json. xml}
bbs&blog数据不一样
*/
/**
根据需要生成URL (请求List数据)
- parameter ch: 请求的频道名字, news. bbs. blog. hot. passport. search. ads. qqh
- parameter last: 最后post ID,为0的时候为请求最新数据
- parameter num: 返回的item数量
*/
func getURL( requestChannel ch : WxcChannels, last: Int = 0 ) -> NSURL {
//act=list, channel, format, lastid, pagesize
var st = _APIURL_BASE + "&act=list&version=2" + ("&format=" + _FORMAT_ )
st = st + _CHANNELS[ch.rawValue] + "&lastID=\(last)" + "&pagesize=\(pagesize)"
return NSURL(string: st)!
}
/**请求单篇文章数据)
- parameter id: 请求的PostID
- parameter ver: 返回数据使用版本,默认为2
*/
func getURL(postId id: Int, requestChannel ch : WxcChannels, ver : Int = 2 ) -> NSURL {
//act=view, format, version
var st = _APIURL_BASE + "&act=view" + ("&format=" + _FORMAT_ )
st = st + "&version=\(ver)" + "&id=\(id)" + _CHANNELS[ch.rawValue]
return NSURL(string: st)!
}
//如果需要针对网站预先处理
private func operation(inout st: String) {
//TODO: do sth. about string
}
func speicalForData(data : NSData) -> NSData? {
var st = String(data: data, encoding: NSUTF8StringEncoding)!
self.operation(&st)
return st.dataUsingEncoding(NSUTF8StringEncoding)
}
func speicalForData(var st : String) -> NSData? {
self.operation(&st)
return st.dataUsingEncoding(NSUTF8StringEncoding)
}
}
| [
-1
] |
17e83df5a7058434e73e71d6a9227a625afa49e7 | cf6d9dfbe9a4296e0cc5f8be239ce89335f27285 | /SuperArc/SuperArcFoundation/Sources/Runtime/NSObject+Extensions.swift | 1970a9c21566bab88cfca173ea111aa5d8b9c97d | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | frameworklabs/SwiftCommunity | f0b26b64ae20ce53fcd54c888d5feca64b242290 | c24fc017fc36923d3cad4ee6139d847de4fef125 | refs/heads/master | 2020-09-23T10:49:37.938298 | 2019-12-03T20:09:50 | 2019-12-03T20:09:50 | 225,481,063 | 0 | 0 | MIT | 2019-12-02T22:27:51 | 2019-12-02T22:27:50 | null | UTF-8 | Swift | false | false | 225 | swift | //
// Copyright © 2019 An Tran. All rights reserved.
//
import Foundation
public extension NSObject {
/// Returns name of the class.
class var className: String {
return String(describing: self)
}
}
| [
-1
] |
862780a1a9c5badc0cf72acf0290ee8855993837 | 249ceeca8cd83e986cb838aeaf3cfa289c7c50e4 | /SwiftUIVPNApp2/SwiftUIVPNApp2/StartStopButtonView.swift | 9ece452d52d1081ae6d7d8840bc01e392b832ee5 | [
"MIT"
] | permissive | ihusnainalii/my-swift-journey | 1c73103ad087a5a40f72e8b937da5cf7b992c81e | 72bb9fe115f94af0cad0d5454736e5c026dbc4f5 | refs/heads/master | 2023-02-24T19:11:49.401255 | 2021-01-28T06:33:22 | 2021-01-28T06:33:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 793 | swift | //
// StartStopButtonView.swift
// SwiftUIVPNApp2
//
// Created by Luan Nguyen on 27/12/2020.
//
import SwiftUI
struct StartStopButtonView: View {
@ObservedObject var speedSimulator: SpeedSimultor
var body: some View {
ZStack {
RoundedRectangle(cornerRadius: 56)
.fill(speedSimulator.start ? Color.stopColor : Color.startColor)
.frame(width: 120, height: 56)
HStack {
Image(systemName: "power")
.font(.system(size: 24, weight: .black))
Text(speedSimulator.start ? "Stop" : "Start")
.font(.system(size: 18, weight: .regular))
}
.foregroundColor(speedSimulator.start ? .black : .white)
}
}
}
| [
-1
] |
e84386dd0f82836db0f13f281ccbd51caf1b0e3b | d439a95c18c503bc47b418d78094b97bcfd895cc | /validation-test/compiler_crashers_fixed/25666-swift-constraints-generalfailurediagnosis-diagnosegeneralconversionfailure.swift | 3e0b15b7cd89452a4bc6f07cb8818c5eb5391381 | [
"Apache-2.0",
"Swift-exception"
] | permissive | DougGregor/swift | 7e40d5a1b672e6fca9b28130ef8ac0ce601cf650 | 16b686989c12bb1acf9d1a490c1f301d71428f47 | refs/heads/master | 2023-08-05T05:11:53.545515 | 2016-07-06T18:23:34 | 2016-07-06T18:23:34 | 50,400,732 | 14 | 2 | Apache-2.0 | 2023-08-23T05:19:32 | 2016-01-26T03:34:10 | C++ | UTF-8 | Swift | false | false | 430 | swift | // This source file is part of the Swift.org open source project
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
// RUN: not %target-swift-frontend %s -parse
func a<T{protocol A:A{class d{let i:T
| [
74943,
74947,
74949,
74951,
74952,
74953,
74954,
74956,
74958,
74959,
74962,
74963,
74964,
74965,
74966,
74967,
74968,
74969,
74970,
74974,
74975,
74976,
74977,
74978,
74979,
74981,
74982,
74983,
74984,
74985,
74986,
74987,
74988,
74990,
74991,
74992,
74993,
74997,
74999,
75000,
75003,
75004,
75008,
75010,
75011,
75012,
75014,
75015,
75016,
75017,
75020,
75021,
75022,
75025,
75026,
75030,
75033,
75034,
75035,
75037,
75039,
75040,
75043,
75044,
75045,
75047,
75049,
75050,
75051,
75052,
75055,
75056,
75058,
75063,
75066,
75067,
75068,
75069,
75071,
75072,
75073,
75075,
75076,
75077,
75078,
75079,
75080,
75082,
75084,
75085,
75087,
75089,
75090,
75092,
75093,
75097,
75098,
75100,
75102,
75103,
75104,
75107,
75110,
75111,
75112,
75113,
75116,
75117,
75119,
75120,
75122,
75125,
75128,
75129,
75130,
75131,
75132,
75133,
75134,
75135,
75136,
75137,
75141,
75142,
75143,
75144,
75145,
75147,
75148,
75150,
75151,
75152,
75153,
75154,
75155,
75157,
75158,
75164,
75166,
75168,
75169,
75170,
75172,
75173,
75174,
75176,
75178,
75179,
75180,
75182,
75184,
75185,
75186,
75187,
75188,
75189,
75190,
75191,
75192,
75193,
75194,
75195,
75196,
75199,
75200,
75201,
75202,
75203,
75204,
75205,
75206,
75207,
75211,
75212,
75214,
75215,
75216,
75217,
75218,
75219,
75220,
75222,
75223,
75225,
75226,
75227,
75229,
75230,
75236,
75237,
75238,
75239,
75241,
75242,
75243,
75245,
75249,
75250,
75251,
75252,
75253,
75255,
75256,
75257,
75258,
75260,
75261,
75264,
75265,
75266,
75267,
75268,
75269,
75270,
75273,
75274,
75276,
75277,
75278,
75282,
75288,
75291,
75293,
75294,
75295,
75296,
75297,
75301,
75303,
75304,
75306,
75307,
75310,
75312,
75314,
75315,
75316,
75317,
75320,
75321,
75322,
75323,
75324,
75325,
75327,
75329,
75330,
75333,
75335,
75337,
75338,
75340,
75342,
75343,
75346,
75348,
75349,
75350,
75351,
75352,
75353,
75355,
75356,
75357,
75358,
75359,
75360,
75362,
75363,
75364,
75365,
75366,
75368,
75370,
75373,
75375,
75376,
75377,
75378,
75382,
75384,
75387,
75388,
75389,
75392,
75394,
75395,
75396,
75400,
75401,
75402,
75403,
75404,
75406,
75407,
75410,
75411,
75413,
75416,
75417,
75418,
75422,
75424,
75425,
75426,
75427,
75428,
75429,
75430,
75431,
75432,
75435,
75439,
75440,
75441,
75445,
75446,
75447,
75448,
75449,
75450,
75454,
75455,
75457,
75458,
75459,
75461,
75462,
75463,
75464,
75465,
75466,
75468,
75469,
75470,
75472,
75473,
75474,
75476,
75478,
75481,
75486,
75489,
75491,
75495,
75497,
75499,
75500,
75502,
75503,
75504,
75505,
75506,
75507,
75508,
75514,
75515,
75516,
75519,
75520,
75521,
75523,
75524,
75525,
75528,
75529,
75530,
75531,
75532,
75533,
75534,
75535,
75536,
75537,
75538,
75539,
75540,
75541,
75544,
75545,
75549,
75553,
75554,
75555,
75556,
75558,
75559,
75560,
75561,
75564,
75565,
75568,
75569,
75570,
75571,
75572,
75575,
75579,
75581,
75583,
75584,
75585,
75586,
75587,
75590,
75592,
75594,
75595,
75596,
75599,
75601,
75602,
75603,
75604,
75605,
75606,
75607,
75608,
75610,
75612,
75613,
75614,
75616,
75618,
75619,
75623,
75628,
75633,
75635,
75636,
75637,
75638,
75639,
75640,
75641,
75642,
75643,
75645,
75646,
75648,
75653,
75656,
75657,
75658,
75659,
75660,
75661,
75662,
75663,
75665,
75666,
75670,
75671,
75672,
75674,
75676,
75677,
75678,
75681,
75683,
75684,
75687,
75688,
75690,
75691,
75692,
75694,
75696,
75699,
75700,
75701,
75704,
75706,
75707,
75708,
75712,
75714,
75715,
75716,
75717,
75718,
75719,
75720,
75721,
75722,
75724,
75726,
75728,
75729,
75732,
75733,
75734,
75735,
75736,
75737,
75738,
75739,
75740,
75741,
75744,
75745,
75746,
75748,
75751,
75753,
75754,
75755,
75756,
75757,
75758,
75759,
75760,
75761,
75762,
75763,
75766,
75768,
75769,
75772,
75773,
75775,
75777,
75778,
75781,
75783,
75785,
75786,
75789,
75792,
75793,
75794,
75795,
75797,
75798,
75800,
75801,
75802,
75803,
75804,
75806,
75810,
75811,
75812,
75813,
75815,
75816,
75817,
75818,
75819,
75820,
75821,
75823,
75825,
75826,
75827,
75829,
75831,
75834,
75835,
75836,
75839,
75840,
75841,
75842,
75843,
75845,
75847,
75848,
75849,
75850,
75851,
75852,
75853,
75854,
75855,
75856,
75857,
75858,
75859,
75860,
75862,
75863,
75865,
75866,
75867,
75868,
75869,
75872,
75873,
75874,
75878,
75879,
75882,
75885,
75886,
75888,
75890,
75892,
75893,
75894,
75895,
75897,
75898,
75901,
75903,
75905,
75906,
75908,
75909,
75910,
75911,
75912,
75913,
75914,
75915,
75916,
75917,
75918,
75921,
75922,
75925,
75927,
75928,
75929,
75930,
75931,
75932,
75933,
75934,
75935,
75937,
75938,
75939,
75941,
75944,
75945,
75947,
75948,
75949,
75950,
75951,
75952,
75953,
75954,
75955,
75956,
75957,
75958,
75960,
75961,
75962,
75963,
75964,
75965,
75966,
75967,
75968,
75969,
75970,
75971,
75972,
75975,
75976,
75977,
75978,
75979,
75981,
75983,
75987,
75988,
75990,
75991,
75994,
75995,
75997,
76001,
76002,
76003,
76004,
76007,
76009,
76010,
76011,
76013,
76018,
76019,
76021,
76022,
76024,
76026,
76027,
76028,
76029,
76030,
76031,
76032,
76035,
76036,
76038,
76039,
76040,
76041,
76042,
76043,
76044,
76045,
76046,
76047,
76049,
76051,
76052,
76058,
76060,
76061,
76064,
76065,
76066,
76067,
76068,
76069,
76070,
76072,
76073,
76075,
76076,
76077,
76078,
76080,
76082,
76084,
76087,
76089,
76090,
76091,
76093,
76094,
76095,
76096,
76097,
76098,
76099,
76101,
76104,
76106,
76108,
76109,
76110,
76111,
76117,
76120,
76124,
76126,
76127,
76129,
76130,
76131,
76134,
76135,
76136,
76138,
76139,
76141,
76142,
76144,
76145,
76146,
76147,
76149,
76150,
76151,
76152,
76153,
76155,
76157,
76158,
76163,
76165,
76167,
76169,
76170,
76171,
76172,
76173,
76174,
76175,
76176,
76177,
76180,
76181,
76184,
76185,
76186,
76187,
76191,
76192,
76193,
76194,
76195,
76196,
76197,
76198,
76199,
76200,
76201,
76202,
76203,
76205,
76208,
76210,
76211,
76213,
76215,
76216,
76217,
76218,
76220,
76221,
76222,
76223,
76225,
76227,
76232,
76234,
76235,
76236,
76237,
76238,
76239,
76240,
76241,
76242,
76243,
76244,
76247,
76250,
76253,
76254,
76255,
76257,
76259,
76260,
76261,
76262,
76263,
76266,
76267,
76268,
76270,
76271,
76272,
76274,
76275,
76276,
76277,
76279,
76281,
76284,
76285,
76286,
76287,
76288,
76290,
76291,
76293,
76294,
76295,
76296,
76297,
76299,
76301,
76303,
76304,
76306,
76307,
76308,
76309,
76310,
76311,
76313,
76315,
76316,
76317,
76318,
76319,
76320,
76322,
76323,
76327,
76328,
76329,
76330,
76331,
76332,
76333,
76337,
76339,
76341,
76342,
76343,
76344,
76347,
76350,
76352,
76354,
76357,
76358,
76359,
76360,
76362,
76364,
76365,
76368,
76369,
76371,
76373,
76375,
76376,
76380,
76381,
76382,
76383,
76384,
76385,
76386,
76391,
76392,
76393,
76395,
76396,
76397,
76398,
76399,
76401,
76402,
76403,
76404,
76405,
76408,
76409,
76410,
76411,
76412,
76414,
76415,
76418,
76420,
76422,
76424,
76425,
76426,
76428,
76430,
76431,
76433,
76434,
76436,
76437,
76438,
76439,
76442,
76445,
76446,
76448,
76451,
76452,
76453,
76455,
76457,
76459,
76460,
76462,
76463,
76464,
76467,
76468,
76469,
76470,
76471,
76472,
76473,
76475,
76477,
76479,
76480,
76481,
76482,
76483,
76485,
76489,
76490,
76491,
76492,
76497,
76498,
76499,
76500,
76503,
76504,
76505,
76506,
76507,
76509,
76510,
76511,
76513,
76516,
76517,
76519,
76522,
76523,
76524,
76527,
76529,
76531,
76532,
76534,
76535,
76536,
76537,
76538,
76539,
76540,
76541,
76542,
76544,
76545,
76546,
76548,
76550,
76551,
76552,
76553,
76554,
76555,
76557,
76558,
76559,
76560,
76561,
76563,
76564,
76566,
76568,
76572,
76573,
76577,
76578,
76579,
76581,
76583,
76584,
76585,
76587,
76588,
76590,
76592,
76593,
76595,
76596,
76597,
76598,
76599,
76600,
76601,
76602,
76604,
76605,
76607,
76609,
76611,
76612,
76613,
76614,
76615,
76618,
76621,
76623,
76624,
76626,
76628,
76631,
76633,
76634,
76635,
76637,
76638,
76640,
76641,
76643,
76645,
76647,
76648,
76649,
76650,
76651,
76657,
76659,
76662,
76663,
76665,
76666,
76668,
76669,
76670,
76672,
76673,
76674,
76675,
76681,
76682,
76683,
76684,
76685,
76687,
76688,
76689,
76690,
76691,
76692,
76694,
76695,
76697,
76699,
76700,
76702,
76703,
76705,
76706,
76707,
76708,
76709,
76711,
76713,
76714,
76715,
76717,
76718,
76719,
76723,
76724,
76725,
76726,
76727,
76728,
76729,
76731,
76733,
76734,
76735,
76736,
76737,
76738,
76740,
76741,
76742,
76743,
76744,
76745,
76746,
76748,
76749,
76751,
76752,
76753,
76754,
76755,
76757,
76759,
76761,
76764,
76765,
76766,
76768,
76772,
76773,
76774,
76775,
76778,
76780,
76783,
76785,
76786,
76788,
76789,
76791,
76794,
76795,
76797,
76800,
76801,
76802,
76803,
76804,
76805,
76806,
76807,
76808,
76809,
76810,
76811,
76812,
76814,
76815,
76816,
76817,
76819,
76820,
76821,
76822,
76823,
76824,
76825,
76827,
76828,
76829,
76830,
76831,
76832,
76833,
76835,
76836,
76838,
76841,
76843,
76847,
76849,
76851,
76853,
76854,
76856,
76857,
76858,
76859,
76862,
76863,
76864,
76866,
76872,
76873,
76874,
76875,
76876,
76877,
76878,
76880,
76882,
76884,
76888,
76889,
76891,
76895,
76896,
76898,
76899,
76900,
76904,
76905,
76906,
76907,
76908,
76909,
76910,
76911,
76914,
76915,
76917,
76918,
76919,
76920,
76921,
76922,
76923,
76924,
76925,
76926,
76927,
76928,
76929,
76930,
76931,
76932,
76934,
76937,
76938,
76940,
76942,
76943,
76944,
76945,
76947,
76948,
76949,
76950,
76951,
76952,
76953,
76955,
76956,
76957,
76959,
76960,
76961,
76962,
76964,
76965,
76966,
76967,
76969,
76970,
76971,
76972,
76974,
76975,
76976,
76979,
76980,
76981,
76984,
76986,
76987,
76990,
76991,
76992,
76994,
76996,
76999,
77000,
77003,
77006,
77007,
77010,
77011,
77013,
77014,
77015,
77018,
77021,
77022,
77023,
77025,
77026,
77028,
77029,
77030,
77031,
77032,
77033,
77034,
77035,
77036,
77037,
77038,
77041,
77042,
77043,
77044,
77045,
77048,
77049,
77050,
77052,
77054,
77055,
77056,
77057,
77058,
77061,
77063,
77064,
77065,
77066,
77068,
77069,
77071,
77073,
77074,
77076,
77077,
77078,
77079,
77084,
77087,
77088,
77090,
77093,
77094,
77096,
77097,
77098,
77100,
77102,
77103,
77106,
77108,
77111,
77112,
77113,
77115,
77116,
77117,
77118,
77121,
77124,
77125,
77126,
77130,
77131,
77132,
77135,
77136,
77137,
77138,
77141,
77143,
77144,
77147,
77150,
77151,
77154,
77155,
77157,
77158,
77159,
77160,
77161,
77162,
77163,
77164,
77165,
77169,
77170,
77172,
77173,
77175,
77176,
77180,
77182,
77184,
77185,
77186,
77188,
77189,
77190,
77191,
77192,
77193,
77196,
77198,
77200,
77201,
77202,
77203,
77208,
77209,
77211,
77214,
77216,
77217,
77220,
77221,
77223,
77225,
77226,
77228,
77231,
77232,
77233,
77234,
77235,
77236,
77238,
77239,
77240,
77241,
77242,
77244,
77245,
77248,
77249,
77252,
77254,
77257,
77258,
77259,
77260,
77261,
77263,
77264,
77265,
77266,
77267,
77268,
77270,
77272,
77273,
77274,
77275,
77278,
77280,
77281,
77282,
77284,
77285,
77286,
77287,
77289,
77293,
77294,
77295,
77297,
77298,
77299,
77300,
77302,
77303,
77305,
77306,
77307,
77314,
77315,
77317,
77318,
77320,
77321,
77322,
77323,
77325,
77328,
77329,
77330,
77331,
77333,
77334,
77338,
77339,
77340,
77342,
77344,
77347,
77348,
77351,
77355,
77358,
77359,
77360,
77361,
77362,
77363,
77366,
77368,
77369,
77370,
77371,
77373,
77374,
77375,
77377,
77379,
77380,
77381,
77383,
77384,
77385,
77386,
77387,
77388,
77389,
77391,
77392,
77393,
77395,
77396,
77404,
77405,
77406,
77408,
77409,
77411,
77412,
77414,
77415,
77416,
77417,
77419,
77420,
77421,
77423,
77424,
77425,
77426,
77427,
77428,
77431,
77432,
77433,
77434,
77435,
77436,
77439,
77440,
77441,
77442,
77443,
77444,
77446,
77447,
77448,
77450,
77451,
77453,
77454,
77455,
77456,
77457,
77459,
77460,
77461,
77462,
77464,
77465,
77466,
77467,
77470,
77472,
77473,
77476,
77478,
77479,
77480,
77483,
77484,
77486,
77488,
77489,
77490,
77492,
77494,
77495,
77496,
77499,
77501,
77502,
77503,
77505,
77506,
77507,
77509,
77511,
77514,
77517,
77518,
77520,
77521,
77523,
77524,
77526,
77529,
77530,
77532,
77534,
77535,
77536,
77537,
77538,
77540,
77543,
77544,
77545,
77546,
77547,
77549,
77550,
77551,
77552,
77553,
77554,
77557,
77558,
77559,
77561,
77562,
77563,
77564,
77566,
77567,
77568,
77569,
77570,
77571,
77572,
77573,
77574,
77575,
77578,
77579,
77580,
77581,
77582,
77584,
77586,
77587,
77588,
77589,
77590,
77591,
77592,
77593,
77594,
77595,
77599,
77601,
77602,
77603,
77607,
77608,
77609,
77610,
77611,
77612,
77616,
77617,
77618,
77619,
77620,
77621,
77622,
77623,
77624,
77626,
77627,
77630,
77631,
77632,
77633,
77634,
77636,
77638,
77640,
77642,
77643,
77645,
77647,
77648,
77650,
77651,
77653,
77654,
77655,
77657,
77659,
77662,
77663,
77664,
77667,
77668,
77670,
77673,
77675,
77676,
77678,
77679,
77681,
77682,
77684,
77688,
77689,
77692,
77693,
77694,
77695,
77698,
77702,
77707,
77708,
77709,
77710,
77713,
77714,
77716,
77717,
77718,
77719,
77720,
77721,
77722,
77725,
77728,
77730,
77731,
77732,
77733,
77734,
77735,
77736,
77737,
77738,
77741,
77742,
77743,
77746,
77747,
77749,
77750,
77751,
77752,
77753,
77754,
77755,
77756,
77757,
77758,
77761,
77763,
77764,
77765,
77766,
77767,
77769,
77770,
77772,
77773,
77774,
77775,
77777,
77778,
77780,
77783,
77785,
77786,
77787,
77789,
77791,
77793,
77794,
77796,
77801,
77805,
77806,
77807,
77808,
77810,
77813,
77814,
77815,
77817,
77819,
77820,
77822,
77824,
77825,
77826,
77827,
77828,
77829,
77831,
77832,
77833,
77834,
77835,
77836,
77838,
77839,
77840,
77841,
77842,
77843,
77844,
77846,
77848,
77852,
77854,
77855,
77857,
77858,
77860,
77863,
77864,
77865,
77866,
77868,
77869,
77870,
77871,
77875,
77876,
77878,
77879,
77883,
77885,
77886,
77887,
77888,
77890,
77891,
77892,
77894,
77895,
77896,
77898,
77899,
77900,
77903,
77904,
77909,
77910,
77913,
77914,
77915,
77916,
77917,
77918,
77919,
77921,
77922,
77923,
77925,
77926,
77930,
77931,
77932,
77934,
77936,
77937,
77938,
77939,
77941,
77942,
77943,
77944,
77945,
77950,
77951,
77952,
77954,
77955,
77956,
77957,
77958,
77960,
77961,
77962,
77964,
77965,
77966,
77969,
77970,
77971,
77973,
77974,
77975,
77976,
77977,
77978,
77979,
77980,
77982,
77983,
77984,
77986,
77988,
77989,
77990,
77991,
77993,
77994,
77995,
77997,
77999,
78000,
78001,
78002,
78003,
78004,
78005,
78006,
78007,
78009,
78010,
78011,
78013,
78014,
78015,
78019,
78021,
78022,
78023,
78024,
78025,
78026,
78028,
78031,
78033,
78034,
78035,
78037,
78038,
78040,
78042,
78045,
78046,
78047,
78048,
78049,
78050,
78052,
78054,
78055,
78057,
78058,
78059,
78061,
78062,
78063,
78065,
78066,
78067,
78068,
78069,
78070,
78072,
78074,
78075,
78076,
78077,
78078,
78079,
78080,
78081,
78084,
78085,
78086,
78087,
78088,
78089,
78091,
78092,
78094,
78095,
78096,
78097,
78098,
78099,
78101,
78104,
78105,
78109,
78112,
78113,
78114,
78115,
78116,
78119,
78121,
78122,
78124,
78126,
78127,
78129,
78130,
78131,
78133,
78136,
78137,
78138,
78139,
78141,
78143,
78144,
78145,
78146,
78147,
78148,
78149,
78150,
78152,
78154,
78155,
78156,
78157,
78158,
78160,
78162,
78163,
78170,
78171,
78172,
78173,
78174,
78177,
78179,
78181,
78183,
78184,
78185,
78186,
78189,
78190,
78191,
78192,
78193,
78194,
78195,
78198,
78200,
78202,
78203,
78204,
78205,
78206,
78208,
78210,
78212,
78213,
78214,
78215,
78218,
78219,
78220,
78221,
78222,
78223,
78225,
78226,
78227,
78228,
78230,
78232,
78236,
78237,
78239,
78240,
78243,
78244,
78246,
78247,
78248,
78249,
78250,
78251,
78252,
78253,
78254,
78255,
78257,
78258,
78259,
78261,
78262,
78263,
78264,
78266,
78267,
78268,
78269,
78273,
78276,
78277,
78279,
78280,
78281,
78282,
78285,
78286,
78287,
78288,
78289,
78290,
78293,
78294,
78295,
78296,
78297,
78298,
78299,
78300,
78301,
78304,
78305,
78307,
78308,
78310,
78311,
78312,
78315,
78316,
78317,
78318,
78321,
78322,
78323,
78324,
78326,
78327,
78330,
78331,
78333,
78335,
78336,
78337,
78338,
78339,
78340,
78341,
78342,
78343,
78345,
78346,
78348,
78349,
78352,
78354,
78356,
78357,
78358,
78359,
78360,
78362,
78364,
78365,
78366,
78367,
78369,
78370,
78373,
78374,
78375,
78376,
78377,
78378,
78379,
78380,
78381,
78383,
78386,
78387,
78390,
78391,
78395,
78397,
78402,
78404,
78405,
78406,
78407,
78408,
78409,
78412,
78413,
78414,
78415,
78417,
78418,
78419,
78421,
78422,
78423,
78424,
78425,
78426,
78428,
78429,
78430,
78435,
78436,
78437,
78438,
78439,
78440,
78441,
78444,
78446,
78447,
78448,
78449,
78450,
78451,
78453,
78458,
78459,
78460,
78462,
78463,
78464,
78465,
78467,
78468,
78469,
78471,
78472,
78473,
78474,
78476,
78478,
78479,
78480,
78481,
78482,
78483,
78484,
78485,
78486,
78487,
78489,
78490,
78491,
78493,
78497,
78499,
78500,
78501,
78502,
78503,
78504,
78508,
78510,
78511,
78512,
78513,
78514,
78516,
78517,
78518,
78519,
78520,
78521,
78524,
78526,
78527,
78528,
78529,
78530,
78531,
78533,
78534,
78538,
78539,
78540,
78541,
78544,
78545,
78548,
78549,
78550,
78553,
78554,
78556,
78557,
78558,
78559,
78560,
78561,
78563,
78564,
78565,
78566,
78567,
78569,
78570,
78573,
78578,
78579,
78580,
78581,
78582,
78583,
78584,
78589,
78591,
78593,
78594,
78598,
78600,
78601,
78602,
78603,
78606,
78607,
78608,
78609,
78610,
78612,
78613,
78616,
78617,
78619,
78620,
78624,
78625,
78627,
78628,
78629,
78630,
78634,
78635,
78636,
78637,
78638,
78639,
78640,
78641,
78642,
78643,
78644,
78645,
78646,
78647,
78648,
78650,
78652,
78655,
78656,
78657,
78658,
78661,
78662,
78664,
78667,
78668,
78669,
78670,
78671,
78675,
78678,
78679,
78681,
78683,
78685,
78686,
78688,
78691,
78692,
78694,
78697,
78698,
78699,
78700,
78701,
78703,
78704,
78706,
78707,
78711,
78713,
78714,
78715,
78716,
78719,
78720,
78721,
78723,
78724,
78725,
78728,
78729,
78730,
78733,
78734,
78735,
78736,
78738,
78741,
78743,
78744,
78746,
78748,
78749,
78750,
78753,
78755,
78756,
78757,
78758,
78759,
78760,
78761,
78762,
78763,
78764,
78766,
78767,
78768,
78769,
78770,
78772,
78774,
78776,
78778,
78780,
78783,
78786,
78787,
78789,
78790,
78792,
78793,
78794,
78795,
78796,
78797,
78798,
78799,
78800,
78801,
78802,
78803,
78806,
78807,
78808,
78809,
78811,
78812,
78813,
78814,
78815,
78818,
78819,
78824,
78825,
78827,
78828,
78829,
78831,
78832,
78833,
78834,
78835,
78836,
78837,
78838,
78840,
78841,
78842,
78843,
78844,
78845,
78846,
78847,
78848,
78849,
78851,
78852,
78853,
78856,
78857,
78858,
78859,
78860,
78861,
78862,
78863,
78864,
78865,
78866,
78868,
78869,
78870,
78871,
78872,
78873,
78875,
78877,
78879,
78880,
78882,
78883,
78884,
78886,
78888,
78890,
78892,
78893,
78895,
78896,
78897,
78898,
78899,
78900,
78901,
78903,
78904,
78905,
78906,
78907,
78910,
78912,
78913,
78918,
78920,
78922,
78924,
78926,
78927,
78928,
78930,
78933,
78935,
78936,
78937,
78938,
78939,
78941,
78942,
78943,
78944,
78945,
78946,
78947,
78952,
78953,
78956,
78959,
78960,
78962,
78963,
78966,
78971,
78972,
78974,
78976,
78978,
78981,
78982,
78983,
78985,
78986,
78987,
78991,
78992,
78993,
78994,
78995,
78996,
78999,
79000,
79001,
79002,
79003,
79004,
79006,
79007,
79010,
79011,
79012,
79013,
79014,
79015,
79016,
79018,
79019,
79021,
79022,
79023,
79024,
79025,
79026,
79027,
79028,
79030,
79034,
79035,
79036,
79038,
79040,
79042,
79043,
79044,
79045,
79048,
79050,
79051,
79054,
79055,
79057,
79059,
79060,
79063,
79065,
79067,
79069,
79070,
79071,
79075,
79077,
79078,
79080,
79082,
79083,
79084,
79085,
79086,
79089,
79091,
79093,
79094,
79099,
79100,
79102,
79103,
79107,
79110,
79112,
79113,
79114,
79115,
79116,
79117,
79119,
79120,
79121,
79122,
79125,
79126,
79129,
79130,
79133,
79135,
79139,
79144,
79146,
79152,
79153,
79154,
79155,
79156,
79157,
79158,
79160,
79161,
79162,
79163,
79164,
79165,
79167,
79169,
79170,
79172,
79173,
79175,
79178,
79179,
79180,
79181,
79182,
79183,
79184,
79185,
79186,
79187,
79188,
79189,
79191,
79192,
79193,
79196,
79197,
79198,
79201,
79202,
79203,
79204,
79205,
79207,
79208,
79210,
79212,
79213,
79214,
79216,
79220,
79221,
79222,
79223,
79225,
79227,
79228,
79229,
79232,
79233,
79234,
79236,
79237,
79238,
79239,
79240,
79242,
79245,
79246,
79247,
79248,
79249,
79250,
79251,
79252,
79253,
79255,
79256,
79258,
79259,
79260,
79261,
79262,
79265,
79266,
79267,
79268,
79269,
79270,
79271,
79272,
79275,
79276,
79278,
79279,
79281,
79283,
79284,
79285,
79287,
79288,
79289,
79291,
79292,
79293,
79294,
79295,
79296,
79298,
79299,
79301,
79304,
79305,
79306,
79308,
79310,
79311,
79313,
79314,
79316,
79318,
79319,
79320,
79324,
79327,
79329,
79330,
79332,
79334,
79338,
79339,
79340,
79344,
79345,
79346,
79347,
79349,
79350,
79353,
79354,
79356,
79357,
79358,
79360,
79361,
79362,
79365,
79366,
79369,
79370,
79371,
79372,
79373,
79374,
79376,
79383,
79384,
79385,
79387,
79388,
79389,
79390,
79391,
79394,
79395,
79397,
79398,
79399,
79400,
79401,
79402,
79403,
79404,
79405,
79407,
79409,
79410,
79411,
79413,
79416,
79417,
79418,
79419,
79420,
79421,
79423,
79425,
79426,
79427,
79428,
79429,
79430,
79431,
79432,
79438,
79439,
79440,
79441,
79442,
79444,
79451,
79454,
79457,
79459,
79460,
79461,
79462,
79464,
79465,
79467,
79469,
79470,
79472,
79474,
79477,
79478,
79479,
79480,
79481,
79483,
79485,
79491,
79492,
79493,
79494,
79496,
79497,
79498,
79499,
79500,
79501,
79502,
79505,
79506,
79508,
79509,
79510,
79513,
79514,
79515,
79517,
79518,
79519,
79520,
79521,
79522,
79523,
79524,
79525,
79526,
79527,
79528,
79529,
79533,
79534,
79535,
79538,
79539,
79540,
79541,
79542,
79544,
79547,
79548,
79549,
79550,
79551,
79552,
79553,
79555,
79556,
79557,
79558,
79560,
79561,
79562,
79563,
79564,
79565,
79567,
79569,
79570,
79572,
79573,
79574,
79577,
79578,
79580,
79582,
79585,
79587,
79588,
79591,
79592,
79594,
79595,
79598,
79599,
79602,
79605,
79606,
79610,
79611,
79613,
79615,
79616,
79617,
79618,
79619,
79620,
79621,
79622,
79623,
79624,
79625,
79626,
79628,
79629,
79631,
79632,
79633,
79634,
79636,
79637,
79638,
79639,
79642,
79644,
79645,
79646,
79647,
79649,
79651,
79654,
79655,
79657,
79659,
79660,
79662,
79663,
79665,
79666,
79667,
79668,
79670,
79671,
79675,
79676,
79677,
79678,
79680,
79681,
79683,
79685,
79686,
79687,
79688,
79689,
79690,
79691,
79692,
79693,
79694,
79697,
79698,
79700,
79701,
79702,
79704,
79705,
79706,
79707,
79708,
79709,
79710,
79712,
79713,
79716,
79717,
79718,
79719,
79720,
79723,
79724,
79725,
79726,
79727,
79729,
79732,
79733,
79734,
79740,
79742,
79743,
79746,
79749,
79750,
79751,
79752,
79754,
79755,
79757,
79758,
79759,
79761,
79762,
79763,
79764,
79765,
79766,
79767,
79769,
79770,
79772,
79774,
79775,
79777,
79778,
79779,
79780,
79781,
79783,
79784,
79785,
79786,
79790,
79793,
79795,
79798,
79799,
79801,
79802,
79803,
79805,
79808,
79811,
79813,
79814,
79815,
79818,
79819,
79821,
79822,
79823,
79824,
79828,
79829,
79830,
79831,
79832,
79833,
79835,
79840,
79842,
79843,
79845,
79846,
79847,
79849,
79851,
79855,
79858,
79859,
79861,
79862,
79863,
79864,
79865,
79866,
79867,
79870,
79871,
79872,
79873,
79874,
79875,
79876,
79878,
79879,
79880,
79881,
79882,
79883,
79885,
79887,
79888,
79889,
79891,
79892,
79893,
79894,
79895,
79896,
79897,
79901,
79903,
79904,
79905,
79907,
79908,
79909,
79910,
79911,
79912,
79913,
79914,
79915,
79916,
79917,
79918,
79919,
79920,
79922,
79923,
79924,
79926,
79928,
79929,
79930,
79931,
79932,
79934,
79935,
79936,
79939,
79941,
79943,
79944,
79947,
79948,
79949,
79951,
79952,
79953,
79955,
79957,
79958,
79959,
79960,
79962,
79963,
79965,
79966,
79967,
79968,
79969,
79971,
79972,
79973,
79976,
79980,
79981,
79982,
79983,
79984,
79986,
79987,
79988,
79990,
79991,
79993,
79995,
79997,
79998,
79999,
80000,
80002,
80003,
80004,
80005,
80006,
80007,
80008,
80009,
80012,
80015,
80016,
80017,
80019,
80020,
80021,
80022,
80024,
80026,
80028,
80029,
80030,
80031,
80033,
80035,
80036,
80037,
80039,
80042,
80044,
80045,
80047,
80048,
80049,
80050,
80052,
80054,
80055,
80056,
80057,
80058,
80061,
80062,
80064,
80065,
80066,
80067,
80069,
80070,
80072,
80074,
80077,
80078,
80080,
80081,
80082,
80083,
80085,
80086,
80089,
80090,
80092,
80093,
80095,
80098,
80099,
80100,
80103,
80109,
80110,
80114,
80116,
80118,
80119,
80120,
80121,
80122,
80124,
80125,
80126,
80128,
80129,
80130,
80131,
80133,
80134,
80137,
80138,
80139,
80140,
80141,
80144,
80146,
80147,
80149,
80150,
80154,
80155,
80157,
80158,
80159,
80160,
80162,
80163,
80164,
80165,
80166,
80167,
80169,
80170,
80171,
80173,
80174,
80175,
80176,
80178,
80179,
80180,
80181,
80182,
80183,
80186,
80189,
80190,
80191,
80192,
80194,
80195,
80197,
80199,
80200,
80201,
80203,
80205,
80206,
80207,
80208,
80210,
80211,
80212,
80213,
80214,
80215,
80216,
80217,
80218,
80219,
80220,
80223,
80225,
80227,
80229,
80230,
80231,
80232,
80234,
80235,
80237,
80239,
80242,
80243,
80244,
80245,
80247,
80248,
80249,
80250,
80252,
80253,
80255,
80259,
80263,
80264,
80266,
80267,
80268,
80270,
80272,
80273,
80275,
80280,
80281,
80282,
80285,
80289,
80290,
80292,
80293,
80294,
80297,
80299,
80300,
80301,
80303,
80305,
80308,
80309,
80311,
80312,
80313,
80314,
80315,
80317,
80318,
80319,
80320,
80321,
80323,
80324,
80329,
80330,
80332,
80335,
80337,
80338,
80339,
80340,
80342,
80343,
80344,
145878,
80346,
80348,
80349,
80350,
80351,
80353,
80354,
80355,
80356,
80359,
80362,
80363,
80364,
80365,
80367,
80368,
80369,
80370,
80372,
80374,
80375,
80376,
80377,
80379,
80380,
80381,
80382,
80383,
80384,
80386,
80388,
80389,
80390,
80391,
80392,
80393,
80394,
80397,
80398,
80399,
80401,
80402,
80403,
80407,
80408,
80409,
80410,
80412,
80413,
80414,
80415,
80417,
80418,
80420,
80422,
80423,
80425,
80426,
80427,
80429,
80430,
80432,
80433,
80434,
80435,
80437,
80438,
80439,
80441,
80446,
80447,
80449,
80451,
80452,
80453,
80456,
80457,
80460,
80462,
80466,
80467,
80469,
80470,
80471,
80472,
80473,
80474,
80478,
80480,
80481,
80483,
80485,
80487,
80488,
80490,
80491,
80493,
80495,
80496,
80497,
80498,
80500,
80501,
80502,
80504,
80505,
80506,
80507,
80508,
80510,
80511,
80512,
80516,
80517,
80519,
80520,
80521,
80522,
80524,
80525,
80526,
80527,
80529,
80531,
80532,
80533,
80536,
80537,
80541,
80545,
80548,
80549,
80550,
80554,
80555,
80556,
80558,
80559,
80560,
80563,
80564,
80565,
80566,
80568,
80570,
80571,
80572,
80573,
80575,
80577,
80578,
80579,
80581,
80585,
80586,
80588,
80589,
80590,
80591,
80592,
80594,
80597,
80598,
80599,
80600,
80602,
80603,
80605,
80606,
80607,
88115,
88256,
88631,
88664,
88776,
88778,
88856,
88858,
88859,
88864,
88867,
88868,
88870,
88871,
88873,
88874,
88875,
88876,
88877,
88878,
88880,
88881,
88882,
88883,
88888,
88889,
88890,
88891,
88892,
88893,
88894,
88895,
88896,
88897,
88898,
88899,
88900,
88901,
88902,
88904,
88905,
88906,
88907,
88908,
88909,
88911,
88912,
88913,
88914,
88917,
88918,
88919,
88921,
88922,
88923,
88924,
88925,
91314,
91316,
91317,
91351,
91643,
91645,
91646,
91647,
91648,
91649,
91650,
91651,
91652,
91653,
91654,
91656,
91657,
91658,
91659,
91660,
91661,
91662,
91663,
91664,
91665,
91666,
91669,
91670,
91671,
91672,
91674,
91675,
91676,
91677,
91678,
91679,
91680,
91681,
91682,
91683,
91684,
91688,
91689,
91690,
91691,
91694,
91695,
91699,
91701,
91702,
91703,
91704,
91705,
91706,
91707,
91708,
91709,
91711,
91712,
91713,
91714,
91715,
91716,
91717,
91718,
91720,
91721,
91724,
91725,
91726,
91728,
91729,
91730,
91731,
91732,
91733,
91734,
91735,
91736,
91737,
91738,
91739,
91740,
91741,
91742,
91743,
91744,
91745,
91746,
91747,
91749,
91751,
91753,
91754,
91755,
91756,
91757,
91758,
91759,
91761,
91762,
91763,
91764,
91765,
91766,
91767,
91768,
91769,
91770,
91771,
91772,
91773,
91774,
91775,
91777,
91779,
91780,
91782,
91783,
91784,
91785,
91787,
91789,
91792,
91794,
91795,
91796,
91799,
91800,
91802,
91803,
91805,
91806,
91808,
91809,
91810,
91811,
91812,
91813,
91814,
91815,
91816,
91817,
91818,
91819,
91820,
91821,
91822,
91823,
91824,
91825,
91827,
91828,
91829,
91830,
91831,
91832,
91833,
91834,
91835,
91837,
91838,
91839,
91840,
91842,
91843,
91844,
91845,
91846,
91847,
91848,
91849,
91850,
91852,
91853,
91854,
91856,
91858,
91859,
91860,
91861,
91862,
91863,
91864,
91865,
91866,
91867,
91868,
91869,
91870,
91871,
91872,
91873,
91874,
91875,
91876,
91877,
91878,
91879,
91880,
91881,
91882,
91883,
91884,
91885,
91886,
91887,
91889,
91890,
91891,
91892,
91893,
91894,
91895,
91896,
91897,
91898,
91899,
91900,
91901,
91902,
91904,
91905,
91906,
91907,
91908,
91909,
91910,
91912,
91914,
91915,
91916,
91917,
91918,
91919,
91920,
91922,
91924,
91926,
91927,
91928,
91929,
91930,
91931,
91932,
91933,
91934,
91935,
91936,
91937,
91939,
91940,
91941,
91942,
91943,
91944,
91945,
91946,
91947,
91948,
91949,
91951,
91953,
91956,
91957,
91959,
91960,
91962,
91964,
91965,
91966,
91967,
91968,
91970,
91971,
91972,
91973,
91974,
91975,
91976,
91978,
91980,
91981,
91982,
91983,
91984,
91987,
91988,
91989,
91990,
91992,
91993,
91995,
91996,
91997,
91999,
92000,
92002,
92003,
92004,
92005,
92008,
92010,
92011,
92012,
92013,
92014,
92016,
92017,
92018,
92019,
92020,
92021,
92023,
92024,
92025,
92026,
92027,
92028,
92030,
92031,
92032,
92033,
92035,
92036,
92037,
92038,
92039,
92040,
92041,
92043,
92044,
92045,
92046,
92047,
92048,
92050,
92051,
92053,
92054,
92055,
92057,
92059,
92060,
92061,
92062,
92063,
92064,
92065,
92066,
92067,
92068,
92069,
92070,
92071,
92072,
92073,
92074,
92075,
92077,
92079,
92081,
92082,
92083,
92084,
92085,
92086,
92087,
92088,
92089,
92091,
92095,
92096,
92098,
92099,
92100,
92101,
92102,
92103,
92104,
92105,
92108,
92109,
92111,
92112,
92114,
92115,
92116,
92117,
92118,
92119,
92120,
92121,
92122,
92123,
92124,
92125,
92126,
92127,
92128,
92129,
92131,
92133,
92134,
92135,
92140,
92142,
92143,
92144,
92146,
92147,
92149,
92150,
92151,
92152,
92153,
92154,
92155,
92158,
92159,
92160,
92161,
92162,
92164,
92165,
92166,
92167,
92168,
92169,
92170,
92171,
92172,
92173,
92174,
92175,
92176,
92177,
92178,
92179,
92180,
92181,
92182,
92183,
92184,
92186,
92187,
92188,
92189,
92190,
92191,
92192,
92193,
92194,
92196,
92197,
92198,
92199,
92200,
92201,
92202,
92203,
92204,
92205,
92207,
92208,
92209,
92210,
92211,
92212,
92213,
92214,
92215,
92216,
92217,
92220,
92221,
92222,
92223,
92225,
92226,
92227,
92228,
92229,
92231,
92232,
92234,
92235,
92236,
92237,
92238,
92239,
92240,
92241,
92242,
92243,
92244,
92245,
92246,
92247,
92248,
92250,
92252,
92253,
92254,
92256,
92258,
92259,
92260,
92261,
92262,
92264,
92265,
92266,
92267,
92268,
92269,
92270,
92272,
92273,
92274,
92275,
92276,
92277,
92278,
92279,
92280,
92281,
92282,
92283,
92285,
92286,
92289,
92290,
92292,
92293,
92294,
92295,
92296,
92297,
92298,
92299,
92300,
92302,
92303,
92306,
92307,
92308,
92309,
92311,
92313,
92314,
92315,
92316,
92318,
92319,
92320,
92321,
92323,
92324,
92325,
92326,
92327,
92330,
92332,
92333,
92335,
92336,
92339,
92340,
92341,
92342,
92344,
92346,
92347,
92348,
92349,
92350,
92351,
92352,
92354,
92355,
92356,
92357,
92359,
92361,
92362,
92364,
92365,
92366,
92367,
92368,
92369,
92370,
92371,
92372,
92373,
92376,
92377,
92378,
92379,
92380,
92381,
92382,
92383,
92384,
92385,
92386,
92387,
92388,
92389,
92390,
92391,
92392,
92393,
92394,
92395,
92396,
92397,
92398,
92401,
92402,
92403,
92405,
92406,
92407,
92408,
92411,
92413,
92414,
92415,
92416,
92417,
92419,
92420,
92421,
92422,
92423,
92424,
92425,
92426,
92428,
92429,
92430,
92431,
92433,
92434,
92437,
92438,
92439,
92440,
92441,
92442,
92443,
92444,
92445,
92446,
92447,
92448,
92449,
92450,
92451,
92452,
92453,
92454,
92455,
92456,
92457,
92460,
92461,
92463,
92464,
92465,
92466,
92467,
92468,
92469,
92470,
92471,
92472,
92473,
92474,
92475,
92476,
92477,
92478,
92479,
92480,
92481,
92482,
92483,
92484,
92485,
92486,
92487,
92488,
92489,
92490,
92491,
92492,
92493,
92494,
92496,
92497,
92498,
92499,
92503,
92504,
92505,
92508,
92509,
92510,
92511,
92513,
92515,
92517,
92519,
92520,
92521,
92522,
92524,
92526,
92527,
92528,
92529,
92530,
92531,
92532,
92533,
92534,
92535,
92536,
92537,
92538,
92539,
92540,
92542,
92543,
92544,
92546,
92547,
92548,
92549,
92550,
92551,
92552,
92553,
92554,
92555,
92557,
92558,
92559,
92560,
92562,
92563,
92564,
92565,
92566,
92567,
92568,
92569,
92570,
92571,
92572,
92573,
92575,
92576,
92577,
92578,
92579,
92580,
92581,
92582,
92583,
92584,
92585,
92586,
92587,
92588,
92589,
92590,
92591,
92592,
92593,
92594,
92595,
92596,
92598,
92599,
92600,
92602,
92603,
92604,
92605,
92606,
92607,
92610,
92611,
92612,
92615,
92616,
92617,
92618,
92619,
92620,
92621,
92622,
92623,
92624,
92626,
92627,
92628,
92629,
92630,
92633,
92634,
92635,
92636,
92637,
92638,
92641,
92642,
92644,
92645,
92646,
92647,
92648,
92649,
92650,
92651,
92652,
92653,
92654,
92655,
92656,
92657,
92658,
92660,
92661,
92663,
92664,
92666,
92667,
92668,
92669,
92670,
92671,
92672,
92673,
92675,
92676,
92677,
92678,
92679,
92680,
92681,
92682,
92683,
92684,
92685,
92686,
92687,
92688,
92689,
92690,
92691,
92692,
92693,
92694,
92695,
92696,
92698,
92699,
92700,
92701,
92702,
92703,
92704,
92705,
92706,
92707,
92709,
92711,
92712,
92715,
92716,
92717,
92718,
92719,
92720,
92721,
92722,
92723,
92724,
92726,
92727,
92728,
92729,
92730,
92731,
92732,
92733,
92734,
92735,
92736,
92737,
92739,
92740,
92741,
92742,
92743,
92745,
92746,
92747,
92748,
92749,
92750,
92752,
92753,
92754,
92755,
92757,
92758,
92759,
92760,
92761,
92762,
92763,
92764,
92765,
92766,
92767,
92769,
92770,
92771,
92773,
92774,
92775,
92776,
92778,
92779,
92780,
92781,
92782,
92783,
92784,
92785,
92786,
92787,
92788,
92789,
92790,
92791,
92792,
92795,
92796,
92797,
92798,
92800,
92802,
92803,
92804,
92805,
92806,
92807,
92808,
92809,
92810,
92811,
92812,
92813,
92815,
92818,
92820,
92821,
92822,
92823,
92824,
92825,
92826,
92827,
92828,
92830,
92831,
92836,
92837,
92838,
92839,
92841,
92842,
92843,
92844,
92847,
92848,
92849,
92850,
92851,
92852,
92853,
92854,
92855,
92856,
92857,
92858,
92860,
92861,
92862,
92863,
92864,
92865,
92866,
92868,
92869,
92870,
92872,
92873,
92874,
92875,
92876,
92877,
92879,
92880,
92881,
92882,
92883,
92884,
92885,
92886,
92888,
92889,
92890,
92891,
92892,
92893,
92894,
92896,
92897,
92898,
92901,
92902,
92903,
92904,
92905,
92906,
92908,
92909,
92910,
92911,
92913,
92914,
92915,
92916,
92918,
92920,
92921,
92922,
92923,
92924,
92925,
92927,
92928,
92929,
92930,
92931,
92932,
92933,
92934,
92935,
92937,
92938,
92939,
92940,
92941,
92943,
92944,
92945,
92946,
92949,
92950,
92951,
92952,
92953,
92954,
92955,
92956,
92958,
92959,
92960,
92961,
92962,
92963,
92965,
92966,
92967,
92968,
92969,
92971,
92972,
92973,
92974,
92975,
92978,
92979,
92980,
92981,
92982,
92983,
92984,
92987,
92989,
92991,
92993,
92994,
92995,
92996,
92997,
92998,
92999,
93000,
93002,
93003,
93004,
93006,
93007,
93008,
93009,
93010,
93011,
93013,
93014,
93015,
93016,
93017,
93019,
93020,
93021,
93022,
93023,
93024,
93025,
93027,
93028,
93030,
93031,
93032,
93033,
93035,
93036,
93037,
93038,
93039,
93040,
93041,
93043,
93044,
93045,
93047,
93048,
93049,
93050,
93051,
93052,
93053,
93056,
93057,
93058,
93059,
93061,
93064,
93065,
93066,
93067,
93068,
93069,
93070,
93071,
93072,
93073,
93074,
93075,
93076,
93077,
93078,
93079,
93080,
93082,
93085,
93086,
93087,
93088,
93089,
93090,
93091,
93092,
93093,
93094,
93095,
93096,
93097,
93098,
93099,
93100,
93101,
93102,
93103,
93104,
93105,
93106,
93107,
93108,
93109,
93110,
93111,
93112,
93113,
93114,
93115,
93116,
93117,
93118,
93119,
93120,
93121,
93122,
93123,
93124,
93126,
93129,
93130,
93131,
93132,
93133,
93134,
93136,
93137,
93138,
93139,
93140,
93141,
93142,
93143,
93144,
93145,
93147,
93148,
93149,
93150,
93151,
93152,
93153,
93154,
93155,
93156,
93158,
93160,
93161,
93162,
93163,
93164,
93165,
93166,
93167,
93168,
93170,
93171,
93172,
93173,
93175,
93176,
93177,
93178,
93180,
93182,
93183,
93185,
93186,
93187,
93188,
93189,
93190,
93192,
93193,
93194,
93195,
93196,
93197,
93198,
93199,
93200,
93201,
93202,
93203,
93205,
93206,
93207,
93208,
93209,
93210,
93211,
93213,
93214,
93215,
93216,
93217,
93218,
93219,
93220,
93221,
93222,
93223,
93225,
93227,
93228,
93229,
93230,
93232,
93233,
93234,
93235,
93236,
93237,
93238,
93239,
93240,
93241,
93243,
93244,
93245,
93246,
93247,
93248,
93249,
93250,
93251,
93252,
93254,
93255,
93257,
93258,
93259,
93260,
93261,
93263,
93264,
93265,
93266,
93267,
93268,
93269,
93270,
93271,
93273,
93274,
93275,
93276,
93277,
93278,
93279,
93280,
93281,
93282,
93283,
93284,
93286,
93287,
93289,
93290,
93291,
93292,
93293,
93294,
93295,
93296,
93297,
93298,
93299,
93300,
93301,
93302,
93303,
93305,
93307,
93308,
93309,
93310,
93311,
93312,
93313,
93317,
93318,
93319,
93320,
93321,
93322,
93325,
93326,
93328,
93331,
93332,
93333,
93334,
93335,
93336,
93337,
93338,
93339,
93340,
93341,
93342,
93343,
93344,
93345,
93346,
93347,
93348,
93350,
93351,
93352,
93353,
93354,
93355,
93356,
93357,
93358,
93359,
93360,
93361,
93362,
93363,
93364,
93365,
93366,
93368,
93371,
93372,
93376,
93378,
93380,
93381,
93382,
93383,
93385,
93386,
93387,
93388,
93389,
93390,
93391,
93392,
93393,
93394,
93395,
93396,
93399,
93400,
93401,
93402,
93403,
93404,
93405,
93407,
93409,
93411,
93412,
93413,
93415,
93416,
93419,
93420,
93421,
93422,
93423,
93424,
93426,
93428,
93429,
93430,
93431,
93432,
93433,
93434,
93435,
93436,
93437,
93438,
93439,
93440,
93441,
93442,
93443,
93444,
93445,
93446,
93447,
93448,
93449,
93450,
93451,
93452,
93453,
93454,
93455,
93456,
93458,
93459,
93460,
93463,
93464,
93465,
93466,
93468,
93469,
93470,
93471,
93472,
93473,
93474,
93475,
93476,
93478,
93479,
93480,
93481,
93482,
93483,
93484,
93485,
93486,
93487,
93488,
93489,
93490,
93491,
93493,
93494,
93495,
93498,
93499,
93500,
93503,
93504,
93505,
93506,
93509,
93510,
93511,
93512,
93513,
93514,
93515,
93516,
93518,
93519,
93521,
93522,
93524,
93525,
93527,
93528,
93529,
93530,
93531,
93533,
93534,
93536,
93537,
93538,
93539,
93541,
93542,
93544,
93545,
93546,
93547,
93548,
93549,
93550,
93551,
93552,
93553,
93554,
93555,
93556,
93557,
93558,
93559,
93560,
93561,
93562,
93564,
93565,
93566,
93567,
93568,
93569,
93570,
93571,
93572,
93573,
93574,
93575,
93577,
93578,
93579,
93580,
93581,
93582,
93583,
93584,
93585,
93587,
93588,
93590,
93591,
93592,
93595,
93596,
93599,
93600,
93602,
93603,
93605,
93606,
93608,
93609,
93610,
93612,
93613,
93614,
93615,
93617,
93618,
93620,
93623,
93624,
93625,
93627,
93628,
93629,
93630,
93632,
93633,
93634,
93635,
93636,
93637,
93638,
93640,
93641,
93642,
93643,
93645,
93646,
93647,
93648,
93649,
93650,
93652,
93654,
93655,
93656,
93657,
93658,
93660,
93661,
93664,
93665,
93666,
93667,
93668,
93670,
93671,
93672,
93673,
93674,
93675,
93678,
93679,
93681,
93682,
93684,
93685,
93688,
93689,
93691,
93692,
93693,
93694,
93696,
93697,
93698,
93699,
93700,
93701,
93702,
93703,
93705,
93707,
93708,
93709,
93711,
93714,
93715,
93716,
93718,
93719,
93720,
93721,
93723,
93724,
93725,
93726,
93727,
93728,
93729,
93730,
93731,
93732,
93733,
93734,
93735,
93736,
93737,
93738,
93739,
93740,
93741,
93742,
93743,
93744,
93745,
93747,
93748,
93750,
93751,
93754,
93756,
93757,
93758,
93759,
93760,
93761,
93762,
93763,
93764,
93765,
93766,
93767,
93768,
93769,
93770,
93771,
93772,
93774,
93775,
93777,
93778,
93779,
93781,
93782,
93783,
93785,
93787,
93788,
93789,
93790,
93791,
93792,
93793,
93794,
93796,
93797,
93799,
93800,
93801,
93805,
93808,
93809,
93810,
93811,
93812,
93813,
93814,
93815,
93816,
93818,
93820,
93821,
93822,
93823,
93824,
93825,
93826,
93827,
93828,
93829,
93831,
93832,
93833,
93834,
93835,
93838,
93841,
93844,
93846,
93847,
93848,
93849,
93850,
93851,
93852,
93853,
93854,
93855,
93856,
93857,
93859,
93860,
93861,
93863,
93865,
93866,
93867,
93868,
93869,
93870,
93871,
93872,
93873,
93874,
93875,
93876,
93877,
93878,
93879,
93880,
93881,
93882,
93883,
93885,
93887,
93889,
93890,
93891,
93892,
93894,
93895,
93896,
93897,
93898,
93899,
93900,
93902,
93903,
93904,
93905,
93906,
93907,
93908,
93909,
93910,
93911,
93912,
93913,
93914,
93915,
93916,
93917,
93919,
93920,
93921,
93922,
93923,
93924,
93925,
93926,
93927,
93928,
93929,
93930,
93931,
93932,
93933,
93934,
93935,
93936,
93937,
93938,
93940,
93941,
93942,
93943,
93944,
93945,
93946,
93947,
93948,
93951,
93952,
93953,
93954,
93957,
93958,
93960,
93961,
93962,
93963,
93964,
93965,
93966,
93967,
93968,
93969,
93970,
93971,
93973,
93974,
93975,
93976,
93977,
93978,
93979,
93980,
93981,
93982,
93983,
93984,
93986,
93987,
93988,
93989,
93991,
93992,
93993,
93994,
93995,
93996,
93997,
94000,
94001,
94002,
94004,
94005,
94006,
94007,
94008,
94010,
94012,
94013,
94014,
94015,
94016,
94017,
94018,
94019,
94020,
94021,
94022,
94023,
94025,
94026,
94027,
94028,
94029,
94030,
94031,
94033,
94034,
94035,
94036,
94037,
94038,
94039,
94040,
94041,
94042,
94044,
94045,
94046,
94047,
94048,
94049,
94050,
94051,
94052,
94053,
94054,
94055,
94056,
94057,
94058,
94060,
94061,
94062,
94063,
94064,
94065,
94066,
94068,
94069,
94070,
94071,
94072,
94073,
94074,
94075,
94076,
94077,
94078,
94079,
94080,
94081,
94082,
94083,
94084,
94085,
94086,
94087,
94088,
94089,
94090,
94091,
94092,
94093,
94094,
94095,
94096,
94097,
94098,
94099,
94100,
94101,
94103,
94104,
94106,
94107,
94108,
94109,
94110,
94111,
94112,
94113,
94114,
94115,
94116,
94117,
94118,
94119,
94120,
94121,
94122,
94123,
94124,
94125,
94127,
94128,
94129,
94130,
94131,
94132,
94133,
94135,
94136,
94138,
94139,
94140,
94142,
94146,
94147,
94148,
94149,
94150,
94151,
94152,
94154,
94155,
94156,
94157,
94158,
94160,
94163,
94164,
94166,
94167,
94168,
94169,
94170,
94171,
94172,
94173,
94174,
94175,
94178,
94179,
94181,
94182,
94183,
94184,
94185,
94186,
94187,
94189,
94191,
94192,
94193,
94195,
94196,
94197,
94198,
94199,
94200,
94201,
94202,
94203,
94204,
94205,
94206,
94207,
94209,
94211,
94212,
94213,
94214,
94215,
94216,
94217,
94218,
94220,
94221,
94222,
94224,
94226,
94227,
94228,
94229,
94230,
94231,
94232,
94233,
94234,
94236,
94237,
94238,
94239,
94241,
94242,
94243,
94244,
94246,
94248,
94249,
94250,
94251,
94252,
94253,
94254,
94255,
94258,
94259,
94260,
94262,
94263,
94264,
94265,
94267,
94269,
94270,
94271,
94272,
94273,
94274,
94275,
94276,
94277,
94278,
94279,
94280,
94281,
94282,
94283,
94284,
94285,
94286,
94287,
94289,
94290,
94292,
94293,
94295,
94296,
94298,
94299,
94300,
94301,
94302,
94303,
94304,
94305,
94306,
94308,
94309,
94310,
94311,
94312,
94313,
94315,
94316,
94318,
94319,
94320,
94322,
94323,
94325,
94326,
94327,
94328,
94330,
94331,
94332,
94334,
94335,
94336,
94337,
94338,
94339,
94340,
94343,
94344,
94349,
94352,
94353,
94354,
94355,
94356,
94357,
94358,
94360,
94362,
94363,
94364,
94367,
94368,
94369,
94371,
94372,
94373,
94374,
94375,
94377,
94378,
94379,
94380,
94384,
94385,
94386,
94387,
94389,
94390,
94391,
94392,
94393,
94394,
94395,
94396,
94397,
94399,
94400,
94401,
94403,
94404,
94405,
94406,
94408,
94409,
94410,
94411,
94412,
94413,
94414,
94415,
94416,
94417,
94418,
94419,
94420,
94421,
94422,
94423,
94424,
94425,
94426,
94427,
94428,
94429,
94430,
94431,
94433,
94434,
94435,
94436,
94437,
94438,
94439,
94440,
94441,
94443,
94444,
94445,
94448,
94449,
94450,
94451,
94452,
94453,
94455,
94458,
94460,
94461,
94462,
94463,
94464,
94466,
94467,
94468,
94471,
94472,
94473,
94474,
94475,
94476,
94477,
94478,
94479,
94480,
94481,
94483,
94484,
94485,
94486,
94487,
94488,
94490,
94491,
94492,
94493,
94494,
94495,
94496,
94497,
94498,
94499,
94500,
94501,
94502,
94503,
94504,
94505,
94506,
94507,
94508,
94509,
94510,
94511,
94512,
94513,
94514,
94515,
94516,
94517,
94518,
94519,
94520,
94521,
94524,
94525,
94526,
94529,
94531,
94532,
94533,
94534,
94535,
94536,
94537,
94539,
94540,
94543,
94544,
94546,
94547,
94548,
94549,
94551,
94552,
94553,
94554,
94555,
94556,
94557,
94558,
94559,
94560,
94561,
94562,
94563,
94565,
94566,
94567,
94568,
94569,
94570,
94571,
94572,
94573,
94574,
94575,
94576,
94578,
94581,
94582,
94583,
94584,
94585,
94586,
94588,
94589,
94591,
94592,
94593,
94594,
94595,
94596,
94597,
94598,
94599,
94600,
94601,
94602,
94603,
94604,
94605,
94606,
94607,
94609,
94610,
94611,
94612,
94613,
94614,
94615,
94616,
94617,
94618,
94619,
94620,
94622,
94623,
94624,
94625,
94627,
94628,
94629,
94630,
94631,
94632,
94633,
94634,
94635,
94636,
94637,
94638,
94639,
94640,
94641,
94642,
94644,
94645,
94646,
94647,
94649,
94650,
94651,
94652,
94653,
94655,
94656,
94657,
94658,
94659,
94660,
94661,
94662,
94663,
94664,
94665,
94666,
94668,
94669,
94670,
94671,
94672,
94673,
94674,
94676,
94678,
94680,
94682,
94683,
94684,
94685,
94686,
94687,
94688,
94691,
94692,
94693,
94694,
94695,
94697,
94698,
94699,
94700,
94701,
94702,
94703,
94704,
94705,
94708,
94709,
94711,
94712,
94714,
94715,
94716,
94719,
94720,
94721,
94722,
94723,
94725,
94726,
94727,
94729,
94730,
94731,
94733,
94734,
94735,
94736,
94737,
94738,
94739,
94740,
94741,
94742,
94743,
94744,
94745,
94747,
94748,
94749,
94750,
94751,
94752,
94754,
94756,
94757,
94758,
94759,
94760,
94761,
94762,
94764,
94766,
94767,
94768,
94769,
94770,
94771,
94772,
94773,
94774,
94775,
94776,
94777,
94778,
94779,
94780,
94781,
94782,
94783,
94785,
94786,
94787,
94788,
94789,
94792,
94793,
94794,
94795,
94796,
94800,
94801,
94802,
94803,
94804,
94805,
94806,
94807,
94808,
94809,
94810,
94811,
94812,
94813,
94814,
94815,
94817,
94818,
94819,
94820,
94821,
94822,
94824,
94825,
94826,
94828,
94830,
94831,
94832,
94833,
94834,
94835,
94836,
94837,
94838,
94839,
94840,
94841,
94842,
94843,
94844,
94845,
94846,
94848,
94852,
94853,
94855,
94856,
94857,
94858,
94859,
94860,
94861,
94862,
94863,
94864,
94865,
94866,
94867,
94868,
94870,
94872,
94873,
94874,
94875,
94876,
94877,
94878,
94879,
94880,
94882,
94883,
94884,
94886,
94887,
94888,
94890,
94891,
94892,
94893,
94894,
94898,
94899,
94900,
94901,
94902,
94903,
94904,
94905,
94906,
94907,
94908,
94909,
94910,
94911,
94912,
94913,
94914,
94916,
94917,
94918,
94919,
94920,
94921,
94923,
94925,
94926,
94927,
94929,
94931,
94932,
94933,
94935,
94936,
94937,
94938,
94939,
94941,
94942,
94944,
94945,
94946,
94947,
94948,
94949,
94950,
94951,
94952,
94953,
94954,
94956,
94957,
94960,
94963,
94964,
94965,
94966,
94967,
94968,
94969,
94970,
94971,
94974,
94975,
94976,
94978,
94980,
94982,
94984,
94985,
94986,
94989,
94990,
94991,
94992,
94993,
94994,
94995,
94996,
94998,
94999,
95001,
95002,
95005,
95006,
95007,
95009,
95010,
95011,
95012,
95014,
95015,
95016,
95017,
95018,
95019,
95020,
95021,
95022,
95023,
95024,
95025,
95026,
95027,
95028,
95030,
95031,
95032,
95033,
95034,
95035,
95036,
95039,
95040,
95041,
95042,
95044,
95045,
95046,
95047,
95048,
95049,
95050,
95052,
95055,
95056,
95058,
95059,
95060,
95061,
95062,
95064,
95065,
95067,
95069,
95071,
95072,
95073,
95074,
95075,
95076,
95077,
95079,
95080,
95081,
95083,
95084,
95085,
95086,
95087,
95088,
95089,
95090,
95091,
95092,
95093,
95095,
95096,
95097,
95098,
95100,
95101,
95102,
95103,
95105,
95106,
95107,
95108,
95110,
95111,
95113,
95115,
95116,
95117,
95118,
95120,
95121,
95122,
95123,
95124,
95126,
95127,
95128,
95129,
95130,
95131,
95132,
95133,
95134,
95135,
95136,
95137,
95138,
95139,
95140,
95141,
95142,
95143,
95144,
95145,
95146,
95147,
95149,
95151,
95152,
95153,
95154,
95155,
95156,
95157,
95158,
95159,
95160,
95161,
95162,
95163,
95164,
95165,
95166,
95167,
95168,
95170,
95171,
95172,
95173,
95175,
95176,
95177,
95178,
95179,
95180,
95181,
95182,
95183,
95184,
95186,
95187,
95188,
95189,
95191,
95192,
95193,
95195,
95196,
95197,
95198,
95199,
95200,
95201,
95203,
95204,
95205,
95206,
95207,
95208,
95209,
95210,
95211,
95212,
95213,
95214,
95215,
95216,
95217,
95219,
95220,
95221,
95222,
95223,
95224,
95225,
95226,
95227,
95228,
95229,
95231,
95232,
95233,
95234,
95235,
95236,
95237,
95238,
95240,
95242,
95243,
95244,
95245,
95246,
95248,
95250,
95251,
95252,
95254,
95255,
95256,
95257,
95258,
95259,
95260,
95261,
95262,
95264,
95265,
95266,
95267,
95268,
95270,
95271,
95273,
95274,
95278,
95280,
95281,
95282,
95284,
95285,
95286,
95287,
95289,
95290,
95292,
95294,
95295,
95296,
95297,
95300,
95301,
95302,
95303,
95304,
95306,
95308,
95309,
95310,
95311,
95312,
95314,
95315,
95316,
95317,
95318,
95320,
95321,
95323,
95326,
95327,
95329,
95330,
95331,
95332,
95333,
95334,
95335,
95336,
95337,
95338,
95340,
95341,
95342,
95343,
95344,
95345,
95346,
95347,
95348,
95349,
95350,
95352,
95353,
95354,
95355,
95356,
95357,
95359,
95360,
95361,
95362,
95363,
95364,
95365,
95366,
95367,
95368,
95369,
95370,
95371,
95372,
95374,
95375,
95376,
95377,
95378,
95379,
95380,
95381,
95383,
95385,
95386,
95387,
95388,
95389,
95390,
95392,
95393,
95394,
95395,
95396,
95397,
95398,
95399,
95400,
95401,
95402,
95405,
95406,
95408,
95409,
95410,
95411,
95412,
95414,
95415,
95417,
95418,
95419,
95420,
95421,
95424,
95425,
95426,
95427,
95428,
95430,
95431,
95432,
95433,
95434,
95435,
95436,
95438,
95440,
95441,
95442,
95443,
95444,
95445,
95446,
95447,
95448,
95449,
95450,
95451,
95452,
95453,
95454,
95455,
95456,
95457,
95459,
95460,
95461,
95462,
95463,
95464,
95465,
95467,
95468,
95469,
95470,
95471,
95473,
95474,
95475,
95476,
95477,
95478,
95479,
95480,
95481,
95482,
95483,
95485,
95486,
95487,
95490,
95493,
95494,
95496,
95498,
95499,
95500,
95501,
95502,
95503,
95504,
95505,
95506,
95507,
95508,
95509,
95510,
95511,
95512,
95514,
95516,
95517,
95518,
95519,
95520,
95522,
95523,
95524,
95525,
95526,
95527,
95528,
95529,
95530,
95531,
95532,
95533,
95535,
95536,
95537,
95539,
95540,
95543,
95544,
95545,
95547,
95548,
95549,
95550,
95552,
95553,
95555,
95557,
95558,
95559,
95560,
95561,
95562,
95563,
95565,
95566,
95567,
95569,
95570,
95571,
95572,
95574,
95575,
95576,
95577,
95578,
95579,
95580,
95581,
95582,
95583,
95584,
95585,
95586,
95587,
95588,
95589,
95590,
95592,
95593,
95595,
95596,
95597,
95598,
95599,
95600,
95601,
95602,
95603,
95604,
95605,
95607,
95608,
95609,
95610,
95611,
95612,
95614,
95616,
95617,
95618,
95620,
95621,
95622,
95623,
95624,
95625,
95626,
95627,
95629,
95630,
95631,
95632,
95635,
95636,
95637,
95638,
95639,
95641,
95642,
95643,
95644,
95645,
95646,
95647,
95649,
95650,
95651,
95653,
95654,
95656,
95657,
95658,
95659,
95660,
95662,
95664,
95665,
95666,
95667,
95669,
95671,
95672,
95673,
95674,
95675,
95676,
95678,
95679,
95681,
95682,
95683,
95684,
95685,
95686,
95689,
95690,
95691,
95693,
95694,
95695,
95696,
95697,
95699,
95700,
95704,
95706,
95707,
95708,
95709,
95710,
95711,
95712,
95713,
95714,
95715,
95716,
95717,
95718,
95719,
95720,
95721,
95723,
95724,
95725,
95726,
95727,
95728,
95730,
95731,
95732,
95733,
95734,
95735,
95736,
95737,
95738,
95739,
95740,
95742,
95743,
95744,
95745,
95746,
95747,
95749,
95752,
95753,
95754,
95755,
95757,
95758,
95760,
95761,
95762,
95763,
95764,
95765,
95766,
95767,
95768,
95770,
95772,
95773,
95774,
95775,
95777,
95778,
95779,
95780,
95781,
95782,
95783,
95784,
95785,
95789,
95790,
95791,
95792,
95793,
95794,
95795,
95796,
95797,
95800,
95801,
95803,
95804,
95805,
95806,
95808,
95809,
95810,
95811,
95812,
95813,
95816,
95817,
95819,
95820,
95823,
95824,
95825,
95826,
95827,
95828,
95829,
95830,
95831,
95832,
95833,
95834,
95835,
95836,
95837,
95838,
95839,
95841,
95842,
95843,
95844,
95845,
95848,
95849,
95850,
95851,
95852,
95853,
95854,
95857,
95858,
95859,
95860,
95861,
95862,
95864,
95865,
95866,
95867,
95869,
95870,
95871,
95872,
95873,
95874,
95875,
95877,
95878,
95879,
95880,
95881,
95882,
95884,
95885,
95886,
95887,
95888,
95889,
95892,
95893,
95896,
95897,
95899,
95900,
95902,
95903,
95904,
95905,
95906,
95907,
95909,
95910,
95912,
95913,
95914,
95915,
95917,
95919,
95920,
95921,
95922,
95923,
95924,
95925,
95926,
95927,
95928,
95929,
95931,
95932,
95934,
95935,
95936,
95938,
95939,
95940,
95941,
95942,
95943,
95944,
95945,
95946,
95947,
95948,
95949,
95951,
95954,
95955,
95956,
95957,
95958,
95959,
95960,
95961,
95962,
95963,
95965,
95966,
95967,
95968,
95970,
95971,
95974,
95975,
95976,
95977,
95979,
95980,
95981,
95983,
95984,
95985,
95986,
95987,
95988,
95990,
95991,
95992,
95993,
95995,
95996,
95997,
95998,
95999,
96001,
96002,
96003,
96004,
96005,
96006,
96008,
96009,
96010,
96012,
96013,
96014,
96015,
96018,
96019,
96020,
96021,
96022,
96023,
96024,
96027,
96028,
96029,
96030,
96033,
96035,
96036,
96037,
96038,
96041,
96043,
96044,
96045,
96046,
96047,
96049,
96050,
96051,
96052,
96053,
96054,
96055,
96056,
96057,
96058,
96059,
96060,
96061,
96062,
96064,
96066,
96067,
96069,
96070,
96071,
96072,
96073,
96074,
96075,
96076,
96077,
96078,
96079,
96080,
96081,
96082,
96084,
96085,
96088,
96089,
96090,
96091,
96092,
96093,
96094,
96097,
96100,
96101,
96103,
96104,
96105,
96106,
96107,
96108,
96109,
96110,
96111,
96112,
96113,
96114,
96115,
96116,
96117,
96118,
96119,
96121,
96124,
96126,
96128,
96129,
96130,
96131,
96132,
96133,
96135,
96137,
96141,
96142,
96143,
96144,
96145,
96147,
96149,
96150,
96151,
96153,
96154,
96155,
96156,
96157,
96158,
96159,
96160,
96161,
96162,
96163,
96164,
96165,
96166,
96167,
96168,
96169,
96170,
96173,
96174,
96175,
96176,
96177,
96178,
96179,
96180,
96181,
96183,
96184,
96185,
96187,
96188,
96189,
96190,
96191,
96192,
96193,
96194,
96195,
96196,
96197,
96198,
96199,
96200,
96201,
96202,
96203,
96205,
96206,
96207,
96208,
96209,
96210,
96212,
96213,
96215,
96216,
96217,
96218,
96220,
96221,
96223,
96224,
96225,
96226,
96227,
96228,
96229,
96231,
96233,
96234,
96235,
96236,
96237,
96238,
96239,
96240,
96241,
96242,
96243,
96244,
96246,
96247,
96248,
96249,
96250,
96251,
96253,
96254,
96255,
96256,
96257,
96258,
96259,
96260,
96261,
96262,
96263,
96264,
96265,
96266,
96267,
96269,
96270,
96271,
96272,
96273,
96274,
96275,
96276,
96277,
96278,
96279,
96281,
96282,
96284,
96285,
96286,
96287,
96288,
96289,
96290,
96292,
96294,
96296,
96297,
96298,
96299,
96300,
96301,
96302,
96304,
96305,
96306,
96308,
96309,
96310,
96312,
96314,
96315,
96317,
96318,
96319,
96321,
96322,
96323,
96324,
96325,
96326,
96327,
96329,
96330,
96332,
96333,
96334,
96335,
96337,
96338,
96340,
96341,
96342,
96343,
96344,
96345,
96348,
96349,
96351,
96352,
96353,
96354,
96357,
96358,
96359,
96361,
96362,
96365,
96367,
96368,
96369,
96370,
96371,
96372,
96373,
96374,
96376,
96377,
96378,
96379,
96380,
96381,
96382,
96383,
96384,
96385,
96386,
96387,
96389,
96390,
96393,
96394,
96395,
96396,
96397,
96398,
96399,
96400,
96402,
96403,
96404,
96405,
96406,
96407,
96408,
96409,
96410,
96411,
96412,
96413,
96414,
96416,
96417,
96418,
96419,
96420,
96421,
96423,
96424,
96425,
96426,
96427,
96428,
96429,
96430,
96432,
96433,
96434,
96435,
96436,
96437,
96438,
96439,
96440,
96441,
96443,
96444,
96445,
96446,
96447,
96448,
96449,
96450,
96451,
96452,
96453,
96454,
96456,
96457,
96458,
96459,
96460,
96461,
96462,
96463,
96464,
96465,
96466,
96467,
96468,
96469,
96470,
96471,
96472,
96473,
96476,
96477,
96478,
96479,
96480,
96481,
96483,
96485,
96488,
96489,
96490,
96491,
96492,
96493,
96495,
96496,
96498,
96499,
96500,
96501,
96502,
96504,
96506,
96508,
96510,
96511,
96512,
96514,
96516,
96517,
96518,
96519,
96522,
96524,
96525,
96526,
96527,
96528,
96533,
96535,
96536,
96537,
96538,
96539,
96540,
96542,
96543,
96544,
96546,
96548,
96549,
96551,
96552,
96554,
96555,
96556,
96557,
96558,
96559,
96560,
96561,
96562,
96563,
96565,
96566,
96568,
96570,
96571,
96573,
96574,
96576,
96578,
96579,
96580,
96581,
96582,
96583,
96584,
96585,
96587,
96588,
96590,
96591,
96592,
96594,
96596,
96597,
96598,
96601,
96602,
96603,
96604,
96606,
96607,
96608,
96609,
96611,
96612,
96613,
96614,
96615,
96617,
96618,
96619,
96620,
96621,
96622,
96623,
96624,
96625,
96626,
96627,
96628,
96629,
96630,
96631,
96632,
96635,
96636,
96637,
96639,
96640,
96641,
96644,
96645,
96646,
96648,
96649,
96650,
96651,
96653,
96654,
96656,
96657,
96658,
96660,
96661,
96662,
96664,
96665,
96666,
96667,
96668,
96669,
96670,
96672,
96673,
96674,
96676,
96679,
96680,
96681,
96682,
96684,
96686,
96687,
96691,
96692,
96694,
96695,
96697,
96698,
96699,
96700,
96701,
96702,
96703,
96704,
96705,
96706,
96707,
96710,
96711,
96713,
96714,
96716,
96717,
96718,
96720,
96721,
96722,
96723,
96724,
96725,
96726,
96728,
96729,
96730,
96731,
96732,
96733,
96734,
96735,
96736,
96737,
96738,
96739,
96740,
96741,
96742,
96743,
96744,
96746,
96747,
96749,
96751,
96752,
96753,
96754,
96755,
96756,
96757,
96758,
96759,
96760,
96761,
96762,
96763,
96765,
96766,
96767,
96768,
96769,
96770,
96772,
96774,
96777,
96778,
96779,
96780,
96782,
96783,
96784,
96785,
96786,
96787,
96788,
96789,
96791,
96792,
96793,
96794,
96795,
96796,
96797,
96798,
96799,
96800,
96801,
96802,
96803,
96804,
96805,
96806,
96807,
96808,
96809,
96810,
96811,
96812,
96813,
96815,
96816,
96817,
96818,
96819,
96820,
96821,
96822,
96823,
96824,
96825,
96826,
96827,
96828,
96830,
96831
] |
a2d2e37552472bf94a7f9f2901c370d18d24cedb | 222d8272c91e87fb6e2c939c9af46d4fd9d330db | /PretixScanTests/HandshakeParsingTests.swift | c879171e28e2a58f41d2aba517af6ce3a71afaa2 | [
"Apache-2.0",
"MIT"
] | permissive | pretix/pretixscan-ios | d8ae1c8b9b1eb52e1fd6da9bfe7c339e37e143f3 | 2636c8917148a0154c302704eca5ac3de6dba12c | refs/heads/master | 2023-06-08T04:50:03.348062 | 2023-06-05T08:13:49 | 2023-06-05T08:13:49 | 195,275,512 | 11 | 8 | Apache-2.0 | 2023-09-10T21:00:15 | 2019-07-04T16:48:26 | Swift | UTF-8 | Swift | false | false | 1,116 | swift | //
// ModelParsingTests.swift
// PretixScanTests
//
// Created by Daniel Jilg on 14.03.19.
// Copyright © 2019 rami.io. All rights reserved.
//
import XCTest
@testable import pretixSCAN
class HandshakeParsingTests: XCTestCase {
let validHandshake = Handshake(url: URL(string: "https://pretix.eu")!, token: "kpp4jn8g2ynzonp6")
let validJSON = """
{"handshake_version": 1, "url": "https://pretix.eu", "token": "kpp4jn8g2ynzonp6"}
""".data(using: .utf8)!
let invalidJSON = """
{"handshake_version": 1, "url": "this is not a url", "token": "kpp4jn8g2ynzonp6"}
""".data(using: .utf8)!
func testEncodingValidHandshake() {
let parsedHandshake = try? JSONDecoder.iso8601withFractionsDecoder.decode(Handshake.self, from: validJSON)
XCTAssertNotNil(parsedHandshake)
XCTAssertEqual(parsedHandshake, validHandshake)
}
func testEncodingInvalidHandshake() {
let invalidHandshake = try? JSONDecoder.iso8601withFractionsDecoder.decode(Handshake.self, from: invalidJSON)
XCTAssertNil(invalidHandshake)
}
}
| [
-1
] |
547910fc24749d51bd46cb78d8d67bd250784027 | 71f5c24cb6dcf7a252fa4657d111376e99ca1e71 | /Appz/Appz/Apps/Diigo.swift | 3681174319e25f4f1b958a43eb07045013605825 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Limonlol/Appz | 3027abc1aedc45054ed0e687c310dc238d82ed51 | db51f94740dc943dde9497c89f1f3a3a34bacf58 | refs/heads/master | 2020-12-24T04:13:50.403711 | 2020-01-31T07:26:55 | 2020-01-31T07:26:55 | 237,379,142 | 0 | 0 | MIT | 2020-01-31T07:14:06 | 2020-01-31T07:14:06 | null | UTF-8 | Swift | false | false | 955 | swift | //
// Diigo.swift
// Pods
//
// Created by Mariam AlJamea on 1/25/16.
// Copyright © 2016 kitz. All rights reserved.
//
public extension Applications {
struct Diigo: ExternalApplication {
public typealias ActionType = Applications.Diigo.Action
public let scheme = "diigo:"
public let fallbackURL = "https://www.diigo.com"
public let appStoreId = "933773981"
public init() {}
}
}
// MARK: - Actions
public extension Applications.Diigo {
enum Action {
case open
}
}
extension Applications.Diigo.Action: ExternalApplicationAction {
public var paths: ActionPaths {
switch self {
case .open:
return ActionPaths(
app: Path(
pathComponents: ["app"],
queryParameters: [:]
),
web: Path()
)
}
}
}
| [
-1
] |
7dcc0b8c7fbcca22c6b524ee61ba24f582860719 | c0a0cb34ba0a4da5ae8d4deedcd6ec07435cc527 | /Example17/CoreData.swift | edc3742da9276a4868064b753d56e4d7bc814b8e | [] | no_license | DhanushS7444/BookStore | 99d9e2f52180b6432f7643451e5d1618dab9dba8 | a614946d30bb82bc011b77a57dc9723b71f03dd1 | refs/heads/master | 2020-08-02T08:01:41.101484 | 2019-09-27T09:25:38 | 2019-09-27T09:25:38 | 211,282,720 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 3,770 | swift | //
// CoreData.swift
// Example17
//
// Created by Dhanush S on 04/06/19.
// Copyright © 2019 Dhanush S. All rights reserved.
//
import Foundation
import CoreData
import UIKit
// core data function related to the CRUD functions
class coreDataFunction {
var appDelegate = UIApplication.shared.delegate as! AppDelegate
var context: NSManagedObjectContext {
return appDelegate.persistentContainer.viewContext
}
// Function to add dara to the BookList Core Data
func addList_BookData(name : String, count : Int , price : Int, image : Data)
{
if let bookItem = NSEntityDescription.insertNewObject(forEntityName: "BookList", into: context) as? BookList {
bookItem.booknamec = name
bookItem.bookimagec = image
bookItem.bookcountc = Int16(count)
bookItem.bookpricec = Int16(price)
appDelegate.saveContext()
}
}
// Functions to add data or cart item to the CartList
func addList_CartItem(cartname : String, cartcount : Int, cartprice : Int, cartimage : Data )
{
if let cartItem = NSEntityDescription.insertNewObject(forEntityName: "CartList", into: context) as? CartList
{
cartItem.cartname = cartname
cartItem.cartcount = Int16(cartcount)
cartItem.cartimage = cartimage
cartItem.cartprice = Int16(cartprice)
appDelegate.saveContext()
}
}
// get BookList Data bu using this function
func getList_BookItems() -> [BookList]? {
let fetchRequest = NSFetchRequest<NSFetchRequestResult>(entityName: "BookList")
if let recentBook = try? context.fetch(fetchRequest) as? [BookList] {
return recentBook
}
return nil
}
//get CartList Data by using this Function
func getList_CartItems() -> [CartList]?
{
let fatchcart = NSFetchRequest<NSFetchRequestResult>(entityName: "CartList")
if let recentCart = try? context.fetch(fatchcart) as? [CartList] {
return recentCart
}
return nil
}
// get a perticular row in the core data by sending the ItemName
func getRequiredBookItem(name: String) -> BookList?
{
let cartFetchRequest = NSFetchRequest<NSFetchRequestResult>(entityName: "BookList")
cartFetchRequest.predicate = NSPredicate(format: "booknamec == %@", name)
if let select = try? context.fetch(cartFetchRequest) as? [BookList]{
return select?.first
}
return nil
}
// converting the image from UIImage format to the Data Format
func convertImagetoData(images : UIImage) -> Data
{
let imageData : NSData = UIImagePNGRepresentation(images)! as NSData
return imageData as Data
}
// Delete the cart data once its got checked out order confirmed
// to cleam the cart view controller
func deleteCartItem()
{
let cartFetchRequest = NSFetchRequest<NSFetchRequestResult>(entityName: "CartList")
let carts = try? context.fetch(cartFetchRequest) as? [CartList]
let cartObjc = carts
if let count = cartObjc?!.count{
for i in 0..<count{
context.delete(cartObjc!![i])
appDelegate.saveContext()
}
}
}
// saving the data to the core Data after updation of Bookcount Data
func saveBookItem()
{
appDelegate.saveContext()
}
}
| [
-1
] |
1a9f3d008384f2d836250b096b9a43f9fc460eed | 47601bd8ecd0579ac07cb7c5e716bfdaf2726ab7 | /DITFoodDelivery/DetailTableViewCell.swift | 5bafe4b6999a8fcfdcab3e36b82df3144ecf4f5f | [] | no_license | Kimsihwan/DITFoodDelivery | 36d641e847c53a8878c5cd7f3cf36de788281594 | cbfb7e54b33370b7c08d629fe94219b3543a0775 | refs/heads/master | 2020-03-17T16:56:12.842806 | 2018-06-12T06:18:41 | 2018-06-12T06:18:41 | 133,768,305 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 712 | swift | //
// DetailTableViewCell.swift
// DITFoodDelivery
//
// Created by D7702_10 on 2018. 5. 31..
// Copyright © 2018년 ksh. All rights reserved.
//
import UIKit
class DetailTableViewCell: UITableViewCell {
@IBOutlet weak var detailNameLabel: UILabel!
@IBOutlet weak var detailaddressLabel: UILabel!
@IBOutlet weak var detailTypeLabel: UILabel!
@IBOutlet weak var detailImageView2: UIImageView!
override func awakeFromNib() {
super.awakeFromNib()
// Initialization code
}
override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
// Configure the view for the selected state
}
}
| [
300672,
320001,
317952,
211843,
337412,
328709,
379140,
225159,
418826,
302475,
227852,
100495,
298255,
227219,
373908,
410749,
373910,
155289,
305183,
155555,
337317,
276390,
356391,
245035,
311211,
199212,
327344,
313522,
313525,
276406,
313527,
155576,
313529,
313530,
380220,
299965,
299968,
349123,
317381,
317382,
379078,
327241,
430412,
254029,
273105,
215122,
295127,
228188,
388317,
155614,
131814,
213095,
330602,
348778,
375532,
113524,
167413,
167670,
230522,
49916,
337917
] |
a1cf2e95df40cb3ce78aa574010e9c7221996c66 | ee29cb488cba4f1e9daee970f247695476cb29a4 | /JokeClient-Swift/ViewController/YRMainViewController.swift | a2c15f753b5a523b99b2f92d75c6b8cfb80d9afb | [] | no_license | softside/swift-json-example | 4a733a7c70f27c925b6012468a6deacb73dc3095 | 57728553af0749fc3c8a615528e6bccd7e920568 | refs/heads/master | 2020-12-31T07:54:54.905505 | 2015-12-23T10:43:03 | 2015-12-23T10:43:03 | 48,427,269 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 3,827 | swift | //
// YRMainViewController.swift
// JokeClient-Swift
//
// Created by YANGReal on 14-6-5.
// Copyright (c) 2014年 YANGReal. All rights reserved.
//
import UIKit
class YRMainViewController: UITabBarController {
var myTabbar :UIView?
var slider :UIView?
let btnBGColor:UIColor = UIColor(red:125/255.0, green:236/255.0,blue:198/255.0,alpha: 1)
let tabBarBGColor:UIColor = UIColor(red:251/255.0, green:173/255.0,blue:69/255.0,alpha: 1)
let titleColor:UIColor = UIColor(red:52/255.0, green:156/255.0,blue:150/255.0,alpha: 1)
let itemArray = ["最新","热门","真相"]
override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?) {
super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
// Custom initialization
self.title = "最新"
}
required init?(coder aDecoder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
override func viewDidLoad()
{
super.viewDidLoad()
setupViews()
initViewControllers()
}
func setupViews()
{
self.automaticallyAdjustsScrollViewInsets = false
self.view.backgroundColor = UIColor.whiteColor()
self.tabBar.hidden = true
let width = self.view.frame.size.width
let height = self.view.frame.size.height
self.myTabbar = UIView(frame: CGRectMake(0,height-49,width,49))
self.myTabbar!.backgroundColor = tabBarBGColor
self.slider = UIView(frame:CGRectMake(0,0,80,49))
self.slider!.backgroundColor = UIColor.whiteColor()//btnBGColor
self.myTabbar!.addSubview(self.slider!)
self.view.addSubview(self.myTabbar!)
let count = self.itemArray.count
for var index = 0; index < count; index++
{
let btnWidth = (CGFloat)(index*80)
let button = UIButton(type: UIButtonType.Custom)
button.frame = CGRectMake(btnWidth, 0,80,49)
button.tag = index+100
let title = self.itemArray[index]
button.setTitle(title, forState: UIControlState.Normal)
button.setTitleColor(UIColor.whiteColor(), forState: UIControlState.Normal)
button.setTitleColor(tabBarBGColor, forState: UIControlState.Selected)
button.addTarget(self, action: "tabBarButtonClicked:", forControlEvents: UIControlEvents.TouchUpInside)
self.myTabbar?.addSubview(button)
if index == 0
{
button.selected = true
}
}
}
func initViewControllers()
{
let vc1 = YRJokeTableViewController()
vc1.jokeType = .NewestJoke
let vc2 = YRJokeTableViewController()
vc2.jokeType = .HotJoke
let vc3 = YRJokeTableViewController()
vc3.jokeType = .ImageTruth
self.viewControllers = [vc1,vc2,vc3]
}
func tabBarButtonClicked(sender:UIButton)
{
let index = sender.tag
for var i = 0;i<4;i++
{
let button = self.view.viewWithTag(i+100) as! UIButton
if button.tag == index
{
button.selected = true
}
else
{
button.selected = false
}
}
UIView.animateWithDuration( 0.3,
animations:{
self.slider!.frame = CGRectMake(CGFloat(index-100)*80,0,80,49)
})
self.title = itemArray[index-100] as String
self.selectedIndex = index-100
}
override func didReceiveMemoryWarning()
{
super.didReceiveMemoryWarning()
// UIView.animationw
// Dispose of any resources that can be recreated.
}
}
| [
-1
] |
ae31ec4453f37ad17ccd5c0dee2e6058de96ddc7 | 8e284dbbf1e77576d1e893d07ec8b68898c1b6be | /musicplayer3_tabs/EpisodeViewController.swift | e95288cec586d65beaa32a834248e5516a7911dc | [] | no_license | thedarkginger/storyboardv2 | 0060b84998128d96c81f5e4ef7e623ff01bc95ea | 76bd279163d5c845d2390a87c1b20c080b4c133c | refs/heads/master | 2021-05-03T09:22:38.838591 | 2018-02-07T03:46:18 | 2018-02-07T03:46:18 | 120,575,484 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 7,807 | swift | //
// EpisodeViewController.swift
// musicplayer3_tabs
//
// Created by JP on 1/17/18.
// Copyright © 2018 storyboard. All rights reserved.
//
import UIKit
import AVFoundation
class EpisodeViewController: UIViewController {
var timer: Timer?
var variableInSecondVc = ""
var audiotest = "" {
didSet{
// use audio, start player
/* if let audioUrl = URL(string: self.audiotest) {
// then lets create your document folder url
let documentsDirectoryURL = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first!
// lets create your destination file url
let destinationUrl = documentsDirectoryURL.appendingPathComponent(audioUrl.lastPathComponent)
//let url = Bundle.main.url(forResource: destinationUrl, withExtension: "mp3")!
do {
audioPlayer = try AVAudioPlayer(contentsOf: destinationUrl)
/*
func secondsToHoursMinutesSeconds (seconds : Int) -> (Int, Int, Int) {
return (seconds / 3600, (seconds % 3600) / 60, (seconds % 3600) % 60)
}
let example = (Float(audioPlayer.duration))
let myIntValue = Int(example)
let updated = secondsToHoursMinutesSeconds(seconds: myIntValue)
let updated3 = "\(updated.0):\(updated.1):\(updated.2)"
let updated2 = String(describing: updated3)
// self.episodeDuration.text = updated2
*/
} catch let error {
print(error.localizedDescription)
}
} // end player */
}
}
override func viewDidLoad() {
super.viewDidLoad()
let url = URL(string: "http://www.fearthewave.com/fearthewave.json")
URLSession.shared.dataTask(with:url!, completionHandler: {(data, response, error) in
guard let data = data, error == nil else { return }
let json: Any?
do{
json = try JSONSerialization.jsonObject(with: data, options: [])
}
catch{
return
}
guard let data_list = json as? [[String:Any]] else {
return
}
if let foo = data_list.first(where: {$0["episode"] as? String == "Houston Preview"}) {
// do something with foo
self.audiotest = (foo["audio"] as? String)!
print(self.audiotest)
if let audioUrl = URL(string: self.audiotest) {
// then lets create your document folder url
let documentsDirectoryURL = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first!
// lets create your destination file url
let destinationUrl = documentsDirectoryURL.appendingPathComponent(audioUrl.lastPathComponent)
//let url = Bundle.main.url(forResource: destinationUrl, withExtension: "mp3")!
do {
audioPlayer = try AVAudioPlayer(contentsOf: destinationUrl)
/*
func secondsToHoursMinutesSeconds (seconds : Int) -> (Int, Int, Int) {
return (seconds / 3600, (seconds % 3600) / 60, (seconds % 3600) % 60)
}
let example = (Float(audioPlayer.duration))
let myIntValue = Int(example)
let updated = secondsToHoursMinutesSeconds(seconds: myIntValue)
let updated3 = "\(updated.0):\(updated.1):\(updated.2)"
let updated2 = String(describing: updated3)
// self.episodeDuration.text = updated2
*/
} catch let error {
print(error.localizedDescription)
}
} // end player
} else {
// item could not be found
}
//
}).resume()
let fixed = variableInSecondVc.components(separatedBy: " | ")
let fixedSite = fixed[1]
let fixedDate = fixed[0]
episodeTitle.text = fixedSite
episodeDate.text = fixedDate
print("https://fearthewave.com/\(fixedSite)")
// Do any additional setup after loading the view.
} // end view did
@IBOutlet var episodeTitle: UILabel!
@IBOutlet var episodeDate: UILabel!
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
@IBAction func playPod(_ sender: Any) {
// updates slider with progress
Slider.value = 0.0
Slider.maximumValue = Float((audioPlayer?.duration)!)
timer = Timer.scheduledTimer(timeInterval: 0.001, target: self, selector: #selector(self.updateSlider), userInfo: nil, repeats: true)
audioPlayer.play()
}
@IBAction func pausePod(_ sender: Any) {
if audioPlayer.isPlaying{
audioPlayer.pause()
timer?.invalidate()
}else{
audioPlayer.play()
}
}
@IBOutlet var Slider: UISlider!
@IBAction func changePodSlider(_ sender: Any) {
audioPlayer.stop()
audioPlayer.currentTime = TimeInterval(Slider.value)
audioPlayer.prepareToPlay()
Slider.maximumValue = Float(audioPlayer.duration)
audioPlayer.play()
}
@objc func updateSlider(){
Slider.value = Float(audioPlayer.currentTime)
audioPlayer.play()
func secondsToHoursMinutesSeconds (seconds : Int) -> (Int, Int, Int) {
return (seconds / 3600, (seconds % 3600) / 60, (seconds % 3600) % 60)
}
let example = (Float(audioPlayer.currentTime))
let myIntValue = Int(example)
let updated = secondsToHoursMinutesSeconds(seconds: myIntValue)
let updated3 = "\(updated.0):\(updated.1):\(updated.2)"
let updated2 = String(describing: updated3)
// self.goneTime.text = updated2 changes time label
}
/*
// MARK: - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destinationViewController.
// Pass the selected object to the new view controller.
}
*/
} //end
| [
-1
] |
48247521fca63891e845cdf5e1209895925d9fbb | 32c8ce3548af0e8883ce48f4cbd38b09b1b591b0 | /MH VK Client 1.0/Soursces/AppDelegate.swift | 629be132acd30d02b9fd64346d3e2bc01b1e54d7 | [] | no_license | vkhomatov/VKClient | 1d5c9c0c8f2767883cd91afc2eec4c3e9f8fde06 | 1fb3adc93e1b35a206da793b5d291f03509abe8d | refs/heads/master | 2023-03-06T11:01:18.247571 | 2021-02-07T23:32:02 | 2021-02-07T23:32:02 | 341,053,972 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 2,186 | swift | //
// AppDelegate.swift
// MH VK Client 1.0
//
// Created by Vitaly Khomatov on 12/09/2019.
// Copyright © 2019 Macrohard. All rights reserved.
//
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
return true
}
func applicationWillResignActive(_ application: UIApplication) {
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
}
func applicationDidEnterBackground(_ application: UIApplication) {
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}
func applicationWillEnterForeground(_ application: UIApplication) {
// Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
}
func applicationDidBecomeActive(_ application: UIApplication) {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}
func applicationWillTerminate(_ application: UIApplication) {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
}
| [
229380,
229383,
229385,
278539,
294924,
229388,
278542,
229391,
327695,
229394,
278548,
229397,
229399,
229402,
352284,
229405,
278556,
278559,
229408,
278564,
294950,
229415,
229417,
327722,
237613,
229422,
360496,
229426,
237618,
229428,
311349,
286774,
286776,
319544,
286778,
204856,
229432,
286791,
237640,
286797,
278605,
311375,
163920,
196692,
319573,
311383,
278623,
278626,
319590,
311400,
278635,
303212,
278639,
131192,
278648,
237693,
303230,
327814,
303241,
131209,
417930,
303244,
311436,
319633,
286873,
286876,
311460,
311469,
32944,
327862,
286906,
327866,
180413,
286910,
286916,
286922,
286924,
286926,
319694,
286928,
131281,
278743,
278747,
295133,
155872,
319716,
237807,
303345,
286962,
303347,
229622,
327930,
278781,
278783,
278785,
237826,
319751,
286987,
319757,
286999,
319770,
287003,
287006,
287009,
287012,
287014,
287016,
287019,
311598,
287023,
262448,
311601,
295220,
155966,
319809,
319810,
278849,
319814,
311623,
319818,
311628,
229709,
319822,
287054,
278865,
229717,
196963,
196969,
139638,
213367,
106872,
319872,
311683,
319879,
311693,
65943,
319898,
311719,
278952,
139689,
311728,
278967,
180668,
311741,
278975,
319938,
278980,
278983,
319945,
278986,
278990,
278994,
311767,
279003,
279006,
188895,
172512,
287202,
279010,
279015,
172520,
319978,
279020,
172526,
311791,
279023,
172529,
279027,
319989,
172534,
180727,
164343,
279035,
311804,
287230,
279040,
303617,
287234,
279045,
172550,
303623,
172552,
320007,
287238,
279051,
172558,
279055,
303632,
279058,
303637,
279063,
279067,
172572,
279072,
172577,
295459,
172581,
295461,
279082,
279084,
172591,
172598,
279095,
172607,
172609,
172612,
377413,
172614,
213575,
172618,
303690,
33357,
303696,
279124,
172634,
262752,
172644,
311911,
189034,
295533,
172655,
172656,
352880,
295538,
189039,
172660,
287349,
189040,
189044,
287355,
287360,
295553,
172675,
295557,
311942,
303751,
287365,
352905,
311946,
279178,
287371,
311951,
287377,
172691,
287381,
311957,
221850,
287386,
230045,
172702,
287390,
303773,
172705,
287394,
172707,
303780,
164509,
287398,
205479,
279208,
287400,
172714,
295595,
279212,
189102,
172721,
287409,
66227,
303797,
189114,
287419,
303804,
328381,
287423,
328384,
172737,
287427,
312005,
312006,
172748,
287436,
107212,
172751,
287440,
295633,
172755,
303827,
279255,
287450,
303835,
279258,
189149,
303838,
213724,
312035,
279267,
295654,
279272,
230128,
312048,
312050,
230131,
205564,
303871,
230146,
328453,
295685,
230154,
33548,
312077,
295695,
230169,
295707,
328476,
295710,
230175,
295720,
303914,
279340,
279353,
230202,
312124,
328508,
222018,
295755,
377676,
148302,
287569,
303959,
230237,
279390,
230241,
279394,
303976,
336744,
303981,
303985,
303987,
328563,
303991,
303997,
295806,
295808,
295813,
304005,
320391,
304007,
213895,
304009,
304011,
304013,
295822,
279438,
213902,
189329,
295825,
304019,
189331,
58262,
304023,
304027,
279452,
234648,
279461,
279462,
304042,
213931,
230327,
304055,
287675,
197564,
230334,
304063,
238528,
304065,
213954,
189378,
156612,
197580,
312272,
304084,
304090,
320481,
304106,
320490,
312302,
328687,
320496,
304114,
295928,
320505,
295945,
230413,
295949,
197645,
320528,
140312,
295961,
238620,
304164,
304170,
304175,
238641,
312374,
238652,
238655,
230465,
238658,
336964,
132165,
296004,
205895,
320584,
238666,
296021,
402518,
336987,
230497,
296036,
296040,
361576,
205931,
279661,
205934,
312432,
279669,
337018,
279679,
304258,
279683,
222340,
205968,
296084,
238745,
304285,
238756,
222377,
165035,
337067,
238766,
165038,
230576,
238770,
304311,
230592,
312518,
279750,
230600,
230607,
148690,
320727,
279769,
304348,
279777,
304354,
296163,
320740,
279781,
304360,
320748,
279790,
304370,
296189,
320771,
312585,
296202,
296205,
230674,
320786,
230677,
296213,
296215,
320792,
230681,
214294,
230689,
173350,
312622,
296243,
312630,
222522,
296253,
222525,
296255,
312639,
296259,
378181,
296262,
230727,
238919,
296264,
320840,
296267,
296271,
222545,
230739,
312663,
222556,
337244,
230752,
312676,
230760,
173418,
148843,
410987,
230763,
230768,
296305,
312692,
230773,
304505,
304506,
181626,
279929,
181631,
148865,
312711,
312712,
296331,
288140,
288144,
304533,
337306,
288160,
288162,
288164,
279975,
304555,
370092,
279983,
173488,
288176,
279985,
312755,
296373,
312759,
337335,
288185,
279991,
222652,
312766,
173507,
222665,
230860,
312783,
288208,
230865,
288210,
370130,
288212,
148946,
222676,
288214,
239064,
329177,
288217,
280027,
288220,
288218,
239070,
288224,
280034,
288226,
280036,
288229,
280038,
288230,
288232,
370146,
288234,
288236,
288238,
288240,
288242,
296435,
288244,
288250,
296446,
321022,
402942,
148990,
296450,
206336,
230916,
230919,
230923,
304651,
304653,
370187,
230940,
222752,
108066,
296486,
296488,
157229,
230961,
157236,
288320,
288325,
124489,
280145,
288338,
280149,
288344,
239194,
280158,
403039,
239202,
312938,
280183,
280185,
280191,
116354,
280194,
280208,
280211,
288408,
280222,
321195,
296622,
321200,
337585,
296634,
296637,
313027,
206536,
280264,
206539,
206541,
206543,
313044,
280276,
321239,
280283,
313052,
18140,
288478,
313055,
321252,
313066,
288494,
280302,
313073,
321266,
419570,
288499,
288502,
280314,
288510,
124671,
67330,
280324,
198405,
288519,
280331,
198416,
296723,
116503,
321304,
329498,
296731,
321311,
313121,
313123,
304932,
321316,
280363,
141101,
165678,
280375,
321336,
296767,
288576,
345921,
280388,
304968,
280393,
280402,
173907,
313171,
313176,
42842,
280419,
321381,
296809,
296812,
313201,
1920,
305028,
280454,
247688,
124817,
280468,
239510,
280473,
124827,
214940,
247709,
214944,
321458,
296883,
124853,
214966,
296890,
10170,
288700,
296894,
190403,
296900,
280515,
337862,
165831,
280521,
231379,
296921,
239586,
313320,
124913,
165876,
239612,
313340,
288764,
239617,
313347,
288773,
313358,
305176,
321560,
313371,
354338,
305191,
223273,
313386,
354348,
124978,
215090,
124980,
288824,
288826,
321595,
313406,
288831,
288836,
67654,
354382,
288848,
280658,
215123,
354390,
288855,
288859,
280669,
313438,
149599,
280671,
149601,
321634,
149603,
329830,
280681,
313451,
223341,
280687,
149618,
215154,
313458,
280691,
313464,
329850,
321659,
288895,
321670,
215175,
288909,
141455,
141459,
280725,
313498,
100520,
288936,
280747,
288940,
288947,
280755,
321717,
280759,
280764,
280769,
280771,
280774,
280776,
313548,
321740,
280783,
280786,
280788,
313557,
280793,
280796,
280798,
338147,
280804,
280807,
157930,
280811,
280817,
125171,
157940,
280819,
280823,
280825,
280827,
280830,
280831,
280833,
125187,
280835,
125191,
125207,
125209,
321817,
125218,
321842,
223539,
125239,
280888,
280891,
289087,
280897,
280900,
305480,
239944,
280906,
239947,
305485,
305489,
280919,
354653,
354656,
313700,
313705,
280937,
190832,
280946,
313720,
280956,
239997,
280959,
313731,
199051,
240011,
289166,
240017,
297363,
190868,
240021,
297365,
297368,
297372,
141725,
297377,
289186,
297391,
289201,
240052,
289207,
289210,
305594,
281024,
289218,
289227,
281047,
215526,
166378,
305647,
281075,
174580,
240124,
305662,
305664,
240129,
305666,
305668,
223749,
240132,
281095,
223752,
150025,
338440,
223757,
281102,
223763,
223765,
281113,
322074,
281116,
281121,
182819,
281127,
281135,
150066,
158262,
158266,
289342,
281154,
322115,
158283,
338528,
338532,
281190,
199273,
281196,
19053,
158317,
313973,
297594,
281210,
158347,
133776,
314003,
117398,
314007,
289436,
174754,
330404,
289448,
133801,
174764,
314029,
314033,
240309,
133817,
314045,
314047,
314051,
297671,
158409,
289493,
363234,
289513,
289522,
289525,
289532,
322303,
322310,
264969,
322314,
322318,
281361,
281372,
322341,
215850,
281388,
289593,
281401,
289601,
281410,
281413,
281414,
240458,
281420,
240468,
281430,
322393,
297818,
281435,
281438,
174955,
224110,
207733,
207737,
158596,
183172,
338823,
322440,
314249,
240519,
183184,
289687,
240535,
297883,
289694,
289696,
289700,
289712,
281529,
289724,
52163,
183260,
281567,
289762,
322534,
297961,
183277,
281581,
322550,
134142,
322563,
314372,
175134,
322599,
322610,
314421,
281654,
314427,
314433,
207937,
314441,
322642,
314456,
281691,
314461,
281702,
281704,
281711,
289912,
248995,
306341,
306344,
306347,
322734,
306354,
142531,
199877,
289991,
306377,
289997,
249045,
363742,
363745,
298216,
330988,
216303,
322801,
388350,
257302,
363802,
199976,
199978,
314671,
298292,
298294,
216376,
380226,
298306,
224587,
224594,
216404,
306517,
150870,
314714,
224603,
159068,
314718,
265568,
314723,
281960,
150890,
306539,
314732,
314736,
290161,
216436,
306549,
298358,
314743,
306552,
290171,
314747,
306555,
298365,
290174,
224641,
281987,
298372,
314756,
281990,
224647,
298377,
314763,
314768,
224657,
306581,
314773,
314779,
314785,
314793,
282025,
282027,
241068,
241070,
241072,
282034,
150966,
298424,
306618,
282044,
323015,
306635,
306640,
290263,
290270,
290275,
339431,
191985,
290291,
282101,
241142,
191992,
290298,
151036,
290302,
290305,
306694,
192008,
323084,
257550,
282127,
290321,
282130,
290325,
282133,
241175,
290328,
290332,
241181,
282142,
282144,
290344,
306731,
290349,
290351,
290356,
28219,
282186,
224849,
282195,
282201,
306778,
159324,
159330,
314979,
298598,
323176,
224875,
241260,
323181,
257658,
315016,
282249,
290445,
282261,
298651,
282269,
323229,
298655,
323231,
61092,
282277,
306856,
282295,
323260,
282300,
323266,
282310,
323273,
282319,
306897,
241362,
306904,
282328,
298714,
52959,
216801,
282337,
241380,
216806,
323304,
282345,
12011,
282356,
323318,
282364,
282367,
306945,
241412,
323333,
282376,
216842,
323345,
282388,
323349,
282392,
184090,
315167,
315169,
282402,
315174,
323367,
241448,
315176,
241450,
282410,
306988,
306991,
315184,
323376,
315190,
241464,
159545,
282425,
298811,
118593,
307009,
413506,
307012,
298822,
315211,
307027,
315221,
315223,
241496,
241498,
307035,
307040,
110433,
282465,
241509,
110438,
298860,
110445,
282478,
315249,
110450,
315251,
315253,
315255,
339838,
315267,
315269,
241544,
282505,
241546,
241548,
298896,
298898,
282514,
241556,
298901,
44948,
241560,
282520,
241563,
241565,
241567,
241569,
282531,
241574,
282537,
298922,
241581,
241583,
323504,
241586,
282547,
241588,
290739,
241590,
241592,
241598,
290751,
241600,
241605,
151495,
241610,
298975,
241632,
298984,
241643,
298988,
241646,
241649,
241652,
323574,
290807,
299003,
241661,
299006,
282623,
315396,
241669,
315397,
282632,
282639,
290835,
282645,
241693,
241701,
102438,
217127,
282669,
323630,
282681,
290877,
282687,
159811,
315463,
315466,
192589,
307278,
192596,
307287,
307290,
217179,
315482,
192605,
315483,
233567,
299105,
200801,
217188,
299109,
307303,
315495,
356457,
45163,
307307,
315502,
192624,
307314,
323700,
299126,
233591,
299136,
307329,
315524,
307338,
233613,
241813,
307352,
299164,
299167,
315552,
184479,
184481,
315557,
184486,
307370,
307372,
307374,
307376,
323763,
184503,
176311,
299191,
307386,
258235,
307388,
307385,
307390,
176316,
299200,
307394,
299204,
307396,
184518,
307399,
323784,
233679,
307409,
307411,
299225,
233701,
307432,
282881,
282893,
323854,
291089,
282906,
291104,
233766,
307508,
315701,
332086,
307510,
307512,
307515,
307518,
282942,
282947,
323917,
110926,
282957,
233808,
323921,
315733,
323926,
233815,
276052,
315739,
323932,
299357,
242018,
242024,
299373,
250231,
242043,
315771,
299391,
291202,
299398,
242057,
291212,
299405,
291222,
315801,
283033,
242075,
291226,
194654,
61855,
291231,
283042,
291238,
291241,
127403,
127405,
291247,
299440,
127407,
299444,
127413,
283062,
291254,
127417,
291260,
283069,
127421,
127424,
299457,
127429,
127434,
315856,
176592,
127440,
315860,
283095,
127447,
299481,
127449,
176605,
242143,
127455,
127457,
291299,
127463,
242152,
291305,
127466,
176620,
127469,
127474,
291314,
291317,
127480,
135672,
291323,
233979,
127485,
291330,
283142,
127494,
135689,
233994,
127497,
127500,
233998,
127506,
234003,
234006,
127511,
152087,
283161,
242202,
234010,
135707,
135710,
242206,
242208,
291361,
242220,
291378,
152118,
234038,
234041,
315961,
70213,
242250,
111193,
242275,
299620,
242279,
168562,
184952,
135805,
135808,
291456,
373383,
135820,
316051,
225941,
316054,
299672,
135834,
373404,
299677,
135839,
299680,
225954,
299684,
135844,
242343,
209576,
242345,
373421,
135870,
135873,
135876,
135879,
299720,
299723,
299726,
299740,
201444,
299750,
283368,
234219,
283372,
283382,
316151,
234231,
234236,
226045,
242431,
234239,
209665,
234242,
299778,
242436,
226053,
234246,
226056,
234248,
291593,
242443,
234252,
242445,
234254,
291601,
234258,
242450,
242452,
234261,
201496,
234264,
234266,
234269,
283421,
234272,
234274,
152355,
299814,
234278,
283432,
234281,
234284,
234287,
283440,
185138,
242483,
234292,
234296,
234298,
160572,
283452,
234302,
234307,
242499,
234309,
316233,
234313,
316235,
234316,
234319,
242511,
234321,
234324,
185173,
201557,
234329,
234333,
308063,
234336,
242530,
349027,
234338,
234341,
234344,
234347,
177004,
234350,
324464,
234353,
152435,
177011,
234356,
234358,
234362,
226171,
234364,
291711,
234368,
291714,
234370,
291716,
234373,
316294,
201603,
226182,
308105,
234375,
226185,
234379,
324490,
234384,
234388,
234390,
324504,
234393,
209818,
308123,
324508,
226200,
291742,
234396,
234398,
234401,
291747,
291748,
234405,
291750,
234407,
324520,
324518,
324522,
234410,
291756,
291754,
226220,
324527,
291760,
234417,
201650,
324531,
234414,
234422,
324536,
275384,
234428,
291773,
242623,
324544,
234431,
234434,
324546,
324548,
234437,
226245,
234439,
226239,
234443,
291788,
234446,
275406,
193486,
234449,
316370,
193488,
234452,
234455,
234459,
234461,
234464,
234467,
168935,
5096,
324585,
234475,
234478,
316400,
234481,
316403,
234484,
234485,
234487,
324599,
234490,
234493,
316416,
234496,
234501,
275462,
308231,
234504,
234507,
234515,
300054,
316439,
234520,
234519,
234523,
234526,
234528,
300066,
234532,
300069,
234535,
234537,
234540,
144430,
234543,
234546,
275508,
300085,
234549,
300088,
234553,
234556,
234558,
316479,
234561,
316483,
160835,
234563,
308291,
234568,
234570,
316491,
234572,
300108,
234574,
300115,
234580,
234581,
242777,
234585,
275545,
234590,
234593,
234595,
234597,
300133,
234601,
300139,
234605,
160879,
234607,
275569,
234610,
316530,
300148,
234614,
398455,
144506,
234618,
234620,
275579,
234623,
226433,
234627,
275588,
234629,
242822,
234634,
234636,
177293,
234640,
275602,
234643,
308373,
226453,
234647,
275606,
275608,
234650,
308379,
324757,
300189,
324766,
119967,
234653,
324768,
283805,
234657,
242852,
300197,
234661,
283813,
234664,
275626,
234667,
316596,
308414,
234687,
300223,
300226,
308418,
234692,
300229,
308420,
308422,
283844,
226500,
300234,
283850,
300238,
300241,
316625,
300243,
300245,
316630,
300248,
300253,
300256,
300258,
300260,
300263,
300265,
300267,
161003,
300270,
300272,
120053,
300278,
275703,
316663,
300284,
275710,
300287,
292097,
300289,
300292,
300294,
275719,
234760,
177419,
300299,
242957,
300301,
283917,
177424,
275725,
349464,
283939,
259367,
292143,
283951,
300344,
243003,
283963,
226628,
300357,
283973,
283983,
316758,
357722,
316766,
316768,
292192,
292197,
316774,
243046,
218473,
284010,
136562,
324978,
275834,
333178,
275836,
275840,
316803,
316806,
316811,
316814,
226703,
300433,
234899,
300436,
226709,
357783,
316824,
316826,
144796,
300448,
144807,
144810,
144812,
144814,
227426,
144820,
374196,
284084,
292279,
284087,
144826,
144828,
144830,
144832,
144835,
144837,
38342,
144839,
144841,
144844,
144847,
144852,
144855,
103899,
300507,
333280,
226787,
218597,
292329,
300523,
300527,
308720,
292338,
226802,
316917,
292343,
308727,
300537,
316933,
316947,
308757,
308762,
284191,
316959,
284194,
284196,
235045,
284199,
284204,
284206,
284209,
284211,
194101,
284213,
316983,
194103,
284215,
308790,
284218,
226877,
292414,
284223,
284226,
284228,
292421,
226886,
284231,
128584,
243268,
284234,
366155,
317004,
276043,
284238,
226895,
284241,
194130,
284243,
300628,
284245,
292433,
284247,
317015,
235097,
243290,
276053,
284249,
284251,
300638,
284253,
284255,
284258,
292452,
292454,
284263,
284265,
292458,
292461,
284272,
284274,
284278,
292470,
276086,
292473,
284283,
276093,
284286,
292479,
284288,
292481,
284290,
325250,
284292,
292485,
325251,
276095,
276098,
284297,
317066,
284299,
317068,
284301,
276109,
284303,
284306,
276114,
284308,
284312,
284314,
284316,
276127,
284320,
284322,
284327,
284329,
317098,
284331,
276137,
284333,
284335,
284337,
284339,
300726,
284343,
284346,
284350,
358080,
276160,
284354,
358083,
284358,
276166,
358089,
284362,
276170,
284365,
276175,
284368,
276177,
284370,
358098,
284372,
317138,
284377,
276187,
284379,
284381,
284384,
358114,
284386,
358116,
276197,
317158,
358119,
284392,
325353,
358122,
284394,
284397,
358126,
284399,
358128,
358133,
358135,
276216,
358138,
300795,
358140,
284413,
358142,
358146,
317187,
284418,
317189,
317191,
300816,
300819,
317207,
284440,
300828,
300830,
276255,
300832,
325408,
300834,
317221,
227109,
358183,
276268,
300845,
243504,
300850,
284469,
276280,
325436,
358206,
276291,
366406,
276295,
292681,
153417,
358224,
276308,
178006,
317271,
276315,
292700,
317279,
284511,
227175,
292715,
292721,
284529,
300915,
292729,
317306,
284540,
292734,
325512,
276365,
317332,
358292,
284564,
284566,
350106,
284572,
276386,
284579,
276388,
358312,
317353,
284585,
292784,
358326,
358330,
276410,
276411,
276418,
301009,
301011,
301013,
292823,
358360,
301017,
301015,
292828,
276446,
153568,
276452,
292839,
276455,
292843,
276464,
178161,
227314,
325624,
317435,
276479,
276482,
276485,
317446,
276490,
292876,
317456,
276496,
317458,
178195,
243733,
243740,
317468,
317472,
325666,
243751,
292904,
276528,
243762,
309298,
325685,
325689,
235579,
325692,
235581,
178238,
276539,
276544,
284739,
325700,
292934,
243785,
276553,
350293,
350295,
309337,
194649,
227418,
350299,
350302,
227423,
350304,
178273,
309346,
194657,
194660,
350308,
309350,
309348,
292968,
309352,
309354,
301163,
350313,
350316,
227430,
301167,
276583,
350321,
276590,
284786,
276595,
350325,
252022,
350328,
292985,
301178,
350332,
292989,
301185,
292993,
350339,
317570,
317573,
350342,
350345,
350349,
301199,
317584,
325777,
350354,
194708,
350357,
350359,
350362,
350366,
276638,
284837,
350375,
350379,
350381,
350383,
350385,
350387,
350389,
350395,
350397,
350399,
227520,
350402,
301252,
350406,
227529,
301258,
309450,
276685,
309455,
276689,
309462,
301272,
194780,
309468,
309471,
301283,
317672,
317674,
325867,
243948,
309491,
309494,
243960,
276735,
227587,
276739,
276742,
227593,
227596,
325910,
309530,
342298,
211232,
317729,
276775,
211241,
325937,
325943,
211260,
260421,
276811,
235853,
235858,
276829,
276833,
391523,
276836,
293227,
276843,
293232,
276848,
186744,
211324,
227709,
285061,
317833,
178572,
285070,
285077,
317853,
276896,
317858,
342434,
285093,
317864,
276907,
235955,
276917,
293304,
293307,
293314,
309707,
293325,
317910,
293336,
235996,
317917,
293343,
358880,
227810,
293346,
293352,
236013,
293364,
301562,
293370,
317951,
309764,
301575,
121352,
293387,
236043,
342541,
113167,
309779,
317971,
309781,
227877,
227879,
293417,
227882,
309804,
105007,
236082,
23094,
277054,
219714,
129603,
301636,
318020,
301639,
301643,
277071,
285265,
309844,
277080,
309849,
285277,
285282,
326244,
318055,
277100,
309871,
121458,
277106,
170619,
309885,
309888,
277122,
277128,
285320,
301706,
318092,
326285,
334476,
318094,
277136,
277139,
227992,
318108,
285340,
318110,
227998,
137889,
383658,
285357,
318128,
277170,
293555,
318132,
342707,
154292,
277177,
277181,
318144,
277187,
277191,
277194,
277196,
277201,
137946,
113378,
228069,
277223,
342760,
285417,
56043,
277232,
228081,
56059,
310015,
285441,
310020,
285448,
310029,
228113,
285459,
277273,
293659,
326430,
228128,
285474,
293666,
228135,
318248,
277291,
318253,
293677,
285489,
301876,
293685,
285494,
301880,
301884,
310080,
293696,
277317,
277322,
293706,
162643,
310100,
301911,
301913,
301921,
400236,
236397,
162671,
326514,
310134,
236408,
15224,
277368,
416639,
416640,
113538,
310147,
416648,
39817,
187274,
277385,
301972,
424853,
277405,
277411,
310179,
293798,
293802,
236460,
277426,
276579,
293811,
293817,
293820,
203715,
326603,
293849,
293861,
228327,
228328,
318442,
228330,
228332,
326638,
277486,
318450,
293876,
293877,
285686,
302073,
121850,
293882,
302075,
285690,
244731,
293887,
277504,
277507,
277511,
293899,
277519,
293908,
302105,
293917,
293939,
318516,
277561,
277564,
310336,
293956,
277573,
228422,
293960,
310344,
277577,
277583,
203857,
293971,
310355,
310359,
236632,
277594,
138332,
277598,
203872,
277601,
310374,
203879,
310376,
228460,
318573,
203886,
187509,
285815,
367737,
285817,
302205,
285821,
392326,
285831,
294026,
302218,
162964,
384148,
187542,
302231,
285849,
302233,
285852,
302237,
285854,
285856,
302241,
285862,
277671,
302248,
64682,
277678,
294063,
294065,
302258,
277687,
294072,
318651,
294076,
277695,
318657,
244930,
302275,
130244,
302277,
228550,
302282,
310476,
302285,
302288,
310481,
302290,
203987,
302292,
302294,
310486,
302296,
384222,
310498,
285927,
318698,
302315,
195822,
228592,
294132,
138485,
228601,
204026,
228606,
64768,
310531,
285958,
138505,
228617,
318742,
130345,
113964,
285999,
113969,
318773,
318776,
286010,
417086,
286016,
302403,
294211,
384328,
294221,
294223,
326991,
179547,
302436,
294246,
327015,
310632,
327017,
351594,
351607,
310648,
310651,
310657,
351619,
294276,
310659,
327046,
253320,
310665,
318858,
310672,
351633,
310689,
130468,
277932,
310703,
310710,
130486,
310712,
310715,
302526,
228799,
302534,
310727,
245191,
64966,
163272,
302541,
302543,
310737,
228825,
310749,
310755,
187880,
310764,
286188,
310772,
40440,
212472,
40443,
286203,
310780,
40448,
228864,
286214,
228871,
302603,
65038,
302614,
302617,
286233,
302621,
286240,
146977,
187939,
40484,
294435,
40486,
286246,
294440,
40488,
294439,
294443,
40491,
294445,
278057,
310831,
40499,
40502,
212538,
40507,
40511,
40513,
228933,
327240,
40521,
286283,
40525,
40527,
212560,
400976,
228944,
40533,
147032,
40537,
40539,
40541,
278109,
40544,
40548,
40550,
40552,
286312,
40554,
286313,
310892,
40557,
40560,
294521,
343679,
294537,
310925,
286354,
278163,
302740,
278168,
179870,
327333,
229030,
212648,
278188,
302764,
278192,
319153,
278196,
319163,
302781,
319171,
302789,
294599,
278216,
294601,
302793,
343757,
212690,
319187,
286420,
278227,
286425,
319194,
278235,
278238,
229086,
294625,
294634,
302838,
319226,
286460,
278274,
302852,
278277,
302854,
294664,
311048,
319243,
311053,
302862,
319251,
294682,
278306,
188199,
294701,
319280,
278320,
319290,
229192,
302925,
188247,
188252,
237409,
360317,
294785,
327554,
40851,
294811,
237470,
319390,
40865,
319394,
294817,
311209,
180142,
343983,
188340,
40886,
294844,
294847,
237508,
393177,
294876,
294879,
294883,
294890,
311279,
278513,
237555,
311283,
278516,
278519,
237562
] |
aafb785d60536e02b3f31e563c230edf3f13188b | 36297c5ef887af50a9a21bfa1b98f6c9e953afd0 | /Sources/BaseEnhancements/DoUpdateView.swift | a0b985b1dbab57d8a9b827c24d5fdcfe37a3a5b1 | [
"MIT"
] | permissive | ObjectAlchemist/OOUIKit | 758785dacf77ca84ac2bc6df1a4ae1dbff23e00f | a2fed3048e647621a5742323b7564a9114449f6f | refs/heads/master | 2021-05-15T20:45:59.563332 | 2019-06-01T15:59:53 | 2019-06-01T15:59:53 | 107,804,860 | 4 | 2 | null | null | null | null | UTF-8 | Swift | false | false | 425 | swift | //
// DoUpdateView.swift
// OOSwift
//
// Created by Karsten Litsche on 01.09.17.
//
//
import OOBase
public final class DoUpdateView: OOExecutable {
// MARK: init
public init(_ view: OOView) {
self.view = view
}
// MARK: protocol OOExecutable
public func execute() {
view.setNeedsRefresh()
}
// MARK: private
private let view: OOView
}
| [
-1
] |
572acec039b8ff48a255ecc176b05cd1892bb541 | c76fa9e4a8666e68d99041c3464fb86ce235e4e3 | /RealmIncrementalStore/NSEntityDescription+RealmIncrementalStore.swift | bb2afc104c26cccecd66497cc01a427b645423b5 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | ArkadiYoskovitz/RealmIncrementalStore | 8c918532b05e02b623727287aaa9745968e55f4c | efad214049bce7068d8a620e59a04847bb48e2d6 | refs/heads/master | 2021-01-22T14:20:52.712882 | 2016-02-29T03:25:09 | 2016-02-29T03:25:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 18,887 | swift | //
// NSEntityDescription+RealmIncrementalStore.swift
// RealmIncrementalStore
//
// Copyright © 2016 eureka, Inc., John Rommel Estropia
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//
import Foundation
import CoreData
import Realm
internal typealias RealmBackingType = (backingClass: RLMObject.Type, objectSchema: RLMObjectSchema)
private let RISUserInfoKey = "_RISUserInfoKey"
private let RISObjectSchemaKey = "_RISObjectSchemaKey"
private enum Static {
static let arrayBarrierQueue = dispatch_queue_create("RealmIncrementalStore.entities.queue", DISPATCH_QUEUE_CONCURRENT)
static let entityBarrierQueue = dispatch_queue_create("RealmIncrementalStore.entity.queue", DISPATCH_QUEUE_CONCURRENT)
static var classes = [NSData: RLMObject.Type]()
}
internal extension Array where Element: NSEntityDescription {
internal func loadObjectSchemas() -> [RLMObjectSchema] {
var objectSchema = [RLMObjectSchema]()
dispatch_barrier_sync(Static.arrayBarrierQueue) {
objectSchema = self.map {
$0.loadRealmObjectSchemaForBackingClass()
}
}
return objectSchema
}
}
// MARK: - NSEntityDescription
internal extension NSEntityDescription {
// MARK: Internal
@nonobjc internal var realmBackingClass: RLMObject.Type {
return self.loadRealmBackingClassIfNeeded()
}
@nonobjc internal var realmObjectSchema: RLMObjectSchema {
return self.loadRealmObjectSchemaForBackingClass()
}
@nonobjc private var realmUserInfo: [String: AnyObject] {
get {
return (self.userInfo?[RISUserInfoKey] as? [String: AnyObject]) ?? [:]
}
set {
if self.userInfo == nil {
self.userInfo = [:]
}
self.userInfo?[RISUserInfoKey] = newValue
}
}
private func loadRealmBackingClassIfNeeded() -> RLMObject.Type {
// One day the realm-core will be opened to public and we won't have to rely on dynamic classes to build schemas.
var backingClass: RLMObject.Type?
dispatch_barrier_sync(Static.entityBarrierQueue) {
let versionHash = self.versionHash
if let existingClass = Static.classes[versionHash] {
backingClass = existingClass
return
}
let newClass = objc_allocateClassPair(
RLMObject.self,
RLMObject.RISBackingClassNameForEntity(self).UTF8String,
0
) as! RLMObject.Type
defer {
objc_registerClassPair(newClass)
Static.classes[versionHash] = newClass
backingClass = newClass
}
var properties = [(propertyName: String, rawAttribute: NSString)]()
var defaultValues: [String: AnyObject] = [RLMObject.RISVersionProperty: 0]
self.attributesByName.forEach { (name, description) in
guard !description.transient else {
return
}
switch description.attributeType {
case .BooleanAttributeType:
properties.append((name, "\"NSNumber<RLMBool>\""))
case .Integer16AttributeType: fallthrough
case .Integer32AttributeType: fallthrough
case .Integer64AttributeType:
properties.append((name, "\"NSNumber<RLMInt>\""))
case .DateAttributeType:
properties.append((name, "\"NSNumber<NSDate>\""))
case .DoubleAttributeType:
properties.append((name, "\"NSNumber<RLMDouble>\""))
case .FloatAttributeType:
properties.append((name, "\"NSNumber<RLMFloat>\""))
case .StringAttributeType:
properties.append((name, "\"NSString\""))
case .BinaryDataAttributeType:
properties.append((name, "\"NSData\""))
case .DecimalAttributeType:
fatalError("Attribute data type unsupported")
case .TransformableAttributeType:
fatalError("Attribute data type unsupported")
case .ObjectIDAttributeType: fallthrough
case .UndefinedAttributeType:
fatalError()
}
if let defaultValue = description.defaultValue as? NSObject {
defaultValues[name] = defaultValue
}
}
self.relationshipsByName.forEach { (name, description) in
guard let destinationEntity = description.destinationEntity else {
fatalError("Missing relationship destination for \"\(name)\" in class \"\(newClass)\"")
}
let destinationBackingClassName = RLMObject.RISBackingClassNameForEntity(destinationEntity)
if description.toMany {
let `protocol`: Protocol = objc_allocateProtocol(("" as NSString).UTF8String)
objc_registerProtocol(`protocol`)
class_addProtocol(newClass, `protocol`)
properties.append((name, "\"RLMArray<id><\(destinationBackingClassName)>\""))
}
else {
properties.append((name, "\"\(destinationBackingClassName)\""))
}
}
properties.forEach { (propertyName, rawAttribute) in
let selectorNames = NSEntityDescription.synthesizePropertyWithNameIfNeeded(
propertyName,
toBackingClass: newClass
)
let rawAttributes = [
objc_property_attribute_t(
name: ("T@" as NSString).UTF8String,
value: rawAttribute.UTF8String
),
objc_property_attribute_t(
name: ("&" as NSString).UTF8String,
value: ("" as NSString).UTF8String
),
objc_property_attribute_t(
name: ("V" as NSString).UTF8String,
value: (selectorNames.iVar as NSString).UTF8String
)
]
rawAttributes.withUnsafeBufferPointer { buffer in
guard class_addProperty(newClass, propertyName, buffer.baseAddress, UInt32(buffer.count)) else {
fatalError("Could not dynamically add property \"\(propertyName)\" to class \"\(newClass)\"")
}
}
}
NSEntityDescription.synthesizeResourceIDToBackingClass(newClass)
NSEntityDescription.synthesizeVersionToBackingClass(newClass)
let metaClass: AnyClass = object_getClass(newClass)
NSEntityDescription.addGetterBlock(
{ _, _ in RLMObject.RISResourceIDProperty },
methodName: "primaryKey",
toBackingClass: metaClass
)
if !defaultValues.isEmpty {
NSEntityDescription.addGetterBlock(
{ _, _ in defaultValues },
methodName: "defaultPropertyValues",
toBackingClass: metaClass
)
}
}
return backingClass!
}
private func loadRealmObjectSchemaForBackingClass() -> RLMObjectSchema {
if let objectSchema = self.realmUserInfo[RISObjectSchemaKey] as? RLMObjectSchema {
return objectSchema
}
let backingClass = self.loadRealmBackingClassIfNeeded()
let attributeProperties = self.attributesByName.flatMap { (name, description) -> RLMProperty? in
guard !description.transient else {
return nil
}
let realmPropertyType: RLMPropertyType
switch description.attributeType {
case .BooleanAttributeType:
realmPropertyType = .Bool
case .Integer16AttributeType: fallthrough
case .Integer32AttributeType: fallthrough
case .Integer64AttributeType:
realmPropertyType = .Int
case .DateAttributeType:
realmPropertyType = .Date
case .DoubleAttributeType:
realmPropertyType = .Double
case .FloatAttributeType:
realmPropertyType = .Float
case .StringAttributeType:
realmPropertyType = .String
case .BinaryDataAttributeType:
realmPropertyType = .Data
case .DecimalAttributeType:
fatalError("Attribute data type unsupported")
case .TransformableAttributeType:
fatalError("Attribute data type unsupported")
case .ObjectIDAttributeType: fallthrough
case .UndefinedAttributeType:
fatalError()
}
let selectorNames = NSEntityDescription.synthesizePropertyWithNameIfNeeded(
name,
toBackingClass: backingClass
)
let property = RLMProperty(
name: name,
type: realmPropertyType,
objectClassName: nil,
indexed: description.indexed,
optional: true
)
property.getterName = selectorNames.getter
property.getterSel = NSSelectorFromString(selectorNames.getter)
property.setterName = selectorNames.setter
property.setterSel = NSSelectorFromString(selectorNames.setter)
return property
}
let relationshipProperties = self.relationshipsByName.flatMap { (name, description) -> RLMProperty? in
guard let destinationEntity = description.destinationEntity else {
fatalError("Missing relationship destination for \"\(name)\" in class \"\(backingClass)\"")
}
let realmPropertyType: RLMPropertyType
let optional: Bool
if description.toMany {
realmPropertyType = .Array
optional = false
}
else {
realmPropertyType = .Object
optional = true
}
let selectorNames = NSEntityDescription.synthesizePropertyWithNameIfNeeded(
name,
toBackingClass: backingClass
)
let destinationBackingClassName = RLMObject.RISBackingClassNameForEntity(destinationEntity)
let property = RLMProperty(
name: name,
type: realmPropertyType,
objectClassName: destinationBackingClassName as String,
indexed: false,
optional: optional
)
property.getterName = selectorNames.getter
property.getterSel = NSSelectorFromString(selectorNames.getter)
property.setterName = selectorNames.setter
property.setterSel = NSSelectorFromString(selectorNames.setter)
return property
}
let resourceIDProperty: RLMProperty
let versionProperty: RLMProperty
do {
resourceIDProperty = RLMProperty(
name: RLMObject.RISResourceIDProperty,
type: .String,
objectClassName: nil,
indexed: true,
optional: false
)
resourceIDProperty.isPrimary = true
resourceIDProperty.getterName = RLMObject.RISResourceIDProperty
resourceIDProperty.getterSel = NSSelectorFromString(RLMObject.RISResourceIDProperty)
resourceIDProperty.setterName = RLMObject.RISResourceIDSetter
resourceIDProperty.setterSel = NSSelectorFromString(RLMObject.RISResourceIDSetter)
}
do {
versionProperty = RLMProperty(
name: RLMObject.RISVersionProperty,
type: .Int,
objectClassName: nil,
indexed: false,
optional: false
)
versionProperty.getterName = RLMObject.RISVersionProperty
versionProperty.getterSel = NSSelectorFromString(RLMObject.RISVersionProperty)
versionProperty.setterName = RLMObject.RISVersionSetter
versionProperty.setterSel = NSSelectorFromString(RLMObject.RISVersionSetter)
}
let objectSchema = RLMObjectSchema(
className: NSStringFromClass(backingClass),
objectClass: backingClass,
properties: [resourceIDProperty, versionProperty]
+ attributeProperties
+ relationshipProperties
)
self.realmUserInfo[RISObjectSchemaKey] = objectSchema
return objectSchema
}
// MARK: Private
private typealias IMPGetterFunction = @convention(block) (AnyObject, Selector) -> AnyObject?
private typealias IMPSetterFunction = @convention(block) (AnyObject, Selector, AnyObject?) -> Void
private typealias IMPValueConverterFunction = @convention(block) (AnyObject?) -> AnyObject?
private static func addGetterBlock(getter: IMPGetterFunction = { _ in nil }, methodName: String, toBackingClass backingClass: AnyClass) {
let succeeded = class_addMethod(
backingClass,
NSSelectorFromString(methodName),
imp_implementationWithBlock(unsafeBitCast(getter, AnyObject.self)),
"@:"
)
guard succeeded else {
fatalError("Could not dynamically add getter method \"\(methodName)\" to class \"\(backingClass)\"")
}
}
private static func addSetterBlock(setter: IMPSetterFunction = { _ in }, methodName: String, toBackingClass backingClass: AnyClass) {
let succeeded = class_addMethod(
backingClass,
NSSelectorFromString(methodName),
imp_implementationWithBlock(unsafeBitCast(setter, AnyObject.self)),
"v@:@"
)
guard succeeded else {
fatalError("Could not dynamically add setter method \"\(methodName)\" to class \"\(backingClass)\"")
}
}
private static func synthesizeResourceIDToBackingClass(backingClass: AnyClass) {
self.addGetterBlock(
methodName: RLMObject.RISResourceIDProperty,
toBackingClass: backingClass
)
self.addSetterBlock(
methodName: RLMObject.RISResourceIDSetter,
toBackingClass: backingClass
)
}
private static func synthesizeVersionToBackingClass(backingClass: AnyClass) {
self.addGetterBlock(
methodName: RLMObject.RISVersionProperty,
toBackingClass: backingClass
)
self.addSetterBlock(
methodName: RLMObject.RISVersionSetter,
toBackingClass: backingClass
)
}
private static func synthesizePropertyWithNameIfNeeded(propertyName: String, toBackingClass backingClass: AnyClass) -> (iVar: String, getter: String, setter: String) {
let iVarName = "_\(propertyName)"
let getterName = propertyName
let alphabetSet = NSCharacterSet(charactersInString: "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
let capitalized = propertyName.characters.enumerate().flatMap { (index, character) -> [Character] in
if index == 0 {
let string = String(character)
if let _ = string.rangeOfCharacterFromSet(alphabetSet) {
return Array(string.uppercaseString.characters)
}
}
return [character]
}
let setterName = "set\(String(capitalized)):"
if !backingClass.instancesRespondToSelector(NSSelectorFromString(getterName)) {
self.addGetterBlock(
methodName: getterName,
toBackingClass: backingClass
)
}
if !backingClass.instancesRespondToSelector(NSSelectorFromString(setterName)) {
self.addSetterBlock(
methodName: setterName,
toBackingClass: backingClass
)
}
return (iVar: iVarName, getter: getterName, setter: setterName)
}
}
| [
-1
] |
57950eaf2b575d6ded70816e357433664263ce1b | 36ff9f7d594e207004d34e9195186dcc0f783d51 | /cook-pad/AppDelegate.swift | c23e56badeac08b50442f1fe3f51e50e67e41315 | [] | no_license | ishwarnaste/insta-photo | e608e6f50c5dfbaf7d0fafaed6b09e1757f58aa5 | 3a0a0b2bd7f42b0a50da07ff64bdbc394e5b42b8 | refs/heads/master | 2020-03-20T14:07:22.962890 | 2018-06-15T10:52:02 | 2018-06-15T10:52:02 | 137,476,134 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 3,627 | swift | //
// AppDelegate.swift
// cook-pad
//
// Created by Naste, Ishwar (US - Bengaluru) on 6/12/18.
// Copyright © 2018 Ishwar Naste. All rights reserved.
//
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
let defaults = UserDefaults.standard
let token = defaults.value(forKey: "SESSION_TOKEN") as? String
if (token == nil){
let appDelegate = UIApplication.shared.delegate as! AppDelegate
appDelegate.window = UIWindow(frame: UIScreen.main.bounds)
let mainStoryboard: UIStoryboard = UIStoryboard(name: "Main", bundle: nil) // this assumes your storyboard is titled "Main.storyboard"
let viewController = mainStoryboard.instantiateViewController(withIdentifier: "LaunchID") as! ViewController
let aObjNavi = UINavigationController(rootViewController: viewController)
appDelegate.window?.rootViewController = aObjNavi
appDelegate.window?.makeKeyAndVisible()
}
else{
let appDelegate = UIApplication.shared.delegate as! AppDelegate
appDelegate.window = UIWindow(frame: UIScreen.main.bounds)
let mainStoryboard: UIStoryboard = UIStoryboard(name: "Main", bundle: nil) // this assumes your storyboard is titled "Main.storyboard"
let viewController = mainStoryboard.instantiateViewController(withIdentifier: "LandingID") as! LandingTableViewController
let aObjNavi = UINavigationController(rootViewController: viewController)
appDelegate.window?.rootViewController = aObjNavi
appDelegate.window?.makeKeyAndVisible()
}
return true
}
func applicationWillResignActive(_ application: UIApplication) {
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
}
func applicationDidEnterBackground(_ application: UIApplication) {
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}
func applicationWillEnterForeground(_ application: UIApplication) {
// Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
}
func applicationDidBecomeActive(_ application: UIApplication) {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}
func applicationWillTerminate(_ application: UIApplication) {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
}
| [
294924,
327722,
237613,
286774,
286776,
319544,
286778,
286791,
237640,
286797,
237646,
311375,
196692,
319573,
311383,
303212,
131192,
303230,
327814,
303241,
303244,
319633,
286876,
311469,
327862,
286906,
327866,
286910,
286924,
286926,
131281,
229622,
327930,
237826,
319751,
319757,
286999,
319770,
287003,
287006,
287012,
287014,
287016,
287019,
311598,
287023,
319809,
319810,
319814,
311623,
311628,
319822,
229717,
139638,
213367,
311683,
311693,
311719,
139689,
311728,
311741,
319938,
319945,
188895,
172512,
287202,
172520,
319978,
172526,
311791,
172529,
319989,
172534,
180727,
287230,
303617,
172550,
303623,
172552,
172558,
303632,
303637,
172572,
172577,
295459,
172581,
172591,
172598,
172607,
172609,
172612,
172614,
213575,
172618,
303690,
33357,
303696,
172634,
311911,
172656,
352880,
295538,
172660,
287349,
172675,
295557,
352905,
287377,
172691,
287381,
221850,
287386,
230045,
172702,
172705,
287394,
172707,
303780,
287398,
295595,
189102,
172721,
287409,
66227,
287419,
328381,
328384,
172737,
172748,
287436,
172751,
287440,
295633,
172755,
303827,
287450,
303835,
189149,
303838,
312035,
295654,
230128,
312048,
312050,
230146,
328453,
312077,
295695,
230169,
295707,
295710,
295720,
303914,
230202,
312124,
328508,
222018,
287569,
303959,
230237,
230241,
303976,
336744,
295806,
295808,
295813,
320391,
304013,
295822,
189329,
295825,
304019,
279445,
304027,
213931,
230327,
304055,
287675,
230334,
304063,
304065,
156612,
197580,
312272,
304090,
320481,
304106,
320490,
312302,
328687,
320496,
295945,
230413,
320528,
140312,
295961,
304164,
304170,
238641,
238652,
238655,
238658,
336964,
320584,
238666,
296021,
402518,
336987,
230497,
296040,
361576,
205931,
205968,
296084,
238745,
304285,
238756,
238766,
230576,
238770,
304311,
230592,
312518,
230600,
230607,
148690,
320727,
304354,
296163,
320740,
320748,
304370,
320771,
312585,
296202,
230674,
320786,
230677,
320792,
230681,
230689,
312622,
296253,
296255,
312639,
230727,
238919,
296264,
320840,
296267,
296271,
312663,
222556,
337244,
312676,
230760,
148843,
230768,
312692,
230773,
304505,
304506,
312711,
296331,
288140,
288144,
304533,
173488,
288176,
312759,
288185,
222652,
312766,
173507,
222665,
230860,
312783,
239070,
296435,
288250,
296446,
321022,
402942,
296450,
230919,
230923,
304651,
304653,
222752,
296486,
157229,
230961,
157236,
288320,
288325,
124489,
288338,
239194,
312938,
116354,
321195,
296622,
321200,
337585,
296637,
313044,
313052,
288478,
313055,
321252,
288494,
321266,
288502,
288510,
124671,
198405,
313093,
198416,
313121,
313123,
304932,
321316,
321336,
296767,
288576,
345921,
304968,
173907,
313171,
313176,
296812,
313201,
305028,
239510,
124827,
214944,
124853,
214966,
296890,
288700,
296894,
190403,
296900,
337862,
165831,
296921,
239586,
124913,
165876,
239612,
313340,
288764,
239617,
313347,
288773,
313358,
305176,
313371,
305191,
223273,
124978,
215090,
124980,
288824,
288826,
321595,
313406,
288831,
288836,
215123,
288859,
149599,
149601,
321634,
149603,
149618,
215154,
313464,
329850,
288895,
215175,
313498,
100520,
436392,
288947,
321717,
313548,
313557,
338147,
125171,
125187,
125191,
125207,
125209,
321817,
125218,
321842,
223539,
125239,
289087,
305480,
305485,
305489,
354653,
313700,
280940,
190832,
313720,
313731,
199051,
240011,
289166,
240017,
240021,
297365,
297372,
297377,
289186,
240052,
289207,
289210,
305594,
166378,
305647,
174580,
240124,
305662,
305664,
240129,
305666,
305668,
223749,
223752,
150025,
338440,
322074,
150066,
289342,
338528,
199273,
19053,
158317,
313973,
297594,
158347,
314003,
117398,
289436,
174754,
330404,
174764,
314029,
314033,
240309,
314045,
314047,
314051,
297671,
158409,
289493,
289513,
289522,
289532,
322303,
322310,
322314,
322318,
322341,
215850,
289601,
240458,
240468,
322393,
207733,
207737,
158596,
183172,
314249,
289687,
289694,
289700,
289724,
289762,
183277,
322550,
134142,
314372,
322599,
322610,
314421,
314433,
314441,
322642,
314456,
314461,
248995,
306341,
306344,
306347,
322734,
306354,
289997,
290008,
363742,
330988,
216303,
257302,
363802,
199976,
199978,
298292,
298294,
216376,
380226,
224587,
216404,
306517,
150870,
314714,
314718,
314723,
150890,
306539,
314732,
314736,
314743,
306552,
290171,
314747,
298372,
314756,
224647,
314763,
298381,
314768,
224657,
306581,
314773,
314779,
314785,
314793,
241068,
241070,
150966,
306618,
323015,
306635,
306640,
290263,
290270,
339431,
191985,
290291,
241142,
191992,
290298,
290302,
290305,
306694,
290325,
241175,
290332,
241181,
290344,
306731,
290349,
290356,
224849,
306778,
314979,
323176,
224875,
241260,
323181,
298651,
282269,
323229,
298655,
323231,
306856,
323266,
306904,
52959,
241380,
323318,
241412,
323345,
323349,
315167,
315169,
315174,
323367,
241448,
315176,
241450,
306991,
315184,
323376,
315190,
241464,
159545,
298811,
118593,
307009,
413506,
307012,
298822,
315211,
307027,
315223,
241496,
241498,
307035,
110433,
110438,
315249,
315253,
315255,
241544,
241546,
241548,
241556,
241560,
241563,
241565,
241567,
241569,
241574,
241581,
241583,
241586,
241588,
241590,
241592,
241598,
290751,
241605,
241610,
298975,
241632,
298984,
241643,
298988,
241646,
241649,
241652,
299003,
241661,
299006,
315396,
241669,
315397,
290835,
241693,
102438,
290877,
315466,
192596,
307290,
217179,
315482,
192605,
233567,
299105,
217188,
299109,
307303,
356457,
45163,
307307,
315502,
192624,
307314,
299126,
233591,
299136,
307338,
241813,
307352,
299164,
299167,
315552,
315557,
184486,
307370,
307372,
307374,
307376,
184503,
307388,
307390,
307394,
299204,
184518,
307399,
323784,
233679,
307409,
307411,
299225,
233701,
307432,
291104,
315701,
332086,
151864,
307518,
151874,
323917,
233808,
323921,
315733,
323926,
315739,
299357,
242024,
299373,
250231,
242043,
315771,
299391,
291202,
242057,
291212,
299405,
315801,
242075,
61855,
291231,
291241,
291247,
299440,
291260,
127424,
299457,
127434,
315856,
315860,
299481,
176605,
242143,
127463,
127474,
291314,
291317,
127480,
291323,
127485,
291330,
233994,
127500,
233998,
127506,
234006,
127511,
152087,
291361,
242220,
291378,
70213,
111193,
242275,
299620,
242279,
316051,
316054,
373404,
299684,
242343,
242345,
373421,
299720,
299723,
299726,
299740,
201444,
234219,
316151,
242431,
234258,
242452,
201496,
234264,
234266,
234272,
152355,
299814,
185138,
234296,
160572,
316233,
234319,
185173,
201557,
308063,
234336,
242530,
349027,
234344,
152435,
177011,
234356,
291714,
291716,
234373,
308123,
291748,
234405,
291750,
324520,
324522,
291756,
324527,
324531,
291773,
242623,
324544,
234434,
324546,
291788,
234464,
168935,
324585,
316400,
234481,
316403,
234485,
234487,
316416,
308231,
300054,
316439,
234520,
234526,
300066,
300069,
234540,
234546,
300085,
234553,
316479,
316483,
160835,
234563,
308291,
316491,
234572,
300108,
234574,
300115,
234593,
234597,
300133,
300139,
234610,
234620,
275594,
234640,
308373,
234647,
234650,
300189,
324766,
119967,
300197,
234667,
308414,
234687,
300226,
308418,
234692,
300229,
308420,
308422,
316610,
300234,
300238,
283854,
300241,
316625,
300243,
300245,
316630,
300248,
300253,
300256,
300258,
300260,
300263,
300265,
300267,
300270,
300272,
300278,
275703,
316663,
300284,
275710,
292097,
300292,
234760,
177419,
300299,
242957,
300301,
349464,
300344,
243003,
300357,
316758,
357722,
316766,
292197,
316774,
243046,
218473,
136562,
316803,
316806,
316811,
316814,
300433,
234899,
300436,
357783,
316824,
316826,
300448,
144810,
144814,
144820,
374196,
292279,
144826,
144830,
144832,
144837,
144839,
144847,
144855,
103899,
300507,
333280,
218597,
292329,
300523,
300527,
308720,
292338,
316917,
300537,
316933,
316947,
308757,
308762,
284194,
284199,
284204,
284206,
284209,
284211,
194101,
284213,
316983,
194103,
284215,
308790,
284223,
284226,
284228,
284231,
284234,
317004,
284238,
284241,
194130,
284243,
300628,
284245,
284247,
292452,
292454,
292458,
292461,
284272,
284274,
284278,
292470,
292473,
284283,
284286,
284290,
325250,
284292,
292485,
284297,
317066,
284299,
284301,
284306,
284308,
284312,
276122,
284320,
284327,
284329,
317098,
284331,
300726,
284343,
284346,
284350,
284354,
358083,
284358,
284362,
284365,
284368,
284370,
358098,
284372,
358114,
358119,
325353,
358122,
358126,
358128,
358133,
358138,
300795,
358142,
358146,
317189,
317191,
300819,
317207,
300830,
300832,
325408,
317221,
243504,
300850,
325436,
358206,
366406,
292681,
358224,
317279,
292715,
292721,
300915,
284533,
292729,
292734,
325512,
317332,
358292,
358312,
317353,
292784,
358326,
358330,
301011,
301013,
358360,
301017,
292828,
292839,
292843,
178161,
325624,
317435,
317446,
317456,
178195,
243733,
243740,
317472,
325666,
243751,
243762,
309298,
325685,
325689,
235579,
325692,
178238,
325700,
292934,
350293,
350295,
309337,
350304,
178273,
309346,
194660,
350308,
309350,
309348,
292968,
309352,
301167,
350321,
350325,
252022,
350328,
292985,
292989,
301185,
350339,
317573,
350342,
350345,
350349,
317584,
325777,
350357,
350362,
350366,
350375,
350379,
350381,
350383,
350385,
350387,
350389,
350395,
350397,
350399,
350402,
350406,
301258,
309455,
301272,
194780,
309468,
309471,
317672,
317674,
325867,
309494,
325910,
309530,
342298,
276766,
317729,
211241,
325937,
325943,
211260,
235853,
235858,
293227,
293232,
186744,
211324,
317833,
317853,
317858,
342434,
317864,
235955,
293304,
293314,
309707,
317910,
293336,
235996,
317917,
293343,
358880,
293364,
301562,
317951,
301575,
293387,
113167,
309779,
317971,
309781,
227882,
309804,
236082,
23094,
301636,
318020,
301643,
309844,
309849,
318055,
121458,
309885,
309888,
318092,
326285,
334476,
318108,
318110,
137889,
383658,
318128,
293555,
137946,
113378,
342760,
56043,
310015,
310029,
293659,
326430,
285474,
318248,
318253,
301876,
293685,
301884,
301911,
301921,
236397,
162671,
326514,
236408,
416639,
113538,
310147,
416648,
293798,
293802,
293817,
293820,
203715,
326603,
318442,
326638,
318450,
293876,
302073,
121850,
293882,
302075,
293899,
293908,
293917,
293939,
318516,
310336,
293956,
293960,
293971,
310355,
310359,
236632,
138332,
310376,
277608,
318573,
367737,
302205,
294026,
162964,
384148,
187542,
302231,
285849,
302233,
285852,
302237,
285854,
285856,
302241,
302248,
294063,
318651,
318657,
244930,
130244,
302282,
310476,
302285,
302288,
310481,
302290,
302292,
302294,
310486,
302296,
310498,
302315,
294132,
138485,
204026,
204031,
64768,
285999,
318773,
318776,
286010,
417086,
302403,
294221,
294223,
326991,
294246,
310632,
327017,
351594,
310648,
351619,
294276,
318858,
130468,
310710,
302526,
302534,
310727,
302541,
302543,
310737,
310749,
310755,
310764,
310772,
327156,
40440,
212472,
40443,
40448,
286214,
302603,
302614,
302621,
286240,
187939,
40484,
40486,
286246,
294440,
40488,
294439,
294443,
40491,
294445,
286248,
310831,
40499,
40502,
212538,
40507,
40511,
40513,
40521,
40525,
40527,
212560,
400976,
40529,
40533,
40537,
40539,
40541,
40544,
40548,
40550,
40552,
40554,
40557,
40560,
294521,
343679,
302740,
179870,
327333,
319153,
302781,
294601,
302793,
343757,
212690,
319187,
286425,
294625,
294634,
302838,
319226,
286460,
302852,
302854,
294664,
311048,
319243,
311053,
302862,
319251,
294682,
188199,
294701,
319290,
229192,
302925,
188247,
237409,
294785,
237470,
319390,
40865,
319394,
311209,
343983,
294844,
294847,
294876,
294879,
237555,
237562
] |
177f09627bed304e8656c1b034008e5f46dd6173 | 5cbfa8d08b9fff010ef6cc17e99e6af5e95bdea5 | /PicWorld/LocationAnnotation.swift | 328023962ca3e68c0cb46c3b135157e3198feb93 | [] | no_license | maoyalu/PicWorld | f1407cdadfe3c9e1d499352d7774a376f8fa6807 | c66a8fbe0808dcf4bb04c552e1b70306e83ec23e | refs/heads/master | 2020-07-14T21:28:06.024900 | 2019-11-10T06:22:02 | 2019-11-10T06:22:02 | 205,406,585 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 680 | swift | //
// LocationAnnotation.swift
// PicWorld
//
// Created by Lu Yang on 27/8/19.
// Copyright © 2019 Lu Yang. All rights reserved.
//
import UIKit
import MapKit
class LocationAnnotation: NSObject, MKAnnotation {
var coordinate: CLLocationCoordinate2D
var title: String?
var subtitle: String?
var imageFilename: String?
var iconFilename: String?
init(newTitle: String, newSubtitle: String, lat: Double, long: Double, image: String, icon: String){
title = newTitle
subtitle = newSubtitle
coordinate = CLLocationCoordinate2D(latitude: lat, longitude: long)
imageFilename = image
iconFilename = icon
}
}
| [
-1
] |
cfc39eb557ff65364f36fb0963edeca0789ba208 | 10962ae8f91dc9e2060551e86693fe2c95fefef7 | /project/ModuleSample/ModuleSample/Generated/GeneratedClass353.swift | 3037967030120a4bf269bac0caaba2153dc2f96c | [] | no_license | annomusa/Pod-or-Project | 80a997df642090a569ca699c5e9b55bbe41f9308 | b040200ae081efe3c750a296bf1a9940cb473b07 | refs/heads/master | 2023-02-11T17:55:25.857420 | 2021-01-11T06:34:01 | 2021-01-11T06:34:01 | 303,269,784 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 137 | swift |
public class GeneratedClass353 {
public var a: String = ""
public var b: String = ""
public var c: Int = 0
public init() { }
}
| [
-1
] |
782f8528a3122234e52e0274985515a982e6494f | 0a38d49c58ad9e7e0cab3d0158568561fc33ca1d | /ScanningProject/AppDelegate.swift | 0e66b2ad7798e75487383a20fecff9b748ff2331 | [] | no_license | Gorefiend/Scanning | e5c5d5e36adb04ade3c4589819b508c9a18d3d3e | 9ac534dcd77039bc18891e20a0e81156e1a5df06 | refs/heads/master | 2021-01-23T05:24:10.668600 | 2017-03-28T07:04:44 | 2017-03-28T07:04:44 | 86,301,528 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 2,172 | swift | //
// AppDelegate.swift
// ScanningProject
//
// Created by LMC LMC on 2017/3/28.
// Copyright © 2017年 LMC. All rights reserved.
//
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
return true
}
func applicationWillResignActive(_ application: UIApplication) {
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
}
func applicationDidEnterBackground(_ application: UIApplication) {
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}
func applicationWillEnterForeground(_ application: UIApplication) {
// Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
}
func applicationDidBecomeActive(_ application: UIApplication) {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}
func applicationWillTerminate(_ application: UIApplication) {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
}
| [
229380,
229383,
229385,
278539,
294924,
229388,
278542,
229391,
327695,
229394,
278548,
229397,
229399,
229402,
352284,
229405,
278556,
278559,
229408,
278564,
294950,
229415,
229417,
327722,
237613,
229422,
360496,
229426,
237618,
229428,
311349,
286774,
286776,
319544,
286778,
204856,
229432,
352318,
286791,
237640,
286797,
278605,
311375,
163920,
237646,
196692,
319573,
311383,
278623,
278626,
319590,
311400,
278635,
303212,
278639,
131192,
278648,
237693,
303230,
327814,
303241,
131209,
417930,
303244,
311436,
319633,
286873,
286876,
311460,
311469,
32944,
327862,
286906,
327866,
180413,
286910,
131264,
286916,
295110,
286922,
286924,
286926,
319694,
286928,
131281,
278743,
278747,
295133,
155872,
319716,
237807,
303345,
286962,
303347,
131314,
229622,
327930,
278781,
278783,
278785,
237826,
319751,
278792,
286987,
319757,
311569,
286999,
319770,
287003,
287006,
287009,
287012,
287014,
287016,
287019,
311598,
287023,
262448,
311601,
295220,
287032,
155966,
319809,
319810,
278849,
319814,
311623,
319818,
311628,
229709,
319822,
287054,
278865,
229717,
196963,
196969,
139638,
213367,
106872,
319872,
311683,
319879,
311693,
65943,
319898,
311719,
278952,
139689,
278957,
311728,
278967,
180668,
311741,
278975,
319938,
278980,
98756,
278983,
319945,
278986,
319947,
278990,
278994,
311767,
279003,
279006,
188895,
172512,
287202,
279010,
279015,
172520,
319978,
279020,
172526,
311791,
279023,
172529,
279027,
319989,
172534,
180727,
164343,
279035,
311804,
287230,
279040,
303617,
287234,
279045,
172550,
303623,
172552,
320007,
287238,
279051,
172558,
279055,
303632,
279058,
303637,
279063,
279067,
172572,
279072,
172577,
295459,
172581,
295461,
279082,
311850,
279084,
172591,
172598,
279095,
172607,
172609,
172612,
377413,
172614,
213575,
172618,
303690,
33357,
287309,
303696,
279124,
172634,
262752,
254563,
172644,
311911,
189034,
295533,
172655,
172656,
352880,
295538,
189039,
172660,
287349,
189040,
189044,
287355,
287360,
295553,
172675,
295557,
311942,
303751,
287365,
352905,
311946,
279178,
287371,
311951,
287377,
172691,
287381,
311957,
221850,
287386,
230045,
172702,
287390,
303773,
172705,
287394,
172707,
303780,
164509,
287398,
205479,
279208,
287400,
172714,
295595,
279212,
189102,
172721,
287409,
66227,
303797,
189114,
287419,
303804,
328381,
287423,
328384,
172737,
279231,
287427,
312005,
312006,
172748,
287436,
107212,
172751,
287440,
295633,
172755,
303827,
279255,
172760,
287450,
303835,
279258,
189149,
303838,
213724,
312035,
279267,
295654,
279272,
230128,
312048,
312050,
230131,
189169,
205564,
303871,
230146,
328453,
295685,
230154,
33548,
312077,
295695,
295701,
230169,
369433,
295707,
328476,
295710,
230175,
295720,
303914,
279340,
205613,
279353,
230202,
312124,
328508,
222018,
295755,
377676,
148302,
287569,
303959,
230237,
279390,
230241,
279394,
303976,
336744,
303981,
303985,
303987,
328563,
279413,
303991,
303997,
295806,
295808,
295813,
304005,
320391,
304007,
213895,
304009,
304011,
230284,
304013,
295822,
279438,
189325,
189329,
295825,
304019,
189331,
213902,
58262,
304023,
304027,
279452,
234648,
410526,
279461,
279462,
304042,
213931,
230327,
304055,
287675,
197564,
230334,
304063,
304065,
213954,
189378,
156612,
295873,
213963,
197580,
312272,
304084,
304090,
320481,
304106,
320490,
312302,
328687,
320496,
304114,
295928,
320505,
312321,
295945,
230413,
295949,
197645,
320528,
140312,
295961,
238620,
197663,
304164,
304170,
304175,
238641,
312374,
238652,
238655,
230465,
238658,
336964,
132165,
296004,
205895,
320584,
238666,
296021,
402518,
336987,
230497,
296036,
296040,
361576,
205931,
279661,
205934,
164973,
312432,
279669,
337018,
189562,
279679,
304258,
279683,
222340,
66690,
205968,
296084,
238745,
304285,
238756,
205991,
222377,
165035,
337067,
238766,
165038,
230576,
238770,
304311,
230592,
312518,
279750,
230600,
230607,
148690,
320727,
279769,
304348,
279777,
304354,
296163,
320740,
279781,
304360,
320748,
279788,
279790,
304370,
296189,
320771,
312585,
296202,
296205,
230674,
320786,
230677,
296213,
296215,
320792,
230681,
230679,
214294,
230689,
173350,
312622,
296243,
312630,
222522,
296253,
222525,
296255,
312639,
230718,
296259,
378181,
296262,
230727,
238919,
296264,
320840,
296267,
296271,
222545,
230739,
312663,
222556,
337244,
230752,
312676,
230760,
173418,
148843,
410987,
230763,
230768,
296305,
312692,
230773,
304505,
304506,
181626,
279929,
181631,
148865,
312711,
312712,
296331,
288140,
288144,
230800,
304533,
337306,
288154,
288160,
288162,
288164,
279975,
304555,
370092,
279983,
173488,
288176,
279985,
312755,
296373,
312759,
337335,
288185,
279991,
222652,
312766,
173507,
296389,
222665,
230860,
312783,
288208,
230865,
288210,
370130,
288212,
222676,
148946,
288214,
239064,
329177,
288217,
280027,
288220,
288218,
239070,
288224,
280034,
288226,
280036,
288229,
280038,
288230,
288232,
370146,
288234,
320998,
288236,
288238,
288240,
288242,
296435,
288244,
288250,
296446,
321022,
402942,
148990,
296450,
206336,
230916,
230919,
214535,
230923,
304651,
304653,
370187,
402969,
230940,
222752,
108066,
296486,
296488,
157229,
239152,
230961,
157236,
288320,
288325,
124489,
280140,
280145,
288338,
280149,
288344,
280152,
239194,
280158,
403039,
181854,
370272,
239202,
370279,
312938,
280183,
280185,
280188,
280191,
116354,
280194,
280208,
280211,
288408,
280218,
280222,
419489,
190118,
198310,
321195,
296622,
321200,
337585,
296634,
296637,
419522,
313027,
280260,
419525,
206536,
280264,
206539,
206541,
206543,
263888,
313044,
280276,
321239,
280283,
313052,
18140,
288478,
313055,
419555,
321252,
313066,
288494,
280302,
280304,
313073,
321266,
419570,
288499,
288502,
280314,
288510,
124671,
67330,
280324,
198405,
288519,
280331,
198416,
280337,
296723,
116503,
321304,
329498,
296731,
321311,
313121,
313123,
304932,
321316,
280363,
141101,
165678,
280375,
321336,
296767,
288576,
345921,
280388,
337732,
304968,
280393,
280402,
173907,
313171,
313176,
42842,
280419,
321381,
296809,
296812,
313201,
1920,
255873,
305028,
280454,
247688,
280464,
124817,
280468,
239510,
280473,
124827,
214940,
247709,
214944,
280487,
313258,
321458,
296883,
124853,
214966,
296890,
10170,
288700,
296894,
190403,
296900,
280515,
337862,
165831,
280521,
231379,
296921,
354265,
354270,
239586,
313320,
354281,
231404,
124913,
165876,
321528,
239612,
313340,
288764,
239617,
313347,
288773,
313358,
305176,
321560,
313371,
354338,
305191,
223273,
313386,
354348,
124978,
215090,
124980,
288824,
288826,
321595,
313406,
288831,
288836,
67654,
280651,
354382,
288848,
280658,
215123,
354390,
288855,
288859,
280669,
313438,
149599,
280671,
149601,
321634,
149603,
223327,
329830,
280681,
313451,
223341,
280687,
149618,
215154,
313458,
280691,
313464,
329850,
321659,
280702,
288895,
321670,
215175,
141446,
288909,
141455,
141459,
280725,
313498,
100520,
288936,
280747,
288940,
288947,
280755,
321717,
280759,
280764,
280769,
280771,
280774,
280776,
313548,
321740,
280783,
280786,
280788,
313557,
280793,
280796,
280798,
338147,
280804,
280807,
157930,
280811,
280817,
125171,
157940,
280819,
182517,
280823,
280825,
280827,
280830,
280831,
280833,
125187,
280835,
125191,
125207,
125209,
321817,
125218,
321842,
223539,
125239,
280888,
305464,
280891,
289087,
280897,
280900,
305480,
239944,
280906,
239947,
305485,
305489,
379218,
280919,
248153,
215387,
354653,
354656,
313700,
313705,
280937,
190832,
280946,
223606,
313720,
280956,
239997,
280959,
313731,
199051,
240011,
289166,
240017,
297363,
190868,
240021,
297365,
297368,
297372,
141725,
297377,
289186,
297391,
289201,
240052,
289207,
289210,
305594,
281024,
289218,
289221,
289227,
436684,
281045,
281047,
215526,
166378,
305647,
281075,
174580,
240124,
281084,
305662,
305664,
240129,
305666,
305668,
223749,
330244,
281095,
223752,
150025,
338440,
240132,
223757,
281102,
223763,
223765,
281113,
322074,
281116,
281121,
182819,
281127,
281135,
150066,
158262,
158266,
289342,
281154,
322115,
158283,
281163,
281179,
338528,
338532,
281190,
199273,
281196,
19053,
158317,
313973,
297594,
281210,
158347,
264845,
182926,
133776,
182929,
314003,
117398,
314007,
289436,
174754,
330404,
289448,
133801,
174764,
314029,
314033,
240309,
133817,
314045,
314047,
314051,
199364,
297671,
158409,
256716,
289493,
363234,
289513,
289522,
289525,
289532,
322303,
289537,
322310,
264969,
322314,
322318,
281361,
281372,
322341,
215850,
281388,
289593,
281401,
289601,
281410,
281413,
281414,
240458,
281420,
240468,
281430,
322393,
297818,
281435,
281438,
281442,
174955,
224110,
207733,
207737,
158596,
183172,
338823,
322440,
314249,
240519,
183184,
142226,
289687,
240535,
224151,
297883,
289694,
289696,
289700,
289712,
281529,
289724,
52163,
183260,
420829,
281567,
289762,
322534,
297961,
183277,
281581,
322550,
134142,
322563,
314372,
330764,
175134,
322599,
322610,
314421,
281654,
314427,
314433,
207937,
314441,
207949,
322642,
314456,
281691,
314461,
281702,
281704,
314474,
281708,
281711,
289912,
248995,
306341,
306344,
306347,
322734,
306354,
142531,
199877,
289991,
306377,
289997,
249045,
363742,
363745,
298216,
330988,
126190,
216303,
322801,
388350,
257302,
363802,
199976,
199978,
314671,
298292,
298294,
257334,
216376,
380226,
298306,
224584,
224587,
224594,
216404,
306517,
150870,
314714,
224603,
159068,
314718,
265568,
314723,
281960,
150890,
306539,
314732,
314736,
290161,
216436,
306549,
298358,
314743,
306552,
290171,
314747,
306555,
298365,
290174,
224641,
281987,
298372,
314756,
281990,
224647,
265604,
298377,
314763,
142733,
298381,
314768,
224657,
306581,
314773,
314779,
314785,
314793,
282025,
282027,
241068,
241070,
241072,
282034,
241077,
150966,
298424,
306618,
282044,
323015,
306635,
306640,
290263,
290270,
290275,
339431,
282089,
191985,
282098,
290291,
282101,
241142,
191992,
290298,
151036,
290302,
282111,
290305,
175621,
306694,
192008,
323084,
257550,
282127,
290321,
282130,
323090,
290325,
282133,
241175,
290328,
282137,
290332,
241181,
282142,
282144,
290344,
306731,
290349,
290351,
290356,
28219,
282186,
224849,
282195,
282199,
282201,
306778,
159324,
159330,
314979,
298598,
323176,
224875,
241260,
323181,
257658,
315016,
282249,
290445,
282255,
282261,
175770,
298651,
282269,
323229,
298655,
323231,
61092,
282277,
306856,
196133,
282295,
323260,
282300,
323266,
282310,
323273,
282319,
306897,
241362,
306904,
282328,
298714,
52959,
216801,
282337,
241380,
216806,
323304,
282345,
12011,
282356,
323318,
282364,
282367,
306945,
241412,
323333,
282376,
216842,
323345,
282388,
323349,
282392,
184090,
315167,
315169,
282402,
315174,
323367,
241448,
315176,
241450,
282410,
306988,
306991,
315184,
323376,
315190,
241464,
159545,
282425,
298811,
118593,
307009,
413506,
307012,
241475,
298822,
315211,
282446,
307027,
315221,
323414,
315223,
241496,
241498,
307035,
307040,
110433,
282465,
241509,
110438,
298860,
110445,
282478,
315249,
110450,
315251,
282481,
315253,
315255,
339838,
315267,
282499,
315269,
241544,
282505,
241546,
241548,
298896,
298898,
282514,
241556,
298901,
44948,
241560,
282520,
241563,
241565,
241567,
241569,
282531,
241574,
282537,
298922,
36779,
241581,
282542,
241583,
323504,
241586,
282547,
241588,
290739,
241590,
241592,
241598,
290751,
241600,
241605,
151495,
241610,
298975,
241632,
298984,
241640,
241643,
298988,
241646,
241649,
241652,
323574,
290807,
299003,
241661,
299006,
282623,
315396,
241669,
315397,
282632,
307211,
282639,
290835,
282645,
241693,
282654,
241701,
102438,
217127,
282669,
323630,
282681,
290877,
282687,
159811,
315463,
315466,
192589,
307278,
192596,
176213,
307287,
307290,
217179,
315482,
192605,
315483,
233567,
299105,
200801,
217188,
299109,
307303,
315495,
356457,
45163,
307307,
315502,
192624,
307314,
323700,
299126,
233591,
299136,
307329,
315524,
307338,
233613,
241813,
307352,
299164,
241821,
299167,
315552,
184479,
184481,
315557,
184486,
307370,
307372,
184492,
307374,
307376,
299185,
323763,
184503,
176311,
299191,
307386,
258235,
307388,
307385,
307390,
176316,
299200,
184512,
307394,
299204,
307396,
184518,
307399,
323784,
233679,
307409,
307411,
176343,
299225,
233701,
307432,
184572,
282881,
184579,
282893,
323854,
291089,
282906,
291104,
233766,
176435,
307508,
315701,
332086,
307510,
307512,
168245,
307515,
307518,
282942,
282947,
323917,
110926,
282957,
233808,
323921,
315733,
323926,
233815,
276052,
315739,
323932,
299357,
242018,
242024,
299373,
315757,
250231,
242043,
315771,
299388,
299391,
291202,
299398,
242057,
291212,
299405,
291222,
315801,
283033,
242075,
291226,
194654,
61855,
291231,
283042,
291238,
291241,
127403,
127405,
291247,
299440,
127407,
299444,
127413,
283062,
291254,
127417,
291260,
283069,
127421,
127424,
299457,
127429,
127434,
315856,
176592,
127440,
315860,
176597,
283095,
127447,
299481,
127449,
176605,
242143,
127455,
127457,
291299,
340454,
127463,
242152,
291305,
127466,
176620,
127469,
127474,
291314,
291317,
127480,
135672,
291323,
233979,
127485,
291330,
127490,
283142,
127494,
127497,
233994,
135689,
127500,
291341,
233998,
127506,
234003,
127509,
234006,
127511,
152087,
283161,
242202,
234010,
135707,
135710,
242206,
242208,
291361,
242220,
291378,
152118,
234038,
234041,
315961,
70213,
242250,
111193,
242275,
299620,
242279,
168562,
184952,
135805,
135808,
291456,
373383,
299655,
135820,
316051,
225941,
316054,
299672,
135834,
373404,
299677,
225948,
135839,
299680,
225954,
299684,
135844,
242343,
209576,
242345,
373421,
135870,
135873,
135876,
135879,
299720,
299723,
299726,
225998,
226002,
226005,
226008,
299740,
242396,
201444,
299750,
283368,
234219,
283372,
185074,
226037,
283382,
316151,
234231,
234236,
226045,
242431,
234239,
209665,
234242,
299778,
242436,
226053,
234246,
226056,
234248,
291593,
242443,
234252,
242445,
234254,
291601,
234258,
242450,
242452,
234261,
201496,
234264,
234266,
234269,
283421,
234272,
234274,
152355,
299814,
234278,
283432,
234281,
234284,
234287,
283440,
185138,
242483,
234292,
234296,
234298,
160572,
283452,
234302,
234307,
242499,
234309,
316233,
234313,
316235,
234316,
283468,
234319,
242511,
234321,
234324,
185173,
201557,
234329,
234333,
308063,
234336,
242530,
349027,
234338,
234341,
234344,
234347,
177004,
234350,
324464,
234353,
152435,
177011,
234356,
234358,
234362,
226171,
234364,
291711,
234368,
291714,
234370,
291716,
234373,
316294,
201603,
226182,
308105,
234375,
226185,
234379,
324490,
234384,
234388,
234390,
324504,
234393,
209818,
308123,
324508,
234396,
291742,
226200,
234398,
234401,
291747,
291748,
234405,
291750,
234407,
324520,
324518,
324522,
234410,
291756,
291754,
226220,
324527,
291760,
234417,
201650,
324531,
234414,
234422,
226230,
324536,
275384,
234428,
291773,
242623,
324544,
234431,
234434,
324546,
324548,
234437,
226245,
234439,
226239,
234443,
291788,
234446,
275406,
193486,
234449,
316370,
193488,
234452,
234455,
234459,
234461,
234464,
234467,
234470,
168935,
5096,
324585,
234475,
234478,
316400,
234481,
316403,
234484,
234485,
234487,
324599,
234490,
234493,
316416,
234496,
308226,
234501,
275462,
308231,
234504,
234507,
234515,
300054,
316439,
234520,
234519,
234523,
234526,
234528,
300066,
234532,
300069,
234535,
234537,
234540,
144430,
234543,
234546,
275508,
300085,
234549,
300088,
234553,
234556,
234558,
316479,
234561,
316483,
160835,
234563,
308291,
234568,
234570,
316491,
234572,
300108,
234574,
300115,
234580,
234581,
242777,
234585,
275545,
234590,
234593,
234595,
234597,
300133,
234601,
300139,
234605,
160879,
234607,
275569,
234610,
316530,
300148,
234614,
398455,
144506,
234618,
234620,
275579,
234623,
226433,
234627,
275588,
234629,
242822,
234634,
234636,
177293,
234640,
275602,
234643,
308373,
226453,
234647,
275606,
275608,
234650,
308379,
324757,
300189,
324766,
119967,
234653,
324768,
283805,
234657,
242852,
300197,
234661,
283813,
234664,
177318,
275626,
234667,
316596,
308414,
234687,
300223,
300226,
308418,
234692,
300229,
308420,
308422,
283844,
226500,
300234,
283850,
300238,
300241,
316625,
300243,
300245,
316630,
300248,
300253,
300256,
300258,
300260,
234726,
300263,
300265,
300267,
161003,
300270,
300272,
120053,
300278,
275703,
316663,
300284,
275710,
300287,
292097,
300289,
161027,
300292,
300294,
275719,
234760,
177419,
300299,
242957,
300301,
283917,
177424,
349451,
275725,
349464,
415009,
283939,
259367,
292143,
283951,
300344,
226617,
243003,
283963,
226628,
300357,
283973,
177482,
283983,
316758,
357722,
316766,
316768,
292192,
218464,
292197,
316774,
243046,
218473,
284010,
136562,
324978,
275834,
333178,
275836,
275840,
316803,
316806,
226696,
316811,
226699,
316814,
226703,
300433,
234899,
300436,
226709,
357783,
316824,
316826,
144796,
300448,
144807,
144810,
144812,
144814,
227426,
144820,
374196,
284084,
292279,
284087,
144826,
144828,
144830,
144832,
144835,
144837,
38342,
144839,
144841,
144844,
144847,
144852,
144855,
103899,
300507,
333280,
226787,
218597,
292329,
300523,
259565,
300527,
308720,
259567,
292338,
226802,
316917,
292343,
308727,
300537,
316933,
316947,
308757,
308762,
284191,
316959,
284194,
284196,
235045,
284199,
284204,
284206,
284209,
284211,
194101,
284213,
316983,
194103,
284215,
308790,
284218,
226877,
292414,
284223,
284226,
284228,
292421,
226886,
284231,
128584,
243268,
284234,
366155,
317004,
276043,
284238,
226895,
284241,
194130,
284243,
300628,
284245,
292433,
284247,
317015,
235097,
243290,
276053,
284249,
284251,
300638,
284253,
284255,
243293,
284258,
292452,
292454,
284263,
177766,
284265,
292458,
284267,
292461,
284272,
284274,
284278,
292470,
276086,
292473,
284283,
276093,
284286,
292479,
284288,
292481,
284290,
325250,
284292,
292485,
325251,
276095,
276098,
284297,
317066,
284299,
317068,
284301,
276109,
284303,
284306,
276114,
284308,
284312,
284314,
284316,
276127,
284320,
284322,
284327,
284329,
317098,
284331,
276137,
284333,
284335,
284337,
284339,
300726,
284343,
284346,
284350,
358080,
276160,
284354,
358083,
284358,
276166,
358089,
284362,
276170,
284365,
276175,
284368,
276177,
284370,
358098,
284372,
317138,
284377,
276187,
284379,
284381,
284384,
358114,
284386,
358116,
276197,
317158,
358119,
284392,
325353,
358122,
284394,
284397,
358126,
284399,
358128,
276206,
358133,
358135,
276216,
358138,
300795,
358140,
284413,
358142,
358146,
317187,
284418,
317189,
317191,
284428,
300816,
300819,
317207,
284440,
300828,
300830,
276255,
300832,
325408,
300834,
317221,
227109,
358183,
186151,
276268,
300845,
243504,
300850,
284469,
276280,
325436,
358206,
276291,
366406,
276295,
300872,
292681,
153417,
358224,
284499,
276308,
178006,
317271,
284502,
276315,
292700,
317279,
284511,
227175,
292715,
300912,
292721,
284529,
300915,
284533,
292729,
317306,
284540,
292734,
325512,
169868,
276365,
317332,
358292,
284564,
399252,
284566,
350106,
284572,
276386,
284579,
276388,
358312,
317353,
284585,
292776,
276395,
292784,
276402,
358326,
161718,
358330,
276410,
276411,
276418,
276425,
301009,
301011,
301013,
292823,
358360,
301017,
301015,
292828,
276446,
153568,
276452,
292839,
276455,
350186,
292843,
292845,
276464,
178161,
227314,
325624,
350200,
317435,
276479,
276482,
350210,
276485,
317446,
178181,
276490,
350218,
292876,
350222,
317456,
276496,
317458,
178195,
243733,
243740,
317468,
317472,
325666,
243751,
292904,
276528,
178224,
243762,
309298,
325685,
325689,
235579,
325692,
235581,
178238,
276539,
276544,
243779,
325700,
284739,
292934,
243785,
276553,
350293,
350295,
309337,
194649,
227418,
350299,
350302,
227423,
350304,
178273,
309346,
194657,
194660,
350308,
309350,
309348,
292968,
309352,
309354,
301163,
350313,
350316,
227430,
301167,
276583,
350321,
276590,
284786,
276595,
350325,
252022,
227440,
350328,
292985,
301178,
350332,
292989,
301185,
292993,
350339,
317570,
317573,
350342,
350345,
350349,
301199,
317584,
325777,
350354,
350357,
350359,
350362,
350366,
276638,
284837,
153765,
350375,
350379,
350381,
350383,
350385,
350387,
350389,
350395,
350397,
350399,
227520,
350402,
227522,
301252,
350406,
227529,
301258,
309450,
276685,
309455,
276689,
309462,
301272,
276699,
194780,
309468,
309471,
301283,
317672,
317674,
325867,
243948,
194801,
309491,
309494,
243960,
276735,
227583,
227587,
276739,
211204,
276742,
227593,
227596,
325910,
309530,
342298,
211232,
317729,
276775,
211241,
325937,
325943,
211260,
260421,
285002,
276811,
235853,
276816,
235858,
276829,
276833,
391523,
276836,
293227,
276843,
293232,
276848,
186744,
211324,
227709,
285061,
366983,
317833,
178572,
285070,
285077,
178583,
227738,
317853,
276896,
317858,
342434,
285093,
317864,
285098,
276907,
235955,
276917,
293304,
293307,
293314,
309707,
293325,
129486,
317910,
293336,
235996,
317917,
293343,
358880,
276961,
227810,
293346,
276964,
293352,
236013,
293364,
301562,
293370,
317951,
309764,
301575,
121352,
293387,
236043,
342541,
317963,
113167,
55822,
309779,
317971,
309781,
55837,
227877,
227879,
293417,
227882,
309804,
293421,
105007,
236082,
285236,
23094,
277054,
244288,
219714,
129603,
301636,
318020,
301639,
301643,
277071,
285265,
309844,
277080,
309849,
285277,
285282,
326244,
318055,
277100,
309871,
121458,
277106,
170618,
170619,
309885,
309888,
277122,
227975,
277128,
285320,
301706,
318092,
326285,
334476,
318094,
277136,
277139,
227992,
334488,
318108,
285340,
318110,
227998,
137889,
383658,
285357,
318128,
277170,
293555,
318132,
342707,
154292,
277173,
277177,
277181,
318144,
277187,
277191,
277194,
277196,
277201,
342745,
137946,
342747,
342749,
113378,
203491,
228069,
277223,
342760,
285417,
56041,
56043,
56045,
277232,
228081,
56059,
310015,
285441,
310020,
285448,
310029,
228113,
285459,
277273,
293659,
326430,
228128,
285474,
293666,
228135,
318248,
277291,
318253,
293677,
285489,
301876,
293685,
285494,
301880,
285499,
301884,
310080,
293696,
277317,
277322,
293706,
277329,
162643,
310100,
301911,
301913,
277337,
301921,
400236,
236397,
162671,
326514,
310134,
236408,
15224,
277368,
416639,
416640,
113538,
310147,
416648,
39817,
187274,
277385,
301972,
424853,
277405,
277411,
310179,
293798,
293802,
236460,
277426,
276579,
293811,
293817,
293820,
203715,
326603,
342994,
276586,
293849,
293861,
228327,
228328,
318442,
228330,
228332,
326638,
277486,
351217,
318450,
293876,
293877,
285686,
302073,
121850,
293882,
302075,
285690,
244731,
293887,
277504,
277507,
277511,
293899,
277519,
293908,
302105,
293917,
293939,
318516,
277561,
277564,
310336,
7232,
293956,
277573,
228422,
293960,
310344,
277577,
277583,
203857,
293971,
310355,
310359,
236632,
277594,
138332,
277598,
203872,
277601,
285792,
310374,
203879,
310376,
228460,
318573,
203886,
187509,
285815,
367737,
285817,
302205,
285821,
392326,
285831,
294026,
302218,
285835,
162964,
384148,
187542,
302231,
285849,
302233,
285852,
302237,
285854,
285856,
302241,
285862,
277671,
302248,
64682,
277678,
294063,
294065,
302258,
277687,
294072,
318651,
294076,
277695,
318657,
244930,
302275,
130244,
302277,
228550,
302282,
310476,
302285,
302288,
310481,
302290,
203987,
302292,
302294,
310486,
302296,
384222,
310498,
285927,
318698,
302315,
195822,
228592,
294132,
138485,
228601,
204026,
228606,
204031,
64768,
310531,
285958,
138505,
228617,
318742,
204067,
130345,
277801,
113964,
277804,
384302,
285999,
285997,
113969,
277807,
277811,
318773,
318776,
277816,
286010,
277819,
294204,
417086,
277822,
286016,
302403,
294211,
384328,
277832,
277836,
294221,
146765,
294223,
326991,
277839,
277842,
277847,
277850,
179547,
277853,
277857,
302436,
277860,
294246,
327015,
310632,
327017,
351594,
277864,
277869,
277872,
351607,
310648,
277880,
310651,
277884,
277888,
310657,
351619,
294276,
310659,
327046,
277892,
253320,
310665,
318858,
277894,
277898,
277903,
310672,
351633,
277905,
277908,
277917,
310689,
277921,
130468,
277928,
277932,
310703,
277937,
310710,
130486,
310712,
277944,
310715,
277947,
302526,
228799,
277950,
277953,
302534,
310727,
245191,
64966,
163272,
277959,
277963,
302541,
277966,
302543,
310737,
277971,
228825,
277978,
310749,
277981,
277984,
310755,
277989,
277991,
187880,
277995,
310764,
286188,
278000,
228851,
310772,
278003,
278006,
40440,
212472,
278009,
40443,
286203,
310780,
40448,
228864,
286214,
228871,
302603,
65038,
302614,
302617,
286233,
302621,
286240,
146977,
187936,
187939,
40484,
294435,
40486,
286246,
294440,
40488,
294439,
294443,
40491,
294445,
278057,
310831,
245288,
286248,
40499,
40502,
212538,
40507,
40511,
40513,
228933,
327240,
40521,
286283,
40525,
40527,
212560,
400976,
228944,
40533,
147032,
40537,
40539,
40541,
278109,
40544,
40548,
40550,
40552,
286312,
40554,
286313,
310892,
40557,
40560,
188022,
122488,
294521,
343679,
294537,
310925,
286354,
278163,
302740,
278168,
179870,
327333,
229030,
212648,
278188,
302764,
278192,
319153,
278196,
302781,
319171,
302789,
294599,
278216,
294601,
302793,
343757,
212690,
319187,
286420,
278227,
229076,
286425,
319194,
278235,
278238,
229086,
286432,
294625,
294634,
302838,
319226,
286460,
278274,
302852,
278277,
302854,
294664,
311048,
352008,
319243,
311053,
302862,
319251,
294682,
278306,
188199,
294701,
319280,
278320,
319290,
229192,
302925,
188247,
280021,
188252,
237409,
229233,
294776,
360317,
294785,
327554,
360322,
40840,
40851,
294803,
188312,
294811,
237470,
319390,
40865,
319394,
294817,
294821,
311209,
180142,
343983,
188340,
40886,
319419,
294844,
294847,
237508,
393177,
294876,
294879,
294883,
393190,
294890,
311279,
278513,
237555,
311283,
278516,
278519,
237562
] |
f5a80d0649e727dabd0062a9f20913b2d26c8096 | 18ec447dc7e37470f1a9558593ef18fbc46040aa | /MovieReleaseDateApp/Model/TMDBStruct.swift | c40cc74a756e88af3bdcd371598ada07f6b56a66 | [] | no_license | JasonB29/MovieReleaseApp | 5721a70ee478e4e521e46c08812458588332ff34 | 91f20fd5975997eb5ee84a1956110be692c13d6a | refs/heads/master | 2023-08-15T19:21:56.785313 | 2021-10-14T09:47:10 | 2021-10-14T09:47:10 | 417,054,214 | 1 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 279 | swift | //
// TMDBStruct.swift
// ReleaseDatesApp
//
// Created by Jason Bannister on 03/09/2021.
//
import Foundation
struct TMDBStruct: Codable {
let dates: Dates?
let results: [MovieStruct]?
}
struct Dates: Codable {
let maximum: String
let minimum: String
}
| [
-1
] |
bb0d682a95cb09704d357b9046b6f7f8200fbfd7 | 51056c949a15cd35e2a7a32349f183630429f72d | /Pokedex/AppDelegate.swift | 868688a41332a92d11675c541db2013f30725ac8 | [] | no_license | Phaninder-Xcube/Pokedex | 60f9d8bb3d9f725fda04959b9cb0cd12344dd057 | f640c155d65bb9806ff79927eb51062cfd42cef4 | refs/heads/master | 2020-04-09T14:57:23.156645 | 2016-01-20T15:48:25 | 2016-01-20T15:48:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 2,145 | swift | //
// AppDelegate.swift
// Pokedex
//
// Created by Phaninder on 20/01/16.
// Copyright © 2016 phaninder kumar. All rights reserved.
//
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
// Override point for customization after application launch.
return true
}
func applicationWillResignActive(application: UIApplication) {
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
}
func applicationDidEnterBackground(application: UIApplication) {
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}
func applicationWillEnterForeground(application: UIApplication) {
// Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
}
func applicationDidBecomeActive(application: UIApplication) {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}
func applicationWillTerminate(application: UIApplication) {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
}
| [
229380,
229383,
229385,
278539,
229388,
294924,
278542,
229391,
327695,
278545,
229394,
278548,
229397,
229399,
229402,
278556,
229405,
352284,
278559,
229408,
278564,
294950,
229415,
229417,
327722,
237613,
229422,
360496,
229426,
237618,
229428,
286774,
229432,
286776,
286778,
319544,
204856,
286791,
237640,
278605,
286797,
311375,
163920,
237646,
196692,
319573,
311383,
278623,
278626,
319590,
311400,
278635,
303212,
278639,
278648,
131192,
237693,
327814,
131209,
417930,
303241,
311436,
303244,
319633,
286873,
286876,
311460,
311469,
32944,
327862,
286906,
327866,
180413,
286910,
131264,
286916,
286922,
286924,
286926,
319694,
286928,
131281,
278743,
278747,
295133,
155872,
319716,
278760,
237807,
303345,
286962,
131314,
229622,
327930,
278781,
278783,
278785,
237826,
319751,
278792,
286987,
319757,
311569,
286999,
319770,
287003,
287006,
287009,
287012,
287014,
287016,
287019,
311598,
287023,
262448,
311601,
287032,
155966,
278849,
319809,
319810,
319814,
311623,
319818,
311628,
229709,
287054,
319822,
278865,
229717,
196963,
196969,
139638,
213367,
106872,
319872,
311683,
319879,
311693,
65943,
319898,
311719,
278952,
139689,
278957,
311728,
278967,
180668,
311741,
278975,
319938,
278980,
98756,
278983,
319945,
278986,
319947,
278990,
278994,
311767,
279003,
279006,
188895,
172512,
279010,
287202,
279015,
172520,
319978,
279020,
172526,
279023,
311791,
172529,
279027,
319989,
164343,
180727,
279035,
311804,
287230,
279040,
303617,
287234,
279045,
287238,
172550,
172552,
303623,
320007,
279051,
172558,
279055,
303632,
279058,
303637,
279063,
279067,
172572,
279072,
172577,
295459,
172581,
295461,
279082,
311850,
279084,
172591,
172598,
279095,
172607,
172609,
172612,
377413,
172614,
172618,
303690,
33357,
287309,
279124,
172634,
262752,
172644,
311911,
189034,
295533,
189039,
189040,
172655,
172656,
295538,
189044,
172660,
287349,
352880,
287355,
287360,
295553,
287365,
311942,
303751,
295557,
352905,
279178,
287371,
311946,
311951,
287377,
172691,
287381,
311957,
221850,
287386,
164509,
287390,
295583,
303773,
172702,
287394,
230045,
303780,
172705,
287398,
172707,
287400,
279208,
172714,
295595,
279212,
189102,
172721,
287409,
66227,
303797,
189114,
287419,
303804,
328381,
279231,
287423,
328384,
287427,
312006,
107208,
279241,
107212,
172748,
287436,
172751,
287440,
295633,
172755,
303827,
279255,
172760,
279258,
303835,
213724,
189149,
303838,
287450,
279267,
312035,
295654,
279272,
230128,
312048,
312050,
230131,
205564,
303871,
230146,
328453,
295685,
230154,
33548,
312077,
295695,
295701,
369433,
230169,
295707,
328476,
295710,
230175,
303914,
279340,
205613,
279353,
230202,
312124,
222018,
295755,
377676,
148302,
287569,
279383,
303959,
230237,
279390,
230241,
279394,
303976,
336744,
303985,
328563,
303987,
279413,
303991,
303997,
295806,
295808,
304005,
295813,
320391,
213895,
304007,
304009,
304011,
230284,
304013,
213902,
279438,
295822,
189329,
295825,
304019,
189331,
279445,
58262,
279452,
410526,
279461,
279462,
304042,
213931,
230327,
304055,
287675,
197564,
304063,
238528,
304065,
189378,
213954,
156612,
295873,
213963,
312272,
304084,
304090,
320481,
304106,
320490,
312302,
328687,
320496,
304114,
295928,
320505,
312321,
295945,
197645,
295949,
230413,
320528,
140312,
295961,
238620,
197663,
304164,
189479,
304170,
238641,
312374,
238652,
238655,
230465,
238658,
296004,
336964,
205895,
320584,
238666,
296021,
402518,
336987,
230497,
296036,
296040,
361576,
205931,
296044,
164973,
205934,
279661,
312432,
279669,
337018,
189562,
279679,
279683,
222340,
205968,
296084,
238745,
304285,
238756,
205991,
222377,
165035,
337067,
165038,
238766,
230576,
238770,
304311,
350308,
230592,
279750,
312518,
230600,
230607,
148690,
320727,
279769,
304348,
279777,
304354,
296163,
320740,
279781,
304360,
279788,
320748,
279790,
304370,
296189,
320771,
312585,
296202,
296205,
230674,
320786,
230677,
296213,
296215,
320792,
230681,
230679,
214294,
304416,
230689,
173350,
312622,
296243,
312630,
222522,
222525,
296253,
312639,
296255,
230718,
296259,
378181,
230727,
238919,
320840,
296264,
296267,
296271,
222545,
230739,
312663,
337244,
222556,
230752,
312676,
230760,
173418,
410987,
230763,
230768,
296305,
312692,
230773,
279929,
181626,
304506,
304505,
181631,
312711,
312712,
296331,
288140,
230800,
288144,
304533,
337306,
288154,
288160,
173472,
288162,
288164,
279975,
304555,
370092,
279983,
288176,
279985,
173488,
312755,
296373,
279991,
312759,
288185,
337335,
222652,
312766,
173507,
296389,
222665,
230860,
280014,
312783,
288208,
230865,
288210,
370130,
288212,
280021,
288214,
222676,
239064,
288217,
288218,
280027,
288220,
329177,
239070,
288224,
288226,
370146,
280036,
288229,
280038,
288230,
288232,
280034,
288234,
320998,
288236,
288238,
288240,
291754,
288242,
296435,
288244,
288250,
402942,
148990,
296446,
206336,
296450,
321022,
230916,
230919,
214535,
370187,
304651,
304653,
230940,
222752,
108066,
296486,
296488,
157229,
230961,
288320,
288325,
124489,
280140,
280145,
288338,
280149,
280152,
288344,
239194,
280158,
403039,
370272,
181854,
239202,
312938,
280183,
280185,
280188,
280191,
280194,
116354,
280208,
280211,
288408,
280218,
280222,
190118,
321195,
296622,
321200,
337585,
296626,
296634,
296637,
313027,
280260,
280264,
206536,
206539,
206541,
206543,
280276,
313044,
321239,
280283,
313052,
288478,
313055,
321252,
313066,
280302,
288494,
280304,
313073,
419570,
321266,
288499,
288502,
280314,
288510,
124671,
67330,
280324,
198405,
288519,
280331,
198416,
280337,
296723,
116503,
321304,
329498,
296731,
321311,
313121,
313123,
304932,
321316,
280363,
141101,
165678,
280375,
321336,
296767,
288576,
345921,
280388,
304968,
280393,
280402,
313176,
42842,
280419,
321381,
296812,
313201,
1920,
255873,
305028,
280454,
247688,
280464,
124817,
280468,
239510,
280473,
124827,
214940,
247709,
214944,
280487,
313258,
321458,
296883,
124853,
214966,
10170,
296890,
288700,
296894,
280515,
190403,
296900,
337862,
165831,
280521,
231379,
296921,
239586,
313320,
231404,
124913,
165876,
321528,
239612,
313340,
288764,
239617,
313347,
288773,
313358,
321560,
305176,
313371,
354338,
305191,
223273,
313386,
354348,
124978,
215090,
124980,
288824,
288826,
321595,
378941,
313406,
288831,
288836,
67654,
280651,
354382,
288848,
280658,
215123,
354390,
288855,
288859,
280669,
313438,
280671,
223327,
149599,
321634,
149601,
149603,
329830,
280681,
313451,
223341,
280687,
313458,
280691,
215154,
313464,
329850,
321659,
280702,
288895,
321670,
215175,
141446,
141455,
141459,
280725,
313498,
288936,
100520,
280747,
288940,
280755,
288947,
321717,
280759,
280764,
280769,
280771,
280774,
280776,
313548,
321740,
280783,
280786,
280788,
313557,
280793,
280796,
280798,
338147,
280804,
280807,
157930,
280811,
280817,
280819,
157940,
125171,
182517,
280823,
280825,
280827,
280830,
280831,
280833,
280835,
125187,
125191,
125207,
125209,
321817,
125218,
321842,
223539,
125239,
280888,
280891,
289087,
280897,
280900,
239944,
305480,
280906,
239947,
305485,
305489,
379218,
280919,
354653,
313700,
280937,
313705,
190832,
280946,
223606,
313720,
280956,
239997,
280959,
313731,
199051,
240011,
289166,
240017,
297363,
190868,
297365,
240021,
297368,
297372,
141725,
297377,
289186,
297391,
289201,
240052,
289207,
305594,
289210,
281024,
289218,
289221,
289227,
281045,
281047,
215526,
166378,
305647,
281075,
174580,
281084,
240124,
305662,
305664,
240129,
305666,
305668,
240132,
223749,
281095,
338440,
150025,
223752,
223757,
281102,
223763,
223765,
281113,
322074,
281116,
281121,
182819,
281127,
281135,
150066,
158262,
158266,
289342,
281154,
322115,
158283,
281163,
281179,
199262,
338528,
338532,
281190,
199273,
281196,
158317,
19053,
313973,
281210,
297594,
158347,
133776,
314003,
117398,
314007,
289436,
174754,
330404,
289448,
133801,
174764,
314029,
314033,
240309,
133817,
314045,
314047,
314051,
199364,
297671,
199367,
158409,
289493,
363234,
289513,
289522,
289525,
289532,
322303,
289537,
322310,
264969,
322314,
322318,
281361,
281372,
322341,
215850,
281388,
207661,
289593,
281401,
289601,
281410,
281413,
281414,
240458,
281420,
240468,
281430,
322393,
297818,
281435,
281438,
281442,
174955,
224110,
207733,
207737,
183172,
158596,
240519,
322440,
338823,
314249,
183184,
289687,
240535,
297883,
289694,
289696,
289700,
289712,
281529,
289724,
52163,
183260,
281567,
289762,
322534,
297961,
281581,
183277,
322550,
134142,
322563,
175134,
322599,
322610,
314421,
281654,
314427,
207937,
314433,
314441,
207949,
322642,
314456,
281691,
314461,
281702,
281704,
314474,
281708,
281711,
289912,
248995,
306341,
306344,
306347,
306354,
142531,
199877,
289991,
306377,
289997,
249045,
363742,
363745,
298216,
330988,
126190,
216303,
322801,
388350,
257302,
363802,
199976,
199978,
314671,
298292,
298294,
257334,
216376,
298306,
380226,
281923,
224584,
224587,
224594,
216404,
306517,
150870,
314714,
224603,
159068,
314718,
265568,
314723,
281960,
150890,
306539,
314732,
314736,
290161,
216436,
306549,
298358,
314743,
306552,
290171,
314747,
306555,
290174,
298365,
224641,
281987,
298372,
314756,
281990,
224647,
265604,
298377,
314763,
142733,
298381,
224657,
306581,
314779,
314785,
282025,
314793,
282027,
241068,
241070,
241072,
282034,
241077,
150966,
298424,
306618,
282044,
323015,
306635,
306640,
290263,
290270,
290275,
339431,
282089,
191985,
282098,
290291,
282101,
241142,
191992,
290298,
151036,
290302,
282111,
290305,
175621,
192008,
323084,
257550,
282127,
290321,
282130,
323090,
282133,
290325,
241175,
290328,
282137,
290332,
241181,
282142,
282144,
290344,
306731,
290349,
290351,
290356,
282186,
224849,
282195,
282199,
282201,
306778,
159324,
159330,
314979,
298598,
323176,
224875,
241260,
323181,
257658,
315016,
282249,
290445,
324757,
282261,
298651,
282269,
323229,
298655,
323231,
61092,
282277,
306856,
282295,
282300,
323260,
323266,
282310,
323273,
282319,
306897,
241362,
282328,
298714,
52959,
216801,
282337,
241380,
216806,
323304,
282345,
12011,
282356,
323318,
282364,
282367,
306945,
241412,
323333,
282376,
216842,
323345,
282388,
323349,
282392,
184090,
315167,
315169,
282402,
315174,
323367,
241448,
315176,
282410,
241450,
306988,
306991,
315184,
323376,
315190,
241464,
282425,
159545,
298811,
307009,
413506,
241475,
307012,
148946,
315211,
282446,
307027,
315221,
282454,
315223,
241496,
323414,
241498,
307035,
307040,
282465,
110433,
241509,
110438,
298860,
110445,
282478,
282481,
110450,
315251,
315249,
315253,
315255,
339838,
282499,
315267,
315269,
241544,
282505,
241546,
241548,
298896,
282514,
298898,
44948,
298901,
241556,
282520,
241560,
241563,
241565,
241567,
241569,
282531,
241574,
282537,
298922,
36779,
241581,
282542,
241583,
323504,
241586,
282547,
241588,
290739,
241590,
241592,
241598,
290751,
241600,
241605,
151495,
241610,
298975,
241632,
298984,
241640,
241643,
298988,
241646,
241649,
241652,
323574,
290807,
241661,
299006,
282623,
315396,
241669,
315397,
282632,
282639,
290835,
282645,
241693,
282654,
241701,
102438,
217127,
282669,
323630,
282681,
290877,
282687,
159811,
315463,
315466,
192589,
307278,
192596,
176213,
307287,
315482,
217179,
315483,
192605,
233567,
200801,
299105,
217188,
299109,
307303,
315495,
356457,
45163,
307307,
315502,
192624,
307314,
323700,
299126,
233591,
299136,
307329,
307338,
233613,
241813,
307352,
299164,
184479,
299167,
184481,
315557,
184486,
307370,
307372,
184492,
307374,
307376,
323763,
176311,
299191,
307385,
307386,
258235,
176316,
307388,
307390,
184503,
299200,
184512,
307394,
307396,
299204,
184518,
307399,
323784,
307409,
307411,
176343,
299225,
233701,
307432,
184572,
282881,
184579,
282893,
291089,
282906,
291104,
233766,
282931,
307508,
315701,
307510,
332086,
151864,
307512,
176435,
307515,
168245,
282942,
307518,
151874,
282947,
282957,
323917,
110926,
233808,
323921,
315733,
323926,
233815,
315739,
323932,
299357,
242018,
242024,
299373,
315757,
250231,
242043,
315771,
299388,
299391,
291202,
299398,
242057,
291212,
299405,
291222,
283033,
291226,
242075,
315801,
291231,
61855,
283042,
291238,
291241,
127403,
127405,
291247,
127407,
299440,
299444,
127413,
283062,
291254,
127417,
291260,
283069,
127421,
127424,
299457,
127429,
127431,
283080,
176592,
315856,
315860,
176597,
283095,
127447,
299481,
176605,
242143,
291299,
127463,
242152,
291305,
127466,
176620,
127474,
291314,
291317,
135672,
233979,
291323,
291330,
283142,
127497,
233994,
135689,
291341,
233998,
234003,
234006,
152087,
127511,
283161,
242202,
234010,
135707,
242206,
135710,
242208,
291361,
242220,
291378,
234038,
152118,
234041,
70213,
242250,
111193,
242275,
299620,
242279,
168562,
184952,
135805,
291456,
135808,
373383,
299655,
135820,
316051,
225941,
316054,
299672,
135834,
373404,
299677,
225948,
135839,
299680,
225954,
299684,
242343,
209576,
242345,
373421,
135870,
135873,
135876,
135879,
299720,
299723,
225998,
299726,
226002,
226005,
119509,
226008,
242396,
299740,
201444,
299750,
283368,
234219,
283372,
381677,
226037,
283382,
234231,
316151,
234236,
226045,
234239,
242431,
209665,
234242,
299778,
242436,
226053,
234246,
226056,
234248,
291593,
242443,
234252,
242445,
234254,
291601,
234258,
242450,
242452,
234261,
348950,
201496,
234264,
234266,
283421,
234269,
234272,
234274,
152355,
234278,
299814,
283432,
234281,
234284,
234287,
283440,
185138,
242483,
234292,
234296,
234298,
283452,
160572,
234302,
234307,
242499,
234309,
292433,
234313,
316233,
316235,
234316,
283468,
242511,
234319,
234321,
234324,
185173,
201557,
234329,
234333,
308063,
234336,
234338,
242530,
349027,
234341,
234344,
234347,
177004,
234350,
324464,
234353,
152435,
177011,
234356,
234358,
234362,
226171,
234364,
291711,
234368,
234370,
201603,
291714,
234373,
226182,
234375,
291716,
226185,
308105,
234379,
234384,
234388,
234390,
226200,
324504,
234393,
209818,
308123,
324508,
234398,
234396,
291742,
234401,
291747,
291748,
234405,
291750,
234407,
324518,
324520,
234410,
324522,
226220,
291756,
234414,
324527,
291760,
234417,
201650,
324531,
226230,
234422,
275384,
324536,
234428,
291773,
234431,
242623,
324544,
324546,
226239,
324548,
226245,
234437,
234439,
234434,
234443,
291788,
193486,
275406,
193488,
234446,
234449,
316370,
234452,
234455,
234459,
234461,
234464,
234467,
234470,
168935,
5096,
324585,
234475,
234478,
316400,
234481,
316403,
234484,
234485,
324599,
234487,
234490,
234493,
234496,
316416,
234501,
275462,
308231,
234504,
234507,
234510,
234515,
300054,
234519,
316439,
234520,
234523,
234526,
234528,
300066,
234532,
300069,
234535,
234537,
234540,
144430,
234543,
234546,
275508,
234549,
300085,
300088,
234553,
234556,
234558,
316479,
234561,
316483,
234563,
308291,
234568,
234570,
316491,
300108,
234572,
234574,
300115,
234580,
234581,
275545,
242777,
234585,
234590,
234593,
234595,
300133,
234597,
234601,
300139,
234605,
234607,
160879,
275569,
234610,
300148,
234614,
398455,
144506,
275579,
234618,
234620,
234623,
226433,
234627,
275588,
234629,
242822,
234634,
275594,
234636,
177293,
234640,
275602,
234643,
226453,
275606,
234647,
275608,
308373,
234650,
234648,
308379,
283805,
234653,
324766,
119967,
234657,
300189,
324768,
242852,
283813,
234661,
300197,
234664,
275626,
234667,
316596,
308414,
234687,
316610,
300226,
226500,
234692,
300229,
308420,
283844,
308418,
283850,
300234,
300238,
300241,
316625,
300243,
300245,
316630,
300248,
300253,
300256,
300258,
300260,
234726,
300263,
300265,
161003,
300267,
300270,
300272,
120053,
300278,
316663,
275703,
300284,
275710,
300287,
300289,
292097,
300292,
300294,
275719,
300299,
177419,
283917,
300301,
242957,
177424,
275725,
349464,
283939,
259367,
283951,
292143,
300344,
226617,
283963,
243003,
226628,
283973,
300357,
177482,
283983,
316758,
357722,
316766,
292192,
316768,
218464,
292197,
316774,
243046,
218473,
284010,
136562,
324978,
275834,
333178,
275836,
275840,
316803,
316806,
226696,
316811,
226699,
316814,
226703,
300433,
234899,
226709,
357783,
316824,
316826,
144796,
300448,
144807,
144810,
284076,
144812,
144814,
144820,
284084,
284087,
292279,
144826,
144828,
144830,
144832,
284099,
144835,
144837,
38342,
144839,
144841,
144844,
144847,
144852,
144855,
103899,
300507,
333280,
226787,
218597,
292329,
300523,
259565,
259567,
300527,
308720,
226802,
316917,
308727,
292343,
300537,
316947,
308757,
308762,
284191,
284194,
284196,
235045,
284199,
284204,
284206,
284209,
284211,
284213,
194101,
284215,
194103,
284218,
226877,
284223,
284226,
243268,
292421,
226886,
284231,
128584,
284228,
284234,
366155,
276043,
317004,
284238,
226895,
284241,
194130,
284243,
276052,
276053,
284245,
284247,
317015,
284249,
243290,
284251,
300628,
284253,
235097,
284255,
300638,
243293,
284258,
292452,
292454,
284263,
177766,
284265,
292458,
284267,
292461,
284272,
284274,
276086,
284278,
292470,
292473,
284283,
276093,
284286,
276095,
284288,
292481,
276098,
284290,
325250,
284292,
292479,
292485,
284297,
317066,
284299,
317068,
276109,
284301,
284303,
276114,
284306,
284308,
284312,
284314,
284316,
276127,
284320,
284322,
284327,
276137,
284329,
284331,
317098,
284333,
284335,
276144,
284337,
284339,
300726,
284343,
284346,
284350,
276160,
358080,
284354,
358083,
276166,
284358,
358089,
276170,
284362,
276175,
284368,
276177,
284370,
317138,
284372,
358098,
284377,
276187,
284379,
284381,
284384,
284386,
358114,
358116,
276197,
317158,
358119,
284392,
325353,
284394,
358122,
284397,
276206,
284399,
358126,
358128,
358133,
358135,
276216,
358138,
300795,
358140,
284413,
358142,
284418,
358146,
317187,
317189,
317191,
284428,
300816,
300819,
317207,
284440,
186139,
300828,
300830,
276255,
325408,
284449,
300834,
300832,
227109,
317221,
358183,
186151,
276268,
300845,
194351,
243504,
300850,
284469,
276280,
325436,
358206,
276291,
366406,
276295,
300872,
153417,
284499,
276308,
284502,
317271,
178006,
276315,
292700,
284511,
227175,
292715,
300912,
284529,
292721,
300915,
284533,
292729,
317306,
284540,
292734,
325512,
169868,
276365,
284564,
358292,
284566,
350106,
284572,
276386,
284579,
276388,
358312,
284585,
317353,
276395,
292776,
292784,
276402,
358326,
161718,
276410,
276411,
358330,
276418,
276425,
301009,
301011,
301013,
292823,
301015,
301017,
358360,
292828,
276446,
153568,
276448,
276452,
276455,
292839,
292843,
276460,
276464,
178161,
276466,
227314,
276472,
325624,
317435,
276476,
276479,
276482,
276485,
317446,
276490,
292876,
276496,
317456,
317458,
243733,
243740,
317468,
317472,
325666,
243751,
292904,
276528,
243762,
309298,
325685,
325689,
276539,
235579,
235581,
325692,
178238,
276544,
284739,
292934,
276553,
243785,
350293,
350295,
194649,
227418,
309337,
194654,
227423,
350302,
194657,
227426,
276579,
178273,
194660,
227430,
276583,
309346,
309348,
276586,
309350,
309352,
309354,
276590,
350313,
227440,
350316,
284786,
350321,
276595,
301167,
350325,
350328,
292985,
301178,
292989,
292993,
301185,
350339,
317570,
317573,
350342,
350345,
350349,
301199,
317584,
325777,
350354,
350357,
350359,
350362,
276638,
350366,
284837,
153765,
350375,
350379,
350381,
350383,
129200,
350385,
350387,
350389,
350395,
350397,
350399,
227520,
350402,
227522,
301252,
350406,
227529,
309450,
301258,
276685,
276689,
309462,
301272,
276699,
309468,
194780,
309471,
301283,
317672,
276713,
317674,
325867,
243948,
194801,
227571,
309491,
309494,
243960,
227583,
276735,
227587,
276739,
211204,
276742,
227593,
227596,
325910,
309530,
342298,
276766,
211232,
317729,
276775,
211241,
325937,
276789,
325943,
211260,
260421,
276809,
285002,
276811,
235853,
276816,
235858,
276829,
276833,
391523,
276836,
276843,
293227,
276848,
293232,
186744,
211324,
227709,
285061,
317833,
178572,
285070,
178575,
285077,
178583,
227738,
317853,
276896,
317858,
342434,
285093,
317864,
285098,
276907,
235955,
276917,
293304,
293307,
293314,
309707,
293325,
317910,
293336,
235996,
317917,
293343,
358880,
276961,
227810,
293346,
276964,
293352,
236013,
293364,
301562,
317951,
309764,
301575,
121352,
236043,
317963,
342541,
55822,
113167,
277011,
317971,
309781,
309779,
55837,
227877,
227879,
293417,
227882,
309804,
293421,
105007,
236082,
285236,
23094,
277054,
244288,
129603,
318020,
301636,
301639,
301643,
277071,
285265,
399955,
309844,
277080,
309849,
285277,
285282,
326244,
318055,
277100,
277106,
121458,
170618,
170619,
309885,
309888,
277122,
227975,
285320,
277128,
301706,
318092,
326285,
318094,
334476,
277136,
277139,
227992,
285340,
318108,
227998,
318110,
137889,
383658,
285357,
318128,
277170,
342707,
154292,
277173,
293555,
318132,
285368,
277177,
277181,
318144,
277187,
277191,
277194,
277196,
277201,
137946,
113378,
203491,
228069,
277223,
342760,
285417,
56041,
56043,
277232,
228081,
56059,
310015,
285441,
310020,
285448,
310029,
285453,
228113,
285459,
277273,
293659,
326430,
228128,
293666,
285474,
228135,
318248,
277291,
293677,
318253,
285489,
293685,
285494,
301880,
285499,
301884,
310080,
293696,
277314,
277317,
277322,
277329,
162643,
310100,
301911,
301913,
277337,
301921,
400236,
236397,
162671,
326514,
310134,
277368,
15224,
236408,
416639,
416640,
113538,
310147,
416648,
39817,
187274,
277385,
301972,
424853,
277405,
277411,
310179,
293798,
293802,
236460,
277426,
293811,
293817,
293820,
203715,
326603,
293849,
293861,
228327,
228328,
228330,
318442,
228332,
277486,
326638,
318450,
293876,
293877,
285686,
302073,
285690,
244731,
121850,
302075,
293882,
293887,
277504,
277507,
277511,
277519,
293908,
277526,
293917,
293939,
318516,
277561,
277564,
310336,
7232,
293956,
277573,
228422,
310344,
277577,
293960,
277583,
203857,
310355,
293971,
310359,
236632,
277594,
138332,
277598,
285792,
277601,
203872,
310374,
203879,
277608,
310376,
228460,
318573,
203886,
187509,
285815,
285817,
367737,
285821,
302205,
285824,
392326,
285831,
253064,
302218,
285835,
294026,
384148,
162964,
187542,
302231,
285849,
302233,
285852,
302237,
285854,
285856,
285862,
277671,
302248,
64682,
277678,
228526,
294063,
294065,
302258,
277687,
294072,
318651,
294076,
277695,
318657,
244930,
302275,
130244,
302277,
228550,
302282,
310476,
302285,
302288,
310481,
302290,
203987,
302292,
302294,
302296,
384222,
310498,
285927,
318698,
302315,
195822,
228592,
294132,
138485,
204023,
228601,
204026,
228606,
204031,
64768,
310531,
285958,
228617,
138505,
318742,
204067,
277798,
130345,
277801,
113964,
285997,
277804,
285999,
277807,
113969,
277811,
318773,
318776,
277816,
286010,
277819,
294204,
417086,
277822,
286016,
294211,
302403,
384328,
277832,
277836,
294221,
326991,
294223,
277839,
277842,
277847,
277850,
179547,
277853,
146784,
277857,
302436,
277860,
294246,
327015,
310632,
327017,
351594,
277864,
277869,
277872,
351607,
310648,
277880,
310651,
277884,
277888,
310657,
351619,
294276,
310659,
327046,
277892,
253320,
310665,
318858,
277894,
277898,
277903,
310672,
351633,
277905,
277908,
277917,
310689,
277921,
130468,
228776,
277928,
277932,
310703,
277937,
310710,
130486,
310712,
277944,
310715,
277947,
302526,
228799,
277950,
277953,
64966,
245191,
163272,
302534,
310727,
277959,
292968,
302541,
277963,
302543,
277966,
310737,
277971,
286169,
228825,
163290,
277978,
310749,
277981,
277984,
310755,
277989,
277991,
187880,
277995,
286188,
310764,
278000,
228851,
310772,
278003,
278006,
40440,
212472,
278009,
40443,
286203,
228864,
40448,
286214,
228871,
302603,
65038,
302614,
286233,
302617,
302621,
286240,
146977,
187939,
294435,
40484,
286246,
294439,
286248,
278057,
294440,
294443,
40486,
294445,
40488,
310831,
40491,
40499,
40502,
212538,
40507,
40511,
40513,
228933,
40521,
286283,
40525,
40527,
228944,
212560,
400976,
40533,
147032,
40537,
40539,
278109,
40541,
40544,
40548,
40550,
286312,
286313,
40554,
40552,
310892,
40557,
40560,
188022,
122488,
294521,
343679,
278150,
310925,
286354,
278163,
302740,
122517,
278168,
327333,
229030,
212648,
278188,
302764,
278192,
319153,
278196,
302781,
319171,
302789,
294599,
278216,
294601,
302793,
343757,
212690,
278227,
229076,
286420,
319187,
286425,
319194,
278235,
301163,
229086,
278238,
286432,
294625,
294634,
302838,
319226,
286460,
171774,
278274,
302852,
278277,
302854,
294664,
311048,
352008,
319243,
311053,
302862,
319251,
294682,
278306,
188199,
294701,
278320,
319280,
319290,
229192,
302925,
188247,
237409,
294776,
360317,
294785,
327554,
40840,
40851,
294803,
188312,
294811,
319390,
294817,
319394,
40865,
294821,
311209,
180142,
294831,
188340,
40886,
319419,
294844,
294847,
393177,
294876,
294879,
294883,
294890,
311279,
278513,
237555,
278516,
311283,
278519,
237562
] |
b5b560799b1899a94801340e6a9627d41d44fc60 | 843fcb68fd37d7956619baabefd347d0789cca30 | /LEDBoardAssignment/Supporting files/SceneDelegate.swift | d2b1b883972930cd75f270b1d4a357927848925c | [] | no_license | yleer/LEDBoardAssignment | f7addac535ae2e7cfa1dad8578d9bc73016d6d46 | 37910e9f2b07019474075520859b8c64cecaf71a | refs/heads/main | 2023-08-19T11:04:55.311544 | 2021-10-01T07:43:41 | 2021-10-01T07:43:41 | 413,626,588 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 2,302 | swift | //
// SceneDelegate.swift
// LEDBoardAssignment
//
// Created by Yundong Lee on 2021/10/01.
//
import UIKit
class SceneDelegate: UIResponder, UIWindowSceneDelegate {
var window: UIWindow?
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
// Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`.
// If using a storyboard, the `window` property will automatically be initialized and attached to the scene.
// This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead).
guard let _ = (scene as? UIWindowScene) else { return }
}
func sceneDidDisconnect(_ scene: UIScene) {
// Called as the scene is being released by the system.
// This occurs shortly after the scene enters the background, or when its session is discarded.
// Release any resources associated with this scene that can be re-created the next time the scene connects.
// The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` instead).
}
func sceneDidBecomeActive(_ scene: UIScene) {
// Called when the scene has moved from an inactive state to an active state.
// Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive.
}
func sceneWillResignActive(_ scene: UIScene) {
// Called when the scene will move from an active state to an inactive state.
// This may occur due to temporary interruptions (ex. an incoming phone call).
}
func sceneWillEnterForeground(_ scene: UIScene) {
// Called as the scene transitions from the background to the foreground.
// Use this method to undo the changes made on entering the background.
}
func sceneDidEnterBackground(_ scene: UIScene) {
// Called as the scene transitions from the foreground to the background.
// Use this method to save data, release shared resources, and store enough scene-specific state information
// to restore the scene back to its current state.
}
}
| [
393221,
163849,
393228,
393231,
393251,
352294,
344103,
393260,
393269,
213049,
376890,
385082,
393277,
376906,
327757,
254032,
368728,
180314,
254045,
180322,
376932,
286833,
286845,
286851,
417925,
262284,
360598,
286880,
377003,
377013,
164029,
327872,
180418,
377030,
377037,
377047,
418008,
418012,
377063,
327915,
205037,
393457,
393461,
393466,
418044,
385281,
336129,
262405,
180491,
336140,
164107,
262417,
368913,
262423,
377118,
377121,
262437,
254253,
336181,
262455,
393539,
262473,
344404,
213333,
418135,
270687,
262497,
418145,
262501,
213354,
246124,
262508,
262512,
213374,
385420,
393613,
262551,
262553,
385441,
385444,
262567,
385452,
262574,
393649,
385460,
262587,
344512,
262593,
360917,
369119,
328178,
328180,
328183,
328190,
254463,
328193,
164362,
328207,
410129,
393748,
262679,
377372,
188959,
385571,
377384,
197160,
33322,
352822,
270905,
197178,
418364,
188990,
369224,
385610,
270922,
352844,
385617,
352865,
262761,
352875,
344694,
352888,
336513,
377473,
385671,
148106,
213642,
377485,
352919,
98969,
344745,
361130,
336556,
385714,
434868,
164535,
336568,
164539,
328379,
328387,
352969,
344777,
418508,
385743,
385749,
139998,
189154,
369382,
361196,
418555,
344832,
336644,
344837,
344843,
328462,
361231,
394002,
336660,
418581,
418586,
434971,
369436,
262943,
369439,
418591,
418594,
336676,
418600,
418606,
369464,
361274,
328516,
336709,
328520,
336712,
361289,
328523,
336715,
361300,
213848,
426842,
361307,
197469,
361310,
254813,
361318,
344936,
361323,
361335,
328574,
369544,
361361,
222129,
345036,
115661,
386004,
345046,
386012,
386019,
386023,
328690,
435188,
328703,
328710,
418822,
377867,
328715,
361490,
386070,
271382,
336922,
345119,
377888,
214060,
345134,
345139,
361525,
386102,
361537,
377931,
345172,
189525,
156762,
402523,
361568,
148580,
345200,
361591,
386168,
361594,
410746,
214150,
345224,
386187,
345247,
361645,
345268,
402615,
361657,
337093,
402636,
328925,
165086,
66783,
165092,
328933,
222438,
328942,
386286,
386292,
206084,
328967,
345377,
345380,
353572,
345383,
263464,
337207,
345400,
378170,
369979,
386366,
337224,
337230,
337235,
263509,
353634,
337252,
402792,
271731,
378232,
337278,
271746,
181639,
353674,
181644,
361869,
181650,
181655,
230810,
181671,
181674,
181679,
181682,
337330,
181687,
370105,
181691,
181697,
361922,
337350,
181704,
337366,
271841,
329192,
361961,
329195,
116211,
337399,
402943,
337416,
329227,
419341,
419345,
329234,
419351,
345626,
419357,
345631,
419360,
370208,
394787,
419363,
370214,
419369,
394796,
419377,
419386,
206397,
214594,
419401,
353868,
419404,
173648,
419408,
214611,
419412,
403040,
345702,
222831,
370298,
353920,
403073,
403076,
345737,
198282,
403085,
403092,
345750,
419484,
345758,
345763,
419492,
345766,
419498,
419502,
370351,
419507,
337588,
419510,
419513,
337601,
403139,
337607,
419528,
419531,
272083,
394967,
419543,
419545,
345819,
419548,
419551,
345829,
419560,
337643,
419564,
337647,
370416,
337671,
362249,
362252,
395022,
362256,
321300,
345888,
362274,
378664,
354107,
345916,
354112,
370504,
329545,
345932,
370510,
354132,
247639,
337751,
370520,
313181,
182110,
354143,
354157,
345965,
345968,
345971,
345975,
403321,
1914,
354173,
395148,
247692,
337809,
247701,
329625,
436127,
436133,
247720,
337834,
362414,
337845,
190393,
346059,
247760,
346064,
346069,
419810,
329699,
354275,
190440,
354314,
346140,
436290,
395340,
378956,
436307,
338005,
100454,
329833,
329853,
329857,
329868,
411806,
329886,
346273,
362661,
100525,
387250,
379067,
387261,
256193,
395467,
346317,
411862,
256214,
411865,
411869,
411874,
379108,
411877,
387303,
346344,
395496,
338154,
387307,
346350,
338161,
387314,
436474,
321787,
379135,
411905,
411917,
379154,
395539,
387350,
387353,
338201,
182559,
338212,
395567,
248112,
362823,
436556,
321880,
362844,
379234,
354674,
321911,
420237,
379279,
272787,
354728,
338353,
338382,
272849,
248279,
256474,
182755,
338404,
330225,
248309,
248332,
330254,
199189,
420377,
330268,
191012,
330320,
199250,
191069,
346722,
248427,
191085,
338544,
346736,
191093,
346743,
346769,
150184,
248505,
363198,
223936,
355025,
273109,
355029,
264919,
256735,
338661,
264942,
363252,
338680,
264965,
338701,
256787,
363294,
199455,
396067,
346917,
396070,
215854,
355123,
355141,
355144,
338764,
355151,
330581,
330585,
387929,
355167,
265056,
265059,
355176,
355180,
355185,
412600,
207809,
379849,
347082,
396246,
330711,
248794,
248799,
437219,
257009,
265208,
265215,
199681,
338951,
330761,
330769,
330775,
248863,
158759,
396329,
347178,
404526,
396337,
330803,
396340,
339002,
388155,
339010,
347208,
248905,
330827,
248915,
183384,
339037,
412765,
257121,
322660,
265321,
248952,
420985,
330886,
330890,
347288,
248986,
44199,
380071,
339118,
249018,
339133,
126148,
322763,
330959,
330966,
265433,
265438,
388320,
363757,
388348,
339199,
396552,
175376,
175397,
273709,
372016,
437553,
347442,
199989,
175416,
396601,
208189,
437567,
175425,
437571,
126279,
437576,
437584,
331089,
437588,
331094,
396634,
175451,
437596,
429408,
175458,
175461,
175464,
265581,
331124,
175478,
249210,
175484,
175487,
249215,
175491,
249219,
249225,
249228,
249235,
175514,
175517,
396703,
396706,
175523,
355749,
396723,
388543,
380353,
216518,
380364,
339406,
372177,
339414,
249303,
413143,
339418,
339421,
249310,
339425,
249313,
339429,
339435,
249329,
69114,
372229,
208399,
380433,
175637,
405017,
134689,
339504,
265779,
421442,
413251,
265796,
265806,
224854,
224858,
339553,
257636,
224871,
372328,
257647,
372338,
224885,
224888,
224891,
224895,
372354,
126597,
421509,
224905,
11919,
224911,
224914,
126611,
224917,
224920,
126618,
208539,
224923,
224927,
224930,
224933,
257705,
224939,
224943,
257713,
224949,
257717,
257721,
224954,
257725,
224960,
257733,
224966,
224970,
257740,
224976,
257745,
339664,
257748,
224982,
257752,
224987,
257762,
224996,
225000,
225013,
257788,
225021,
339711,
257791,
225027,
257796,
339722,
257802,
257805,
225039,
257808,
249617,
225044,
167701,
372500,
257815,
225049,
257820,
225054,
184096,
397089,
257825,
225059,
339748,
225068,
257837,
413485,
225071,
225074,
257843,
225077,
257846,
225080,
397113,
225083,
397116,
257853,
225088,
225094,
225097,
257869,
257872,
225105,
397140,
225109,
225113,
257881,
257884,
257887,
225120,
257891,
413539,
225128,
257897,
339818,
225138,
339827,
257909,
225142,
372598,
257914,
257917,
225150,
257922,
380803,
225156,
339845,
257927,
225166,
397201,
225171,
380823,
225176,
225183,
372698,
372704,
372707,
356336,
380919,
393215,
372739,
405534,
266295,
266298,
217158,
421961,
200786,
356440,
217180,
430181,
266351,
356467,
266365,
192640,
266375,
381069,
225425,
250003,
225430,
250008,
356507,
250012,
225439,
135328,
192674,
225442,
438434,
225445,
225448,
438441,
356521,
225451,
258223,
225456,
430257,
225459,
225462,
225468,
389309,
225472,
372931,
225476,
389322,
225485,
225488,
225491,
266454,
225494,
225497,
225500,
225503,
225506,
356580,
225511,
217319,
225515,
225519,
381177,
397572,
389381,
381212,
356638,
356641,
356644,
356647,
266537,
389417,
356650,
356656,
332081,
307507,
340276,
356662,
397623,
332091,
225599,
201030,
348489,
332107,
151884,
430422,
348503,
332118,
250203,
250211,
340328,
250217,
348523,
348528,
332153,
356734,
389503,
332158,
438657,
332162,
389507,
348548,
356741,
250239,
332175,
160152,
373146,
340380,
373149,
70048,
356783,
373169,
266688,
324032,
201158,
340452,
127473,
217590,
340473,
324095,
324100,
324103,
324112,
340501,
324118,
324122,
340512,
332325,
324134,
381483,
356908,
324141,
324143,
356917,
324150,
324156,
168509,
348734,
324161,
324165,
356935,
348745,
381513,
324171,
324174,
324177,
389724,
332381,
373344,
340580,
348777,
381546,
119432,
340628,
184983,
373399,
258723,
332455,
332460,
332464,
332473,
381626,
332484,
332487,
332494,
357070,
357074,
332512,
332521,
340724,
332534,
373499,
348926,
389927,
348979,
152371,
348983,
340792,
398141,
357202,
389971,
357208,
389979,
430940,
357212,
357215,
439138,
201580,
201583,
349041,
340850,
381815,
430967,
324473,
398202,
119675,
340859,
324476,
430973,
324479,
340863,
324482,
373635,
324485,
324488,
185226,
381834,
324493,
324496,
324499,
430996,
324502,
324511,
422817,
324514,
201638,
398246,
373672,
324525,
111539,
324534,
324539,
324542,
398280,
349129,
340940,
340942,
209874,
340958,
431073,
398307,
340964,
209896,
201712,
209904,
349173,
381947,
201724,
349181,
431100,
431107,
349203,
209944,
209948,
357411,
250915,
250917,
169002,
357419,
209966,
209969,
209973,
209976,
209980,
209988,
209991,
431180,
209996,
341072,
349268,
177238,
250968,
210011,
373853,
341094,
210026,
210028,
210032,
349296,
210037,
210042,
210045,
349309,
152704,
349313,
160896,
210053,
210056,
349320,
259217,
373905,
210068,
210072,
210078,
210081,
210085,
210089,
210096,
210100,
324792,
210108,
357571,
210116,
210128,
210132,
333016,
210139,
210144,
218355,
218361,
275709,
128254,
275713,
242947,
275717,
275723,
333075,
349460,
333079,
251161,
349486,
349492,
415034,
210261,
365912,
259423,
374113,
251236,
374118,
333164,
234867,
390518,
357756,
374161,
112021,
349591,
357793,
333222,
259516,
415168,
366035,
415187,
366039,
415192,
415194,
415197,
415200,
333285,
415208,
366057,
366064,
415217,
415225,
423424,
415258,
415264,
366118,
415271,
382503,
349739,
144940,
415279,
415282,
415286,
210488,
415291,
415295,
349762,
333396,
374359,
333400,
366173,
423529,
423533,
210547,
415354,
333440,
267910,
267929,
333512,
259789,
366301,
333535,
153311,
366308,
366312,
431852,
399086,
366319,
210673,
366322,
399092,
366326,
333566,
268042,
210700,
366349,
210707,
399129,
333595,
210720,
366384,
358192,
210740,
366388,
358201,
325441,
366403,
325447,
341831,
341835,
341839,
341844,
415574,
358235,
341852,
350046,
399200,
399208,
268144,
358256,
358260,
341877,
399222,
325494,
333690,
325505,
333699,
399244,
333709,
333725,
333737,
382891,
382898,
350153,
358348,
333777,
219094,
399318,
358372,
350190,
350194,
333819,
350204,
350207,
325633,
325637,
350214,
219144,
268299,
333838,
350225,
186388,
350232,
333851,
350238,
350241,
374819,
350245,
350249,
350252,
178221,
350257,
350260,
350272,
243782,
350281,
350286,
374865,
342113,
252021,
342134,
374904,
268435,
333998,
334012,
260299,
350411,
350417,
350423,
211161,
350426,
350449,
375027,
358645,
350459,
350462,
350465,
350469,
268553,
350477,
268560,
350481,
432406,
350487,
325915,
350491,
325918,
350494,
325920,
350500,
194854,
350505,
358701,
391469,
350510,
358705,
358714,
358717,
383307,
358738,
334162,
383331,
383334,
391531,
383342,
334204,
268669,
194942,
391564,
366991,
334224,
268702,
342431,
375209,
375220,
334263,
326087,
358857,
195041,
334312,
104940,
375279,
416255,
350724,
186898,
342546,
350740,
342551,
334359,
342555,
334364,
416294,
350762,
252463,
358962,
334386,
334397,
358973,
252483,
219719,
399957,
334425,
326240,
375401,
334466,
334469,
162446,
326291,
342680,
342685,
260767,
342711,
244410,
260798,
334530,
260802,
350918,
154318,
342737,
391895,
154329,
416476,
64231,
113389,
342769,
203508,
375541,
342777,
391938,
391949,
375569,
326417,
375572,
375575,
375580,
162592,
334633,
326444,
383794,
326452,
326455,
375613,
244542,
260925,
375616,
326463,
326468,
342857,
326474,
326479,
326486,
416599,
342875,
244572,
326494,
433001,
400238,
326511,
211826,
211832,
392061,
351102,
359296,
252801,
260993,
351105,
400260,
211846,
342921,
342931,
252823,
400279,
392092,
400286,
252838,
359335,
211885,
252846,
400307,
351169,
359362,
351172,
170950,
187335,
326599,
359367,
359383,
359389,
383968,
343018,
359411,
261109,
261112,
244728,
383999,
261130,
261148,
359452,
211999,
261155,
261160,
261166,
359471,
375868,
343132,
384099,
384102,
384108,
367724,
187503,
343155,
384115,
212095,
351366,
384136,
384140,
384144,
351382,
384152,
384158,
384161,
351399,
384169,
367795,
244917,
384182,
367801,
384189,
384192,
351424,
343232,
367817,
244938,
384202,
253132,
326858,
384209,
146644,
351450,
384225,
359650,
343272,
351467,
359660,
384247,
351480,
384250,
351483,
351492,
343307,
384270,
359695,
261391,
253202,
261395,
384276,
384284,
245021,
384290,
253218,
245032,
171304,
384299,
351535,
376111,
245042,
326970,
384324,
343366,
212296,
212304,
367966,
343394,
367981,
343410,
155000,
327035,
245121,
245128,
253321,
155021,
384398,
245137,
245143,
245146,
245149,
343453,
245152,
245155,
155045,
245158,
40358,
245163,
114093,
327090,
343478,
359867,
384444,
146878,
327108,
327112,
384457,
359887,
359891,
368093,
155103,
343535,
343540,
368120,
343545,
409092,
253445,
359948,
359951,
245295,
359984,
343610,
400977,
400982,
179803,
155241,
245358,
155255,
155274,
368289,
245410,
425639,
425652,
425663,
155328,
245463,
155352,
155356,
212700,
155364,
245477,
155372,
245487,
212723,
409336,
155394,
155404,
245528,
155423,
360224,
155439,
204592,
155444,
155448,
417596,
384829,
384831,
360262,
155463,
155477,
376665,
155484,
261982,
425823,
155488,
376672,
155492,
327532,
261997,
376686,
262000,
262003,
425846,
262006,
147319,
262009,
327542,
262012,
155517,
155523,
155526,
360327,
376715,
155532,
262028,
262031,
262034,
262037,
262040,
262043,
155550,
253854,
262046,
262049,
262052,
327590,
155560,
155563,
155566,
327613,
393152,
311244,
393170,
155604,
155620,
253924,
155622,
253927,
327655,
360432,
393204,
360439,
253944,
393209,
155647
] |
12a373f82e076f6a335bd2b221b3147d674dd182 | c8771606712ba0ac6729f8c090b74fd788819fe4 | /BDWeather/SignUPVC.swift | 09e66f7a9966d1256ab5341a2f4a98b75ff7610c | [] | no_license | anamika25400/WeatherBD | e1f3dff23fea075b988b04cf6f20cef7788727a2 | 20c0c43d555439fc8b3e62611c2c7f3057f9defa | refs/heads/master | 2021-04-01T06:06:54.056120 | 2020-03-18T07:26:38 | 2020-03-18T07:26:38 | 248,162,136 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 10,798 | swift | //
// SignUPVC.swift
// BDWeather
//
// Created by apple on 3/4/20.
// Copyright © 2020 apple. All rights reserved.
//
import UIKit
class SignUPVC: UIViewController {
@IBOutlet weak var lastText: UITextField!
@IBOutlet weak var FirstText: UITextField!
@IBOutlet weak var password: UITextField!
@IBOutlet weak var Loctaion: UITextField!
@IBOutlet weak var districtText: UITextField!
@IBOutlet weak var genderText: UITextField!
@IBOutlet weak var emailText: UITextField!
@IBOutlet weak var mobile: UITextField!
@IBOutlet weak var passwordText: UITextField!
@IBOutlet weak var signupOutlet: UIButton!
@IBOutlet weak var facebookOut: UIButton!
@IBOutlet weak var googleOut: UIButton!
@IBOutlet weak var signinout: UIButton!
override func viewDidLoad() {
super.viewDidLoad()
ViewEdit()
// Do any additional setup after loading the view.
}
func ViewEdit() {
signupOutlet.layer.cornerRadius = 20
signupOutlet.layer.shadowOffset = CGSize(width: 0, height: 1)
signupOutlet.layer.shadowColor = UIColor.lightGray.cgColor
signupOutlet.layer.shadowOpacity = 1
signupOutlet.layer.shadowRadius = 5
signupOutlet.layer.masksToBounds = false
facebookOut.layer.cornerRadius = 20
facebookOut.layer.shadowOffset = CGSize(width: 0, height: 1)
facebookOut.layer.shadowColor = UIColor.lightGray.cgColor
facebookOut.layer.shadowOpacity = 1
facebookOut.layer.shadowRadius = 5
facebookOut.layer.masksToBounds = false
googleOut.layer.cornerRadius = 20
googleOut.layer.shadowOffset = CGSize(width: 0, height: 1)
googleOut.layer.shadowColor = UIColor.lightGray.cgColor
googleOut.layer.shadowOpacity = 1
googleOut.layer.shadowRadius = 5
googleOut.layer.masksToBounds = false
//custom user text
FirstText.leftViewMode = UITextField.ViewMode.always
let imageView = UIImageView(frame: CGRect(x: 0, y: 0, width: 20, height: 20))
let image = UIImage(named: "userPhotos")
imageView.image = image
FirstText.leftView = imageView
let bottomLine = CALayer()
bottomLine.frame = CGRect(origin: CGPoint(x: 0, y:FirstText.frame.height - 1), size: CGSize(width: FirstText.frame.width, height: 1))
bottomLine.backgroundColor = UIColor.darkGray.cgColor
FirstText.borderStyle = UITextField.BorderStyle.none
FirstText.layer.addSublayer(bottomLine)
FirstText.layer.cornerRadius = 17
lastText.leftViewMode = UITextField.ViewMode.always
let limageView = UIImageView(frame: CGRect(x: 0, y: 0, width: 20, height: 20))
let limage = UIImage(named: "userPhotos")
limageView.image = limage
lastText.leftView = limageView
let lbottomLine = CALayer()
lbottomLine.frame = CGRect(origin: CGPoint(x: 0, y:lastText.frame.height - 1), size: CGSize(width: lastText.frame.width, height: 1))
lbottomLine.backgroundColor = UIColor.darkGray.cgColor
lastText.borderStyle = UITextField.BorderStyle.none
lastText.layer.addSublayer(lbottomLine)
lastText.layer.cornerRadius = 17
Loctaion.leftViewMode = UITextField.ViewMode.always
let loimageView = UIImageView(frame: CGRect(x: 0, y: 0, width: 20, height: 20))
let loimage = UIImage(named: "location")
loimageView.image = loimage
Loctaion.leftView = loimageView
let lobottomLine = CALayer()
lobottomLine.frame = CGRect(origin: CGPoint(x: 0, y:Loctaion.frame.height - 1), size: CGSize(width: Loctaion.frame.width, height: 1))
lobottomLine.backgroundColor = UIColor.darkGray.cgColor
Loctaion.borderStyle = UITextField.BorderStyle.none
Loctaion.layer.addSublayer(lobottomLine)
Loctaion.layer.cornerRadius = 17
districtText.leftViewMode = UITextField.ViewMode.always
let diimageView = UIImageView(frame: CGRect(x: 0, y: 0, width: 20, height: 20))
let diimage = UIImage(named: "zip")
diimageView.image = diimage
districtText.leftView = diimageView
let dibottomLine = CALayer()
dibottomLine.frame = CGRect(origin: CGPoint(x: 0, y:districtText.frame.height - 1), size: CGSize(width: districtText.frame.width, height: 1))
dibottomLine.backgroundColor = UIColor.darkGray.cgColor
districtText.borderStyle = UITextField.BorderStyle.none
districtText.layer.addSublayer(dibottomLine)
districtText.layer.cornerRadius = 17
genderText.leftViewMode = UITextField.ViewMode.always
let geimageView = UIImageView(frame: CGRect(x: 0, y: 0, width: 20, height: 20))
let geimage = UIImage(named: "gender")
geimageView.image = geimage
genderText.leftView = geimageView
let gebottomLine = CALayer()
gebottomLine.frame = CGRect(origin: CGPoint(x: 0, y:genderText.frame.height - 1), size: CGSize(width: genderText.frame.width, height: 1))
gebottomLine.backgroundColor = UIColor.darkGray.cgColor
genderText.borderStyle = UITextField.BorderStyle.none
genderText.layer.addSublayer(gebottomLine)
genderText.layer.cornerRadius = 17
emailText.leftViewMode = UITextField.ViewMode.always
let eimageView = UIImageView(frame: CGRect(x: 0, y: 0, width: 20, height: 20))
let eimage = UIImage(named: "email")
eimageView.image = eimage
emailText.leftView = eimageView
let ebottomLine = CALayer()
ebottomLine.frame = CGRect(origin: CGPoint(x: 0, y:emailText.frame.height - 1), size: CGSize(width: emailText.frame.width, height: 1))
ebottomLine.backgroundColor = UIColor.darkGray.cgColor
emailText.borderStyle = UITextField.BorderStyle.none
emailText.layer.addSublayer(ebottomLine)
emailText.layer.cornerRadius = 17
mobile.leftViewMode = UITextField.ViewMode.always
let mimageView = UIImageView(frame: CGRect(x: 0, y: 0, width: 20, height: 20))
let mimage = UIImage(named: "Phone")
mimageView.image = mimage
mobile.leftView = mimageView
let mbottomLine = CALayer()
mbottomLine.frame = CGRect(origin: CGPoint(x: 0, y:mobile.frame.height - 1), size: CGSize(width: mobile.frame.width, height: 1))
mbottomLine.backgroundColor = UIColor.darkGray.cgColor
mobile.borderStyle = UITextField.BorderStyle.none
mobile.layer.addSublayer(mbottomLine)
mobile.layer.cornerRadius = 17
//custom password text
passwordText.leftViewMode = UITextField.ViewMode.always
let pimageView = UIImageView(frame: CGRect(x: 0, y: 0, width: 20, height: 20))
let pimage = UIImage(named: "passwordPhoto")
pimageView.image = pimage
passwordText.leftView = pimageView
let pbottomLine = CALayer()
pbottomLine.frame = CGRect(origin: CGPoint(x: 0, y:passwordText.frame.height - 1), size: CGSize(width: passwordText.frame.width, height: 1))
pbottomLine.backgroundColor = UIColor.darkGray.cgColor
passwordText.borderStyle = UITextField.BorderStyle.none
passwordText.layer.addSublayer(pbottomLine)
passwordText.layer.cornerRadius = 17
}
@IBAction func facebookAction(_ sender: UIButton) {
}
@IBAction func signupAction(_ sender: UIButton) {
if mobile.text == nil || passwordText.text == nil || FirstText.text == nil || lastText.text == nil ||
districtText.text == nil || Loctaion.text == nil || genderText.text == nil || emailText.text == nil {
let alert = UIAlertController(title: "Sign UP Failed!", message: "Fill the content!", preferredStyle: UIAlertController.Style.alert)
// add an action (button)
alert.addAction(UIAlertAction(title: "OK", style: UIAlertAction.Style.default, handler: nil))
// show the alert
self.present(alert, animated: true, completion: nil)
} else if mobile.text != nil && passwordText.text != nil {
postdata()
}
}
@IBAction func SignInAction(_ sender: UIButton) {
let storyboard = UIStoryboard(name: "Main", bundle: nil)
let controller = storyboard.instantiateViewController(withIdentifier: "LoginVC")
self.navigationController?.pushViewController(controller, animated: true)
}
@IBAction func googleAction(_ sender: UIButton) {
}
func postdata(){
let parameters = ["FirstName": FirstText.text!,"LastName":lastText.text!,"mobile":mobile.text!,"email":emailText.text!,"gender":genderText.text!,"district":districtText.text!,"location":Loctaion.text!, "password": passwordText.text!] as [String : Any]
//let parameters = ["mobile":"01742011644", "password": "123456"] as [String : Any]
//create the url with URL
let url = URL(string: "http://192.168.0.30/bdweather/API/registration.php")! //change the url
//create the session object
let session = URLSession.shared
//now create the URLRequest object using the url object
var request = URLRequest(url: url)
request.httpMethod = "POST" //set http method as POST
do {
request.httpBody = try JSONSerialization.data(withJSONObject: parameters, options: .prettyPrinted) // pass dictionary to nsdata object and set it as request body
} catch let error {
print(error.localizedDescription)
}
request.addValue("application/json", forHTTPHeaderField: "Content-Type")
request.addValue("application/json", forHTTPHeaderField: "Accept")
//create dataTask using the session object to send data to the server
let task = session.dataTask(with: request as URLRequest, completionHandler: { data, response, error in
guard error == nil else {
return
}
guard let data = data else {
return
}
do {
print(data)
//create json object from data
if let json = try JSONSerialization.jsonObject(with: data, options: .mutableContainers) as? [String: Any] {
print(json)
// handle json...
}
} catch let error {
print(error.localizedDescription)
}
})
task.resume()
}
}
| [
-1
] |
f175d1504ddc775d9d0a0624b82310383a78803b | 3d499b7c3e76586bf50a0c5ae709416c1aa5762e | /On The Map/On The Map/AppDelegate.swift | 483b599e615cc6e8b37cc71cb6faf78f29a000b7 | [] | no_license | ryanwaite28/ios-developer | 80e2d1148b0a91805a8db6ca02bc6bccb1111075 | 6b4571223b911ddc188619c6fb8f516f8276499c | refs/heads/master | 2021-07-06T23:06:27.449891 | 2017-09-29T15:18:39 | 2017-09-29T15:18:39 | 105,286,196 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 2,473 | swift | //
// AppDelegate.swift
// On The Map
//
// Created by Ryan Waite on 9/17/17.
// Copyright © 2017 Ryan Waite. All rights reserved.
//
import UIKit
import MapKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
var annotations = [MKPointAnnotation]()
var studentLocations = [Student]()
var accountKey: String = ""
var sessionID: String = ""
var objID: String = ""
var uniqueKey: String = ""
var you: Student?
var dataExists: Bool = false // previous user data
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
return true
}
func applicationWillResignActive(_ application: UIApplication) {
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
}
func applicationDidEnterBackground(_ application: UIApplication) {
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}
func applicationWillEnterForeground(_ application: UIApplication) {
// Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
}
func applicationDidBecomeActive(_ application: UIApplication) {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}
func applicationWillTerminate(_ application: UIApplication) {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
}
| [
229380,
229383,
229385,
294924,
229388,
229391,
327695,
229394,
229397,
229399,
229402,
278556,
229405,
229408,
294950,
229415,
229417,
327722,
237613,
229422,
229426,
237618,
229428,
286774,
286776,
319544,
286778,
229432,
204856,
286791,
237640,
286797,
278605,
311375,
163920,
196692,
319573,
311383,
319590,
311400,
278635,
303212,
278639,
131192,
237693,
303230,
327814,
303241,
131209,
417930,
303244,
319633,
286873,
286876,
311460,
311469,
32944,
327862,
286906,
327866,
180413,
286910,
286916,
295110,
286922,
286924,
286926,
319694,
286928,
131281,
278747,
295133,
319716,
237807,
303345,
286962,
131314,
229622,
327930,
278781,
278783,
278785,
237826,
319751,
286987,
319757,
311569,
286999,
319770,
287003,
287006,
287009,
287012,
287014,
287016,
287019,
311598,
287023,
311601,
155966,
319809,
319810,
278849,
319814,
311623,
319818,
311628,
229709,
319822,
287054,
278865,
229717,
196963,
196969,
139638,
213367,
106872,
319872,
311683,
311693,
65943,
319898,
311719,
278952,
139689,
278957,
311728,
278967,
180668,
311741,
278975,
319938,
278980,
278983,
319945,
278986,
278990,
278994,
311767,
279003,
279006,
188895,
172512,
287202,
279010,
279015,
172520,
319978,
279020,
172526,
311791,
279023,
172529,
279027,
319989,
172534,
180727,
164343,
279035,
311804,
287230,
279040,
303617,
287234,
279045,
172550,
303623,
172552,
320007,
287238,
279051,
172558,
279055,
303632,
279058,
303637,
279063,
279067,
172572,
279072,
172577,
295459,
172581,
295461,
279082,
279084,
172591,
172598,
172607,
172609,
172612,
377413,
172614,
172618,
303690,
33357,
303696,
279124,
172634,
172644,
311911,
189034,
172655,
172656,
352880,
295538,
189039,
172660,
287349,
189040,
189044,
287355,
287360,
295553,
172675,
295557,
311942,
287365,
303751,
352905,
311946,
279178,
287371,
311951,
287377,
172691,
287381,
311957,
221850,
287386,
230045,
172702,
303773,
164509,
172705,
287394,
172707,
303780,
287390,
287398,
295583,
279208,
287400,
172714,
295595,
279212,
189102,
172721,
287409,
66227,
303797,
189114,
287419,
328381,
287423,
328384,
172737,
279231,
287427,
312005,
312006,
107208,
172748,
287436,
172751,
287440,
295633,
172755,
303827,
279255,
287450,
303835,
279258,
189149,
303838,
213724,
312035,
279267,
295654,
279272,
230128,
312048,
312050,
230131,
205564,
303871,
230146,
328453,
295685,
230154,
33548,
312077,
295695,
295701,
230169,
369433,
295707,
328476,
295710,
230175,
295720,
303914,
279340,
279353,
230202,
312124,
328508,
222018,
295755,
377676,
148302,
287569,
303959,
230237,
279390,
230241,
303976,
336744,
303985,
303987,
328563,
303991,
303997,
295806,
295808,
295813,
304005,
320391,
304007,
304009,
213895,
304011,
304013,
295822,
279438,
189329,
295825,
304019,
58262,
304023,
304027,
279452,
279461,
279462,
304042,
213931,
230327,
304055,
287675,
230334,
304063,
238528,
304065,
213954,
189378,
156612,
197580,
312272,
304090,
320481,
304106,
320490,
312302,
328687,
320496,
304114,
295928,
320505,
295945,
230413,
197645,
320528,
140312,
295961,
238620,
304164,
304170,
238641,
238652,
238655,
230465,
238658,
336964,
296004,
205895,
320584,
238666,
296021,
402518,
336987,
230497,
296036,
296040,
361576,
205931,
296044,
164973,
205934,
312432,
337018,
189562,
279679,
279683,
205968,
296084,
238745,
304285,
238756,
205991,
222377,
337067,
238766,
165038,
230576,
238770,
304311,
230592,
312518,
279750,
230600,
230607,
148690,
320727,
304348,
304354,
296163,
320740,
304360,
320748,
279788,
279790,
304370,
296189,
320771,
312585,
296202,
296205,
230674,
320786,
230677,
296213,
296215,
320792,
230681,
214294,
304416,
230689,
173350,
312622,
296243,
312630,
222522,
296253,
222525,
296255,
312639,
296259,
296262,
230727,
238919,
296264,
320840,
296267,
296271,
222545,
312663,
222556,
337244,
230752,
312676,
230760,
173418,
148843,
230763,
410987,
230768,
296305,
312692,
230773,
304505,
304506,
181626,
181631,
312711,
296331,
288140,
288144,
230800,
337306,
288154,
173472,
288160,
288162,
288164,
279975,
304555,
370092,
279983,
173488,
288176,
279985,
312755,
312759,
279991,
288185,
222652,
312766,
173507,
296389,
222665,
230860,
312783,
288208,
230865,
148946,
370130,
222676,
288210,
280021,
288212,
288214,
329177,
239064,
288217,
288218,
280027,
239070,
288220,
288224,
370146,
288226,
280036,
288229,
320998,
280038,
288230,
288232,
288234,
288236,
288238,
288240,
288242,
296435,
288244,
288250,
296446,
321022,
402942,
206336,
296450,
230916,
230919,
230923,
304651,
304653,
370187,
230940,
222752,
108066,
296486,
296488,
157229,
239152,
230961,
157236,
288320,
288325,
124489,
288338,
280149,
288344,
280152,
239194,
280158,
403039,
370272,
239202,
312938,
280183,
116354,
280222,
321195,
296622,
321200,
337585,
296626,
296634,
296637,
280260,
206536,
280264,
206539,
206541,
313044,
280276,
321239,
280283,
313052,
288478,
313055,
321252,
313066,
288494,
280302,
321266,
288499,
419570,
288502,
288510,
124671,
280324,
198405,
280331,
198416,
296723,
116503,
321304,
329498,
296731,
321311,
313121,
313123,
304932,
321316,
280363,
141101,
280375,
321336,
296767,
288576,
345921,
337732,
280388,
304968,
280402,
173907,
313171,
313176,
321381,
296809,
296812,
313201,
1920,
255873,
305028,
247688,
124817,
280468,
239510,
280473,
124827,
247709,
214944,
313258,
321458,
296883,
124853,
214966,
296890,
10170,
288700,
296894,
190403,
296900,
280515,
337862,
165831,
231379,
296921,
239586,
313320,
231404,
124913,
165876,
321528,
239612,
313340,
288764,
239617,
313347,
288773,
313358,
305176,
313371,
354338,
305191,
223273,
313386,
354348,
124978,
215090,
124980,
288824,
288826,
321595,
378941,
313406,
288831,
288836,
67654,
280651,
354382,
280658,
215123,
354390,
288855,
288859,
280669,
313438,
149599,
223327,
149601,
321634,
149603,
280671,
223341,
280687,
149618,
215154,
280691,
313464,
329850,
321659,
288895,
321670,
215175,
141455,
313498,
100520,
288940,
288947,
280755,
321717,
280759,
280764,
280769,
280771,
280774,
280776,
313548,
321740,
280783,
280786,
280788,
313557,
280793,
280796,
280798,
338147,
280804,
280807,
280811,
280817,
125171,
157940,
182517,
280823,
280825,
280827,
280830,
280831,
280833,
125187,
280835,
125191,
125207,
125209,
321817,
125218,
321842,
223539,
125239,
280888,
280891,
289087,
280897,
280900,
305480,
239944,
280906,
239947,
305485,
305489,
280919,
354653,
354656,
313700,
280937,
313705,
190832,
280946,
223606,
313720,
280956,
280959,
313731,
199051,
240011,
289166,
240017,
297363,
240021,
297365,
297368,
297372,
141725,
297377,
289186,
297391,
289201,
240052,
289207,
289210,
305594,
281024,
289218,
289227,
281047,
166378,
305647,
281075,
174580,
240124,
281084,
305662,
305664,
240129,
305666,
305668,
223749,
240132,
330244,
223752,
150025,
338440,
281095,
223757,
281102,
223763,
322074,
289317,
281127,
150066,
158262,
158266,
289342,
281154,
322115,
158283,
338528,
338532,
199273,
19053,
158317,
313973,
297594,
281210,
158347,
182926,
133776,
314003,
117398,
314007,
289436,
174754,
330404,
289448,
133801,
174764,
314029,
314033,
240309,
314045,
314047,
314051,
199364,
297671,
158409,
289493,
363234,
289513,
289522,
289525,
289532,
322303,
289537,
322310,
264969,
322314,
322318,
281361,
281372,
322341,
215850,
281388,
281401,
289601,
281413,
281414,
240458,
281420,
240468,
281430,
322393,
297818,
281435,
281438,
174955,
224110,
207733,
207737,
158596,
183172,
338823,
322440,
314249,
183184,
142226,
289687,
240535,
289694,
289696,
289700,
289712,
281529,
289724,
183260,
289762,
322534,
183277,
322550,
322563,
330764,
175134,
322599,
322610,
314421,
281654,
314433,
207937,
314441,
322642,
314456,
281691,
314461,
281702,
281704,
314474,
281711,
248995,
306341,
306344,
306347,
322734,
306354,
142531,
199877,
289991,
306377,
289997,
363742,
363745,
298216,
330988,
216303,
322801,
388350,
257302,
363802,
199976,
199978,
314671,
298292,
298294,
216376,
380226,
298306,
224587,
216404,
306517,
150870,
314714,
224603,
159068,
314718,
314723,
281960,
150890,
306539,
314732,
314736,
290161,
306549,
298358,
314743,
306552,
290171,
314747,
306555,
290174,
224641,
281987,
298372,
314756,
281990,
224647,
298377,
314763,
314768,
224657,
306581,
314773,
314779,
314785,
314793,
282025,
282027,
241068,
241070,
241072,
282034,
150966,
298424,
306618,
282044,
323015,
306635,
306640,
290263,
290270,
290275,
339431,
282089,
191985,
282098,
290291,
282101,
241142,
191992,
290298,
151036,
290302,
290305,
306694,
192008,
323084,
290321,
290325,
282133,
241175,
290328,
290332,
241181,
282142,
282144,
290344,
306731,
290349,
290356,
282186,
224849,
282195,
282201,
306778,
159324,
159330,
314979,
298598,
323176,
224875,
241260,
323181,
257658,
315016,
282249,
290445,
282261,
175770,
298651,
282269,
323229,
298655,
323231,
61092,
282277,
306856,
323260,
282300,
323266,
282310,
282319,
306897,
241362,
306904,
298714,
52959,
282337,
241380,
216806,
323304,
282345,
12011,
323318,
282364,
282367,
306945,
241412,
323333,
282376,
216842,
323345,
282388,
323349,
282392,
184090,
315167,
315169,
282402,
315174,
323367,
241448,
315176,
241450,
282410,
306988,
306991,
315184,
323376,
315190,
241464,
159545,
282425,
298811,
118593,
307009,
413506,
307012,
315211,
307027,
315221,
315223,
241496,
241498,
307035,
307040,
110433,
282465,
241509,
110438,
298860,
110445,
282478,
315249,
315253,
315255,
339838,
315267,
315269,
241544,
282505,
241546,
241548,
298896,
282514,
241556,
298901,
241560,
282520,
241563,
241565,
241567,
241569,
241574,
298922,
241581,
241583,
323504,
241586,
290739,
241588,
282547,
241590,
241592,
241598,
290751,
241600,
241605,
151495,
241610,
298975,
241632,
298984,
241643,
298988,
241646,
241649,
241652,
323574,
290807,
299003,
241661,
299006,
282623,
315396,
241669,
315397,
282632,
282639,
290835,
282645,
241693,
102438,
217127,
282669,
282681,
290877,
282687,
159811,
315463,
315466,
192589,
307278,
192596,
307287,
307290,
217179,
315482,
192605,
315483,
233567,
299105,
200801,
217188,
299109,
307303,
315495,
356457,
45163,
307307,
315502,
192624,
307314,
299126,
233591,
299136,
307338,
233613,
241813,
307352,
299164,
299167,
315552,
184479,
184481,
184486,
307370,
307372,
307374,
307376,
299185,
323763,
184503,
299191,
176311,
307385,
258235,
307388,
176316,
307390,
299200,
307394,
299204,
307396,
184518,
307399,
323784,
233679,
307409,
307411,
299225,
233701,
307432,
282881,
282893,
291089,
282906,
291104,
233766,
307508,
315701,
332086,
307510,
307512,
307515,
307518,
282942,
282947,
323917,
282957,
233808,
323921,
315733,
323926,
233815,
315739,
299357,
242018,
242024,
299373,
315757,
250231,
242043,
315771,
299391,
291202,
299398,
242057,
291212,
299405,
291222,
315801,
291226,
242075,
61855,
291231,
283042,
291238,
291241,
127403,
127405,
291247,
299440,
127407,
299444,
127413,
291254,
283062,
127417,
291260,
127421,
127424,
299457,
127431,
127434,
315856,
127440,
176592,
315860,
176597,
127447,
299481,
127449,
176605,
242143,
127455,
291299,
340454,
127463,
242152,
291305,
127466,
176620,
127469,
127474,
291314,
291317,
127480,
135672,
291323,
233979,
127485,
291330,
127494,
283142,
135689,
233994,
127497,
127500,
233998,
127506,
234003,
234006,
127511,
152087,
283161,
234010,
135707,
242202,
135710,
242206,
242208,
291361,
242220,
291378,
234038,
152118,
234041,
315961,
70213,
111193,
242275,
299620,
242279,
184952,
135805,
135808,
135820,
316051,
225941,
316054,
135834,
373404,
299677,
135839,
299680,
225954,
299684,
135844,
242343,
209576,
242345,
373421,
135870,
135873,
135876,
135879,
299720,
299723,
299726,
225998,
226002,
119509,
226005,
299740,
201444,
299750,
283368,
234219,
283372,
226037,
283382,
316151,
234231,
234236,
226045,
242431,
234239,
209665,
234242,
242436,
234246,
226056,
291593,
234248,
242443,
234252,
242445,
234254,
291601,
234258,
242450,
242452,
234261,
348950,
201496,
234264,
234266,
234269,
283421,
234272,
234274,
152355,
299814,
234278,
283432,
234281,
234284,
234287,
283440,
185138,
242483,
234292,
234296,
234298,
160572,
283452,
234302,
234307,
234309,
316233,
234313,
316235,
234316,
283468,
234319,
234321,
234324,
185173,
201557,
234333,
308063,
234336,
242530,
349027,
234338,
234341,
234344,
234347,
177004,
234350,
324464,
152435,
177011,
234356,
234362,
291711,
234368,
291714,
234370,
291716,
234373,
226182,
234375,
308105,
226185,
234379,
234384,
234390,
324504,
226200,
209818,
308123,
234396,
324508,
291742,
234393,
234401,
291747,
291748,
234405,
291750,
324518,
324520,
234407,
324522,
291754,
291756,
226220,
324527,
291760,
234417,
201650,
324531,
226230,
234422,
324536,
234428,
291773,
242623,
324544,
234431,
234434,
324546,
324548,
226245,
234437,
234443,
291788,
193486,
234446,
193488,
275406,
234449,
234452,
234455,
234459,
234461,
234464,
234467,
234470,
168935,
5096,
324585,
234475,
234478,
316400,
234481,
316403,
234484,
234485,
234487,
324599,
234490,
234493,
316416,
234496,
234501,
308231,
234504,
234507,
234510,
234515,
300054,
316439,
234520,
234519,
234526,
234528,
300066,
234532,
300069,
234535,
234537,
234540,
234546,
275508,
300085,
234549,
300088,
234553,
234556,
234558,
316479,
234561,
316483,
160835,
234563,
308291,
234570,
316491,
234572,
300108,
234574,
300115,
234580,
234581,
234585,
275545,
234590,
234593,
234595,
234597,
300133,
234601,
300139,
234605,
234607,
275569,
234610,
300148,
234614,
398455,
144506,
234618,
234620,
275579,
234623,
234627,
275588,
234634,
234636,
177293,
234640,
275602,
234643,
308373,
324757,
234647,
234648,
226453,
234650,
308379,
275606,
300189,
324766,
119967,
324768,
275608,
234653,
283805,
234657,
300197,
242852,
283813,
234661,
234664,
275626,
234667,
316596,
308414,
234687,
300226,
308418,
234692,
300229,
308420,
308422,
283844,
300234,
283850,
300238,
300241,
316625,
300243,
300245,
316630,
300248,
300253,
300256,
300258,
300260,
234726,
300263,
300265,
300267,
300270,
300272,
120053,
300278,
275703,
316663,
300284,
275710,
300287,
292097,
300289,
161027,
300292,
300294,
275719,
234760,
177419,
300299,
242957,
300301,
275725,
177424,
283917,
349464,
283939,
259367,
292143,
283951,
300344,
243003,
283963,
300357,
316758,
357722,
316766,
292192,
316768,
218464,
292197,
316774,
218473,
136562,
324978,
333178,
275834,
275840,
316803,
316806,
316811,
316814,
226703,
300433,
234899,
300436,
226709,
357783,
316824,
316826,
300448,
144807,
144810,
144812,
284076,
144814,
144820,
374196,
292279,
284087,
144826,
144828,
144830,
144832,
144835,
144837,
38342,
144839,
144841,
144844,
144847,
144852,
144855,
103899,
300507,
333280,
218597,
292329,
300523,
259565,
300527,
308720,
259567,
292338,
226802,
316917,
292343,
308727,
300537,
316933,
316947,
308757,
308762,
284191,
284194,
284196,
235045,
284199,
284204,
284206,
284209,
284211,
194101,
284213,
316983,
194103,
284215,
308790,
284218,
226877,
284223,
284226,
284228,
243268,
292421,
284231,
226886,
128584,
284234,
276043,
317004,
366155,
284238,
226895,
284241,
194130,
284243,
300628,
284245,
292433,
284247,
317015,
284249,
235097,
243290,
284251,
284253,
300638,
284255,
284258,
292452,
292454,
284263,
284265,
292458,
284267,
292461,
284272,
284274,
284278,
292470,
276086,
292473,
284283,
284286,
292479,
284288,
292481,
284290,
325250,
284292,
292485,
325251,
276095,
276098,
284297,
317066,
284299,
317068,
284301,
284303,
284306,
276114,
284308,
284312,
284314,
284316,
276127,
284320,
284322,
284327,
284329,
317098,
284331,
276137,
284333,
284335,
276144,
284337,
284339,
300726,
284343,
284346,
284350,
358080,
276160,
284354,
358083,
284358,
276166,
358089,
284362,
284365,
284368,
284370,
358098,
284372,
317138,
284377,
284379,
284381,
284384,
358114,
284386,
317158,
358119,
284392,
325353,
358122,
284394,
284397,
358126,
276206,
358128,
284399,
358133,
358135,
276216,
358138,
300795,
358140,
284413,
358142,
358146,
317187,
284418,
317189,
317191,
284428,
300816,
300819,
317207,
300828,
300830,
276255,
300832,
325408,
317221,
227109,
358183,
276268,
300845,
243504,
300850,
284469,
276280,
325436,
358206,
366406,
276295,
292681,
153417,
358224,
276308,
284502,
317271,
276315,
292700,
317279,
292715,
300912,
292721,
284529,
300915,
292729,
284540,
292734,
325512,
317332,
358292,
284564,
284566,
350106,
284572,
276386,
284579,
276388,
358312,
317353,
284585,
276395,
292784,
358326,
161718,
358330,
276411,
276418,
301009,
301011,
301013,
292823,
358360,
301017,
301015,
292828,
276446,
276448,
292839,
276455,
292843,
276460,
292845,
178161,
227314,
276466,
325624,
276472,
317435,
276476,
276479,
276482,
276485,
317446,
276490,
317456,
276496,
317458,
178195,
243733,
243740,
317468,
317472,
325666,
243751,
292904,
276528,
243762,
309298,
325685,
325689,
235579,
325692,
235581,
178238,
276539,
276544,
243779,
325700,
284739,
292934,
243785,
350293,
350295,
309337,
194649,
227418,
350302,
194654,
350304,
178273,
309346,
227423,
194660,
350308,
309350,
309348,
292968,
309352,
350313,
227426,
350316,
276583,
276586,
301167,
309354,
350321,
276590,
227440,
284786,
350325,
252022,
276595,
350328,
292985,
350332,
292989,
301185,
292993,
350339,
317570,
317573,
350342,
350345,
350349,
317584,
325777,
350354,
350357,
350359,
350362,
350366,
350375,
350379,
350381,
350383,
129200,
350385,
350387,
350389,
350395,
350397,
350399,
227520,
350402,
227522,
301252,
350406,
227529,
301258,
309450,
276685,
309455,
276689,
309462,
301272,
194780,
309468,
309471,
301283,
317672,
317674,
325867,
227571,
309491,
309494,
243960,
227583,
276735,
276739,
227596,
325910,
309530,
342298,
211232,
317729,
211241,
325937,
325943,
211260,
276809,
285002,
276811,
235853,
235858,
276829,
276833,
391523,
276836,
293227,
293232,
186744,
211324,
227709,
317833,
178572,
285070,
285077,
227738,
317853,
276896,
317858,
342434,
317864,
276907,
235955,
276917,
293304,
293307,
293314,
309707,
293325,
317910,
293336,
235996,
317917,
293343,
358880,
276961,
293346,
276964,
293352,
236013,
293364,
301562,
317951,
309764,
301575,
121352,
293387,
236043,
342541,
113167,
309779,
317971,
309781,
277011,
227877,
227879,
293417,
227882,
309804,
293421,
236082,
23094,
277054,
129603,
301636,
318020,
301639,
301643,
285265,
399955,
309844,
277080,
309849,
318055,
277100,
121458,
170619,
309885,
309888,
277122,
277128,
301706,
318092,
326285,
334476,
318094,
277136,
277139,
334488,
227992,
318108,
318110,
227998,
137889,
383658,
318128,
277170,
293555,
154292,
277173,
318132,
342707,
277177,
277181,
318144,
277187,
277194,
277196,
277201,
137946,
113378,
277223,
342760,
285417,
56043,
277232,
228081,
56059,
310015,
285441,
310020,
310029,
228113,
285459,
277273,
293659,
326430,
228128,
285474,
293666,
228135,
318248,
277291,
318253,
293677,
285489,
301876,
293685,
285494,
301880,
301884,
293696,
277322,
301911,
277337,
301913,
301921,
236397,
162671,
326514,
310134,
236408,
277368,
416639,
416640,
113538,
310147,
416648,
39817,
187274,
277385,
301972,
424853,
277405,
310179,
293798,
293802,
236460,
277426,
293811,
276579,
293817,
293820,
203715,
293849,
293861,
228327,
318442,
326638,
277486,
318450,
293876,
293877,
285686,
302073,
121850,
293882,
302075,
244731,
285690,
293887,
277507,
277511,
293899,
293908,
293917,
293939,
318516,
310336,
293956,
277573,
228422,
293960,
277577,
310344,
277583,
203857,
293971,
310355,
310359,
236632,
277594,
138332,
277598,
285792,
277601,
310374,
310376,
318573,
203886,
187509,
285815,
367737,
285817,
302205,
285821,
392326,
253064,
294026,
302218,
285835,
162964,
384148,
187542,
302231,
285849,
302233,
285852,
302237,
285854,
285856,
302241,
277671,
302248,
64682,
277678,
294063,
294065,
302258,
277687,
294072,
318651,
294076,
277695,
318657,
244930,
130244,
302277,
228550,
302282,
310476,
302285,
302288,
310481,
302290,
203987,
302292,
302294,
310486,
302296,
384222,
310498,
285927,
318698,
302315,
294132,
138485,
228601,
204026,
228606,
64768,
310531,
138505,
228617,
318742,
277798,
130345,
113964,
285997,
285999,
113969,
318773,
318776,
286010,
417086,
302403,
294211,
384328,
294221,
294223,
326991,
179547,
146784,
302436,
294246,
327015,
310632,
327017,
351594,
351607,
310648,
310651,
310657,
351619,
294276,
310659,
327046,
253320,
310665,
318858,
310672,
351633,
310689,
130468,
228776,
277932,
310703,
310710,
130486,
310712,
310715,
302526,
228799,
302534,
310727,
245191,
64966,
302541,
302543,
310737,
228825,
163290,
310749,
310755,
187880,
310764,
286188,
310772,
40440,
212472,
40443,
286203,
40448,
228864,
286214,
228871,
302603,
302614,
302617,
286233,
302621,
286240,
146977,
187939,
40484,
294435,
40486,
286246,
294440,
40488,
294439,
294443,
40491,
294445,
196133,
310831,
245288,
40499,
40502,
212538,
40507,
40511,
40513,
228933,
40521,
286283,
40525,
40527,
212560,
400976,
228944,
40533,
147032,
40537,
40539,
40541,
278109,
40544,
40548,
40550,
40552,
286312,
40554,
40557,
40560,
294521,
343679,
310925,
286354,
302740,
122517,
278168,
179870,
327333,
229030,
212648,
278188,
278192,
319153,
278196,
302781,
319171,
302789,
294599,
294601,
302793,
343757,
212690,
319187,
286420,
278227,
229076,
286425,
319194,
278235,
229086,
278238,
294625,
294634,
302838,
319226,
286460,
278274,
302852,
278277,
302854,
294664,
311048,
352008,
319243,
311053,
302862,
319251,
294682,
278306,
188199,
294701,
319280,
319290,
229192,
302925,
188247,
237409,
229233,
294776,
294785,
327554,
294803,
40851,
294811,
237470,
319390,
40865,
319394,
294817,
311209,
343983,
294831,
188340,
319419,
294844,
294847,
393177,
294876,
294879,
311279,
278513,
237555,
311283,
237562
] |
f5221de833cebd4b5474947aeb9d69daa42cebc1 | 94d2a32873b2527c4056a1e5a15790c88390df17 | /EXAWallet/Controllers/TransactionDetails/TransactionDetailsViewController.swift | a754adc43e5d1a317bf61fcfd9225daec35402da | [] | no_license | turlodales/exa-wallet-ios | 8a2f572ff8740505f2f4f0bf57374c470e78001a | 350a439a3bdc70e588c0e3b26342dba9498e17f8 | refs/heads/master | 2022-02-20T09:58:20.358130 | 2018-12-18T12:24:05 | 2019-06-03T11:43:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 2,359 | swift | //
// Created by Igor Efremov on 12/07/2018.
// Copyright (c) 2018 Exantech. All rights reserved.
//
import UIKit
import SnapKit
protocol TransactionDetailsActionDelegate: class {
func showCurrentTxInBlockchain()
func copyToClipboard(_ value: String?)
}
class TransactionDetailsViewController: BaseViewController {
private let transactionsView: TransactionDetailsView = TransactionDetailsView()
private var _transaction: Transaction?
convenience init(_ transaction: Transaction) {
self.init(nibName: nil, bundle: nil)
_transaction = transaction
navigationItem.title = _transaction?.type.description
}
override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
}
required init?(coder: NSCoder) {
super.init(coder: coder)
}
override func viewDidLoad() {
super.viewDidLoad()
[transactionsView].compactMap{$0}.forEach{view.addSubview($0)}
transactionsView.actionDelegate = self
transactionsView.viewModel = _transaction
applyStyles()
applySizes()
}
override func applyStyles() {
super.applyStyles()
view.backgroundColor = UIColor.detailsBackgroundColor
transactionsView.applyStyles()
}
func applySizes() {
guard let theTransactionInfo = _transaction else { return }
let h = max(CGFloat(TransactionAttribute.orderedList.filter{theTransactionInfo.txAttribute(by: $0) != nil}.map{$0.height}.reduce(122, +)), view.height)
transactionsView.snp.makeConstraints { (make) in
make.top.left.width.equalToSuperview()
make.height.equalTo(h)
}
transactionsView.applySizes()
}
}
extension TransactionDetailsViewController: TransactionDetailsActionDelegate {
func showCurrentTxInBlockchain() {
guard let theTransaction = _transaction else { return }
let txUrl = "\(EXAAppInfoService.txInfoServiceBaseUrl)\(theTransaction.txHash)"
guard let url = URL(string: txUrl) else { return }
UIApplication.shared.open(url, options: [:], completionHandler: nil)
}
func copyToClipboard(_ value: String?) {
guard let theValue = value else { return }
EXAAppUtils.copy(toClipboard: theValue)
}
}
| [
-1
] |
c33598724bb5ef76db47491569c2a5fb9b78e3e6 | 67730085704ff467550428aa2fb44a4b8a2a63a4 | /mobile/mobile/Services/VehicleMessage+Extensions.swift | 13eaef26f8e2054224b894150da480314bd465fd | [
"MIT-0"
] | permissive | ibegaliev/aws-serverless-fullstack-swift-apple-carplay-example | 04b66b6c89676ea06d1d586016a66420ea6fda4d | fb431462b49a5eb39198b7092d027ba41ed5f5b6 | refs/heads/main | 2023-08-19T18:11:39.974717 | 2021-11-01T16:08:16 | 2021-11-01T16:08:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 131 | swift | // extension to the VehicleMessage to make it Identifiable and bindable to a view List
extension VehicleMessage: Identifiable {
}
| [
-1
] |
9802ca74abd2df3ea7e3f6757ef1bf5d3d91f3f8 | 59c4ad98277f883a241aa49cfae3d6432b4cd201 | /PopcornSwirl/SavedMovies.swift | b07562b57a00a23e0ded74919ee8a47b6340cf53 | [] | no_license | mattsousatwo/PopcornSwirl | efa823622fdd2297fc5624c77d589306a0947856 | eac9b6679362b697ad25c5a3677107763290021f | refs/heads/master | 2023-05-05T11:21:03.081076 | 2021-05-15T16:33:21 | 2021-05-15T16:33:21 | 297,672,584 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 8,284 | swift | //
// SavedMovies.swift
// PopcornSwirl
//
// Created by Matthew Sousa on 9/24/20.
// Copyright © 2020 Matthew Sousa. All rights reserved.
//
import SwiftUI
enum SavedMoviesViewType: String, Hashable {
case favorite = "Favorite"
case watched = "Watched"
case actors = "Actors"
}
// Used to push movie selection on screen.
/// When Movie Type changes a new Saved MovieRow will load
class SavedMovieType: ObservableObject {
@Published var type: SavedMoviesViewType = .favorite
}
struct SavedMovies: View {
@ObservedObject var movieStore = MoviesStore()
@ObservedObject var savedType = SavedMovieType()
private var viewOptions: [SavedMoviesViewType] = [.favorite, .watched, .actors]
init() {
UISegmentedControl.appearance().setTitleTextAttributes([.foregroundColor: UIColor.lightGray], for: .normal)
UISegmentedControl.appearance().setTitleTextAttributes([.foregroundColor: UIColor.black], for: .selected)
}
var body: some View {
ZStack(alignment: .center) {
// Background
LinearGradient(gradient: Gradient(colors: [Color.blue, Color.purple]), startPoint: .top, endPoint: .bottom)
.ignoresSafeArea(edges: .vertical)
// View Control Picker
VStack {
HStack {
Picker(selection: $savedType.type,
label: Text("View Type"),
content: {
ForEach(viewOptions, id: \.self) {
Text($0.rawValue)
}
}).pickerStyle(SegmentedPickerStyle())
.shadow(radius: 2)
}
.padding()
// Saved Movies Body
switch savedType.type {
case .favorite:
SavedMovieBody(type: .favorite)
case .watched:
SavedMovieBody(type: .watched)
case .actors:
SavedMovieBody(type: .actors)
}
}
} // Z
.navigationBarTitle("\(savedType.type.rawValue) Movies", displayMode: .inline)
} // Body
} // SavedMovies()
struct SavedMovieBody: View {
var displayLimit: Int = 9 // movie count is doubled - ( 9 = 20 movies shown ) - ( 9+1 = 10, 10 * 2 = 20 )
var type: SavedMoviesViewType
var movieStore = MoviesStore()
var actorsStore = ActorsStore()
// Get All Favorited Movies
private var favoriteMovies: [[Movie]]? {
return movieStore.fetchFavorites()
}
// Get All Watched Movies
private var watchedMovies: [[Movie]]? {
return movieStore.fetchWatched()
}
/// All favorite actors
private var actors: [[Actor]]? {
return actorsStore.fetchFavoritedActors()
}
var body: some View {
GeometryReader { geo in
ScrollView {
VStack(alignment: .center) {
switch type {
case .favorite:
if let favorites = favoriteMovies {
MovieRow(movies: favorites).equatable()
.animation(.default)
} else {
HStack {
Spacer()
Text("0 Favorite Movies Found")
Spacer()
}
Spacer()
}
case .watched:
if let watched = watchedMovies {
MovieRow(movies: watched).equatable()
.animation(.default)
} else {
HStack {
Spacer()
Text("0 Watched Movies Found")
Spacer()
}
Spacer()
}
case .actors:
if let actors = actors {
MovieRow(actors: actors).equatable()
.frame(width: geo.size.width)
.animation(.default)
} else {
HStack {
Spacer()
Text("0 Favorited Actors Found")
Spacer()
}
Spacer()
}
}
} // VStack
}
.animation(.default)
}
}
}
// Equatable
struct MovieRow: View, Equatable {
static func == (lhs: MovieRow, rhs: MovieRow) -> Bool {
lhs.movies == rhs.movies || lhs.actors == rhs.actors
}
var movies: [[Movie]]?
var actors: [[Actor]]?
var displayLimit: Int = 9
private let columnSize = [ GridItem(.adaptive(minimum: 150)) ]
var body: some View {
// MARK: If Movie
if let movieArray = movies {
LazyVGrid(columns: columnSize, alignment: .center, spacing: 20) {
ForEach(0..<movieArray.count, id: \.self) { i in
if i <= displayLimit {
ForEach(movieArray[i], id: \.self) { movie in
NavigationLink(destination: MovieDetail(movieID: Int(movie.uuid),
movieTitle: movie.title ?? "",
movieOverview: movie.overview ?? "",
posterPath: movie.imagePath ?? "",
rating: movie.rating,
releaseDate: movie.releaseDate ?? "").equatable() ,
label: {
ImageCard(url: URL(string: MovieStoreKey.imageURL.rawValue + (movie.imagePath ?? "")), movie: movie)
})
}
}
}
} // ForEach
.padding()
} else if let actors = actors {
LazyVGrid(columns: columnSize, alignment: .center, spacing: 20) {
// MARK: If Actor
ForEach(0..<actors.count, id: \.self) { i in
if i <= displayLimit {
ForEach(actors[i], id: \.self) { actor in
let imagePath = MovieStoreKey.imageURL.rawValue + (actor.imagePath ?? "")
NavigationLink(destination: ActorDetail(image: imagePath,
actorID: Int(actor.id),
name: actor.name ?? "",
actor: actor,
isFavorite: actor.isFavorite) ,
label: {
ImageCard(url: URL(string: imagePath),
actor: actor)
})
} // ForEach
} // if
} // ForEach
}
.padding()
}
}
}
| [
-1
] |
8891eeeeb1d218c6c092933287bf9fd2a02a8911 | 33962285c654515e98878c2fbce79a2ac18e3944 | /SoundGood/Data/Source/Remote/API/Request/SearchRequest.swift | fc1f87000fd2d6df7400270667c0eb6cc364da54 | [] | no_license | awesome-academy/SoundGood | d134ea45a80adcc5edbaa006dc0e71f7019d4258 | 5c61369a0968c508e49f26c8158851051aab2bce | refs/heads/master | 2020-07-08T13:45:53.923889 | 2019-09-09T01:48:10 | 2019-09-09T01:48:10 | 203,692,710 | 1 | 1 | null | 2019-09-09T01:48:11 | 2019-08-22T01:40:19 | Swift | UTF-8 | Swift | false | false | 417 | swift | //
// SearchRequest.swift
// SoundGood
//
// Created by Dang Thanh Dat on 9/4/19.
// Copyright © 2019 Sun Asterisk. All rights reserved.
//
final class SearchRequest: BaseRequest {
required init(url: String, keyword: String, limit: Int) {
let body: [String: Any] = ["q": keyword,
"limit": limit]
super.init(url: url, requestType: .get, body: body)
}
}
| [
-1
] |
8d5701d005505e53d9408b8cb79145bac71647bb | b801394afd2989102ab0277b50134e67670eb0ea | /'ZaHunter/ViewController.swift | 28cfa9f9f3ab2d969a4be2c7f10f7d432fc8e917 | [] | no_license | jrivera0325/-ZaHunter | 2aae8322b5a9ff19c49e0b82652ed114e79f38cc | b305ff94320c29bdd9ac0a8dad0bbf964801015a | refs/heads/master | 2020-05-04T17:47:41.065405 | 2019-04-04T16:17:58 | 2019-04-04T16:17:58 | 179,326,813 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 1,703 | swift | //
// ViewController.swift
// 'ZaHunter
//
// Created by Julio Rivera on 4/3/19.
// Copyright © 2019 John Hersey High School. All rights reserved.
//
import UIKit
import MapKit
class ViewController: UIViewController, CLLocationManagerDelegate, MKMapViewDelegate {
@IBOutlet weak var mapView: MKMapView!
let locationManager = CLLocationManager()
var currentLocation: CLLocation!
var pizzas: [MKMapItem] = []
var initialRegion: MKCoordinateRegion!
var isInitialMapLoad = true
func mapViewDidFinishLoadingMap(_ mapView: MKMapView) {
if isInitialMapLoad {
initialRegion = MKCoordinateRegion(center: mapView.centerCoordinate, span: mapView.region.span)
isInitialMapLoad = false
}
}
override func viewDidLoad() {
super.viewDidLoad()
locationManager.requestWhenInUseAuthorization()
mapView.showsUserLocation = true
locationManager.delegate = self
locationManager.desiredAccuracy = kCLLocationAccuracyBest
locationManager.startUpdatingLocation()
mapView.delegate = self
}
func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
currentLocation = locations[0]
}
@IBAction func zoomButton(_ sender: UIBarButtonItem) {
let center = currentLocation.coordinate
let span = MKCoordinateSpan(latitudeDelta: 0.05, longitudeDelta: 0.05)
let region = MKCoordinateRegion(center: center, span: span)
mapView.setRegion(region, animated: true)
}
@IBAction func pizzaNearMe(_ sender: UIBarButtonItem) {
}
}
| [
-1
] |
e198c62238f250d2cc2fd7ee0b28a9b810801b51 | 9ac3a32fd46cb84cf7c58d1dc00bdb48f1fe899f | /cents/SplitSelf.swift | be5c1c312417578f45680f0a45eda564fa2e9efc | [] | no_license | iminier/More-Bang-iOS-App | 7c850ea273b71acfd5cb2be6e8c2ad4e413d2406 | 23def4f248662a9d68e60fc2174a8483a49980b1 | refs/heads/Master | 2022-10-29T10:38:56.189812 | 2019-09-02T18:24:22 | 2019-09-02T18:24:22 | 97,055,184 | 1 | 0 | null | 2022-10-06T06:48:04 | 2017-07-12T21:56:04 | Swift | UTF-8 | Swift | false | false | 498 | swift | //
// SplitSelf.swift
// cents
//
// Created by Ivan Minier on 7/13/17.
// Copyright © 2017 Ivan Minier. All rights reserved.
//
protocol SplitSelf {
func dividePriceByWeight(item: ItemToCompare) -> Float
}
extension SplitSelf {
func dividePriceByWeight(item: ItemToCompare) -> Float {
let itemPrice = item.price
let itemWeight = item.weight
let quotient = itemPrice / itemWeight
return quotient
}
}
| [
-1
] |
3564dea2a47045121df39e59a0d19d19e2f1e092 | 8ffcf110a34dd90b727825877c43b5b7a8f658c6 | /2 - Web Scrapping/iOS Scrapping/Musixcrape/Musixcrape/ViewControllers/ViewController.swift | 3db21f34b0083dfbbdf8e40ddcbadac65920df8a | [] | no_license | ColeMacGrath/SwiftFromScratch | 9972cdbd78e4acef8a8768c9547b0ce3781f2931 | ff1d0075d1807989d911cf9e4ecf68353cd0243d | refs/heads/2019 | 2022-08-30T03:16:59.694594 | 2019-11-26T04:06:35 | 2019-11-26T04:06:35 | 203,475,826 | 1 | 0 | null | 2022-07-27T20:50:54 | 2019-08-21T00:35:29 | C++ | UTF-8 | Swift | false | false | 1,991 | swift | //
// ViewController.swift
// Musixcrape
//
// Created by Moisés Córdova on 09/10/19.
// Copyright © 2019 Moisés Córdova. All rights reserved.
//
import UIKit
import Kanna
import Alamofire
class ViewController: UIViewController {
@IBOutlet weak var collectionView: UICollectionView!
var songFactory: SongFactory!
override func viewDidLoad() {
super.viewDidLoad()
NotificationCenter.default.addObserver(self, selector: #selector(reloadData), name: Notification.Name("parsedPopular"), object: nil)
songFactory = SongFactory(popularURL: "https://www.musixmatch.com")
self.navigationController?.navigationBar.shadowImage = UIImage()
}
@objc func reloadData() {
self.collectionView.reloadData()
}
}
extension ViewController: UICollectionViewDataSource, UICollectionViewDelegate {
func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
return songFactory.songs.count
}
func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "coverCell", for: indexPath) as! CoverCollectionViewCell
let song = songFactory.songs[indexPath.row]
cell.coverUIImageView.downloadedFrom(link: song.imageLink ?? "")
cell.artistLabel.text = song.artist
cell.songLabel.text = song.name
return cell
}
func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
let SelectedSong = songFactory.songs[indexPath.row]
if let viewController = storyboard?.instantiateViewController(withIdentifier: "lyricsVC") as? LyricsViewController {
viewController.song = SelectedSong
viewController.modalPresentationStyle = .fullScreen
present(viewController, animated: true)
}
}
}
| [
-1
] |
2a29bab03abd9eb4546006d5da4ddb9caeba4010 | 9137cf9aa62a50d9b1b8c5ffd78ef2332fb2b8f5 | /MovieDB-SwiftRedux/Reducers/CastReducer.swift | 657068bf54fa0f8579abe6aff72ca7c96ad3fba2 | [] | no_license | lucaslimapoa/MovieDB-SwiftRedux | 1243151ee563c8f019ee3b6cef38a0aa6addfee8 | 361abf052bb73fe96ef8db65f4855f780bab8e67 | refs/heads/main | 2023-07-10T16:29:39.739437 | 2021-08-23T23:27:26 | 2021-08-23T23:29:26 | 390,150,269 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 513 | swift | //
// CastReducer.swift
// MovieDB-SwiftRedux
//
// Created by Lucas Lima on 24.08.21.
//
import Foundation
import SwiftRedux
struct CastReducer: Reducer {
func reduce(state: inout LoadableModel<[Actor]>, action: CastAction) {
switch action {
case .success(let cast):
state = .loaded(cast)
case .error:
state = .error
case .loading:
state = .loading(state.items)
case .reset:
state = .loading(nil)
}
}
}
| [
-1
] |
e50362bd74cd1975021b86fe56e191cab0ce0a58 | 7fed2db21ea984bab8877a7eacfe208b197f7416 | /Moovies/Ultis/API/Model/Movie/Movie.swift | eedccabb9e5dcff8db46f751f745944dafa69245 | [] | no_license | biaplutarco/Moovies | d3db0bab08e47858c8b02161e1b2bc3e5ae86e8b | 2b49c985c9a411114e7062b425e00cc7f8c50b6b | refs/heads/master | 2020-09-05T11:16:54.657580 | 2019-11-20T01:56:34 | 2019-11-20T01:56:34 | 220,086,607 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 492 | swift | //
// Movie.swift
// Moovies
//
// Created by aluno on 06/11/19.
// Copyright © 2019 aluno. All rights reserved.
//
import Foundation
struct Movie: Codable, Equatable {
var id: Int
var title: String
var overview: String
var posterPath: String?
enum CodingKeys: String, CodingKey {
case id, title, overview
case posterPath = "poster_path"
}
static func == (lhs: Movie, rhs: Movie) -> Bool {
return lhs.id == rhs.id
}
}
| [
-1
] |
4bdac8e137fe6031ca0cf501a11cde681330a350 | d0f1e324a487ab87b289ddbe3081b26fe78810b7 | /algorithms/AI/minimax/Sources/Minimax.playground/Sources/Model/Board/BoardPosition.swift | 4599da3af4aa5412b6edf9e8175f9dec860ce6ed | [] | no_license | ArnavMotwani/Swift | bbd90e8d6dcd596238a585baaa96c3b503e615fc | 32470463dd851ce5c5a55dadc944a12d76b24bd9 | refs/heads/master | 2023-08-31T22:22:07.580385 | 2021-10-14T07:13:52 | 2021-10-14T07:13:52 | 417,024,792 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 52 | swift | public typealias Position = (row: Int, column: Int)
| [
-1
] |
7811104d84b7a26b3e892f20001c330ba972dee2 | ca7c8ff7b8cdc32e604ef420b78e0cf1b3ab4861 | /RefreshCollectionNodeDemo/RefreshCollectionNodeDemo/Timeline/UserInfoNode.swift | 046d4b572847d569e294e71f4619d23b16ec27bd | [] | no_license | shevakuilin/RefreshCollectionNodeDemo | d57f4d0968277ba0f57f8577786b3d6c91062819 | 6a80985a46a8dbddfcad58fc6aee00470c670a98 | refs/heads/master | 2021-05-10T15:53:07.898593 | 2018-02-12T06:31:40 | 2018-02-12T06:31:40 | 118,565,250 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 4,213 | swift | //
// UserInfoNode.swift
// RefreshCollectionNodeDemo
//
// Created by ShevaKuilin on 2018/1/23.
// Copyright © 2018年 ShevaKuilin. All rights reserved.
//
import AsyncDisplayKit
class UserInfoNode: ASDisplayNode {
let avatarImage = MyNetImageNode()
let userNameNode = ASTextNode()
let userIntroNode = ASTextNode()
struct ElementSize {
static let avatarHeight: CGFloat = 38
static let avatarWidth: CGFloat = 38
static let followHeight: CGFloat = 25
static let followWidth: CGFloat = 51
static let userNameWidth: CGFloat = UIScreenAttribute.width - 128 // 屏幕宽 - 用户名两边距[58 + 70]
static let userIntroWidth: CGFloat = UIScreenAttribute.width - 128
}
struct ElementRadius {
static let avatarRadius: CGFloat = 19
}
struct ElementSpacing {
static let avatarSpacing: CGFloat = 14
static let userIntroSpacing: CGFloat = 5
static let followSpacing: CGFloat = 14
}
override init() {
super.init()
self.automaticallyManagesSubnodes = true
setUI()
}
override func didLoad() {
super.didLoad()
avatarImage.isUserInteractionEnabled = true
avatarImage.addTarget(self, action: #selector(clickAvatarImage), forControlEvents: .touchUpInside)
userNameNode.isUserInteractionEnabled = true
userNameNode.addTarget(self, action: #selector(clickUserName), forControlEvents: .touchUpInside)
}
private func setUI() {
avatarImage.backgroundColor = ASDisplayNodeDefaultPlaceholderColor()
avatarImage.style.width = ASDimensionMakeWithPoints(ElementSize.avatarWidth)
avatarImage.style.height = ASDimensionMakeWithPoints(ElementSize.avatarHeight)
avatarImage.cornerRadius = ElementRadius.avatarRadius
avatarImage.url = URL(string: "https://avatars0.githubusercontent.com/u/724423?v=3&s=96")
self.addSubnode(avatarImage)
userNameNode.style.width = ASDimensionMakeWithPoints(ElementSize.userNameWidth)
userNameNode.attributedText = NSAttributedString(string: "Andry Shevchenko", attributes: kAttributedStyle(kFont(15, true), kColor(39, 91, 140)))
self.addSubnode(userNameNode)
userIntroNode.style.width = ASDimensionMakeWithPoints(ElementSize.userIntroWidth)
userIntroNode.attributedText = NSAttributedString(string: "前锋 @AC米兰 · 13小时前", attributes: kAttributedStyle(kFont(12), kColor(138, 154, 169)))
self.addSubnode(userIntroNode)
}
@objc private func clickAvatarImage() {
printLog("点击用户头像 !!")
}
@objc private func clickUserName() {
printLog("点击用户名称 !!")
}
override func layoutSpecThatFits(_ constrainedSize: ASSizeRange) -> ASLayoutSpec {
let leftHorizontalStackSpec = ASStackLayoutSpec(direction: .horizontal,
spacing: ElementSpacing.avatarSpacing,
justifyContent: .start,
alignItems: .start,
children: [avatarImage])
let verticalStackSpec = ASStackLayoutSpec(direction: .vertical,
spacing: ElementSpacing.userIntroSpacing,
justifyContent: .start,
alignItems: .start,
children: [userNameNode, userIntroNode])
let stackSpec = ASStackLayoutSpec(direction: .horizontal,
spacing: 10,
justifyContent: .start,
alignItems: .center,
children: [leftHorizontalStackSpec,
verticalStackSpec])
return ASInsetLayoutSpec(insets: UIEdgeInsetsMake(0, 10, 0, 0), child: stackSpec)
}
}
| [
-1
] |
303587c6c9673f46a4003ba243098b6130a0fa19 | fd46071fcae9e661afc58c39f9de422302477d76 | /Example/JPPageView/AppDelegate.swift | 51a85c1c2ba390952d0446ddba1ed3d716bc4ac5 | [
"MIT"
] | permissive | Rogue24/JPPageView | 217a747ce3a148a355777b4537ca7951d03ffef1 | 35b1ce9416283eb649d5ae109225fd96953ddc35 | refs/heads/master | 2020-03-24T02:22:49.322393 | 2018-07-27T08:59:27 | 2018-07-27T08:59:27 | 142,373,484 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 2,168 | swift | //
// AppDelegate.swift
// JPPageView
//
// Created by Rogue24 on 07/26/2018.
// Copyright (c) 2018 Rogue24. All rights reserved.
//
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
return true
}
func applicationWillResignActive(_ application: UIApplication) {
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
}
func applicationDidEnterBackground(_ application: UIApplication) {
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}
func applicationWillEnterForeground(_ application: UIApplication) {
// Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
}
func applicationDidBecomeActive(_ application: UIApplication) {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}
func applicationWillTerminate(_ application: UIApplication) {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
}
| [
229380,
229383,
229385,
278539,
229388,
294924,
278542,
229391,
327695,
278545,
229394,
278548,
229397,
229399,
229402,
278556,
229405,
352284,
278559,
229408,
278564,
294950,
229415,
229417,
327722,
237613,
229422,
360496,
229426,
237618,
229428,
286774,
319544,
204856,
229432,
286776,
286778,
352318,
286791,
237640,
278605,
286797,
311375,
163920,
237646,
196692,
319573,
311383,
278623,
278626,
319590,
311400,
278635,
303212,
278639,
131192,
278648,
237693,
327814,
131209,
303241,
417930,
311436,
303244,
319633,
286873,
286876,
311460,
311469,
32944,
327862,
286906,
327866,
180413,
286910,
131264,
286916,
286922,
286924,
286926,
319694,
286928,
131281,
278743,
278747,
295133,
155872,
319716,
237807,
303345,
286962,
131314,
229622,
327930,
278781,
278783,
278785,
237826,
319751,
278792,
286987,
319757,
311569,
286999,
319770,
287003,
287006,
287009,
287012,
287014,
287016,
287019,
311598,
287023,
262448,
311601,
287032,
155966,
278849,
319809,
319810,
319814,
311623,
319818,
311628,
229709,
319822,
287054,
278865,
229717,
196963,
196969,
139638,
213367,
106872,
319872,
311683,
319879,
311693,
65943,
319898,
311719,
278952,
139689,
278957,
311728,
278967,
180668,
311741,
278975,
319938,
278980,
98756,
278983,
319945,
278986,
319947,
278990,
278994,
311767,
279003,
279006,
188895,
172512,
279010,
287202,
279015,
172520,
319978,
279020,
172526,
279023,
311791,
172529,
279027,
319989,
164343,
180727,
279035,
311804,
287230,
279040,
303617,
287234,
279045,
287238,
172550,
303623,
320007,
172552,
279051,
172558,
279055,
303632,
279058,
303637,
279063,
279067,
172572,
279072,
172577,
295459,
172581,
295461,
279082,
311850,
279084,
172591,
172598,
279095,
172607,
172609,
172612,
377413,
172614,
172618,
303690,
33357,
287309,
279124,
172634,
262752,
172644,
311911,
189034,
295533,
189039,
189040,
172655,
172656,
352880,
189044,
172660,
295538,
287349,
287355,
287360,
295553,
287365,
295557,
311942,
303751,
352905,
279178,
287371,
311946,
311951,
287377,
172691,
287381,
311957,
221850,
287386,
230045,
287390,
295583,
303773,
172705,
287394,
164509,
303780,
172702,
287398,
172707,
287400,
279208,
172714,
295595,
279212,
189102,
172721,
287409,
66227,
303797,
189114,
287419,
303804,
328381,
279231,
328384,
287423,
287427,
312006,
107208,
107212,
172748,
287436,
172751,
287440,
295633,
172755,
303827,
279255,
172760,
287450,
303835,
279258,
189149,
303838,
213724,
279267,
312035,
295654,
279272,
312048,
230128,
312050,
230131,
205564,
303871,
230146,
328453,
295685,
230154,
33548,
312077,
295695,
295701,
369433,
230169,
295707,
328476,
295710,
230175,
303914,
279340,
205613,
279353,
230202,
312124,
222018,
295755,
377676,
148302,
287569,
303959,
230237,
279390,
230241,
279394,
303976,
336744,
303985,
328563,
303987,
279413,
303991,
303997,
295806,
295808,
304005,
295813,
304007,
320391,
213895,
304009,
304011,
230284,
304013,
213902,
279438,
189325,
189329,
295822,
189331,
304019,
279445,
58262,
304023,
295825,
279452,
234648,
410526,
279461,
279462,
304042,
213931,
304055,
230327,
287675,
197564,
304063,
238528,
304065,
189378,
213954,
156612,
295873,
213963,
312272,
304084,
304090,
320481,
304106,
320490,
312302,
328687,
320496,
304114,
295928,
320505,
312321,
295945,
295949,
197645,
230413,
320528,
140312,
295961,
238620,
197663,
304164,
189479,
304170,
238641,
312374,
238652,
238655,
230465,
238658,
296004,
132165,
336964,
205895,
320584,
238666,
296021,
402518,
336987,
230497,
296036,
361576,
296040,
205931,
296044,
164973,
205934,
279661,
312432,
279669,
337018,
189562,
279679,
279683,
222340,
205968,
296084,
238745,
304285,
238756,
205991,
222377,
165035,
337067,
165038,
238766,
230576,
238770,
304311,
230592,
279750,
312518,
230600,
230607,
148690,
320727,
279769,
304348,
279777,
304354,
296163,
320740,
279781,
304360,
320748,
279788,
279790,
304370,
296189,
320771,
312585,
296202,
296205,
230674,
320786,
230677,
296213,
296215,
320792,
230681,
230679,
214294,
304416,
230689,
173350,
312622,
296243,
312630,
222522,
222525,
296253,
296255,
312639,
230718,
296259,
378181,
296262,
230727,
296264,
238919,
320840,
296267,
296271,
222545,
230739,
312663,
337244,
222556,
230752,
312676,
230760,
173418,
410987,
230763,
230768,
296305,
312692,
230773,
304505,
181626,
304506,
279929,
181631,
312711,
312712,
296331,
288140,
230800,
288144,
304533,
337306,
288154,
288160,
173472,
288162,
288164,
279975,
304555,
370092,
279983,
173488,
288176,
279985,
312755,
296373,
312759,
337335,
288185,
279991,
222652,
312766,
173507,
296389,
222665,
230860,
312783,
288208,
230865,
288210,
370130,
288212,
280021,
288214,
222676,
239064,
288217,
288218,
280027,
288220,
329177,
239070,
288224,
288226,
370146,
280036,
288229,
280038,
288230,
288232,
280034,
288234,
320998,
288236,
288238,
288240,
288242,
296435,
288244,
288250,
148990,
321022,
206336,
402942,
296446,
296450,
230916,
230919,
214535,
370187,
304651,
304653,
402969,
230940,
222752,
108066,
296486,
296488,
157229,
230961,
288320,
288325,
124489,
280140,
280145,
288338,
280149,
280152,
288344,
239194,
280158,
403039,
370272,
181854,
239202,
370279,
312938,
280183,
280185,
280188,
280191,
280194,
116354,
280208,
280211,
288408,
280218,
280222,
419489,
190118,
321195,
296622,
321200,
337585,
296626,
296634,
296637,
419522,
313027,
280260,
419525,
280264,
206536,
206539,
206541,
206543,
280276,
313044,
321239,
280283,
18140,
313052,
288478,
313055,
321252,
313066,
280302,
288494,
280304,
313073,
419570,
288499,
321266,
288502,
280314,
288510,
124671,
67330,
280324,
198405,
288519,
280331,
198416,
280337,
296723,
116503,
321304,
329498,
296731,
321311,
313121,
313123,
304932,
321316,
280363,
141101,
165678,
280375,
321336,
296767,
288576,
345921,
280388,
337732,
304968,
280393,
194130,
280402,
173907,
313176,
42842,
280419,
321381,
296812,
313201,
1920,
255873,
305028,
280454,
247688,
280464,
124817,
280468,
239510,
280473,
124827,
214940,
247709,
214944,
280487,
313258,
321458,
296883,
124853,
214966,
10170,
296890,
288700,
296894,
280515,
190403,
296900,
337862,
165831,
280521,
231379,
296921,
354265,
354270,
239586,
313320,
354281,
231404,
124913,
165876,
321528,
313340,
239612,
288764,
239617,
313347,
288773,
313358,
305176,
321560,
313371,
354338,
305191,
223273,
313386,
354348,
124978,
215090,
124980,
288824,
288826,
321595,
378941,
313406,
288831,
288836,
67654,
280651,
354382,
288848,
280658,
215123,
354390,
288855,
288859,
280669,
313438,
280671,
149599,
149601,
321634,
149603,
223327,
329830,
280681,
313451,
223341,
280687,
215154,
280691,
313458,
313464,
329850,
321659,
280702,
288895,
321670,
215175,
141446,
288909,
141455,
141459,
280725,
313498,
100520,
288936,
280747,
288940,
280755,
288947,
321717,
280759,
280764,
280769,
280771,
280774,
280776,
321740,
313548,
280783,
280786,
280788,
313557,
280793,
280796,
280798,
338147,
280804,
280807,
157930,
280811,
280817,
125171,
157940,
280819,
182517,
280823,
280825,
280827,
280830,
280831,
280833,
125187,
280835,
125191,
125207,
125209,
321817,
125218,
321842,
223539,
125239,
280888,
280891,
289087,
280897,
280900,
239944,
305480,
280906,
239947,
305485,
305489,
379218,
280919,
248153,
215387,
354653,
313700,
313705,
280937,
190832,
280946,
223606,
313720,
280956,
239997,
280959,
313731,
240011,
199051,
289166,
240017,
297363,
190868,
297365,
240021,
297368,
297372,
141725,
297377,
289186,
297391,
289201,
240052,
289207,
305594,
289210,
281024,
289218,
289221,
289227,
436684,
281045,
281047,
215526,
166378,
305647,
281075,
174580,
281084,
240124,
305662,
305664,
240129,
305666,
305668,
223749,
330244,
281095,
223752,
338440,
150025,
240132,
223757,
281102,
223763,
223765,
281113,
322074,
281116,
281121,
182819,
281127,
281135,
150066,
158262,
158266,
289342,
281154,
322115,
158283,
281163,
281179,
199262,
338528,
338532,
281190,
199273,
281196,
158317,
19053,
313973,
297594,
281210,
158347,
264845,
182926,
133776,
182929,
314003,
117398,
314007,
289436,
174754,
330404,
289448,
133801,
174764,
314029,
314033,
240309,
133817,
314045,
314047,
314051,
199364,
297671,
158409,
289493,
363234,
289513,
289522,
289525,
289532,
322303,
289537,
322310,
264969,
322314,
322318,
281361,
281372,
322341,
215850,
281388,
207661,
289593,
281401,
289601,
281410,
281413,
281414,
240458,
281420,
240468,
281430,
322393,
297818,
281435,
281438,
281442,
174955,
224110,
207733,
207737,
183172,
158596,
338823,
322440,
314249,
240519,
183184,
240535,
289687,
224151,
297883,
289694,
289696,
289700,
289712,
281529,
289724,
52163,
183260,
420829,
281567,
289762,
322534,
297961,
183277,
281581,
322550,
134142,
322563,
330764,
175134,
322599,
322610,
314421,
281654,
314427,
314433,
207937,
314441,
207949,
322642,
314456,
281691,
314461,
281702,
281704,
314474,
281708,
281711,
289912,
248995,
306341,
306344,
306347,
306354,
142531,
199877,
289991,
306377,
289997,
249045,
363742,
363745,
298216,
330988,
126190,
216303,
322801,
388350,
257302,
363802,
199976,
199978,
314671,
298292,
298294,
257334,
216376,
298306,
380226,
224584,
224587,
224594,
216404,
306517,
150870,
314714,
224603,
159068,
314718,
265568,
314723,
281960,
150890,
306539,
314732,
314736,
290161,
308418,
216436,
306549,
298358,
314743,
306552,
306555,
314747,
298365,
290171,
290174,
224641,
281987,
314756,
298372,
281990,
224647,
265604,
298377,
314763,
142733,
298381,
314768,
224657,
306581,
314773,
314779,
314785,
282025,
314793,
282027,
241068,
241070,
241072,
282034,
241077,
150966,
298424,
306618,
282044,
323015,
306635,
306640,
290263,
290270,
290275,
339431,
282089,
191985,
282098,
290291,
282101,
241142,
191992,
290298,
151036,
290302,
282111,
290305,
175621,
192008,
323084,
257550,
282127,
290321,
282130,
323090,
282133,
290325,
241175,
290328,
282137,
290332,
241181,
282142,
282144,
290344,
306731,
290349,
290351,
290356,
28219,
282186,
224849,
282195,
282199,
282201,
306778,
159324,
159330,
314979,
298598,
323176,
224875,
241260,
323181,
257658,
315016,
282249,
290445,
282255,
282261,
175770,
298651,
323229,
282269,
298655,
323231,
61092,
282277,
306856,
282295,
282300,
323260,
323266,
282310,
323273,
282319,
306897,
241362,
282328,
306904,
298714,
52959,
282337,
216801,
241380,
216806,
323304,
282345,
12011,
282356,
323318,
282364,
282367,
306945,
241412,
323333,
282376,
216842,
323345,
282388,
323349,
282392,
184090,
315167,
315169,
282402,
315174,
323367,
241448,
315176,
241450,
282410,
306988,
306991,
315184,
323376,
315190,
241464,
159545,
282425,
298811,
307009,
413506,
241475,
307012,
298822,
148946,
315211,
282446,
307027,
315221,
323414,
315223,
241496,
241498,
307035,
307040,
282465,
110433,
241509,
110438,
298860,
110445,
282478,
282481,
110450,
315251,
315249,
315253,
315255,
339838,
282499,
315267,
315269,
241544,
282505,
241546,
241548,
298896,
282514,
298898,
241556,
298901,
44948,
282520,
241560,
241563,
241565,
241567,
241569,
282531,
241574,
282537,
298922,
36779,
241581,
282542,
241583,
323504,
241586,
282547,
241588,
290739,
241590,
241592,
241598,
290751,
241600,
241605,
151495,
241610,
298975,
241632,
241640,
298984,
241643,
298988,
241646,
241649,
241652,
323574,
290807,
241661,
299006,
282623,
315396,
241669,
315397,
282632,
282639,
290835,
282645,
241693,
282654,
241701,
102438,
217127,
282669,
323630,
282681,
290877,
282687,
159811,
315463,
315466,
192589,
307278,
192596,
176213,
307287,
315482,
315483,
217179,
192605,
233567,
200801,
299105,
217188,
299109,
307303,
315495,
356457,
307307,
45163,
315502,
192624,
307314,
323700,
299126,
233591,
299136,
307329,
307338,
233613,
241813,
307352,
299164,
184479,
299167,
184481,
315557,
184486,
307370,
307372,
184492,
307374,
307376,
323763,
176311,
299191,
307385,
307386,
258235,
307388,
176316,
307390,
184503,
299200,
184512,
307394,
307396,
299204,
184518,
307399,
323784,
307409,
307411,
176343,
299225,
233701,
307432,
184572,
282881,
184579,
282893,
291089,
282906,
291104,
233766,
176435,
307508,
315701,
307510,
332086,
151864,
307512,
168245,
307515,
282942,
307518,
151874,
282947,
323917,
110926,
282957,
233808,
323921,
315733,
323926,
233815,
315739,
323932,
299357,
242018,
242024,
299373,
315757,
250231,
242043,
315771,
299388,
299391,
291202,
299398,
242057,
291212,
299405,
291222,
315801,
291226,
242075,
283033,
291231,
61855,
283042,
291238,
291241,
194657,
127403,
127405,
127407,
291247,
299440,
299444,
127413,
283062,
291254,
194660,
127417,
291260,
283069,
127421,
127424,
299457,
127429,
127431,
176592,
315856,
315860,
176597,
283095,
127447,
299481,
176605,
242143,
291299,
340454,
127463,
242152,
291305,
127466,
176620,
127474,
291314,
291317,
135672,
233979,
291323,
127485,
291330,
283142,
127497,
233994,
135689,
291341,
233998,
127506,
234003,
234006,
127511,
152087,
283161,
242202,
234010,
135707,
135710,
242206,
242208,
291361,
242220,
291378,
152118,
234038,
234041,
315961,
70213,
242250,
111193,
242275,
299620,
242279,
168562,
184952,
135805,
291456,
135808,
373383,
299655,
135820,
316051,
225941,
316054,
299672,
135834,
373404,
299677,
225948,
135839,
299680,
225954,
135844,
299684,
242343,
209576,
242345,
373421,
135870,
135873,
135876,
135879,
299720,
299723,
299726,
225998,
226002,
119509,
226005,
226008,
242396,
299740,
201444,
299750,
283368,
234219,
283372,
381677,
185074,
226037,
283382,
316151,
234231,
234236,
226045,
242431,
234239,
209665,
234242,
299778,
242436,
226053,
234246,
226056,
234248,
291593,
242443,
234252,
242445,
234254,
291601,
242450,
234258,
242452,
234261,
348950,
201496,
234264,
234266,
291608,
283421,
234269,
234272,
234274,
152355,
234278,
299814,
283432,
234281,
234284,
234287,
283440,
185138,
242483,
234292,
234296,
234298,
283452,
160572,
234302,
234307,
242499,
234309,
316233,
234313,
316235,
234316,
283468,
242511,
234319,
234321,
234324,
201557,
185173,
234329,
234333,
308063,
234336,
234338,
349027,
242530,
234341,
234344,
234347,
177004,
234350,
324464,
234353,
152435,
177011,
234356,
234358,
234362,
226171,
234364,
291711,
234368,
234370,
201603,
291714,
234373,
316294,
226182,
234375,
308105,
226185,
234379,
291716,
234384,
234388,
234390,
226200,
234393,
209818,
308123,
324504,
324508,
234396,
234398,
291742,
234401,
291747,
291748,
234405,
291750,
234407,
324520,
324518,
234410,
291754,
226220,
291756,
324522,
324527,
291760,
234417,
201650,
324531,
234414,
234422,
226230,
324536,
275384,
234428,
291773,
234431,
242623,
324544,
324546,
234434,
324548,
226245,
234437,
234439,
226239,
234443,
291788,
193486,
234446,
193488,
234449,
275406,
316370,
234452,
234455,
234459,
234461,
234464,
234467,
234470,
168935,
5096,
324585,
234475,
234478,
316400,
234481,
316403,
234484,
234485,
324599,
234487,
234490,
234493,
234496,
316416,
234501,
275462,
308231,
234504,
234507,
234510,
234515,
300054,
234519,
316439,
234520,
234523,
234526,
234528,
300066,
234532,
300069,
234535,
234537,
234540,
144430,
234543,
234546,
275508,
234549,
300085,
300088,
234553,
234556,
234558,
316479,
234561,
308291,
316483,
234563,
234568,
234570,
316491,
300108,
234572,
234574,
300115,
234580,
234581,
242777,
234585,
275545,
234590,
234593,
234595,
300133,
234597,
234601,
300139,
234605,
160879,
234607,
275569,
234610,
300148,
234614,
398455,
144506,
234618,
275579,
234620,
234623,
226433,
234627,
275588,
234629,
242822,
234634,
234636,
177293,
234640,
275602,
234643,
226453,
308373,
234647,
275608,
275606,
234650,
308379,
324757,
283805,
234653,
300189,
119967,
324766,
324768,
234657,
242852,
283813,
234661,
177318,
234664,
300197,
275626,
234667,
316596,
308414,
300223,
234687,
316610,
300226,
283844,
300229,
308420,
308422,
226500,
234692,
283850,
300234,
300238,
300241,
316625,
300243,
300245,
316630,
300248,
300253,
300256,
300258,
300260,
234726,
300263,
300265,
300267,
161003,
300270,
300272,
120053,
300278,
316663,
275703,
300284,
275710,
300287,
300289,
292097,
161027,
300292,
300294,
275719,
177419,
300299,
283917,
242957,
300301,
177424,
349451,
275725,
349464,
415009,
283939,
259367,
283951,
292143,
300344,
226617,
243003,
283963,
226628,
283973,
300357,
177482,
283983,
316758,
357722,
316766,
316768,
292192,
218464,
292197,
316774,
243046,
218473,
284010,
324978,
136562,
275834,
333178,
275836,
275840,
316803,
316806,
226696,
316811,
226699,
316814,
226703,
300433,
234899,
226709,
357783,
316824,
316826,
144796,
300448,
144807,
144810,
144812,
284076,
144814,
144820,
284084,
284087,
292279,
144826,
144828,
144830,
144832,
284099,
144835,
144837,
38342,
144839,
144841,
144844,
144847,
144852,
144855,
103899,
300507,
333280,
226787,
218597,
292329,
300523,
259565,
259567,
308720,
300527,
226802,
316917,
308727,
292343,
300537,
316933,
316947,
308757,
308762,
284191,
284194,
284196,
235045,
284199,
284204,
284206,
284209,
284211,
284213,
194101,
284215,
316983,
194103,
284218,
226877,
284223,
284226,
284228,
292421,
226886,
284231,
128584,
243268,
284234,
366155,
317004,
276043,
284238,
226895,
284241,
292433,
284243,
276052,
284245,
300628,
284247,
317015,
235097,
243290,
284251,
276053,
284253,
300638,
284255,
284249,
243293,
284258,
292452,
292454,
284263,
177766,
284265,
292458,
284267,
292461,
284272,
284274,
276086,
284278,
292470,
292473,
284283,
276093,
284286,
276095,
284288,
292481,
284290,
325250,
284292,
292485,
292479,
276098,
284297,
317066,
284299,
317068,
276109,
284301,
284303,
284306,
276114,
284308,
284312,
284314,
284316,
276127,
284320,
284322,
284327,
276137,
284329,
317098,
284331,
284333,
284335,
276144,
284337,
284339,
300726,
284343,
284346,
284350,
358080,
276160,
284354,
358083,
276166,
284358,
358089,
284362,
276170,
276175,
284368,
276177,
284370,
358098,
284372,
317138,
284377,
276187,
284379,
284381,
284384,
284386,
358114,
358116,
276197,
317158,
358119,
284392,
325353,
284394,
358122,
284397,
276206,
284399,
358126,
358128,
358133,
358135,
276216,
358138,
300795,
358140,
284413,
358142,
284418,
317187,
358146,
317189,
317191,
284428,
300816,
300819,
317207,
284440,
186139,
300828,
300830,
276255,
325408,
300832,
300834,
317221,
227109,
358183,
186151,
276268,
300845,
194351,
243504,
300850,
284469,
276280,
325436,
358206,
276291,
366406,
276295,
300872,
153417,
292681,
284499,
276308,
284502,
317271,
178006,
276315,
292700,
284511,
227175,
292715,
300912,
284529,
292721,
300915,
284533,
292729,
317306,
284540,
292734,
325512,
169868,
276365,
284564,
358292,
284566,
317332,
399252,
350106,
284572,
276386,
284579,
276388,
358312,
284585,
317353,
276395,
292776,
292784,
276402,
358326,
161718,
276410,
276411,
358330,
276418,
276425,
301009,
301011,
301013,
292823,
301015,
301017,
358360,
292828,
276446,
153568,
276448,
276452,
276455,
292839,
350186,
292843,
276460,
276464,
178161,
276466,
227314,
276472,
325624,
350200,
317435,
276476,
276479,
276482,
350210,
276485,
317446,
178181,
276490,
350218,
292876,
350222,
317456,
276496,
317458,
243733,
317468,
243740,
317472,
325666,
243751,
292904,
276528,
178224,
243762,
309298,
325685,
325689,
235579,
325692,
235581,
178238,
276539,
276544,
284739,
243779,
292934,
243785,
276553,
350293,
350295,
309337,
194649,
227418,
194654,
227423,
350302,
178273,
227426,
309346,
309348,
350308,
227430,
276583,
309350,
350313,
309352,
301163,
350316,
309354,
276590,
292968,
227440,
350321,
284786,
276595,
301167,
350325,
350328,
292985,
301178,
292989,
301185,
292993,
350339,
317570,
317573,
350342,
350345,
350349,
301199,
317584,
325777,
350354,
350357,
350359,
350362,
276638,
350366,
284837,
153765,
350375,
350379,
350381,
350383,
129200,
350385,
350387,
350389,
350395,
350397,
350399,
227520,
350402,
227522,
301252,
350406,
227529,
309450,
301258,
276685,
309455,
276689,
309462,
301272,
276699,
309468,
194780,
309471,
301283,
317672,
317674,
325867,
243948,
194801,
227571,
309491,
309494,
243960,
227583,
276735,
227587,
276739,
211204,
276742,
227593,
227596,
325910,
309530,
342298,
276766,
211232,
317729,
276775,
211241,
325937,
325943,
211260,
260421,
276809,
285002,
276811,
235853,
276816,
235858,
276829,
276833,
391523,
276836,
276843,
293227,
276848,
293232,
186744,
211324,
227709,
285061,
366983,
317833,
178572,
285070,
285077,
178583,
227738,
317853,
276896,
317858,
342434,
285093,
317864,
285098,
276907,
235955,
276917,
293304,
293307,
293314,
309707,
293325,
129486,
317910,
293336,
235996,
317917,
293343,
358880,
276961,
227810,
293346,
276964,
293352,
236013,
293364,
301562,
293370,
317951,
309764,
301575,
121352,
236043,
317963,
342541,
55822,
113167,
317971,
309779,
309781,
277011,
55837,
227877,
227879,
293417,
227882,
309804,
293421,
105007,
236082,
285236,
23094,
277054,
244288,
219714,
129603,
318020,
301636,
301639,
301643,
277071,
285265,
399955,
309844,
277080,
309849,
285277,
285282,
326244,
318055,
277100,
309871,
121458,
277106,
170618,
170619,
309885,
309888,
277122,
227975,
285320,
277128,
301706,
318092,
326285,
334476,
318094,
277136,
277139,
227992,
318108,
285340,
318110,
227998,
137889,
383658,
285357,
318128,
277170,
342707,
154292,
277173,
318132,
293555,
285368,
277177,
277181,
318144,
277187,
277191,
277194,
277196,
277201,
342745,
137946,
342747,
113378,
203491,
228069,
277223,
342760,
285417,
56041,
56043,
56045,
277232,
228081,
56059,
310015,
285441,
310020,
285448,
310029,
228113,
285459,
277273,
293659,
326430,
228128,
293666,
285474,
228135,
318248,
277291,
318253,
293677,
285489,
301876,
293685,
285494,
301880,
285499,
301884,
310080,
293696,
277317,
277322,
277329,
162643,
310100,
301911,
301913,
277337,
301921,
400236,
236397,
162671,
326514,
310134,
277368,
15224,
236408,
416639,
416640,
113538,
310147,
416648,
39817,
187274,
277385,
301972,
424853,
277405,
277411,
310179,
293798,
293802,
236460,
277426,
276579,
293811,
293817,
293820,
203715,
326603,
342994,
276586,
293849,
293861,
228327,
228328,
228330,
318442,
228332,
326638,
277486,
351217,
318450,
293876,
293877,
285686,
302073,
285690,
244731,
121850,
293882,
302075,
293887,
277504,
277507,
277511,
277519,
293908,
293917,
293939,
318516,
277561,
277564,
310336,
7232,
293956,
277573,
228422,
310344,
277577,
293960,
277583,
203857,
310355,
293971,
310359,
236632,
277594,
138332,
277598,
285792,
203872,
277601,
310374,
203879,
310376,
228460,
318573,
203886,
187509,
285815,
285817,
367737,
302205,
285821,
392326,
285831,
253064,
302218,
285835,
294026,
384148,
162964,
187542,
302231,
285849,
302233,
285852,
302237,
285854,
285856,
302241,
285862,
277671,
302248,
64682,
277678,
294063,
294065,
302258,
277687,
294072,
318651,
294076,
277695,
318657,
244930,
302275,
130244,
302277,
228550,
302282,
310476,
302285,
302288,
310481,
302290,
203987,
302292,
302294,
302296,
384222,
310498,
285927,
318698,
302315,
195822,
228592,
294132,
138485,
204023,
228601,
204026,
228606,
204031,
64768,
310531,
285958,
228617,
138505,
318742,
204067,
277798,
130345,
277801,
113964,
285997,
384302,
285999,
277804,
113969,
277807,
277811,
318773,
318776,
277816,
286010,
277819,
294204,
417086,
277822,
286016,
302403,
294211,
384328,
277832,
277836,
146765,
294221,
326991,
294223,
277839,
277842,
277847,
277850,
179547,
277853,
146784,
277857,
302436,
277860,
294246,
327015,
310632,
327017,
351594,
277864,
277869,
277872,
351607,
310648,
277880,
310651,
277884,
277888,
310657,
310659,
351619,
294276,
327046,
277892,
253320,
310665,
318858,
277894,
277898,
277903,
310672,
351633,
277905,
277908,
277917,
310689,
277921,
130468,
228776,
277928,
277932,
310703,
277937,
310710,
130486,
310712,
277944,
310715,
277947,
302526,
228799,
277950,
277953,
64966,
245191,
163272,
302534,
310727,
277959,
277963,
302541,
277966,
302543,
310737,
277971,
286169,
228825,
163290,
277978,
310749,
277981,
277984,
310755,
277989,
277991,
187880,
277995,
310764,
286188,
278000,
228851,
310772,
278003,
278006,
40440,
212472,
278009,
40443,
286203,
310780,
40448,
228864,
286214,
228871,
302603,
65038,
302614,
286233,
302617,
302621,
187936,
146977,
286240,
187939,
40484,
294435,
40486,
286246,
286248,
40488,
278057,
40491,
245288,
294439,
294440,
310831,
294443,
294445,
40499,
40502,
212538,
40507,
40511,
40513,
228933,
40521,
286283,
40525,
40527,
400976,
212560,
228944,
40533,
147032,
40537,
40539,
278109,
40541,
40544,
40548,
40550,
286312,
286313,
40552,
40554,
310892,
40557,
40560,
188022,
122488,
294521,
343679,
310925,
286354,
278163,
302740,
122517,
278168,
179870,
327333,
229030,
212648,
278188,
302764,
278192,
319153,
278196,
302781,
319171,
302789,
294599,
278216,
302793,
294601,
343757,
212690,
278227,
286420,
319187,
229076,
286425,
319194,
278235,
229086,
278238,
286432,
294625,
294634,
302838,
319226,
286460,
171774,
278274,
302852,
278277,
302854,
311048,
294664,
352008,
319243,
311053,
302862,
319251,
302872,
294682,
278306,
188199,
294701,
278320,
319280,
319290,
229192,
302925,
188247,
188252,
237409,
294776,
360317,
294785,
327554,
360322,
40840,
40851,
294803,
188312,
294811,
319390,
40865,
319394,
294817,
294821,
311209,
180142,
294831,
188340,
40886,
319419,
294844,
294847,
237508,
393177,
294876,
294879,
294883,
393190,
294890,
311279,
278513,
237555,
278516,
311283,
278519,
237562
] |
b72f009ed519efb913071f71961a5f3c5c954880 | 5af5214a89c97ad9d23fbbcb64a29e657e0eaa30 | /Sources/App/Models/Responses/FoodOverviewResponse.swift | 62e26fab3ec4154a91665e7315bb1c05973ab75d | [
"MIT"
] | permissive | whatscookingapp/food-service | bce4e8d253a38969cfa38d30a757168358ea91fa | e4d26366da6fcc01a61ba3bb3233d3954edcb8ce | refs/heads/master | 2023-05-03T21:13:38.182076 | 2020-04-22T09:40:59 | 2020-04-22T09:40:59 | 256,139,991 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 997 | swift | import Vapor
struct FoodOverviewResponse: Content {
let id: UUID
let title: String
let creator: UserResponse
let distance: Double?
let image: ImageResponse?
let createdAt: Date?
init(food: Food, lat: Double?, lon: Double?, imageTransformer: ImageTransformer) throws {
self.id = try food.requireID()
self.title = food.title
self.creator = try UserResponse(user: food.creator, imageTransformer: imageTransformer)
if let inputLat = lat, let inputLon = lon, let foodLat = food.lat, let foodLon = food.lon {
self.distance = Double.distance(lat1: inputLat, lon1: inputLon, lat2: foodLat, lon2: foodLon)
} else {
self.distance = nil
}
if let bucket = food.image?.bucket, let key = food.image?.key {
self.image = try imageTransformer.transform(bucket: bucket, key: key)
} else {
self.image = nil
}
self.createdAt = food.createdAt
}
}
| [
-1
] |
70cb71fc55c4955d0dc99641956547e7a95d6432 | 6460f79c8c564ae1034dbafc5c0c5c30191b0a6b | /Landmarks/Model/Hike.swift | 81621f55ffa592cc569149c7935a91c342989a09 | [] | no_license | jasonpkovalski/Landmarks | 8e889f223ce3e81186a90ffd7f66fbb663dcbaa8 | 257042b19930681df8f1666195fada4f52a437c0 | refs/heads/main | 2023-03-17T14:54:53.467532 | 2021-03-06T01:27:24 | 2021-03-06T01:27:24 | 344,974,555 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 644 | swift | //
// Hike.swift
// Landmarks
//
// Created by Jason Paul Kovalski on 3/5/21.
//
import Foundation
struct Hike: Codable, Hashable, Identifiable {
var id: Int
var name: String
var distance: Double
var difficulty: Int
var observations: [Observation]
static var formatter = LengthFormatter()
var distanceText: String {
return Hike.formatter
.string(fromValue: distance, unit: .kilometer)
}
struct Observation: Codable, Hashable {
var distanceFromStart: Double
var elevation: Range<Double>
var pace: Range<Double>
var heartRate: Range<Double>
}
}
| [
377507,
386540,
363412,
372922,
268252,
372893
] |
115e9ccfbcc9b8d0e3c1399bcd172736e501609a | 5b4e2c1d96d6435e8f46dac8f708c1f42d46ac9c | /Heroes-SwiftUI-Combine-Alamofire/HeroesCombineSwiftUI/View Model/ImageViewModel.swift | 1e40ec26257a236152993e6e87aac33fe8943476 | [] | no_license | olegtarasenkoGH/project | 3ce34fb057a81aa2aba9785a547d7c1c5a413cb1 | 24c39de928f6115b8275972d577f6ebce970b209 | refs/heads/main | 2023-05-01T00:36:07.253076 | 2021-04-26T16:58:58 | 2021-04-26T16:58:58 | 302,723,642 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 397 | swift | //
// ImageView.swift
// HeroesCombineSwiftUI
//
// Created by Олег Тарасенко on 10/13/20.
//
import SwiftUI
import URLImage
struct ImageView: View {
var url: String?
var body: some View {
guard let urlString = URL(string: url ?? "") else {
return AnyView(Text("Loading..."))
}
return AnyView(URLImage(urlString))
}
}
| [
-1
] |
e7a584a911736d4e24c1dc9fde8aa4a8d9c126e0 | f9dbec0c4d633ac3f371ef35f309332a977c2b7d | /test/SILGen/coverage_closures.swift | 2abd1c92c75e86986a7622acfafe5bdc725420e3 | [
"Apache-2.0",
"Swift-exception"
] | permissive | themaplelab/swift | 641559703bbceb8f4a41f5267422f6cb96dba803 | 00dc16e7e4a0b28408308629e993b5d6e4fc3192 | refs/heads/wala | 2021-06-28T01:56:02.371056 | 2018-09-13T19:29:10 | 2018-09-13T19:29:10 | 91,512,969 | 2 | 2 | Apache-2.0 | 2019-01-03T01:39:04 | 2017-05-16T23:23:11 | C++ | UTF-8 | Swift | false | false | 1,203 | swift | // RUN: %target-swift-frontend -Xllvm -sil-full-demangle -profile-generate -profile-coverage-mapping -emit-sorted-sil -emit-sil -module-name coverage_closures %s | %FileCheck %s
// CHECK-LABEL: sil_coverage_map {{.*}}// coverage_closures.bar
func bar(arr: [(Int32) -> Int32]) {
// CHECK: [[@LINE+1]]:13 -> [[@LINE+1]]:42
for a in [{ (b : Int32) -> Int32 in b }] {
a(0)
}
}
// CHECK-LABEL: sil_coverage_map {{.*}}// coverage_closures.foo
func foo() {
// CHECK: [[@LINE+1]]:12 -> [[@LINE+1]]:59 : 1
let c1 = { (i1 : Int32, i2 : Int32) -> Bool in i1 < i2 }
func f1(_ closure : (Int32, Int32) -> Bool) -> Bool {
// CHECK: [[@LINE-1]]:55 -> [[@LINE+3]]:4 : 2
// CHECK: [[@LINE+1]]:29 -> [[@LINE+1]]:42 : 3
return closure(0, 1) && closure(1, 0)
}
f1(c1)
// CHECK: [[@LINE+1]]:6 -> [[@LINE+1]]:27 : 4
f1 { i1, i2 in i1 > i2 }
// CHECK: [[@LINE+2]]:6 -> [[@LINE+2]]:48 : 5
// CHECK: [[@LINE+1]]:36 -> [[@LINE+1]]:46 : 6
f1 { left, right in left == 0 || right == 1 }
}
// SR-2615: Implicit constructor decl has no body, and shouldn't be mapped
struct C1 {
// CHECK-NOT: sil_coverage_map{{.*}}errors
private var errors = [String]()
}
bar(arr: [{ x in x }])
foo()
| [
90277,
72518
] |
391efccf4bfb4b5f5cb95516b27acf0dcc3ca79a | c7e38c0f24ac71987f74645556723f98f4583ba1 | /Azan/LocationWorker.swift | e42a772f9a393c03684378fdd4fd5b6496dbaf55 | [] | no_license | balitax/Azan | bc95baa143ff4c57bb908df5c0f57bc4afcbfe26 | 602de267b8939473ec83e056db1185cd819b1b1c | refs/heads/master | 2022-11-27T19:20:49.148030 | 2020-08-02T08:26:43 | 2020-08-02T08:26:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 1,012 | swift | //
// LocationWorker.swift
// Azan
//
// Created by Faiz Mokhtar on 18/04/2020.
// Copyright © 2020 Faiz Mokhtar. All rights reserved.
//
import Foundation
import Combine
import CoreLocation
class LocationWorker: NSObject, ObservableObject {
private var locationManager: CLLocationManager = CLLocationManager()
let subject = PassthroughSubject<[CLLocation], Error>()
override init() {
super.init()
self.locationManager.delegate = self
self.locationManager.desiredAccuracy = kCLLocationAccuracyKilometer
self.locationManager.requestWhenInUseAuthorization()
self.locationManager.startUpdatingLocation()
}
}
extension LocationWorker: CLLocationManagerDelegate {
func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
subject.send(locations)
}
func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {
subject.send(completion: .failure(error))
}
}
| [
-1
] |
23253ba03d8792527099851954f58a60e210f60e | d54b722d8676ed9a020926cfa3222e29efd3a7a4 | /Apps/animations/WaterReminderSwiftUI/WaterReminderSwiftUI/Views/AppView.swift | 67d98d2787e558a84ba15881a58dfbc3bfbb4592 | [
"MIT"
] | permissive | jessicalewinter/swiftuiVSuikit | d0215a75b29f2024767ae671238bcbb4a2fce569 | c76c95e69a55595ab32c6aa0eb7fc1cba135293f | refs/heads/master | 2022-12-10T04:05:31.659509 | 2020-09-15T19:57:59 | 2020-09-15T19:57:59 | 273,005,357 | 2 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 527 | swift | //
// AppView.swift
// WaterReminderSwiftUI
//
// Created by Jessica Lewinter on 03/09/20.
// Copyright © 2020 Jessica Lewinter. All rights reserved.
//
import SwiftUI
struct AppView: View {
var body: some View {
TabView {
DailyView()
.tabItem {
Image("water-glass")
Text("Daily")
}
}.accentColor(.black)
}
}
struct AppView_Previews: PreviewProvider {
static var previews: some View {
AppView()
}
}
| [
-1
] |
46559202623766e0a135e46b4a7ae6a68dc42696 | 8faa98add5b445a228882d679c56bc04c4e676e0 | /Course Demo App/ConctactoViewController.swift | 93de8325345546aadcce5d76e80fca04905c68a8 | [] | no_license | alvareztech/ios-course-demo-app | 7d5e1649ad6bc164b3b72020581ba10acfa45336 | da1671169cfddeff5f0c3f46ae520ebd6d14d649 | refs/heads/master | 2022-04-25T03:39:47.098628 | 2017-09-25T03:26:21 | 2017-09-25T03:26:21 | 104,696,742 | 2 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 722 | swift | import UIKit
class ConctactoViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
/*
// MARK: - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destinationViewController.
// Pass the selected object to the new view controller.
}
*/
}
| [
313504,
291105,
280710,
165832,
309807,
307410,
299165
] |
dc0bdf5895513ad05fed277d700e2a078305901f | 813ef8137364337c69b53af2ff9b8c3e17d1b92e | /Word Bomb/UI/Multiplayer/LocalPeersView.swift | 40a5873844235c640eecc0702441359269f59dc1 | [] | no_license | beetee17/WordBomb | c9ebf3bca861bc0a243684f78959644b4ad3664f | 03ca36a78e1f02dbcdff78ed4d928cba8aa6ae86 | refs/heads/main | 2023-07-09T22:39:15.141059 | 2021-08-04T18:44:25 | 2021-08-04T18:44:25 | 384,611,551 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 3,304 | swift | //
// LocalPeersView.swift
// Word Bomb
//
// Created by Brandon Thio on 9/7/21.
//
import SwiftUI
import MultipeerKit
enum ActiveAlert {
case host, notConnected
}
struct LocalPeersView: View {
@EnvironmentObject var viewModel: WordBombGameViewModel
@EnvironmentObject var mpcDataSource: MultipeerDataSource
@State var showAlert = false
@State var activeAlert: ActiveAlert = .notConnected
var body: some View {
VStack {
VStack(alignment: .leading) {
Text("Peers").font(.system(.headline)).padding()
List {
ForEach(mpcDataSource.availablePeers) { peer in
HStack {
Circle()
.frame(width: 12, height: 12)
.foregroundColor(peer.isConnected ? .green : .gray)
Text(peer.name)
Spacer()
if self.viewModel.selectedPeers.contains(peer) { Image(systemName: "checkmark") }
}
.contentShape(Rectangle())
.onTapGesture {
// selects peer
if peer.isConnected {
viewModel.toggle(peer)
if viewModel.selectedPeers.count > 0 {
activeAlert = .host
showAlert = true
}
}
else {
activeAlert = .notConnected
showAlert = true
}
}
}
}
}
}
.environmentObject(mpcDataSource)
// TODO: - Change to show only once when selecting multiple peers
.alert(isPresented: $showAlert,
content: {
switch activeAlert {
case .host:
return Alert(title: Text("You are the host!"),
message: Text("Connected devices can see your game!"),
dismissButton: .default(Text("OK"))
{
print("dismissed")
showAlert = false
})
case .notConnected:
return Alert(title: Text("Unable to Connect"),
message: Text("You may only select connected peers!"),
dismissButton: .default(Text("OK"))
{
print("dismissed")
showAlert = false
})
}
})
}
}
//struct LocalPeersView_Previews: PreviewProvider {
// static var previews: some View {
// LocalPeersView()
// }
//}
| [
-1
] |
f9a04011d3a6783b6969ad7628555d69aafcbc54 | 79883233f97a488ef295d1dc6c07dceaaf274c22 | /YellowLineIsGood/AppDelegate.swift | cde8850d55aa1c2fbabda43d21c0b03721b42ae5 | [] | no_license | smallchocho/YellowLineIsGood | 0e8e6b8e4ed4891f6db33e117512bb27d2e86310 | a4e3adf0a902198c6cbc9836a37d10e4d9240726 | refs/heads/master | 2021-01-21T11:10:48.878473 | 2017-07-12T10:16:51 | 2017-07-12T10:16:51 | 83,529,387 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 4,850 | swift | //
// AppDelegate.swift
// YellowLineIsGood
//
// Created by Justin Huang on 2017/2/18.
// Copyright © 2017年 Justin Huang. All rights reserved.
//
import UIKit
import GoogleMaps
import Firebase
import UserNotifications
import FirebaseInstanceID
import FirebaseMessaging
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
GMSServices.provideAPIKey("AIzaSyCGqRksasvIm4GJQzurSQ79pPgPHT04n70")
if #available(iOS 10.0, *) {
// For iOS 10 display notification (sent via APNS)
UNUserNotificationCenter.current().delegate = self
let authOptions: UNAuthorizationOptions = [.alert, .badge, .sound]
UNUserNotificationCenter.current().requestAuthorization(
options: authOptions,
completionHandler: {_, _ in })
// For iOS 10 data message (sent via FCM
Messaging.messaging().delegate = self
} else {
let settings: UIUserNotificationSettings =
UIUserNotificationSettings(types: [.alert, .badge, .sound], categories: nil)
application.registerUserNotificationSettings(settings)
}
application.registerForRemoteNotifications()
if !UIApplication.shared.isRegisteredForRemoteNotifications {
let alert = UIAlertController(title: "請開啟通知設定", message: "不然無法接收到設定喔", preferredStyle: UIAlertControllerStyle.alert)
let settingAction = UIAlertAction(title: "前往設定", style: UIAlertActionStyle.default, handler: nil)
let okAction = UIAlertAction(title: "好喔", style: UIAlertActionStyle.cancel, handler: nil)
alert.addAction(settingAction)
alert.addAction(okAction)
window?.rootViewController?.present(alert, animated: true, completion: nil)
}
FirebaseApp.configure()
return true
}
func applicationWillResignActive(_ application: UIApplication) {
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
}
func applicationDidEnterBackground(_ application: UIApplication) {
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}
func applicationWillEnterForeground(_ application: UIApplication) {
// Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
}
func applicationDidBecomeActive(_ application: UIApplication) {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}
func applicationWillTerminate(_ application: UIApplication) {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
}
@available(iOS 10.0, *)
extension AppDelegate:UNUserNotificationCenterDelegate{
func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
// let request = notification.request
// UNUserNotificationCenter.current().add(request, withCompletionHandler: nil)
completionHandler([.alert,.badge,.sound])
}
func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) {
print("打開訊息喔")
}
}
extension AppDelegate:MessagingDelegate{
func messaging(_ messaging: Messaging, didReceive remoteMessage: MessagingRemoteMessage) {
print(remoteMessage.appData)
}
func messaging(_ messaging: Messaging, didRefreshRegistrationToken fcmToken: String) {
print(fcmToken)
}
}
| [
-1
] |
ddeb0f974deb633dc1aefa0c177e4043fcec8c20 | a48cb30db36c74a53efee283271f61b0db40cb2c | /Tests/RxCocoa/distinct+RxCocoa.swift | f24c177b6ec67c2126dabf927cce7d5c849f3a80 | [
"MIT"
] | permissive | saranonuan/RxSwiftExt | 21b6bd3915b51eb356d00ad3c8f5bc714e769d07 | 80e07994b18148c16a346c3687323deea254fe42 | refs/heads/master | 2021-07-05T09:55:56.810180 | 2017-09-27T03:39:35 | 2017-09-27T03:39:35 | 104,968,432 | 0 | 0 | null | 2017-09-27T03:37:32 | 2017-09-27T03:37:32 | null | UTF-8 | Swift | false | false | 9,554 | swift | //
// distinct+RxCocoa.swift
// RxSwiftExt
//
// Created by Rafael Ferreira on 3/8/17.
// Copyright © 2017 RxSwiftCommunity. All rights reserved.
//
import XCTest
import RxCocoa
import RxSwift
import RxTest
import RxSwiftExt
class DistinctCocoaTests: XCTestCase {
func testDistinctHashableOne() {
let scheduler = TestScheduler(initialClock: 0, simulateProcessingDelay: false)
driveOnScheduler(scheduler) {
let values = [DummyHashable(id: 1, name: "SomeName")]
let errored = DummyHashable(id: 0, name: "NoneName")
let observer = scheduler.createObserver(DummyHashable.self)
_ = Observable.from(values).asDriver(onErrorJustReturn: errored).distinct().drive(observer)
scheduler.start()
let correct = [
next(0, DummyHashable(id: 1, name: "SomeName")),
completed(0)
]
XCTAssertEqual(observer.events, correct)
}
}
func testDistinctHashableTwo() {
let scheduler = TestScheduler(initialClock: 0, simulateProcessingDelay: false)
driveOnScheduler(scheduler) {
let values = [DummyHashable(id: 1, name: "SomeName"),
DummyHashable(id: 2, name: "SomeName2"),
DummyHashable(id: 1, name: "SomeName")]
let errored = DummyHashable(id: 0, name: "NoneName")
let observer = scheduler.createObserver(DummyHashable.self)
_ = Observable.from(values).asDriver(onErrorJustReturn: errored).distinct().drive(observer)
scheduler.start()
let correct = [
next(0, DummyHashable(id: 1, name: "SomeName")),
next(0, DummyHashable(id: 2, name: "SomeName2")),
completed(0)
]
XCTAssertEqual(observer.events, correct)
}
}
func testDistinctHashableEmpty() {
let scheduler = TestScheduler(initialClock: 0, simulateProcessingDelay: false)
driveOnScheduler(scheduler) {
let errored = DummyHashable(id: 0, name: "NoneName")
let observer = scheduler.createObserver(DummyHashable.self)
_ = Observable<DummyHashable>.empty().asDriver(onErrorJustReturn: errored)
.distinct().drive(observer)
scheduler.start()
let correct: [Recorded<Event<DummyHashable>>] = [
completed(0)
]
XCTAssertEqual(observer.events, correct)
}
}
func testDistinctEquatableOne() {
let scheduler = TestScheduler(initialClock: 0, simulateProcessingDelay: false)
driveOnScheduler(scheduler) {
let values = [DummyEquatable(id: 1, name: "SomeName")]
let value = DummyEquatable(id: 0, name: "NoneName")
let observer = scheduler.createObserver(DummyEquatable.self)
_ = Observable.from(values).asDriver(onErrorJustReturn: value)
.distinct().drive(observer)
scheduler.start()
let correct = [
next(0, DummyEquatable(id: 1, name: "SomeName")),
completed(0)
]
XCTAssertEqual(observer.events, correct)
}
}
func testDistinctEquatableTwo() {
let scheduler = TestScheduler(initialClock: 0, simulateProcessingDelay: false)
driveOnScheduler(scheduler) {
let values = [DummyEquatable(id: 1, name: "SomeName"),
DummyEquatable(id: 2, name: "SomeName2"),
DummyEquatable(id: 1, name: "SomeName")]
let errored = DummyEquatable(id: 0, name: "NoneName")
let observer = scheduler.createObserver(DummyEquatable.self)
_ = Observable.from(values).asDriver(onErrorJustReturn: errored).distinct().drive(observer)
scheduler.start()
let correct = [
next(0, DummyEquatable(id: 1, name: "SomeName")),
next(0, DummyEquatable(id: 2, name: "SomeName2")),
completed(0)
]
XCTAssertEqual(observer.events, correct)
}
}
func testDistinctEquatableEmpty() {
let scheduler = TestScheduler(initialClock: 0, simulateProcessingDelay: false)
driveOnScheduler(scheduler) {
let errored = DummyEquatable(id: 0, name: "NoneName")
let observer = scheduler.createObserver(DummyEquatable.self)
_ = Observable<DummyEquatable>.empty().asDriver(onErrorJustReturn: errored).distinct().drive(observer)
scheduler.start()
let correct: [Recorded<Event<DummyEquatable>>] = [
completed(0)
]
XCTAssertEqual(observer.events, correct)
}
}
func testDistinctPredicateOne() {
let scheduler = TestScheduler(initialClock: 0, simulateProcessingDelay: false)
driveOnScheduler(scheduler) {
let values = [DummyEquatable(id: 1, name: "SomeName1"),
DummyEquatable(id: 2, name: "SomeName2"),
DummyEquatable(id: 3, name: "SomeName1")]
let errored = DummyEquatable(id: 0, name: "SomeName0")
let observer = scheduler.createObserver(DummyEquatable.self)
_ = Observable.from(values).asDriver(onErrorJustReturn: errored)
.distinct {
$0.name.contains("1")
}.drive(observer)
scheduler.start()
let correct = [
next(0, DummyEquatable(id: 1, name: "SomeName1")),
completed(0)
]
XCTAssertEqual(observer.events, correct)
}
}
func testDistinctPredicateAll() {
let scheduler = TestScheduler(initialClock: 0, simulateProcessingDelay: false)
driveOnScheduler(scheduler) {
let values = [DummyEquatable(id: 1, name: "SomeName1"),
DummyEquatable(id: 2, name: "SomeName2"),
DummyEquatable(id: 3, name: "SomeName3")]
let errored = DummyEquatable(id: 0, name: "SomeName0")
let observer = scheduler.createObserver(DummyEquatable.self)
_ = Observable.from(values).asDriver(onErrorJustReturn: errored)
.distinct {
$0.name.contains("T")
}.drive(observer)
scheduler.start()
let correct = [
next(0, DummyEquatable(id: 1, name: "SomeName1")),
next(0, DummyEquatable(id: 2, name: "SomeName2")),
next(0, DummyEquatable(id: 3, name: "SomeName3")),
completed(0)
]
XCTAssertEqual(observer.events, correct)
}
}
func testDistinctPredicateEmpty() {
let scheduler = TestScheduler(initialClock: 0, simulateProcessingDelay: false)
driveOnScheduler(scheduler) {
let errored = DummyEquatable(id: 0, name: "NoneName")
let observer = scheduler.createObserver(DummyEquatable.self)
_ = Observable<DummyEquatable>.empty().asDriver(onErrorJustReturn: errored)
.distinct {
$0.id < 0
}
.drive(observer)
scheduler.start()
let correct: [Recorded<Event<DummyEquatable>>] = [
completed(0)
]
XCTAssertEqual(observer.events, correct)
}
}
func testDistinctPredicateFirst() {
let scheduler = TestScheduler(initialClock: 0, simulateProcessingDelay: false)
driveOnScheduler(scheduler) {
let values = [DummyEquatable(id: 1, name: "SomeName1"),
DummyEquatable(id: 2, name: "SomeName2"),
DummyEquatable(id: 3, name: "SomeName3")]
let errored = DummyEquatable(id: 0, name: "NoneName")
let observer = scheduler.createObserver(DummyEquatable.self)
_ = Observable.from(values).asDriver(onErrorJustReturn: errored)
.distinct {
$0.id > 0
}.drive(observer)
scheduler.start()
let correct = [
next(0, DummyEquatable(id: 1, name: "SomeName1")),
completed(0)
]
XCTAssertEqual(observer.events, correct)
}
}
func testDistinctPredicateTwo() {
let scheduler = TestScheduler(initialClock: 0, simulateProcessingDelay: false)
driveOnScheduler(scheduler) {
let values = [DummyEquatable(id: 1, name: "SomeName1"),
DummyEquatable(id: 2, name: "SomeName2"),
DummyEquatable(id: 3, name: "SomeName3")]
let errored = DummyEquatable(id: 0, name: "NoneName")
let observer = scheduler.createObserver(DummyEquatable.self)
_ = Observable.from(values).asDriver(onErrorJustReturn: errored)
.distinct {
$0.id > 1
}.drive(observer)
scheduler.start()
let correct = [
next(0, DummyEquatable(id: 1, name: "SomeName1")),
next(0, DummyEquatable(id: 2, name: "SomeName2")),
completed(0)
]
XCTAssertEqual(observer.events, correct)
}
}
}
| [
-1
] |
77de8f0f2bfdd7e18d0933d4654e6b3d548ad3dd | f75ba723ad1d609306168829c06e5d5a05fa632c | /VergeiOS/Models/WalletBalanceInfo.swift | e86bb5b7f9e677e5a79f66f0987f26043814e898 | [
"MIT"
] | permissive | Palem1988/vIOS | 52f24bc57374346a0ca6cc03cd178ae654539025 | 6a88c3d49b52ed37fd11591111e58c44f6fce71a | refs/heads/master | 2020-08-13T08:19:36.752333 | 2019-10-08T19:39:46 | 2019-10-08T19:39:46 | 214,938,363 | 0 | 1 | MIT | 2019-10-14T03:18:20 | 2019-10-14T03:18:13 | null | UTF-8 | Swift | false | false | 1,308 | swift | //
// Created by Swen van Zanten on 09/11/2018.
// Copyright (c) 2018 Verge Currency. All rights reserved.
//
import Foundation
public struct WalletBalanceInfo: Decodable {
public let totalAmount: Double
public let lockedAmount: Double
public let totalConfirmedAmount: Double
public let lockedConfirmedAmount: Double
public let availableAmount: Double
public let availableConfirmedAmount: Double
public let byAddress: [AddressBalance]
}
extension WalletBalanceInfo {
public var totalAmountValue: NSNumber {
return NSNumber(value: totalAmount / Constants.satoshiDivider)
}
public var lockedAmountValue: NSNumber {
return NSNumber(value: lockedAmount / Constants.satoshiDivider)
}
public var totalConfirmedAmountValue: NSNumber {
return NSNumber(value: totalConfirmedAmount / Constants.satoshiDivider)
}
public var lockedConfirmedAmountValue: NSNumber {
return NSNumber(value: lockedConfirmedAmount / Constants.satoshiDivider)
}
public var availableAmountValue: NSNumber {
return NSNumber(value: availableAmount / Constants.satoshiDivider)
}
public var availableConfirmedAmountValue: NSNumber {
return NSNumber(value: availableConfirmedAmount / Constants.satoshiDivider)
}
}
| [
-1
] |
79dfb8f45b935493e2367254c340217aa744b401 | aac63918d0ac655e1c4bbeca02c2b973001efe26 | /WOT-iOS/WOTApi/source/pivot/layout/WGPivotSeparatorCollectionViewLayoutAttributes.swift | 0821a152641d0ca1560d0b478477a1f4fef50840 | [] | no_license | paulyeshchyk/WOT | a2065ee2b5dc57c87563913d64f5fc08c86383e2 | 43e8484c5f5d7670a3d318f913daabdcecc6420f | refs/heads/dev | 2023-02-17T23:41:00.962092 | 2023-02-16T04:01:54 | 2023-02-16T04:01:54 | 36,650,109 | 1 | 0 | null | 2023-02-16T04:01:55 | 2015-06-01T09:12:48 | Swift | UTF-8 | Swift | false | false | 3,032 | swift | //
// WGPivotSeparatorCollectionViewLayoutAttributes.swift
// WOT-iOS
//
// Created on 7/31/18.
// Copyright © 2018. All rights reserved.
//
import UIKit
// MARK: - WOTPivotSeparatorKind
enum WOTPivotSeparatorKind: String {
case top
case bottom
case left
case right
}
// MARK: - WGPivotSeparatorCollectionViewLayoutAttributes
class WGPivotSeparatorCollectionViewLayoutAttributes: UICollectionViewLayoutAttributes {
var color: UIColor = UIColor.clear
var kind: WOTPivotSeparatorKind? {
didSet {
guard let kindValue = kind else {
return
}
invalidateFrame(kind: kindValue)
}
}
var customFrame: CGRect? {
didSet {
guard let kindValue = kind else {
return
}
invalidateFrame(kind: kindValue)
}
}
private var separatorWidth: CGFloat {
return 1.0
}
private var topSeparatorFrame: CGRect {
let customFrame = self.customFrame ?? CGRect.zero
return CGRect(x: customFrame.minX,
y: customFrame.minY - separatorWidth,
width: customFrame.width,
height: separatorWidth)
}
private var leftSeparatorFrame: CGRect {
let customFrame = self.customFrame ?? CGRect.zero
return CGRect(x: customFrame.minX,
y: customFrame.minY - separatorWidth,
width: separatorWidth,
height: customFrame.height + separatorWidth)
}
private var bottomSeparatorFrame: CGRect {
let customFrame = self.customFrame ?? CGRect.zero
return CGRect(x: customFrame.minX,
y: customFrame.maxY - separatorWidth,
width: customFrame.width,
height: separatorWidth)
}
private var rightSeparatorFrame: CGRect {
let customFrame = self.customFrame ?? CGRect.zero
return CGRect(x: customFrame.maxX,
y: customFrame.minY - separatorWidth,
width: separatorWidth,
height: customFrame.height + separatorWidth)
}
// MARK: Private
private func invalidateFrame(kind: WOTPivotSeparatorKind) {
switch kind {
case .top:
frame = topSeparatorFrame
case .left:
frame = leftSeparatorFrame
case .bottom:
frame = bottomSeparatorFrame
case .right:
frame = rightSeparatorFrame
}
}
}
// MARK: - WGPivotSeparatorCollectionReusableView
class WGPivotSeparatorCollectionReusableView: UICollectionReusableView {
override func apply(_ layoutAttributes: UICollectionViewLayoutAttributes) {
super.apply(layoutAttributes)
guard let coloredLayoutAttributes = layoutAttributes as? WGPivotSeparatorCollectionViewLayoutAttributes else {
return
}
backgroundColor = coloredLayoutAttributes.color
}
}
| [
-1
] |
78a4fd19e67aea3ed7534f3210f2eb2a92c32cea | 9b3133c6d61e60b977ca81233f92a1d823bb4347 | /comm/comm/tcp/TcpSession.swift | 23b6777fd3a480d7ffe3db4e7c104844b3062e08 | [] | no_license | DivakarSwift/swift | 3a1418699f7a467540658602170b64c78778c34f | 8b689c15f895e77ca01b74264adbeec7b3e41ad0 | refs/heads/master | 2020-03-30T02:43:17.715065 | 2018-03-02T17:12:49 | 2018-03-02T17:12:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 1,748 | swift | //
// Session.swift
// LinClient
//
// Created by lin on 1/21/16.
// Copyright © 2016 lin. All rights reserved.
//
import CessUtil
open class TcpSession{
fileprivate var _socket:Socket;
var recv:TcpCommunicateRecv!;
open var socket:Socket{
return _socket;
}
init(socket:Socket){
self._socket = socket;
}
open func send(_ pack:TcpRequestPackage)->TcpPackageResponse{
let response = TcpPackageResponse();
recv.addRequest(pack.sequeue, response: response)
sendImpl(pack);
return response;
}
func response(_ pack:TcpResponsePackage){
sendImpl(pack);
}
fileprivate func sendImpl(_ pack:TcpPackage){
let bs = pack.write();
var tmpBs = [UInt8](repeating: 0, count: 2 * bs.count + 3 + 18);
// //将包中的数据写入数组
tmpBs[0] = 0xC0;
tmpBs[1] = pack.type;
if(pack is TcpRequestPackage){
tmpBs[2] = 0;
}else{
tmpBs[2] = 1;
}
writeInt64(&tmpBs,value: asInt64(pack.sequeue),offset: 3);
var pos = 11;
for n in 0 ..< bs.count
{
if(bs[n] == 0xC0){
tmpBs[pos] = 0xDB;
tmpBs[pos] = 0xDC;
pos += 2;
continue;
}
if(bs[n] == 0xDB){
tmpBs[pos] = 0xDB;
tmpBs[pos] = 0xDD;
pos += 2;
continue;
}
tmpBs[pos] = bs[n];
pos += 1;
}
tmpBs[pos] = 0xC0;
synchronized(self) { () -> () in
self.socket.write(tmpBs, count: pos + 1);
}
}
}
| [
-1
] |
90927803c7da395ae72ee77fb7479b0514c1af50 | ec608713fd3004a58341baaef48552fd15d56fcd | /Todoey/ViewController.swift | 66259f49af8ce79449add990b8d644b2bd4a76b9 | [] | no_license | vishalvernekar/Todoey | 19a62aa26f44217a99099ae158b4e164119197c2 | 116e3858cd838c97f652a3c213c18d183dd7f2b7 | refs/heads/master | 2020-08-01T06:46:09.668636 | 2019-10-05T15:01:48 | 2019-10-05T15:01:48 | 210,904,021 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 338 | swift | //
// ViewController.swift
// Todoey
//
// Created by Vishal Vernekar on 25/09/19.
// Copyright © 2019 Vishal Vernekar. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
}
}
| [
262528,
385282,
398203,
327555,
158612,
393749,
188950,
319899,
155424,
262561,
324512,
345378,
396707,
436128,
245024,
333223,
354729,
242346,
125227,
273710,
380334,
372017,
262453,
354108,
397117,
262471,
323016,
326600,
349130,
340943,
330960,
324564,
146645,
257750,
377048,
354654,
362847,
354144,
398308,
247652,
247653,
247655,
253928,
124914,
349174,
381179
] |
fdc4b784820cf046a7ffb3d3ad4efd03c320cf1e | ddc0ba9763c6fd53d2f86a27183b9a78039b149a | /Sources/SwiftFormatRules/AllPublicDeclarationsHaveDocumentation.swift | 9732078e8fec5a2fdc85981c514f9f3909278868 | [
"Apache-2.0",
"Swift-exception"
] | permissive | pixyzehn/swift-format | 8f74aea7c58bd9fbe05e149d9d901126068aa62f | 0b122bd14eba391ee0beecedd1e1abca040dc3fc | refs/heads/main | 2023-01-12T10:26:40.477263 | 2020-10-26T21:52:44 | 2020-10-26T21:52:44 | 310,761,208 | 0 | 0 | Apache-2.0 | 2020-11-07T03:44:08 | 2020-11-07T03:44:07 | null | UTF-8 | Swift | false | false | 3,824 | swift | //===----------------------------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
import SwiftFormatCore
import SwiftSyntax
/// All public or open declarations must have a top-level documentation comment.
///
/// Lint: If a public declaration is missing a documentation comment, a lint error is raised.
public final class AllPublicDeclarationsHaveDocumentation: SyntaxLintRule {
/// Identifies this rule was being opt-in. While docs on most public declarations are beneficial,
/// there are a number of public decls where docs are either redundant or superfluous. This rule
/// can't differentiate those situations and will make a lot of noise for projects that are
/// intentionally avoiding docs on some decls.
public override class var isOptIn: Bool { return true }
public override func visit(_ node: FunctionDeclSyntax) -> SyntaxVisitorContinueKind {
diagnoseMissingDocComment(DeclSyntax(node), name: node.fullDeclName, modifiers: node.modifiers)
return .skipChildren
}
public override func visit(_ node: InitializerDeclSyntax) -> SyntaxVisitorContinueKind {
diagnoseMissingDocComment(DeclSyntax(node), name: "init", modifiers: node.modifiers)
return .skipChildren
}
public override func visit(_ node: DeinitializerDeclSyntax) -> SyntaxVisitorContinueKind {
diagnoseMissingDocComment(DeclSyntax(node), name: "deinit", modifiers: node.modifiers)
return .skipChildren
}
public override func visit(_ node: SubscriptDeclSyntax) -> SyntaxVisitorContinueKind {
diagnoseMissingDocComment(DeclSyntax(node), name: "subscript", modifiers: node.modifiers)
return .skipChildren
}
public override func visit(_ node: ClassDeclSyntax) -> SyntaxVisitorContinueKind {
diagnoseMissingDocComment(DeclSyntax(node), name: node.identifier.text, modifiers: node.modifiers)
return .skipChildren
}
public override func visit(_ node: VariableDeclSyntax) -> SyntaxVisitorContinueKind {
guard let mainBinding = node.bindings.firstAndOnly else { return .skipChildren }
diagnoseMissingDocComment(DeclSyntax(node), name: "\(mainBinding.pattern)", modifiers: node.modifiers)
return .skipChildren
}
public override func visit(_ node: StructDeclSyntax) -> SyntaxVisitorContinueKind {
diagnoseMissingDocComment(DeclSyntax(node), name: node.identifier.text, modifiers: node.modifiers)
return .skipChildren
}
public override func visit(_ node: ProtocolDeclSyntax) -> SyntaxVisitorContinueKind {
diagnoseMissingDocComment(DeclSyntax(node), name: node.identifier.text, modifiers: node.modifiers)
return .skipChildren
}
public override func visit(_ node: TypealiasDeclSyntax) -> SyntaxVisitorContinueKind {
diagnoseMissingDocComment(DeclSyntax(node), name: node.identifier.text, modifiers: node.modifiers)
return .skipChildren
}
private func diagnoseMissingDocComment(
_ decl: DeclSyntax,
name: String,
modifiers: ModifierListSyntax?
) {
guard decl.docComment == nil else { return }
guard let mods = modifiers,
mods.has(modifier: "public"),
!mods.has(modifier: "override")
else {
return
}
diagnose(.declRequiresComment(name), on: decl)
}
}
extension Diagnostic.Message {
public static func declRequiresComment(_ name: String) -> Diagnostic.Message {
return .init(.warning, "add a documentation comment for '\(name)'")
}
}
| [
-1
] |
27824f1947529e083b351d309410f897f4e040d6 | 9826cfdc9a099158bd1b77ebc1736ad76d91312a | /mondayApp/View/Auth/SignupView.swift | c0a753f4e6eb9b810313d484d02a0e8b7148e068 | [] | no_license | m3htab/mehtabtAppWorking | eb422b2891fc7368b9258e13c34e8a64c364b983 | c9176270544cd86f2d394057d71d216c34fd9359 | refs/heads/master | 2022-12-11T17:28:11.496309 | 2020-09-07T03:22:17 | 2020-09-07T03:22:17 | 291,999,189 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 2,485 | swift | //
// SignupView.swift
// theApp
//
// Created by rob ord on 10/08/2020.
// Copyright © 2020 Rob Ord. All rights reserved.
//
import SwiftUI
struct SignupView: View {
@ObservedObject var signupViewModel = SignupViewModel()
var body: some View {
VStack {
SignupHeader()
signupViewModel.image.resizable().aspectRatio(contentMode: .fill).frame(width: 100, height: 100)
.clipShape(Circle())
.onTapGesture {
print("Tapped")
self.signupViewModel.showImagePicker = true
}
NameTextField(firstName: $signupViewModel.firstName,lastName: $signupViewModel.lastName)
EmailTextField(email: $signupViewModel.email)
VStack(alignment: .leading) {
PasswordTextField(password: $signupViewModel.password)
}
SignupButton(action: signUp, label: TEXT_SIGN_UP).alert(isPresented: $signupViewModel.showAlert) {
Alert(title: Text("Error"), message: Text(self.signupViewModel.errorString), dismissButton: .default(Text("OK")))
}
Divider()
Text(TEXT_SIGNUP_NOTE).font(.footnote).foregroundColor(.gray).padding().lineLimit(nil)
Spacer()
}.sheet(isPresented: $signupViewModel.showImagePicker) {
// ImagePickerController()
ImagePicker(showImagePicker: self.$signupViewModel.showImagePicker, pickedImage: self.$signupViewModel.image, imageData: self.$signupViewModel.imageData)
}
.navigationBarBackButtonHidden(true)
}
func signUp() {
signupViewModel.signup(firstName: signupViewModel.firstName,lastName : signupViewModel.lastName, email: signupViewModel.email, password: signupViewModel.password, imageData: signupViewModel.imageData, completed: { (user) in
self.clean()
// Switch to the Main App
}) { (errorMessage) in
print("Error: \(errorMessage)")
self.signupViewModel.showAlert = true
self.signupViewModel.errorString = errorMessage
self.clean()
}
}
func clean() {
self.signupViewModel.firstName = ""
self.signupViewModel.lastName = ""
self.signupViewModel.email = ""
self.signupViewModel.password = ""
}
}
struct SignupView_Previews: PreviewProvider {
static var previews: some View {
SignupView()
}
}
| [
-1
] |
1dd2e0fc0135bfd4a6006935bd36182fc6e519d8 | e2092532630d6f9d82df358f48ce3c81b6ffb8ec | /test/IDE/annotation.swift | fa2eeebbfd9463c00b35fcf6ab5ecf171d6567f2 | [
"Apache-2.0",
"Swift-exception"
] | permissive | calda/swift | 4c2b64ba8c092682445cb22354c58591f3440beb | 3ec0413aa79248bc73852081f9ac7bf5e8fcecbf | refs/heads/master | 2023-08-18T04:53:46.539799 | 2021-12-19T05:10:03 | 2021-12-19T05:10:03 | 234,779,281 | 1 | 0 | Apache-2.0 | 2021-08-01T15:16:10 | 2020-01-18T18:35:00 | C++ | UTF-8 | Swift | false | false | 12,837 | swift | // RUN: %target-swift-ide-test -annotate -source-filename %s | %FileCheck %s
// CHECK: import struct <iMod>Swift</iMod>.<iStruct@>Int</iStruct>
import struct Swift.Int
// CHECK: import func <iMod>Swift</iMod>.print_new
import func Swift.print_new
// CHECK: struct <Struct>S</Struct> {
// CHECK-NEXT: var <Var>x</Var>: <iStruct@>Int</iStruct> = 0
// CHECK-NEXT: var <Var>y</Var>: <iMod>Swift</iMod>.<iStruct@>Int</iStruct> = 0
// CHECK-NEXT: }
struct S {
var x: Int = 0
var y: Swift.Int = 0
}
// CHECK: typealias <TypeAlias>TypealiasForS</TypeAlias> = <Struct@[[@LINE-5]]:8>S</Struct>
typealias TypealiasForS = S
func test6(p: S) {
// CHECK: <Param@[[@LINE-1]]:12>p</Param>.<Var@[[@LINE-8]]:7>x</Var> <iFunc@>+</iFunc> 0
p.x + 0
}
// CHECK: struct <Struct>PropagatedTypesInPatterns</Struct> {
// CHECK-NEXT: var <Var>a</Var>, <Var>b</Var>: <iStruct@>Int</iStruct>
// CHECK-NEXT: var <Var>c</Var>: <iStruct@>Int</iStruct>, <Var>d</Var>, <Var>e</Var>: <iStruct@>Double</iStruct>
// CHECK-NEXT: var <Var>f</Var>, <Var>g</Var>, <Var>h</Var>: <iStruct@>Int</iStruct>, <Var>i</Var>: <iStruct@>Float</iStruct>, <Var>j</Var>, <Var>k</Var>, <Var>l</Var>, <Var>m</Var>: <iStruct@>Double</iStruct>
// CHECK-NEXT: var (<Var>x</Var>, <Var>y</Var>): (<iStruct@>Int</iStruct>, <iStruct@>Float</iStruct>)
// CHECK-NEXT: }
struct PropagatedTypesInPatterns {
var a, b: Int
var c: Int, d, e: Double
var f, g, h: Int, i: Float, j, k, l, m: Double
var (x, y): (Int, Float)
}
// CHECK: class <Class>MyCls</Class> {
// CHECK: var <Var>www</Var> : <iStruct@>Int</iStruct>
// CHECK: func <Func>foo</Func>(_ <Param>x</Param> : <iStruct@>Int</iStruct>) {}
// CHECK: }
class MyCls {
var www : Int = 0
func foo(_ x : Int) {}
}
// CHECK: func <Func>foo</Func>(<Param>n</Param> : <iStruct@>Float</iStruct>) -> <iStruct@>Int</iStruct> {
// CHECK: var <Var>q</Var> = <Ctor@[[@LINE-6]]:7-Class@[[@LINE-6]]:7>MyCls</Ctor>()
// CHECK: var <Var>ee</Var> = "yoo";
// CHECK: return 100009
// CHECK: }
func foo(n : Float) -> Int {
var q = MyCls()
var ee = "yoo";
return 100009
}
// CHECK-LABEL: protocol <Protocol>Prot</Protocol> {
// CHECK-NEXT: associatedtype <AssociatedType>Blarg</AssociatedType>
// CHECK-NEXT: func <Func>protMeth</Func>(_ <Param>x</Param>: <iStruct@>Int</iStruct>)
// CHECK-NEXT: var <Var>protocolProperty1</Var>: <iStruct@>Int</iStruct> { get }
// CHECK-NEXT: var <Var>protocolProperty2</Var>: <iStruct@>Int</iStruct> { get set }
// CHECK-NEXT: }
protocol Prot {
associatedtype Blarg
func protMeth(_ x: Int)
var protocolProperty1: Int { get }
var protocolProperty2: Int { get set }
}
// CHECK: protocol <Protocol>Prot2</Protocol> {}
protocol Prot2 {}
// CHECK: class <Class>SubCls</Class> : <Class@[[@LINE-31]]:7>MyCls</Class>, <Protocol@[[@LINE-9]]:10>Prot</Protocol> {
// CHECK: typealias <TypeAlias>Blarg</TypeAlias> = <Protocol@[[@LINE-3]]:10>Prot2</Protocol>
// CHECK: func <Func>protMeth</Func>(_ <Param>x</Param>: <iStruct@>Int</iStruct>) {}
// CHECK: }
class SubCls : MyCls, Prot {
typealias Blarg = Prot2
func protMeth(_ x: Int) {}
var protocolProperty1 = 0
var protocolProperty2 = 0
}
// CHECK: func <Func>genFn</Func><<GenericTypeParam>T</GenericTypeParam> : <Protocol@64:10>Prot</Protocol> where <GenericTypeParam@85:12>T</GenericTypeParam>.<AssociatedType@65:18>Blarg</AssociatedType> : <Protocol@71:10>Prot2</Protocol>>(_ <Param>p</Param> : <GenericTypeParam@85:12>T</GenericTypeParam>) -> <iStruct@>Int</iStruct> {}{{$}}
func genFn<T : Prot where T.Blarg : Prot2>(_ p : T) -> Int {}
func test(_ x: Int) {
// CHECK: <Func@[[@LINE-3]]:6>genFn</Func>(<Class@[[@LINE-11]]:7>SubCls</Class>())
genFn(SubCls())
// CHECK: "This is string \(<Func@[[@LINE-5]]:6>genFn</Func>({(<Param>a</Param>:<iStruct@>Int</iStruct>) in <Class@[[@LINE-13]]:7>SubCls</Class>()}(<Param@[[@LINE-3]]:13>x</Param>))) interpolation"
"This is string \(genFn({(a:Int) in SubCls()}(x))) interpolation"
}
// CHECK: func <Func>bar</Func>(<Param>x</Param>: <iStruct@>Int</iStruct>) -> (<iStruct@>Int</iStruct>, <iStruct@>Float</iStruct>) {
func bar(x: Int) -> (Int, Float) {
// CHECK: <Ctor@[[@LINE-84]]:8-TypeAlias@[[@LINE-78]]:11>TypealiasForS</Ctor>()
_ = TypealiasForS()
}
class C2 {
typealias WW = Int
var p = 0
func meth(_ x: Int) {}
}
func test2(x: C2) {
// CHECK: <Param@[[@LINE-1]]:12>x</Param>.<Func@[[@LINE-4]]:8>meth</Func>(0)
x.meth(0)
}
// CHECK: class <Class>GenCls</Class><<GenericTypeParam>T</GenericTypeParam>> {
class GenCls<T> {
// CHECK: <Constructor>init</Constructor>() {}
init() {}
// CHECK: <Subscript>subscript</Subscript> (<Param>i</Param> : <iStruct@>Int</iStruct>, <Param>j</Param> : <iStruct@>Int</iStruct>) -> <iStruct@>Int</iStruct> {
subscript (i : Int, j : Int) -> Int {
get {
// CHECK: return <Param@[[@LINE-2]]:14>i</Param> <iFunc@>+</iFunc> <Param@[[@LINE-2]]:23>j</Param>
return i + j
}
// CHECK: set(<Param>v</Param>) {
set(v) {
// CHECK: <Param@[[@LINE-1]]:9>v</Param> <iFunc@>+</iFunc> <Param@[[@LINE-7]]:14>i</Param> <iFunc@>-</iFunc> <Param@[[@LINE-7]]:23>j</Param>
v + i - j
}
}
}
func test2() {
// CHECK: <Class@[[@LINE-19]]:7>GenCls</Class><<iStruct@>Int</iStruct>>()
GenCls<Int>()
}
func test3(name: Int, x: Int) {
// CHECK: <Param@[[@LINE-1]]:23>x</Param> = 0
name = 0; x = 0
}
class C4 {
class In {
class func goo() {}
class func foo() {
// CHECK: <Class@[[@LINE-3]]:9>In</Class>.<Func@[[@LINE-2]]:16>goo</Func>()
In.goo()
// CHECK: <Class@[[@LINE-6]]:7>C4</Class>.<Class@[[@LINE-5]]:9>In</Class>.<Func@[[@LINE-4]]:16>goo</Func>()
C4.In.goo()
// CHECK: <Class@[[@LINE-8]]:7>C4</Class>.<Ctor@[[@LINE-7]]:9-Class@[[@LINE-7]]:9>In</Ctor>()
C4.In()
}
}
}
class GenC<T1,T2> {
class func foo() {}
}
func test4() {
// CHECK: <Class@[[@LINE-4]]:7>GenC</Class><<iStruct@>Int</iStruct>, <TypeAlias@[[@LINE-141]]:11>TypealiasForS</TypeAlias>>.<Func@[[@LINE-3]]:14>foo</Func>()
GenC<Int, TypealiasForS>.foo()
}
class C5 {}
protocol P5 {}
// CHECK: extension <Class@[[@LINE-2]]:7>C5</Class> : <Protocol@[[@LINE-1]]:10>P5</Protocol> {}
extension C5 : P5 {}
extension Array : P5 {}
// CHECK: extension <iStruct@>Array</iStruct> : <Protocol{{.*}}>P5</Protocol> {}
extension Optional : P5 {}
// CHECK: extension <iEnum@>Optional</iEnum> : <Protocol{{.*}}>P5</Protocol> {}
class C6 {
func meth() {
// CHECK: <Func@[[@LINE+5]]:8>meth2</Func>()
meth2()
// CHECK: <Param@[[@LINE-3]]:8>self</Param>.<Func@[[@LINE+3]]:8>meth2</Func>()
self.meth2();
}
func meth2() {}
}
func test5() {
var x: Int
// CHECK: for <Var>i</Var> in 1<iFunc@>..<</iFunc>100 {
for i in 1..<100 {
// CHECK: <Var@[[@LINE-3]]:7>x</Var> = <Var@[[@LINE-1]]:7>i</Var>
x = i
}
}
class C7 {
var c7ivar: Int
func meth(_ p: Undeclared) {
// CHECK: <Var@[[@LINE-2]]:7>c7ivar</Var> = 0
c7ivar = 0
}
}
class C8 {
init(_ x: Int) {
// CHECK: <Param@[[@LINE-1]]:3>self</Param>.<Ctor@[[@LINE-1]]:3>init</Ctor>(1)
self.init(1)
}
}
class SubC8 : C8 {
init(x: Int) {
// CHECK: super.<Ctor@[[@LINE-8]]:3>init</Ctor>(2)
super.init(2)
}
}
class Observers {
func doit() {}
var p1 : Int {
// CHECK: willSet(<Param>newValue</Param>) { <Func@[[@LINE-3]]:8>doit</Func>() }
willSet(newValue) { doit() }
// CHECK: didSet { <Func@[[@LINE-5]]:8>doit</Func>() }
didSet { doit() }
}
}
class C9 {}
// CHECK: func <Func>test6</Func>(_ <Param>o</Param>: <iTypeAlias@>AnyObject</iTypeAlias>) {
func test6(_ o: AnyObject) {
// CHECK: let <Var>x</Var> = <Param@[[@LINE-1]]:14>o</Param> as! <Class@[[@LINE-3]]:7>C9</Class>
let x = o as! C9
}
// CHECK: enum <Enum>myCoolEnum</Enum> {
enum myCoolEnum {
// CHECK: case <EnumElement>water</EnumElement>
case water
// CHECK-NEXT: case
case
}
// rdar://19614869, do not crash
class E {
lazy var u: T {
return 1
}
}
class C10 {
init(int: Int, andThis: Float) {}
func meth(_ x: Int, withFloat: Float) {}
}
// CHECK: var <Var>c10</Var> = <Ctor@[[@LINE-4]]:3-Class@[[@LINE-5]]:7>C10</Ctor>(<Ctor@[[@LINE-4]]:3#int>int</Ctor>: 0, <Ctor@[[@LINE-4]]:3#andThis>andThis</Ctor>: 0)
var c10 = C10(int: 0, andThis: 0)
// CHECK: <Var@[[@LINE-1]]:5>c10</Var>.<Func@[[@LINE-5]]:8>meth</Func>(0, <Func@[[@LINE-5]]:8#withFloat>withFloat</Func>: 0)
c10.meth(0, withFloat: 0)
func test7(int x: Int, andThis y: Float) {}
// CHECK: <Func@[[@LINE-1]]:6>test7</Func>(<Func@[[@LINE-1]]:6#int>int</Func>: 0, <Func@[[@LINE-1]]:6#andThis>andThis</Func>: 0)
test7(int: 0, andThis: 0)
func test8<T : Prot2>(_ x: T) {}
// CHECK: func <Func>test8</Func><<GenericTypeParam>T</GenericTypeParam> : <Protocol@71:10>Prot2</Protocol>>(_ <Param>x</Param>: <GenericTypeParam@261:12>T</GenericTypeParam>) {}{{$}}
class C11 {
// CHECK: var <Var>a</Var>: <iStruct@>Int</iStruct> = { var <Var>tmp</Var> = 0; return <Var@[[@LINE+1]]:22>tmp</Var> }()
var a: Int = { var tmp = 0; return tmp }()
// CHECK: lazy var <Var>b</Var>: <iStruct@>Int</iStruct> = { var <Var>tmp</Var> = 0; return <Var@[[@LINE+1]]:27>tmp</Var> }()
lazy var b: Int = { var tmp = 0; return tmp }()
// CHECK: var <Var>c</Var>: <iStruct@>Int</iStruct> { get { {var <Var>tmp</Var> = 0; return <Var@[[@LINE+1]]:27>tmp</Var>}() } }
var c: Int { get { {var tmp = 0; return tmp}() } }
}
// CHECK: var <Var>g1</Var> = { (<Param>x</Param>: <iStruct@>Int</iStruct>) -> <iStruct@>Int</iStruct> in return 0 }
var g1 = { (x: Int) -> Int in return 0 }
class C12 {
class Inn {}
typealias AliasInn = Inn
}
typealias AliasC12 = C12
// CHECK: extension <Class@[[@LINE-6]]:7>C12</Class>.<Class@[[@LINE-5]]:9>Inn</Class> {}
extension C12.Inn {}
// CHECK: extension <TypeAlias@[[@LINE-4]]:11>AliasC12</TypeAlias>.<TypeAlias@[[@LINE-6]]:13>AliasInn</TypeAlias> {}
extension AliasC12.AliasInn {}
typealias AliasPH = C12
func testPH(_ x: Int) {}
func testPH(_ x: AliasPH) {}
// CHECK: <Func@[[@LINE-1]]:6>testPH</Func>(<#T##x: AliasPH##AliasPH##C12#>)
testPH(<#T##x: AliasPH##AliasPH##C12#>)
class NumberTooLarge {}
// CHECK: guard case let <Var>error</Var> as <Class@[[@LINE-1]]:7>NumberTooLarge</Class> = <Ctor@[[@LINE-1]]:7-Class@[[@LINE-1]]:7>NumberTooLarge</Ctor>() else {}
guard case let error as NumberTooLarge = NumberTooLarge() else {}
// CHECK: <Func>testMod</Func>(_ <Param>x</Param>: <iMod>Swift</iMod>.<iStruct@>String</iStruct>) {
func testMod(_ x: Swift.String) {
// CHECK: let <Var>x</Var> = <iMod>Swift</iMod>
let x = Swift
}
func +(a: C12, b: C12) {}
func test9(a: C12, b: C12) {
// CHECK: <Param@[[@LINE-1]]:12>a</Param><Func@[[@LINE-2]]:6>+</Func><Param@[[@LINE-1]]:20>b</Param>
a+b
}
func test10(a: [Int], i: Int) {
// CHECK: <Param@[[@LINE-1]]:13>a</Param><iSubscript@>[</iSubscript><Param@[[@LINE-1]]:23>i</Param><iSubscript@>]</iSubscript>
a[i]
}
class CWS {
subscript (i : Int, j : Int) -> Int { return 0 }
}
func test11(a: CWS, i: Int) {
// CHECK: <Param@[[@LINE-1]]:13>a</Param><Subscript@[[@LINE-3]]:3>[</Subscript><Param@[[@LINE-1]]:21>i</Param>,<Param@[[@LINE-1]]:21>i</Param><Subscript@[[@LINE-3]]:3>]</Subscript>
a[i,i]
}
// CHECK: func <Func>test_defer</Func>() {
func test_defer() {
defer {
// CHECK: <Func@[[@LINE-2]]:6>test_defer</Func>()
test_defer()
}
}
func test_arg_tuple1(_: Int, _: Int) {}
func test_arg_tuple2(p1: Int, _: Int) {}
func test_arg_tuple3(_: Int, p2: Int) {}
func test_arg_tuple4(p1: Int, p2: Int) {}
// CHECK: <Func@[[@LINE-4]]:6>test_arg_tuple1</Func>(0,0)
test_arg_tuple1(0,0)
// CHECK: <Func@[[@LINE-5]]:6>test_arg_tuple2</Func>(<Func@[[@LINE-5]]:6#p1>p1</Func>:0,0)
test_arg_tuple2(p1:0,0)
// CHECK: <Func@[[@LINE-6]]:6>test_arg_tuple3</Func>(0,<Func@[[@LINE-6]]:6#p2>p2</Func>:0)
test_arg_tuple3(0,p2:0)
// CHECK: <Func@[[@LINE-7]]:6>test_arg_tuple4</Func>(<Func@[[@LINE-7]]:6#p1>p1</Func>:0,<Func@[[@LINE-7]]:6#p2>p2</Func>:0)
test_arg_tuple4(p1:0,p2:0)
@dynamicMemberLookup
struct Lens<T> {
var obj: T
init(_ obj: T) {
self.obj = obj
}
subscript<U>(dynamicMember member: WritableKeyPath<T, U>) -> Lens<U> {
get { return Lens<U>(obj[keyPath: member]) }
set { obj[keyPath: member] = newValue.obj }
}
}
struct Point {
var x: Int
var y: Int
}
struct Rectangle {
var topLeft: Point
var bottomRight: Point
}
func testDynamicMemberLookup(r: Lens<Rectangle>) {
_ = r.topLeft
// CHECK: _ = <Param@[[@LINE-2]]:30>r</Param>.<Var@[[@LINE-5]]:7>topLeft</Var>
_ = r.bottomRight.y
// CHECK: _ = <Param@[[@LINE-4]]:30>r</Param>.<Var@[[@LINE-6]]:7>bottomRight</Var>.<Var@[[@LINE-10]]:7>y</Var>
}
func keyPathTester<V>(keyPath: KeyPath<Lens<Rectangle>, V>) {}
func testKeyPath() {
keyPathTester(keyPath: \.topLeft)
// CHECK: <Func@[[@LINE-3]]:6>keyPathTester</Func>(<Func@[[@LINE-3]]:6#keyPath>keyPath</Func>: \.<Var@[[@LINE-12]]:7>topLeft</Var>)
}
| [
81967,
89646,
70839
] |
3b7d317bbe2bc95e22b412e221eb2cfa68bac542 | 840695ba69ae8ba01d2d1cc60aacff68a9d0da24 | /WeatherModal.swift | c13c8b94525f1f81805cd906e212819a04e42328 | [] | no_license | FrostFamil/Weather-app | 8b52c5c1cc61bb4d4ae0668caed0082534f95cad | ca6531c7ba70673c9d5b7764517473fed9d3502b | refs/heads/master | 2022-12-19T12:48:30.826250 | 2020-09-25T23:00:25 | 2020-09-25T23:00:25 | 298,247,496 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 935 | swift | //
// WeatherModal.swift
// Clima
//
// Created by Famil Samadli on 9/25/20.
// Copyright © 2020 App Brewery. All rights reserved.
//
import Foundation
struct WeatherModal {
let conditionId: Int
let cityName: String
let temperature: Double
var temperatureString: String {
return String(format: "%.1f", temperature);
}
var conditionName: String {
switch conditionId {
case 200...232:
return "cloud.bolt"
case 300...321:
return "cloud.drizzle"
case 500...531:
return "cloud.rain"
case 600...622:
return "cloud.snow"
case 701...781:
return "cloud.fog"
case 800:
return "sun.max"
case 801...804:
return "cloud.bolt"
default:
return "cloud"
}
}
}
| [
181686
] |
cc4db8f4fe1b1c7b04af2c6ce0423942df138f3a | 01f6fc98b030c4c66fc71635b24eb98e7e970781 | /Sources/PermissionsSwiftUI/Model/PermissionManagers/JMMicPermissionManager.swift | 201df47c2e3d249af9c1b3d27eb9ef99639e62bd | [
"MIT"
] | permissive | JadeGeek/PermissionsSwiftUI | 50420b3142aa2a6918d0e1ddc11b426556317ac0 | 5e693abf540e8cb75b1a5f432b2c87dc06973e89 | refs/heads/main | 2023-04-19T22:13:25.901251 | 2021-05-10T20:16:33 | 2021-05-10T20:16:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 805 | swift | //
// JMMicPermissionManager.swift
//
//
// Created by Jevon Mao on 1/31/21.
//
import AVFoundation
import Foundation
struct JMMicrophonePermissionManager: PermissionManager {
var authorizationStatus: AuthorizationStatus{
switch AVCaptureDevice.authorizationStatus(for: .audio){
case .authorized:
return .authorized
case .notDetermined:
return .notDetermined
default:
return .denied
}
}
init(permissionType: PermissionType?) {}
func requestPermission(_ completion: @escaping (Bool, Error?) -> Void) {
AVAudioSession.sharedInstance().requestRecordPermission {
granted in
DispatchQueue.main.async {
completion(granted, nil)
}
}
}
}
| [
-1
] |
5a1bfa987c01cb3aaf4c3fe278405d2d1fe4ee98 | 577e8433044a67054238852fb6396c0ef1d5efee | /Source/Private/Helpers/BundleLoader.swift | 2a44959a82566ad3efb54d481f4f054d08fb2f04 | [
"MIT"
] | permissive | cgoldsby/TvOSMoreButton | 0714ca38e0f7868b7893a7aa2c4f99bcfb681aac | 5d658b2d4f4439e29b94d6979fb037751f3762f2 | refs/heads/main | 2022-08-27T21:33:26.040500 | 2022-07-26T11:38:29 | 2022-07-26T11:38:29 | 71,502,126 | 64 | 26 | MIT | 2022-07-26T11:38:31 | 2016-10-20T20:33:55 | Swift | UTF-8 | Swift | false | false | 1,991 | swift | //
// BundleLoader.swift
//
// Copyright (c) 2016-2019 Chris Goldsby
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
import Foundation
var localizedStringBundle = Bundle.main
final class BundleLoader {
static let main: Bundle = {
let podBundle = Bundle(for: BundleLoader.self)
guard let url = podBundle.url(forResource: String(describing: TvOSMoreButton.self), withExtension: "bundle"),
let resourceBundle = Bundle(url: url) else { return localizedStringBundle }
if let language = Locale.current.languageCode,
let url = resourceBundle.path(forResource: language, ofType: "lproj"),
let bundle = Bundle(path: url) {
return bundle
}
else if let url = resourceBundle.path(forResource: "en", ofType: "lproj"),
let bundle = Bundle(path: url) {
return bundle
}
else {
return localizedStringBundle
}
}()
}
| [
194560,
407569,
98344,
174135,
354359,
174139,
124988,
229441,
229443,
174148,
229444,
395334,
378951,
174152,
229449,
106580,
106584,
106586,
106587,
112730,
125048,
229504,
125057,
125064,
125065,
125066,
235658,
125087,
215205,
215206,
215208,
215211,
215212,
215215,
241862,
317638,
317640,
241868,
241873,
262353,
241878,
262359,
241879,
106713,
106714,
262366,
106720,
106725,
241904,
176370,
241907,
176373,
260342,
106742,
176378,
141566,
141569,
141576,
241928,
241931,
141583,
241937,
141588,
12565,
227607,
227608,
141593,
141594,
227609,
227610,
227612,
141598,
141599,
141600,
227613,
241952,
241955,
227614,
141606,
141607,
141609,
241961,
241963,
141612,
289068,
12592,
141629,
141632,
141634,
213320,
141641,
141642,
262475,
141646,
241998,
141650,
141655,
282967,
282969,
168285,
172391,
141674,
141677,
141679,
141681,
375154,
190842,
430458,
190844,
375165,
375168,
375172,
141701,
430471,
430475,
141711,
197016,
197018,
197019,
197021,
197029,
303550,
160208,
305638,
272872,
223741,
191007,
272931,
57893,
272934,
57896,
420394,
57899,
57900,
57903,
57904,
57905,
57906,
158257,
336445,
336450,
336451,
55890,
336466,
336470,
336472,
336473,
336480,
336481,
111202,
272994,
336482,
336488,
273003,
273021,
273023,
297615,
297625,
135854,
135861,
242361,
244421,
244430,
66257,
66261,
62174,
127727,
127729,
244469,
244470,
164601,
316155,
142076,
334590,
334591,
142083,
142087,
318218,
334602,
318220,
334604,
334606,
142095,
318223,
334607,
318228,
318233,
318234,
318239,
187173,
318246,
187175,
187178,
396095,
396098,
396104,
396114,
396118,
396119,
396120,
396123,
396126,
396127,
299880,
60304,
60318,
60322,
60323,
60331,
213935,
60337,
185280,
281538,
185286,
203755,
437256,
437258,
437269,
437273,
437281,
3119,
187442,
144435,
187444,
437305,
97339,
341054,
437310,
341055,
341057,
341058,
97347,
341060,
437314,
222278,
341062,
341063,
341066,
437326,
185428,
285781,
312407,
312413,
437349,
185446,
312423,
115817,
115819,
242796,
312427,
437356,
115825,
437364,
437371,
294012,
294016,
437390,
437392,
437396,
40089,
312473,
40092,
312476,
228510,
40095,
40096,
228512,
40098,
312478,
312479,
40101,
312480,
437415,
437416,
40105,
312489,
189612,
40109,
40110,
437424,
437426,
437428,
189621,
312501,
312502,
312504,
437431,
437433,
437436,
322751,
437440,
38081,
437443,
437445,
292041,
292042,
437451,
38092,
437453,
437458,
203990,
203991,
152795,
204000,
204003,
339176,
339177,
208117,
152821,
294138,
279818,
206094,
279823,
294162,
206108,
206109,
425247,
27948,
181559,
173368,
173379,
173394,
378206,
222566,
222573,
222577,
222579,
222581,
222582,
54655,
222591,
222597,
222601,
54666,
222604,
222605,
222606,
54673,
54678,
54680,
279969,
153009,
298431,
212420,
370118,
153037,
153049,
153051,
112111,
112115,
112117,
112120,
40451,
112131,
40453,
280068,
40455,
40458,
40460,
40463,
112144,
112145,
40466,
40469,
40471,
40475,
40477,
40479,
40482,
316993,
173634,
173635,
173639,
319085,
319088,
319089,
319094,
319098,
319101,
319103,
394899,
52886,
52887,
394908,
394910,
52896,
52899,
52900,
151218,
394935,
321210,
292544,
108234,
34516,
108245,
212694,
296660,
34522,
34531,
296679,
34538,
296682,
296687,
296691,
151285,
296694,
108279,
108281,
216826,
216828,
296700,
296701,
296703,
296704,
216834,
296708,
296710,
276232,
313099,
276236,
313102,
313108,
313111,
159518,
321342,
120655,
120656,
218959,
218962,
223064,
223069,
292705,
223075,
223076,
237413,
180070,
292709,
128874,
128875,
227180,
223087,
227183,
128881,
128884,
227188,
141189,
141202,
141208,
141220,
108460,
108462,
319426,
141253,
319432,
59349,
141272,
141273,
174063,
174066,
174067,
174074,
395259,
194559
] |
e36c78d3f45ed92bfeea3a40eba5dd8d415fba2e | 7d1d12c058c1b2e86a194dcd565941a8a209be46 | /Balance/ConstantViewController.swift | 1221a6873de9d31274988641186727bf8bc56e2b | [] | no_license | AsliddinRasulov477/Balance | 5bca44dc23de1403ab477286370485c3fad41fc2 | bc27470860edb4aa7c543bea9f152b3303403bd3 | refs/heads/main | 2023-02-04T02:05:12.884995 | 2020-12-26T19:48:52 | 2020-12-26T19:48:52 | 324,624,511 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 628 | swift | import UIKit
class ConstantViewController: UIViewController {
@IBOutlet weak var segmentControl: UISegmentedControl!
@IBOutlet weak var firstView: UIView!
@IBOutlet weak var secondView: UIView!
override func viewDidLoad() {
super.viewDidLoad()
segmentControl.layer.borderColor = UIColor.white.cgColor
}
@IBAction func segmentAction(_ sender: UISegmentedControl) {
if sender.selectedSegmentIndex == 0 {
firstView.alpha = 1
secondView.alpha = 0
} else {
firstView.alpha = 0
secondView.alpha = 1
}
}
}
| [
-1
] |
6ee1e21fa893a642b47092801378fcc6f51fec90 | 007fe3763550a92da142ad45709ae6b718558b58 | /unwindPassbackData/AppDelegate.swift | c227b440426a2bd112b2716627d1c285fc0211b3 | [] | no_license | ekramramu/unwindSege | d1e41ee51a7c280cd6507016268b1c99a44cd55c | ac04787ac252995963dffa42abe23bc9ce08870c | refs/heads/master | 2020-07-26T10:07:40.535204 | 2019-09-15T15:10:48 | 2019-09-15T15:10:48 | 208,611,875 | 0 | 0 | null | null | null | null | UTF-8 | Swift | false | false | 2,187 | swift | //
// AppDelegate.swift
// unwindPassbackData
//
// Created by Ekramul Hoque on 15/9/19.
// Copyright © 2019 Ekramul Hoque. All rights reserved.
//
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
return true
}
func applicationWillResignActive(_ application: UIApplication) {
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
}
func applicationDidEnterBackground(_ application: UIApplication) {
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}
func applicationWillEnterForeground(_ application: UIApplication) {
// Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
}
func applicationDidBecomeActive(_ application: UIApplication) {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}
func applicationWillTerminate(_ application: UIApplication) {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
}
| [
229380,
229383,
229385,
278539,
229388,
294924,
278542,
327695,
229391,
229394,
278548,
229397,
229399,
229402,
352284,
229405,
278556,
278559,
229408,
294950,
229415,
229417,
327722,
237613,
229422,
360496,
237618,
229426,
229428,
311349,
286774,
286776,
229432,
204856,
319544,
286778,
352318,
286791,
237640,
286797,
237646,
311375,
163920,
196692,
319573,
311383,
278623,
278626,
319590,
311400,
303212,
131192,
237693,
303230,
327814,
303241,
131209,
417930,
311436,
303244,
319633,
286873,
286876,
311460,
311469,
32944,
327862,
286906,
327866,
180413,
286910,
131264,
286916,
295110,
286922,
286924,
286926,
319694,
286928,
131281,
278743,
278747,
295133,
155872,
319716,
237807,
303345,
286962,
303347,
131314,
229622,
327930,
278781,
278783,
278785,
237826,
319751,
278792,
286987,
319757,
311569,
286999,
319770,
287003,
287006,
287009,
287012,
287014,
287016,
287019,
311598,
287023,
262448,
311601,
295220,
287032,
155966,
319809,
319810,
278849,
319814,
311623,
319818,
311628,
229709,
287054,
319822,
278865,
229717,
196963,
196969,
139638,
213367,
106872,
319872,
311683,
319879,
311693,
65943,
319898,
311719,
278952,
139689,
278957,
311728,
278967,
180668,
311741,
278975,
319938,
98756,
278980,
278983,
319945,
278986,
319947,
278990,
278994,
311767,
279006,
188895,
172512,
287202,
279010,
279015,
172520,
319978,
279020,
172526,
311791,
279023,
172529,
279027,
319989,
180727,
164343,
279035,
311804,
287230,
279040,
303617,
287234,
279045,
172550,
320007,
172552,
303623,
287238,
279051,
172558,
279055,
303632,
279058,
303637,
279063,
279067,
172572,
279072,
172577,
295459,
172581,
295461,
279082,
311850,
279084,
172591,
172598,
279095,
172607,
172609,
172612,
377413,
172614,
213575,
303690,
172618,
33357,
287309,
279124,
172634,
262752,
254563,
172644,
311911,
189034,
295533,
172655,
352880,
172656,
295538,
189040,
172660,
189044,
287349,
287355,
287360,
295553,
172675,
295557,
287365,
311942,
303751,
352905,
311946,
287371,
279178,
311951,
287377,
172691,
287381,
311957,
287386,
221850,
230045,
172702,
287390,
303773,
172705,
287394,
172707,
303780,
164509,
287398,
205479,
287400,
279208,
172714,
295595,
279212,
189102,
172721,
287409,
66227,
303797,
189114,
287419,
303804,
328381,
287423,
328384,
279231,
287427,
312005,
312006,
172748,
287436,
107212,
172751,
295633,
172755,
303827,
279255,
172760,
287450,
279258,
303835,
189149,
303838,
213724,
312035,
279267,
295654,
279272,
230128,
312048,
312050,
230131,
189169,
205564,
303871,
230146,
295685,
328453,
230154,
312077,
295695,
295701,
230169,
369433,
295707,
328476,
295710,
230175,
303914,
279340,
205613,
279353,
230202,
312124,
328508,
222018,
295755,
377676,
148302,
287569,
303959,
230237,
279390,
230241,
279394,
303976,
336744,
303981,
303985,
303987,
328563,
279413,
303991,
303997,
295806,
295808,
304005,
295813,
304007,
320391,
304009,
213895,
304011,
230284,
189325,
304013,
295822,
213902,
189329,
279438,
304019,
189331,
58262,
304023,
279452,
410526,
279461,
279462,
304042,
213931,
304055,
230327,
287675,
197564,
230334,
304063,
304065,
213954,
189378,
156612,
295873,
213963,
312272,
304084,
304090,
320481,
304106,
320490,
312302,
328687,
320496,
304114,
295928,
320505,
312321,
295945,
230413,
197645,
295949,
320528,
140312,
295961,
238620,
197663,
304164,
304170,
304175,
238641,
312374,
238652,
238655,
230465,
238658,
296004,
336964,
205895,
320584,
238666,
296021,
402518,
336987,
230497,
296036,
296040,
361576,
205931,
164973,
205934,
312432,
279669,
337018,
189562,
304258,
279683,
66690,
222340,
205968,
296084,
238745,
304285,
238756,
205991,
222377,
165035,
337067,
165038,
238766,
230576,
304311,
230592,
312518,
279750,
230600,
230607,
148690,
320727,
279769,
304348,
279777,
304354,
296163,
320740,
279781,
304360,
320748,
279788,
279790,
304370,
296189,
320771,
312585,
296205,
230674,
320786,
230677,
296213,
230679,
320792,
230681,
296215,
214294,
230689,
173350,
312622,
296243,
312630,
222522,
296253,
222525,
296255,
312639,
230718,
296259,
378181,
296262,
230727,
296264,
320840,
238919,
296267,
296271,
222545,
230739,
312663,
222556,
337244,
230752,
312676,
230760,
173418,
410987,
230763,
148843,
230768,
296305,
312692,
230773,
279929,
181626,
304506,
304505,
181631,
148865,
312711,
312712,
296331,
288140,
288144,
230800,
304533,
288154,
337306,
288160,
288162,
288164,
279975,
304555,
370092,
279983,
173488,
288176,
279985,
312755,
296373,
312759,
279991,
288185,
337335,
222652,
312766,
173507,
296389,
222665,
230860,
312783,
288208,
230865,
148946,
370130,
222676,
288210,
288212,
288214,
280021,
329177,
288217,
288218,
280027,
288220,
239070,
239064,
288224,
370146,
280034,
288226,
288229,
280036,
280038,
288232,
288230,
288234,
320998,
288236,
288238,
288240,
288242,
296435,
288244,
288250,
296446,
402942,
148990,
321022,
296450,
206336,
230916,
230919,
214535,
304651,
370187,
230923,
304653,
402969,
230940,
222752,
108066,
296486,
296488,
157229,
239152,
230961,
157236,
288320,
288325,
124489,
280140,
280145,
288338,
280149,
288344,
280152,
239194,
280158,
403039,
181854,
370272,
239202,
370279,
312938,
280183,
280185,
280188,
280191,
116354,
280194,
280208,
280211,
288408,
280218,
280222,
419489,
190118,
321195,
296622,
321200,
337585,
296634,
296637,
419522,
313027,
280260,
419525,
206536,
280264,
206539,
206541,
206543,
263888,
280276,
313044,
321239,
280283,
313052,
288478,
313055,
419555,
321252,
313066,
288494,
280302,
280304,
313073,
419570,
288499,
321266,
288502,
280314,
288510,
67330,
280324,
198405,
288519,
280331,
198416,
280337,
296723,
116503,
321304,
329498,
296731,
321311,
313121,
313123,
304932,
321316,
280363,
141101,
165678,
321336,
296767,
288576,
345921,
337732,
304968,
280393,
280402,
173907,
313176,
42842,
280419,
321381,
296809,
296812,
313201,
1920,
255873,
305028,
280454,
247688,
280464,
124817,
280468,
239510,
280473,
124827,
214940,
247709,
214944,
280487,
313258,
321458,
296883,
124853,
214966,
296890,
10170,
288700,
296894,
190403,
296900,
280515,
337862,
165831,
280521,
231379,
296921,
354265,
354270,
239586,
313320,
354281,
231404,
124913,
165876,
321528,
288764,
239612,
313340,
239617,
313347,
288773,
313358,
321560,
305176,
313371,
354338,
305191,
223273,
313386,
354348,
215090,
124978,
124980,
288824,
288826,
321595,
313406,
288831,
288836,
67654,
280651,
354382,
288848,
280658,
215123,
354390,
288855,
288859,
280669,
313438,
149599,
280671,
149601,
321634,
149603,
223327,
329830,
280681,
313451,
223341,
280687,
215154,
313458,
149618,
280691,
313464,
321659,
280702,
288895,
321670,
215175,
141446,
141455,
141459,
275606,
280725,
313498,
100520,
288936,
280747,
288940,
288947,
280755,
321717,
280759,
280764,
280769,
280771,
280774,
280776,
321740,
313548,
280783,
280786,
280788,
313557,
280793,
280796,
280798,
338147,
280804,
280807,
157930,
280811,
280817,
280819,
157940,
125171,
182517,
280823,
280825,
280827,
280830,
280831,
280833,
125187,
280835,
125191,
125207,
321817,
125209,
125218,
321842,
223539,
125239,
280888,
280891,
289087,
280897,
280900,
239944,
305480,
239947,
305485,
305489,
379218,
280919,
248153,
215387,
354653,
354656,
313700,
313705,
280937,
190832,
280946,
223606,
313720,
280956,
280959,
313731,
199051,
240011,
289166,
240017,
297363,
190868,
297365,
297368,
297372,
141725,
297377,
289186,
297391,
289201,
240052,
289207,
305594,
289210,
281024,
289218,
289221,
289227,
436684,
281045,
281047,
166378,
305647,
281075,
174580,
240124,
281084,
305662,
305664,
240129,
305666,
305668,
330244,
240132,
223749,
223752,
338440,
150025,
281095,
223757,
281102,
223763,
223765,
281113,
322074,
281116,
281121,
182819,
281127,
281135,
150066,
158262,
158266,
289342,
281154,
322115,
158283,
281163,
281179,
338528,
338532,
281190,
199273,
281196,
19053,
158317,
313973,
297594,
281210,
158347,
264845,
182926,
133776,
182929,
314003,
117398,
314007,
289436,
174754,
330404,
289448,
174764,
314029,
314033,
240309,
133817,
314045,
314047,
314051,
199364,
297671,
158409,
256716,
289493,
363234,
289513,
289522,
289525,
289532,
322303,
289537,
322310,
264969,
322314,
322318,
281361,
281372,
322341,
215850,
281388,
289593,
281401,
289601,
281410,
281413,
281414,
240458,
281420,
240468,
281430,
322393,
297818,
281435,
281438,
281442,
174955,
224110,
207733,
207737,
183172,
158596,
338823,
322440,
314249,
240519,
183184,
142226,
224151,
240535,
289687,
297883,
289694,
289696,
289700,
289712,
281529,
289724,
52163,
183260,
420829,
281567,
289762,
322534,
297961,
183277,
322550,
134142,
322563,
314372,
330764,
175134,
322599,
322610,
314421,
281654,
314427,
207937,
314433,
314441,
207949,
322642,
314456,
281691,
314461,
281702,
281704,
314474,
281708,
281711,
289912,
248995,
306341,
306344,
306347,
322734,
306354,
142531,
199877,
289991,
306377,
289997,
249045,
363742,
363745,
298216,
330988,
126190,
216303,
322801,
388350,
257302,
363802,
199976,
199978,
314671,
298292,
298294,
257334,
216376,
298306,
380226,
224584,
224587,
224594,
216404,
306517,
150870,
314714,
224603,
159068,
314718,
265568,
314723,
281960,
150890,
306539,
314732,
314736,
290161,
216436,
306549,
298358,
314743,
306552,
290171,
314747,
298365,
290174,
306555,
224641,
281987,
298372,
314756,
265604,
281990,
298377,
314763,
142733,
298381,
314768,
224657,
314773,
306581,
314779,
314785,
314793,
282025,
282027,
241068,
241070,
241072,
282034,
241077,
150966,
298424,
306618,
282044,
323015,
306635,
306640,
290263,
290270,
290275,
339431,
282089,
191985,
282098,
290291,
282101,
241142,
191992,
290298,
151036,
290302,
282111,
290305,
175621,
192008,
323084,
257550,
282127,
290321,
282130,
323090,
290325,
282133,
241175,
290328,
282137,
290332,
241181,
282142,
282144,
290344,
306731,
290349,
290351,
290356,
224849,
282195,
282199,
282201,
306778,
159324,
159330,
314979,
298598,
323176,
224875,
241260,
323181,
257658,
315016,
282249,
290445,
282255,
282261,
175770,
298651,
323229,
282269,
323231,
298655,
61092,
282277,
306856,
196133,
282295,
323260,
282300,
323266,
282310,
323273,
282319,
306897,
241362,
306904,
282328,
298714,
52959,
216801,
282337,
241380,
216806,
323304,
282345,
12011,
282356,
323318,
282364,
282367,
306945,
241412,
323333,
282376,
216842,
323345,
282388,
323349,
282392,
184090,
315167,
315169,
282402,
315174,
323367,
241448,
315176,
241450,
282410,
306988,
306991,
323376,
315184,
315190,
241464,
159545,
282425,
307009,
241475,
307012,
298822,
315211,
282446,
307027,
315221,
323414,
315223,
241496,
241498,
307035,
307040,
110433,
282465,
241509,
110438,
298860,
110445,
282478,
315249,
282481,
110450,
315251,
315253,
315255,
339838,
315267,
282499,
315269,
241544,
282505,
241546,
241548,
298896,
298898,
282514,
44948,
241556,
298901,
241560,
282520,
241563,
241565,
241567,
241569,
282531,
241574,
282537,
298922,
36779,
241581,
282542,
241583,
323504,
241586,
290739,
241588,
282547,
241590,
241592,
241598,
290751,
241600,
241605,
151495,
241610,
298975,
241632,
298984,
241640,
241643,
298988,
241646,
241649,
241652,
323574,
290807,
241661,
299006,
282623,
315396,
241669,
315397,
282632,
282639,
290835,
282645,
241693,
282654,
102438,
217127,
282669,
323630,
282681,
290877,
282687,
159811,
315463,
315466,
192589,
307278,
192596,
176213,
307287,
315482,
315483,
217179,
192605,
233567,
200801,
299105,
217188,
299109,
307303,
315495,
356457,
45163,
307307,
315502,
192624,
307314,
323700,
299126,
233591,
299136,
307329,
315524,
307338,
233613,
241813,
307352,
299164,
241821,
299167,
184479,
184481,
315557,
184486,
307370,
307372,
184492,
307374,
307376,
299185,
323763,
299191,
176311,
307385,
184503,
258235,
307388,
176316,
307390,
307386,
299200,
184512,
307394,
299204,
307396,
184518,
307399,
323784,
307409,
307411,
176343,
299225,
233701,
307432,
184572,
282881,
184579,
282893,
323854,
291089,
282906,
291104,
233766,
176435,
307508,
315701,
307510,
332086,
307512,
168245,
307515,
307518,
282942,
282947,
323917,
282957,
110926,
233808,
323921,
315733,
323926,
233815,
315739,
323932,
299357,
242018,
242024,
299373,
315757,
250231,
315771,
242043,
299388,
299391,
291202,
299398,
242057,
291212,
299405,
291222,
315801,
291226,
242075,
283033,
291231,
61855,
283042,
291238,
291241,
127403,
127405,
127407,
291247,
299444,
127413,
291254,
127417,
291260,
127421,
127424,
299457,
127429,
315856,
127440,
315860,
176597,
283095,
127447,
299481,
127449,
176605,
242143,
127455,
127457,
291299,
340454,
127463,
242152,
291305,
127466,
176620,
127469,
291314,
127474,
291317,
135672,
127480,
233979,
291323,
127485,
291330,
127494,
283142,
127497,
233994,
135689,
127500,
291341,
233998,
127506,
234003,
234006,
127511,
152087,
283161,
242202,
135707,
234010,
135710,
242206,
242208,
291361,
242220,
291378,
152118,
234038,
234041,
315961,
70213,
242250,
111193,
242275,
299620,
242279,
168562,
184952,
135805,
135808,
291456,
373383,
299655,
135820,
316051,
225941,
316054,
299672,
135834,
373404,
225948,
135839,
299680,
225954,
135844,
299684,
242343,
209576,
242345,
373421,
135870,
135873,
135876,
135879,
299720,
299723,
299726,
225998,
226002,
226005,
226008,
242396,
299740,
201444,
299750,
283368,
234219,
283372,
185074,
226037,
283382,
316151,
234231,
234236,
226045,
234239,
242431,
209665,
299778,
234242,
242436,
234246,
226056,
291593,
234248,
242443,
234252,
242445,
234254,
291601,
234258,
242450,
242452,
234261,
201496,
234264,
234266,
234269,
234272,
234274,
152355,
299814,
234278,
283432,
234281,
234284,
234287,
283440,
185138,
242483,
234292,
234296,
160572,
283452,
234302,
234307,
242499,
234309,
292433,
316233,
234313,
316235,
234316,
283468,
234319,
242511,
234321,
234324,
201557,
234329,
234333,
308063,
234336,
242530,
234338,
349027,
234341,
234344,
234347,
177004,
234350,
324464,
234353,
152435,
177011,
234356,
234358,
234362,
226171,
234364,
291711,
234368,
234370,
201603,
291714,
234373,
226182,
234375,
291716,
308105,
226185,
234379,
324490,
234384,
234388,
234390,
226200,
234393,
209818,
308123,
234396,
324504,
291742,
324508,
234398,
234401,
291747,
291748,
234405,
324518,
291750,
324520,
234407,
234410,
324522,
291754,
291756,
226220,
324527,
234414,
234417,
201650,
324531,
291760,
234422,
226230,
324536,
275384,
234428,
291773,
234431,
242623,
324544,
234434,
324546,
324548,
226239,
226245,
234437,
234439,
234443,
291788,
193486,
234446,
193488,
234449,
275406,
234452,
234455,
234459,
234461,
234464,
234467,
234470,
168935,
5096,
324585,
234475,
234478,
316400,
234481,
316403,
234484,
234485,
234487,
234490,
234493,
234496,
316416,
234501,
275462,
308231,
234504,
234507,
234515,
300054,
234519,
234520,
316439,
234523,
234526,
234528,
300066,
234532,
300069,
234535,
234537,
234540,
234543,
234546,
275508,
300085,
234549,
300088,
234553,
234556,
234558,
316479,
234561,
308291,
234563,
316483,
160835,
234568,
234570,
316491,
234572,
300108,
234574,
300115,
234580,
234581,
234585,
275545,
242777,
234590,
234593,
234595,
234597,
300133,
234601,
300139,
234605,
160879,
234607,
275569,
234610,
316530,
300148,
234614,
398455,
144506,
234618,
234620,
275579,
234623,
226433,
234627,
275588,
234629,
242822,
234634,
234636,
177293,
234640,
275602,
234643,
308373,
324757,
226453,
234647,
234648,
234650,
308379,
275608,
234653,
300189,
119967,
324766,
324768,
283805,
234657,
242852,
300197,
234661,
283813,
234664,
177318,
275626,
234667,
316596,
308414,
234687,
300223,
300226,
308418,
234692,
283844,
300229,
308422,
308420,
283850,
300234,
300238,
300241,
316625,
300243,
300245,
316630,
300248,
300253,
300256,
300258,
300260,
234726,
300263,
300265,
300267,
161003,
300270,
300272,
120053,
300278,
316663,
275703,
300284,
275710,
300287,
292097,
300289,
161027,
300292,
300294,
275719,
234760,
177419,
300299,
300301,
349451,
242957,
177424,
275725,
283917,
349464,
415009,
283939,
259367,
292143,
283951,
300344,
226617,
243003,
283963,
226628,
300357,
283973,
177482,
283983,
316758,
357722,
316766,
316768,
292192,
218464,
292197,
243046,
316774,
218473,
136562,
333178,
275834,
275836,
275840,
316803,
316806,
226696,
316811,
226699,
316814,
226703,
300433,
234899,
226709,
357783,
316824,
316826,
300448,
144807,
144810,
144812,
144814,
144820,
374196,
284084,
292279,
284087,
144826,
144828,
144830,
144832,
144835,
144837,
144839,
144841,
144844,
144847,
144852,
144855,
103899,
300507,
333280,
226787,
218597,
292329,
300523,
259565,
300527,
308720,
259567,
292338,
316917,
292343,
308727,
300537,
316933,
316947,
308757,
308762,
316959,
284194,
284196,
235045,
284199,
284204,
284206,
284209,
284211,
284213,
308790,
316983,
284215,
194103,
284218,
194101,
226877,
292414,
284223,
284226,
243268,
284228,
292421,
284231,
226886,
128584,
284234,
276043,
317004,
366155,
284238,
226895,
284241,
194130,
284243,
300628,
284245,
276052,
276053,
284247,
235097,
243290,
284249,
284251,
317015,
300638,
284253,
243293,
284255,
284258,
292452,
292454,
177766,
284265,
292458,
284267,
292461,
284272,
284274,
284278,
292470,
276086,
292473,
284283,
276093,
284286,
292479,
284288,
292481,
284290,
325250,
284292,
292485,
325251,
276095,
276098,
284297,
317066,
284299,
317068,
276109,
284301,
284303,
284306,
276114,
284308,
284312,
284314,
284316,
276127,
284320,
284322,
284327,
284329,
317098,
284331,
276137,
284333,
284335,
284337,
284339,
300726,
284343,
284346,
284350,
358080,
276160,
284354,
358083,
284358,
358089,
284362,
276170,
276175,
284368,
276177,
284370,
358098,
284372,
317138,
284377,
284379,
284381,
284384,
358114,
284386,
358116,
276197,
317158,
358119,
284392,
325353,
358122,
284394,
284397,
358126,
284399,
358128,
276206,
358133,
358135,
276216,
358138,
300795,
358140,
284413,
358142,
358146,
317187,
284418,
317189,
317191,
284428,
300816,
300819,
317207,
300828,
300830,
276255,
325408,
300832,
300834,
317221,
227109,
358183,
186151,
276268,
300845,
243504,
300850,
284469,
276280,
325436,
358206,
276291,
366406,
276295,
300872,
153417,
292681,
358224,
284499,
276308,
178006,
317271,
284502,
276315,
292700,
284511,
317279,
227175,
292715,
300912,
292721,
284529,
300915,
284533,
292729,
317306,
284540,
292734,
325512,
169868,
358292,
399252,
284564,
284566,
317332,
350106,
284572,
276386,
284579,
276388,
358312,
317353,
284585,
292776,
276395,
292784,
276402,
358326,
161718,
358330,
276411,
276418,
276425,
301009,
301011,
301013,
292823,
358360,
301015,
301017,
292828,
153568,
292839,
350186,
292843,
292845,
227314,
350200,
325624,
317435,
350210,
178181,
350218,
292876,
350222,
317456,
276496,
317458,
178195,
243733,
243740,
317468,
317472,
325666,
243751,
292904,
178224,
276528,
309298,
243762,
325685,
325689,
235579,
325692,
235581,
178238,
276539,
276544,
243779,
284739,
325700,
292934,
243785,
276553,
350293,
350295,
309337,
227418,
350299,
350302,
194654,
227423,
178273,
309346,
227426,
194660,
350308,
309348,
309350,
292968,
350313,
309354,
309352,
350316,
227430,
276583,
301167,
276590,
350321,
284786,
276595,
301163,
350325,
227440,
350328,
292985,
301178,
350332,
292989,
301185,
292993,
350339,
317570,
317573,
350342,
350345,
350349,
301199,
317584,
325777,
350354,
350357,
350359,
350362,
350366,
276638,
153765,
284837,
350375,
350379,
350381,
350383,
350385,
350387,
350389,
350395,
350397,
350399,
227520,
350402,
227522,
301252,
350406,
227529,
301258,
309450,
276685,
309455,
276689,
309462,
301272,
276699,
194780,
309468,
309471,
301283,
317672,
317674,
325867,
243948,
194801,
309491,
309494,
243960,
227583,
276735,
227587,
276739,
211204,
276742,
227596,
325910,
309530,
342298,
211232,
317729,
276775,
211241,
325937,
325943,
211260,
260421,
285002,
276811,
235853,
276816,
235858,
276829,
276833,
391523,
276836,
293227,
276843,
293232,
276848,
186744,
211324,
227709,
285061,
366983,
317833,
178572,
285070,
285077,
178583,
227738,
317853,
342434,
317858,
285093,
317864,
285098,
276907,
235955,
276917,
293304,
293307,
293314,
309707,
293325,
129486,
317910,
293336,
235996,
317917,
293343,
358880,
276961,
293346,
227810,
276964,
293352,
236013,
293364,
293370,
301562,
317951,
309764,
301575,
121352,
236043,
317963,
342541,
55822,
113167,
309779,
317971,
309781,
55837,
227877,
227879,
293417,
227882,
309804,
293421,
105007,
236082,
285236,
23094,
277054,
244288,
219714,
318020,
301636,
301639,
301643,
285265,
309844,
277080,
309849,
285277,
285282,
326244,
318055,
277100,
309871,
121458,
170618,
170619,
309885,
309888,
277122,
227975,
277128,
285320,
301706,
334476,
326285,
318094,
318092,
277136,
277139,
227992,
334488,
318108,
285340,
318110,
227998,
137889,
383658,
285357,
318128,
277170,
293555,
342707,
154292,
318132,
277173,
277177,
277181,
318144,
277187,
277191,
277194,
277196,
277201,
342745,
137946,
342747,
342749,
113378,
203491,
228069,
277223,
342760,
285417,
56041,
56043,
56045,
277232,
228081,
56059,
310015,
310020,
285448,
310029,
228113,
285459,
277273,
293659,
326430,
228128,
293666,
228135,
318248,
277291,
293677,
318253,
285489,
293685,
285494,
301880,
285499,
301884,
293696,
310080,
277317,
293706,
277329,
162643,
310100,
301911,
301913,
277337,
301921,
400236,
236397,
162671,
326514,
310134,
236408,
277368,
15224,
416639,
416640,
113538,
310147,
416648,
277385,
187274,
39817,
301972,
424853,
277405,
277411,
310179,
293798,
293802,
236460,
277426,
293811,
276579,
293817,
293820,
203715,
326603,
342994,
276586,
293849,
293861,
228327,
228328,
318442,
228330,
228332,
326638,
277486,
351217,
318450,
293876,
293877,
285686,
302073,
121850,
293882,
244731,
285690,
302075,
293887,
277504,
277507,
277511,
293899,
277519,
293908,
302105,
293917,
293939,
318516,
277561,
277564,
310336,
7232,
293956,
277573,
228422,
293960,
310344,
277577,
277583,
203857,
293971,
310355,
310359,
236632,
277594,
138332,
277598,
203872,
277601,
285792,
310374,
203879,
310376,
228460,
318573,
203886,
187509,
285815,
367737,
285817,
302205,
285821,
392326,
285831,
302218,
294026,
285835,
162964,
384148,
187542,
302231,
302233,
285849,
285852,
302237,
285854,
285856,
302241,
285862,
277671,
302248,
64682,
277678,
294063,
294065,
302258,
277687,
294072,
318651,
294076,
277695,
318657,
244930,
302275,
130244,
302277,
302282,
310476,
302285,
302288,
310481,
302290,
203987,
302292,
302294,
302296,
384222,
310498,
285927,
318698,
302315,
228592,
294132,
138485,
228601,
204026,
228606,
204031,
64768,
310531,
138505,
228617,
318742,
204067,
130345,
277801,
277804,
285997,
384302,
285999,
277807,
113969,
277811,
318773,
318776,
277816,
286010,
277819,
294204,
417086,
277822,
286016,
294211,
302403,
384328,
277832,
277836,
146765,
294221,
326991,
294223,
277839,
277842,
277847,
277850,
179547,
277853,
277857,
277860,
302436,
294246,
327015,
310632,
327017,
351594,
277864,
277869,
277872,
351607,
310648,
277880,
310651,
277884,
277888,
310657,
310659,
351619,
294276,
327046,
277892,
253320,
310665,
318858,
277894,
277898,
277903,
310672,
351633,
277905,
277908,
277917,
310689,
277921,
130468,
277928,
277932,
310703,
277937,
130486,
310710,
310712,
277944,
310715,
277947,
302526,
228799,
277950,
277953,
302534,
245191,
310727,
64966,
277959,
277963,
302541,
277966,
302543,
310737,
277971,
228825,
277978,
310749,
277981,
277984,
310755,
277989,
277991,
277995,
310764,
286188,
278000,
228851,
310772,
278003,
278006,
40440,
212472,
278009,
40443,
310780,
286203,
40448,
228864,
286214,
228871,
302603,
302614,
302617,
286233,
302621,
187936,
146977,
286240,
187939,
40484,
294435,
40486,
286246,
40488,
245288,
294439,
40491,
294440,
294443,
294445,
310831,
286248,
40499,
40502,
212538,
40507,
40511,
40513,
228933,
327240,
40521,
286283,
40525,
40527,
212560,
400976,
228944,
40533,
40537,
40539,
40541,
278109,
40544,
40548,
40550,
40552,
286312,
40554,
286313,
310892,
40557,
40560,
188022,
122488,
294521,
343679,
294537,
310925,
286354,
278163,
302740,
278168,
179870,
327333,
229030,
212648,
302764,
278188,
319153,
278196,
319163,
302781,
319171,
302789,
294599,
278216,
294601,
302793,
343757,
212690,
319187,
286420,
278227,
229076,
286425,
319194,
278235,
229086,
286432,
294625,
294634,
302838,
319226,
286460,
278274,
302852,
278277,
302854,
311048,
294664,
319243,
311053,
302862,
319251,
294682,
278306,
188199,
294701,
319280,
278320,
319290,
229192,
302925,
188247,
188252,
237409,
229233,
294776,
360317,
294785,
327554,
360322,
40840,
40851,
294803,
188312,
294811,
319390,
237470,
40865,
319394,
294817,
294821,
311209,
180142,
343983,
188340,
40886,
319419,
294844,
294847,
393177,
294876,
294879,
294883,
393190,
294890,
311279,
278513,
237555,
311283,
278516,
278519,
237562
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.