Posts in 2021
-
Most votes on objective-c questions 2
May 01, 2021 in FAQ
Most votes on objective-c questions 2. #11 Constants in Objective-C #12 How do I animate constraint changes? #13 How do I convert an NSString value to NSData? #14 How to check iOS version? #15 How do you trigger a block after a delay, like -performSelector:withObject:afterDelay:? #16 How do I create delegates in Objective-C? #17 Generating random numbers in Objective-C #18 Placeholder in UITextView #19 How to link to apps on the app store #20 @class vs. #import
Read all the top votes questions and answers in a single page. #11: Constants in Objective-C (Score: 1021) Created: 2009-02-11 Last updated: 2020-04-17 Tags: ios, objective-c, cocoa, nsstring, constants I’m developing a Cocoa application, and …
-
Most votes on objective-c questions 10
May 01, 2021 in FAQ
Most votes on objective-c questions 10. #91 How to disable back swipe gesture in UINavigationController on iOS 7 #92 How to split a string literal across multiple lines in C / Objective-C? #93 NSString property: copy or retain? #94 What should my Objective-C singleton look like? #95 What is the best way to unit test Objective-C code? #96 UITableView Cell selected Color? #97 Best architectural approaches for building iOS networking applications (REST clients) #98 Assertion failure in dequeueReusableCellWithIdentifier:forIndexPath: #99 Can I use Objective-C blocks as properties? #100 Replacement for deprecated sizeWithFont: in iOS 7?
Read all the top votes questions and answers in a single page. #91: How to disable back swipe gesture in UINavigationController on iOS 7 (Score: 335) Created: 2013-06-20 Last updated: 2016-02-02 Tags: ios, objective-c, uinavigationcontroller, …
-
Most votes on objective-c questions 1
May 01, 2021 in FAQ
Most votes on objective-c questions 1. #1 What's the difference between the atomic and nonatomic attributes? #2 How can I make a UITextField move up when the keyboard is present - on starting to edit? #3 Passing data between view controllers #4 How can I disable ARC for a single file in a project? #5 How do I sort an NSMutableArray with custom objects in it? #6 performSelector may cause a leak because its selector is unknown #7 How do I check if a string contains another string in Objective-C? #8 Shortcuts in Objective-C to concatenate NSStrings #9 What is a typedef enum in Objective-C? #10 How do I call Objective-C code from Swift?
Read all the top votes questions and answers in a single page. #1: What's the difference between the atomic and nonatomic attributes? (Score: 1884) Created: 2009-02-26 Last updated: 2018-06-02 Tags: ios, objective-c, properties, atomic, nonatomic …
-
Most votes on npm questions 9
May 01, 2021 in FAQ
Most votes on npm questions 9. #81 nvm is not compatible with the npm config "prefix" option: #82 Nodejs cannot find installed module on Windows #83 Running Python on Windows for Node.js dependencies #84
npm install
fails on node-gyp rebuild withgyp: No Xcode or CLT version detected!
#85 npm install private github repositories by dependency in package.json #86 Why use peer dependencies in npm for plugins? #87 ERROR in Cannot find module 'node-sass' #88 npm install -g less does not work: EACCES: permission denied #89 Purpose of installing Twitter Bootstrap through npm? #90 How to use a different version of python during NPM install?Read all the top votes questions and answers in a single page. #81: nvm is not compatible with the npm config "prefix" option: (Score: 248) Created: 2016-01-11 Last updated: 2016-01-11 Tags: node.js, npm, prefix, nvm I am trying to run …
-
Most votes on npm questions 8
May 01, 2021 in FAQ
Most votes on npm questions 8. #71 How to npm install to a specified directory? #72 On npm install: Unhandled rejection Error: EACCES: permission denied #73 Is there a way to make npm install (the command) to work behind proxy? #74 How to yum install Node.JS on Amazon Linux #75 How can I change the version of npm using nvm? #76 How to Delete node_modules - Deep Nested Folder in Windows #77 After installation of Gulp: “no command 'gulp' found” #78 sudo: npm: command not found #79 Node update a specific package #80 How do I fix the npm UNMET PEER DEPENDENCY warning?
Read all the top votes questions and answers in a single page. #71: How to npm install to a specified directory? (Score: 285) Created: 2013-01-22 Tags: node.js, npm Is it possible to specify a target directory when running npm install …
-
Most votes on npm questions 7
May 01, 2021 in FAQ
Most votes on npm questions 7. #61 What is the difference between "npm install" and "npm ci"? #62 How to include scripts located inside the node_modules folder? #63 How to install npm peer dependencies automatically? #64 Find unused npm packages in package.json #65 npm install won't install devDependencies #66 npm WARN … requires a peer of … but none is installed. You must install peer dependencies yourself #67 How do I decide whether @types/* goes into
dependencies
ordevDependencies
? #68 Can pm2 run an 'npm start' script #69 How to properly upgrade node using nvm #70 What does -save-dev mean in npm install grunt –save-devRead all the top votes questions and answers in a single page. #61: What is the difference between "npm install" and "npm ci"? (Score: 321) Created: 2018-09-25 Last updated: 2019-01-01 Tags: npm, continuous-integration, …
-
Most votes on npm questions 6
May 01, 2021 in FAQ
Most votes on npm questions 6. #51 How can I specify the required Node.js version in package.json? #52 How to clear cache in Yarn? #53 How to solve npm error "npm ERR! code ELIFECYCLE" #54 How to install a private NPM module without my own registry? #55 npm - how to show the latest version of a package #56 receiving error: 'Error: SSL Error: SELF_SIGNED_CERT_IN_CHAIN' while using npm #57 npm ERR cb() never called #58 How to completely remove node.js from Windows #59 how to specify local modules as npm package dependencies #60 NPM Install Error:Unexpected end of JSON input while parsing near '…nt-webpack-plugin":"0'
Read all the top votes questions and answers in a single page. #51: How can I specify the required Node.js version in package.json? (Score: 354) Created: 2015-03-30 Last updated: 2020-07-21 Tags: node.js, npm, package, version I have a Node.js …
-
Most votes on npm questions 5
May 01, 2021 in FAQ
Most votes on npm questions 5. #41 Depend on a branch or tag using a git URL in a package.json? #42 What is the meaning of the "at" (@) prefix on npm packages? #43 Why does npm install say I have unmet dependencies? #44 How to clean node_modules folder of packages that are not in package.json? #45 How to set environment variables from within package.json? #46 How to specify a port to run a create-react-app based project? #47 Should I check in folder "node_modules" to Git when creating a Node.js app on Heroku? #48 What is the role of the package-lock.json? #49 "message failed to fetch from registry" while trying to install any module #50 How do I override nested NPM dependency versions?
Read all the top votes questions and answers in a single page. #41: Depend on a branch or tag using a git URL in a package.json? (Score: 424) Created: 2013-05-03 Last updated: 2018-08-29 Tags: git, dependencies, npm, branch, git-tag Say I’ve …
-
Most votes on npm questions 4
May 01, 2021 in FAQ
Most votes on npm questions 4. #31 Local dependency in package.json #32 Cannot install packages using node package manager in Ubuntu #33 Node.js - SyntaxError: Unexpected token import #34 Installing a local module using npm? #35 Error: EACCES: permission denied, access '/usr/local/lib/node_modules' #36 How do you reinstall an app's dependencies using npm? #37 npm command to uninstall or prune unused packages in Node.js #38 How do I add comments to package.json for npm install? #39 Is there a way to automatically build the package.json file for Node.js projects #40 Command to remove all npm modules globally?
Read all the top votes questions and answers in a single page. #31: Local dependency in package.json (Score: 529) Created: 2013-01-17 Tags: node.js, npm I want to do something like this, so npm install also installs the package.json of …
-
Most votes on npm questions 3
May 01, 2021 in FAQ
Most votes on npm questions 3. #21 Why does "npm install" rewrite package-lock.json? #22 Difference between npx and npm? #23 Is there a way to get version from package.json in nodejs code? #24 How do you prevent install of "devDependencies" NPM modules for Node.js (package.json)? #25 How can I update npm on Windows? #26 Node Sass couldn't find a binding for your current environment #27 nvm keeps "forgetting" node in new terminal session #28 How to use executables from a package installed locally in node_modules? #29 npm install vs. update - what's the difference? #30 npm check and update package if needed
Read all the top votes questions and answers in a single page. #21: Why does "npm install" rewrite package-lock.json? (Score: 701) Created: 2017-07-10 Last updated: 2020-04-01 Tags: node.js, npm, npm-install, package-lock.json I …