Skip to content

Instantly share code, notes, and snippets.

View sergigracia's full-sized avatar
🏖️
Working Remotely

Sergi Gracia sergigracia

🏖️
Working Remotely
View GitHub Profile
@sergigracia
sergigracia / iOSProjectFolderStructure.swift
Last active June 10, 2022 15:30
How to organize an Xcode project? This is a folder structure proposal for an iOS project.
App
Coordinators // Views management
UI // Grouped by features/viewHierarchy
General // Custom textfield, picker
FeatureA
A.swift
AView.swift
AController.swift
AppExtensions // Specific code for extensions
Watch
@sergigracia
sergigracia / pr-description-generator.js
Last active August 29, 2015 14:14
PR description generator
/*
Add this as bookmark in your browser and tap on the bookmark when your are creating a new PR.
Example: http://cl.ly/image/0D1k0d1W1R0Y/Screen%20Shot%202015-01-26%20at%203.57.30%20PM.png
*/
javascript:(function() {
var e = document.getElementById('pull_request_body');
if (e) {e.value +='#### :tophat: What? Why?\n\n\n#### :dart: What should QA test?\n\n\n#### :pushpin: Related tasks?\n\n\n#### :clipboard: Developer checklist\n- [ ] Unit Tests (if necessary)\n- [ ] UI Snapshot Tests (if necessary)\n- [ ] Added accessibility tags to any interactive element\n- [ ] Added reporting for GA (events + screen views) / Errors / Exceptions\n- [ ] Documentation\n\n#### :ghost: GIF\n![]()';}
})();