A sample iOS application with code snippets.
https://github.com/shabib87/objective-c-style-guide
http://ios-blog.co.uk https://github.com/jaredsinclair/JTSReachability http://ios-blog.co.uk/resources/a-collection-of-free-ios-7-gui-kits-and-templates/
https://github.com/andrealufino/ALSystemUtilities
https://github.com/ariok/BWWalkthrough
https://github.com/boctor/idev-recipes https://github.com/ioscreator/ioscreator https://github.com/intentkit/IntentKit https://medium.com/ios-apprentice/9-time-saving-ios-7-libraries-43e943e6627 https://medium.com/ios-apprentice/working-with-localization-905e4052b9de
https://medium.com/ios-apprentice/11-insanely-great-ios-developers-sites-95686a523ea8
https://github.com/schneiderandre/popping https://github.com/rnystrom/RNThemeManager http://www.ios-developer.net/iphone-ipad-programmer/development/web-view/web-view-general https://github.com/FuerteInternational/FTGooglePlacesAPI
https://github.com/alexruperez/objective-c-style-guide
https://github.com/NatashaTheRobot/AppNetClient https://github.com/googlemaps/OpenInGoogleMaps-iOS https://github.com/AlbertMontserrat/UIPlacePicker
https://github.com/cbpowell/MarqueeLabel https://github.com/colatusso/iOSAppTemplate https://github.com/schneiderandre/ASCFlatUIColor
https://github.com/airbob/iOS-tableview-of-2014-world-cup
https://www.drupal.org/node/1388470
https://github.com/dfmuir/KINWebBrowser
https://github.com/xmartlabs/XLForm
https://github.com/enriquez/ECPhoneNumberFormatter
https://github.com/Produkt/PDKTStickySectionHeadersCollectionViewLayout/tree/master/Demo https://github.com/schneiderandre/ASCFlatUIColor
https://github.com/kishikawakatsumi/UICKeyChainStore
https://github.com/venmo/BZGFormViewController
https://github.com/molon/MLPresentController
https://github.com/sideround https://github.com/romaonthego/RETableViewManager https://github.com/DenHeadless https://github.com/EugeneTrapeznikov/ETSwipeCell https://github.com/matteogobbi/MGSpotyViewControllerpa https://github.com/skywinder/SWTableViewCell https://github.com/mamaral/MAActionCell
https://github.com/danielebogo/DBPrivacyHelper https://github.com/intuit/LocationManager https://developer.apple.com/library/ios/samplecode/LocateMe/Listings/LocateMe_LocationDetailViewController_m.html#//apple_ref/doc/uid/DTS40007801-LocateMe_LocationDetailViewController_m-DontLinkElementID_11 https://github.com/brandonemrich/ForecastKit/blob/master/ForecastKit.h
http://stackoverflow.com/questions/21364355/filtering-ordering-mklocalsearch-response?rq=1 http://stackoverflow.com/questions/14950896/showing-nearby-restaurants-in-mkmap-view?lq=1
http://nshipster.com/launch-options/ http://nshipster.com/uiactivityviewcontroller/
https://github.com/objcio/issue-1-lighter-view-controllers
http://stackoverflow.com/questions/15864595/programatically-add-a-reminder-to-the-reminders-app https://developer.apple.com/library/ios/samplecode/SimpleEKDemo/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010160-Intro-DontLinkElementID_2 http://www.raywenderlich.com/64513/cookbook-making-calendar-reminder https://github.com/leverdeterre/CalendarIOS7
https://github.com/sxyx2008/awesome-ios-animation https://github.com/andreamazz http://stackoverflow.com/questions/3844557/uiview-shake-animation https://github.com/andreamazz/UITextField-Shake http://stackoverflow.com/questions/1632364/shake-visual-effect-on-iphone-not-shaking-the-device
https://github.com/braker1nine/CBTextFieldView
https://github.com/mutualmobile/MMDrawerController https://github.com/pkluz/PKRevealController https://github.com/aryaxt/iOS-Slide-Menu https://www.cocoacontrols.com/controls/msdynamicsdrawerviewcontroller https://github.com/adamdebono/ADSlidingViewController https://github.com/mutualmobile/MMDrawerController https://github.com/kolyvan/kxmenu https://github.com/erichoracek/MSDynamicsDrawerViewController https://github.com/rnystrom/RNSwipeViewController https://github.com/gloubibou/HHTabListController https://www.cocoacontrols.com/controls/slidenavigationcontroller
https://github.com/NagaMallesh/MLKMenuPopover
https://github.com/cnoon/Swift-Introduction
https://github.com/rolandleth/LTHPasscodeViewController https://github.com/abury/ABPadLockScreen
http://code.tutsplus.com/tutorials/localizing-an-ios-application-in-xcode-6--cms-23502
https://github.com/lmirosevic/GBDeviceInfo
https://github.com/facebook/pop https://github.com/nicolaschengdev/WYPopoverController https://github.com/schneiderandre/popping
https://github.com/DigitalLeaves/SocialLoginForiOS
https://github.com/remirobert/RRMessageController
https://github.com/sebyddd/SDRoundedButton
http://myapptemplates.com/product/soundfree-radio-ios-app-template/ http://ivomynttinen.com/blog/the-ios-7-design-cheat-sheet/ http://myapptemplates.com/product/filters-sample-iphone-app-template-ios/ http://myapptemplates.com/product/filters-sample-iphone-app-template-swift/ http://iosdesign.ivomynttinen.com/ https://loveui.co/vowt/
http://codyhouse.co/gem/fixed-background-effect/ http://www.materialui.co/colors http://pixelbuddha.net/freebie/iphone-6-mockups https://github.com/sahat/satellizer http://veerle.duoh.com/design/article/draw_a_cute_lion_in_illustrator https://dribbble.com/shots/1658992-Free-Lined-Icons
https://dribbble.com/InVisionApp https://dribbble.com/madebyanton/projects/263083-Secret-Project#attachment-376663
https://www.behance.net/gallery/21888779/Mad-Squire-typeface-FREE-FONT
https://github.com/fsjack/JKTabBarController
https://github.com/ivoleko/ILTranslucentView https://github.com/PeteC/InteractiveViewControllerTransitions https://github.com/moqod/ios-material-design
https://github.com/antiraum/THPinViewController
https://github.com/ennioma/EMAccordionTableViewController https://github.com/iSofTom/STCollapseTableView https://github.com/otaviocc/OCBorghettiView https://www.cocoacontrols.com/controls/sdnestedtable https://github.com/vicpenap/VPPDropDown
https://github.com/matteogobbi/MGSpotyViewController
https://trinitytuts.com/build-first-web-service-php/ http://chocotech.blogspot.co.uk/2013/12/how-to-create-php-web-service-with-json.html http://davidwalsh.name/web-service-php-mysql-xml-json
https://github.com/novalagung/NVDate https://github.com/andjash/DateCellsController (inline date selection)
https://github.com/ltebean/LTNavigationBar https://github.com/tristanhimmelman/HidingNavigationBar https://github.com/chroman/CRGradientNavigationBar
https://github.com/lukegeiger/LGSemiModalNavController
https://github.com/ennioma/EMNotificationPopup https://github.com/cacmartinez/CCMPopup https://github.com/carsonperrotti/CNPPopupController
https://github.com/AugustRush/TLYShyNavBar https://github.com/dogo/SCLAlertView https://github.com/Dromaguirre/DRPageScrollView https://github.com/Dromaguirre/Popsicle
https://www.behance.net/gallery/22162975/Calendar-App https://www.behance.net/gallery/23822571/Landmarks-of-Istanbul https://www.behance.net/gallery/14341651/Gana-Furkan-Mosque https://www.behance.net/gallery/18640709/Greeting-Cards-Happy-Eid-al-Fitr-1435H https://www.behance.net/gallery/11836723/Le-vieux-Caire https://github.com/appsquickly/Typhoon-Swift-Example
https://github.com/sebyddd/WWDC-2015-Submissions https://github.com/sebyddd/SDFeedParser
https://github.com/fernandospr/FSParallaxTableView https://github.com/quemb/QMBParallaxScrollViewController
ALert View custer https://github.com/dogo/SCLAlertViewc https://github.com/sdarlington/WSLViewAutoDismiss
segment https://github.com/nealyoung/NYSegmentedControl
https://github.com/recruit-mp/RMPScrollingMenuBarController https://github.com/shabib87/SHViewPagerExample https://github.com/nakajijapan/NKJPagerViewController https://github.com/hons82/THSegmentedPager https://github.com/malcommac/DMPagerViewController
https://www.cocoacontrols.com/controls/iqdatabasemanager https://github.com/pixyzehn/CoredataPractice http://www.raywenderlich.com/14742/core-data-on-ios-5-tutorial-how-to-work-with-relations-and-predicates https://github.com/project-imas/encrypted-core-data http://www.raywenderlich.com/934/core-data-tutorial-for-ios-getting-started
https://github.com/Darkseal/DownPicker https://github.com/hons82/THCalendarDatePicker https://github.com/Friend-LGA/LGActionSheet https://github.com/skywinder/ActionSheetPicker-3.0 https://github.com/CooperRS/RMActionController
https://github.com/daria-kopaliani/DAPagesContainer https://github.com/shabib87/SHViewPagerExample https://github.com/uacaps/PageMenu https://github.com/kitasuke/PagingMenuController https://github.com/guilhermearaujo/GUITabPagerViewController
https://github.com/ersentekin/ETSegmentedView https://github.com/AdityaDeshmane/iOSCustomPageControl
https://github.com/kitasuke/MDCSwipeToChoose
JIRA / Redmine
http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1
https://github.com/AlexandrGraschenkov/MagicPie https://github.com/johngraham262/JWGCircleCounter https://github.com/yimingtang/TYMActivityIndicatorView https://www.cocoacontrols.com/controls/circleprogressview https://github.com/sakrist/VBPieChart https://github.com/gyetvan-andras/Chart.js-ObjC-Wrapper https://github.com/danielgindi https://github.com/danielgindi/ios-chartsd
https://github.com/minsOne/DigitClock https://github.com/dasdom/DDHTimerControl
https://github.com/remirobert/Kinder
Scroller menu https://dribbble.com/shots/1706861-Top-Menu-Animation?list=users&offset=23
https://github.com/SocialObjects-Software/SOMessaging https://github.com/sibahota059/FlatChatBubble https://github.com/sibahota059/SPHChatCollectionView https://github.com/medinaonly/DBChatAvatarSample
https://github.com/shams-ahmed/SAScrollTableViewCell
https://github.com/remirobert/RRTagController
http://technet.weblineindia.com/mobile/how-to-access-soap-web-services-from-ios-sdk/2/ http://www.icodeblog.com/2008/11/03/iphone-programming-tutorial-intro-to-soap-web-services/ https://github.com/priore/SOAPEngine http://amoghnatu.net/2014/04/26/consuming-soap-web-services-from-ios-objective-c/ http://www.makebetterthings.com/iphone/call-soap-web-service-from-iphone/
https://github.com/CooperRS/RMActionController
https://github.com/jpsim/JPSThumbnailAnnotation
https://github.com/kubatru/UIImage-JTAdditions //image https://github.com/Friend-LGA/LGHelper-NS/tree/master/LGHelper%2BNS //etc
https://github.com/Friend-LGA?tab=repositories
https://github.com/CooperRS/RMMultipleViewsController
https://github.com/rcmcastro/whatsapp-ios
https://github.com/nicklockwood?tab=repositories https://github.com/jessesquires/JSQMessagesViewController https://github.com/mattt?tab=repositories https://github.com/objcio https://github.com/Friend-LGA?tab=repositories
https://github.com/sanketfirodiya
https://github.com/mledoze/countries (country list) https://github.com/roroge/LocationPicker (popover) https://github.com/MendyK/CoreAnimationClock https://github.com/entotsu (animation) https://github.com/hons82 (hm segments) http://masteringios.com/blog/2015/03/03/in-app-purchase-how-to-download-content-hosted-on-the-apple-server/
https://github.com/sanketfirodiya/awesome-ios-plugins http://alcatraz.io/
https://github.com/AlvaroFranco/AFSoundManager https://github.com/willingheart/AZSoundManager
// https://github.com/ZipArchive/ZipArchive http://stackoverflow.com/questions/16105072/how-to-unzip-a-zip-file-on-ios
/ SVN / svn co path
image picker https://github.com/dgileadi/OnlineImagePicker https://www.dropbox.com/developers/dropins/chooser/ios
// Save image http://www.raywenderlich.com/1914/nscoding-tutorial-for-ios-how-to-save-your-app-data
https://github.com/nolanw/HTMLReader https://github.com/dzenbot/DZNWebViewController
https://codyhouse.co/ http://www.invisionapp.com/ http://www.uipixels.com/psd-freebies/app-design/ http://www.iosicontemplate.com
site http://www.uipixels.com/fashion-store-website-template/ http://www.uipixels.com/shopping-template-ui-kit/ http://mokaine.com
http://www.labnol.org/internet/101-useful-websites/
images https://unsplash.com/search?utf8=✓&keyword=cloth&button= https://www.hellomany.com
https://addons.mozilla.org/en-US/firefox/addon/video-downloadhelper/ https://github.com/Crinsane/LaravelShoppingcart https://tutorials.kode-blog.com/laravel-5-rest-api http://esbenp.github.io/2017/03/19/modern-rest-api-laravel-part-4/ https://www.codetutorial.io/laravel-5-rest-api-basic-authentication/ https://laravel-angular.readme.io/docs https://www.codetutorial.io/the-shopping-cart-how-to-craft-an-e-shop-with-laravel/
https://datatables.yajrabox.com/eloquent/multi-filter-select https://github.com/Tony133/LaravelAPIBoilerplateJWT http://www.expertphp.in/article/create-restful-api-using-laravel-5-with-resourceful-routes-example https://datatables.net/examples/api/multi_filter.html http://labs.infyom.com/laravelgenerator/
https://medium.com/@MedvedevTheDev/generating-basic-qr-codes-in-swift-63d7222aa011 https://laracasts.com/series/laravel-from-scratch-2017/episodes/12?autoplay=true
Free theme https://medialoot.com/blog/10-most-promising-free-bootstrap-4-templates-for-2017/ https://themes.getbootstrap.com/products/dashboard https://www.quackit.com/bootstrap/bootstrap_4/tutorial/bootstrap_forms.cfm https://medialoot.com/item/free-bootstrap-4-theme-startup-ui-kit/ https://github.com/modularcode/modular-admin-html https://medialoot.com/browse/?price=free https://modularcode.io/modular-admin-html/forms.html https://shapebootstrap.net/free-templates
http://packagist.org http://cabinet.laravel.com/latest.zip
Sample https://coursetro.com/posts/code/54/Angular-4-Firebase-Tutorial:-Make-a-Simple-Angular-4-App https://coursetro.com/courses/12/Learn-Angular-4-from-Scratch?utm_source=in_article&utm_campaign=article&utm_medium=Learn+Angular+4+from+Scra https://applyhead.com/angular-4-tutorial-make-angular-4-app-using-github-api/ https://github.com/cornflourblue/angular2-registration-login-example https://github.com/gothinkster/angular-realworld-example-app
https://github.com/ng-bootstrap/ng-bootstrap https://www.sitepoint.com/angular-2-tutorial/
https://github.com/angular/angular-cli https://www.npmjs.com/package/angular-cli
-
- — - - - - - - - dataTable - - — - - - - - - -
https://l-lin.github.io/angular-datatables/#/getting-started https://github.com/swimlane/ngx-datatable https://tablesorter.com/docs/#Examples https://datatables.net/examples/index
https://pdsullivan.github.io https://blog.pdsullivan.com/posts/2014/10/06/api-angularjs-tutorial.html
https://github.com/gothinkster/realworld/tree/master/api
Packages: https://packagist.org atti14:delete14
-
- — - - - - - - - LARAVEL - - — - - - - - - -
Install Laravel: https://laravel.com/docs/5.5/installation
install composer: https://getcomposer.org/download/ php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php -r "if (hash_file('SHA384', 'composer-setup.php') === '669656bab3166a7aff8a7506b8cb2d1c292f042046c5a994c43155c0be6190fa0355160742ab2e1c88d40d5be660b410') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" php composer-setup.php php -r "unlink('composer-setup.php');"
doc move into bin folder: mv composer.phar /usr/local/bin/composer error: mv: rename composer.phar to /usr/local/bin/composer: No such file or directory
sudo mv composer.phar /usr/bin/composer error: mv: rename composer.phar to /usr/bin/composer: Operation not permitted
You need to press Cmd + R at boot time, open the terminal and then run csrutil disable and reboot. Then: sudo mv composer.phar /usr/bin/composer Now again boot again and csrutil enable
Check: php -v If version larger 5.6 Then: cd /Applications/MAMP/htdocs
Then install larval stable version: composer create-project --prefer-dist laravel/laravel ProjectName
-
- — - - - - - - - Global install LARAVEL after compose install - - — - - - - - - -
Or if you install globally: composer global require "laravel/installer" see doc Delete project: rm -rf blog Int folder htdocs folder: laravel new blog // http://cabinet.laravel.com/latest.zip
Error: -bash: laravel: command not found // https://stackoverflow.com/questions/26376516/laravel-php-command-not-found?rq=1
echo 'export PATH="$HOME/.composer/vendor/bin:$PATH"' > ~/.bashrc
source /.bashrc
// OR //
nano .bash_profile
export PATH=/.composer/vendor/bin:$PATH
Then hold “Control X” when prompted to save type y and press enter
Then quit and relaunch Terminal.app
Got to project folder then type in console: subl then press enter
Error handle https://github.com/filp/whoops: composer require filp/whoops Search packagist nesbot/carbon for data formate https://carbon.nesbot.com/: composer require nesbot/carbon Composer require phpspec/phpspec
if receive auth problem Try to run: composer clear-cache composer config --global --unset repositories.packagist
if you receive Content-lenght mismatch follow: https://stackoverflow.com/questions/38635257/composer-content-length-mismatch
See versin: php artisan -v
Start server url:
Error: Failed to listen on 127.0.0.1:8000 (reason: Address already in use)
Solution change port: php artisan serve --port=8005
Another kill that process using proces id: sudo netstat -plnt
Then kill that process using id: kill 9990,PID here
Valet - not understand yet Download : https://brew.sh /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Update Homebrew: brew update Update php: brew install homebrew/php/php71 Remove valet: composer global remove laravel/valet Install valet: composer global require laravel/valet
install auth moudle: php artisan make:auth
-
- — - - - - - - - DB - - — - - - - - - -
For db use mysql or sequel pro or UI handle https://sequelpro.com/download
Install sql: brew install mysql
Mysql stop Mysql.server start
Mysql -uroot -p create Database blog; Use blog; Show tables;
Exit from sql command X or control x
Just for sechama: php artisan migrate
Php artisan php artisan make:migration create_tasts_table Then delete it using UI
php artisan make:migration create_tasts_table —-create=tasks Error: composer dump-autoload Again: php artisan make:migration create_tasts_table —-create=tasks
php artisan help make:migration
New class with name createTaskTable has been created in migrating folder Then: php artisan migrate If mistage: php artisan migrate:refresh
Php artisan tinker $task = new App\Task $task->body = ‘test’ $task->save();
App\User::first()->toArray();
If you access db and return like this, its show jSON $tasks = DB::table(‘tasks’)->get(); $tasks = DB::table(‘tasks’)->latest()->get();
Php artisan tinker $user = new App\User; $user->name = ‘Atif’; $user->email = ‘a@a.com’; $user->password = “”; $user->save(); // $user->password = bcrypt(“”);
// wamp with // error: MySQL said: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) // fix: mysql.server start
// route auth
get route list in console: php artisan route:list
// make controller php artisan make:controller TasksController
So finally we create post controller We required // controller => PostsController // Eloquent mode => Post // migration => create_posts_table
Two ways to create Php artisan make:controller PostsController Php artisan make:mode Post Php artisan make:migration create_posts_table —create=posts
@Second use flag: php artisan help make:mode Php artisan make:mode Post -mc If mistage: php artisan migrate:refresh
Php artisan make:controller abc -r // that create all methods for you
@include(‘layout.footer’)
- — - PHP - - - -
- {{ $task }} @endforeach
@if @endif
@foreach ($tasks as $task)
// web.php Auth::routes();
Route::get('/home', function () { $tasks = DB::table('task')->get(); //$tasks = Task::all(); //dd($tasks); return view('home', compact('tasks')); });
Route::get('/home/{task}', function ($id) { //dd($id); $task = DB::table('task')->find($id); //dd($task); return view('layouts.show', compact('task')); });
// home.php
- @foreach ($tasks as $task)
- {{$task->body}} @endforeach
// doc php artisan make:mode Task php artisan tinker App\Task::all(); App\User::all(); App\Task::where('id','>',2)->get(); Get only body: app\task::pluck(‘body’); app\task::pluck(‘body’)->first();
// create once: php artisan migrate:reset composer dump-autoload Php artisan make:model Task -m Php artisan migrate
// get post comments php artisan tinker $post = App\Post::Find(6); $post->comments
// get comment associate with post php artisan tinker $c = App\Comment::first(); $c->post;
Facing error: laravel new // laravel/valet#169 Fatal error: Cannot redeclare info() (previously declared in /Users/atifsaeed/.composer/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:454) in /Users/atifsaeed/.composer/vendor/laravel/valet/cli/includes/helpers.php on line 24
composer global remove laravel/framework
helpingLinks: https://medium.com/@kunalnagar/install-laravel-5-on-os-x-23f3578386f1 https://medium.com/@kunalnagar/deploying-laravel-5-on-godaddy-shared-hosting-888ec96f64cd https://imnaveen24.wordpress.com/2016/09/16/install-laravel-on-mac-using-mamp/ https://grafxflow.co.uk/blog/php-and-html-and-css/installing-laravel5-mac-os-x-mamp/
-
- — - - - - - - - ANGULAR - - — - - - - - - -
For angular install node.js using package manager: https://nodejs.org/en/download/package-manager/ Brew install node brew doctor // get brew warning
Install angular global: npm install -g @angular/cli Create new project: ng new myApp Go to the project directory: cd myApp Launch the server: ng serve —-open To build app: ng build http://localhost:4200/myproject runs the TypeScript compiler in "watch mode", recompiling automatically when the code changes: npm start
Port 4200 is already in use. Use '--port' to specify a different port. iMac:myapp atifsaeed$ ng serve --port 1234
For file editor: https://www.sublimetext.com/3 Understand git: https://scotch.io/bar-talk/git-cheat-sheet#toc-updating-and-getting-code-fetchpull
git init git add -A git commit -m 'Added my project' git remote add origin git@github.com:scotch-io/my-new-project.git git push -u -f origin master -f flag stands for force // automacitcally overwrite everything in the remote directly -u flag sets the remote origin as the default
Port 4200 is already in use. Use '--port' to specify a different port. Kill port: sudo lsof -t -i tcp:4200 | xargs kill -9 Kill port: sudo lsof -t -i tcp:8000 | xargs kill -9 sudo kill $(sudo lsof -t -i:4200) Start on new port: ng serve --port 1234
https://applyhead.com/angular-4-tutorial-make-angular-4-app-using-github-api/
https://api.github.com/search/users?q=location:islamabad Angular with bootstrap https://medium.com/codingthesmartway-com-blog/using-bootstrap-with-angular-c83c3cee3f4a https://medium.com/@beeman/tutorial-add-bootstrap-to-angular-cli-apps-b0a652f2eb2
npm install bootstrap@4.0.0-alpha.6 font-awesome npm install bootstrap@3
https://ng-bootstrap.github.io/#/home
Create component: ng generate component nav ng g c footer
Leran Node.js https://www.youtube.com/watch?v=G_-aEXmluq8
https://github.com/artemnovichkov/TransitionRouter https://siftery.com/new-relic/alternatives
Learn MongoDB http://adrianmejia.com/blog/2014/10/01/creating-a-restful-api-tutorial-with-nodejs-and-mongodb/
Uber/cream https://www.appypie.com/taxi-booking-app-builder https://theappsolutions.com/blog/development/cost-to-build-taxi-app/ https://alty.co/blog/how-to-develop-an-app-like-uber-tips-from-taxi-app-developers/ https://www.quora.com/How-do-I-build-a-real-time-location-app-like-uber