C

From BC$ MobileTV Wiki
Jump to: navigation, search

The C label has been used to describe a family of programming languages that are typically more object-oriented in nature than low-level Assembly Language or Machine Language code, while at the same time, offering direct device manipulation and abstraction through system-level functional calls, and typically, require a programmer to do their own memory allocation and garbage collection (a feature which has been both a boon and bane of C languages, as its proper use results in extremely fast and efficient software, while its misuse results in destroyed memory and/or inefficient and leaky code algorithms).


Language Versions/Derivatives

The most popular derivations of C include:

C

C.jpg is a high-level programming language which also provides lower system-level functions for the programmer to use in controlling a piece of computer hardware

[3] [4] [5] [6] [7]


C++

Cpp.jpg C++ is a high-level object-oriented Programming Language loosely based on the C programming language.

[8]


C#

Csharp.png C# is a derivate of C designed for use as a more powerful and expressive server-side language to complement Visual Basic and Microsoft's ASP.NET framework.

[9]

[10] [11] [12] [13] [14] [15] [16]

Razor

Blazor

[17]


Objective-C

Objective-C: Apple's de facto Hardware/OS application programming language Objective-C is a reflective, object-oriented programming language, which adds Smalltalk-style messaging to the C programming language. It recently gained prominence when Apple chose it as the primary development language for iPhone applications.

[20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33]


Swift

According to Apple: "Swift is a powerful and intuitive programming language for iOS, OS X, and watchOS. Writing Swift code is interactive and fun, the syntax is concise yet expressive, and apps run lightning-fast. Swift is ready for your next project — or addition into your current app — because Swift code works side-by-side with Objective-C."

[34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65] [66] [67] [68] [69] [70] [71]

SwiftUI

[72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84]

Tools



Resources


Tutorials



[90]



External Links





References

  1. List of C Standard Library functions (single page): http://www.utas.edu.au/infosys/info/documentation/C/CStdLib.html
  2. The C Library Reference Guide: http://www.acm.uiuc.edu/webmonkeys/book/c_guide/
  3. Learn C Programming -- The Definitive Guide: https://www.programiz.com/c-programming
  4. C strcmp() function does not return boolean, but simply 0 or 1 as int values to check for "truthiness": https://www.programiz.com/c-programming/library-function/string.h/strcmp
  5. printf & scanf in C: https://www.javatpoint.com/printf-scanf
  6. Reading in a variable length string user input in C: https://stackoverflow.com/questions/7672560/reading-in-a-variable-length-string-user-input-in-c
  7. Guide to JNI: https://www.baeldung.com/jni (connecting Java to C or C++)
  8. C++ 20 Reference Card: https://dzone.com/articles/c20-reference-card
  9. C# command-line tips: dotnet --version lists the version | dotnet new console creates a new "console" template basic application | dotnet restore attempts to redownload/rebuild depedendencies
  10. Java .vs. .Net: http://www.codecomputerlove.com/MediaLibrary/Documents/Java-vs-.NET.pdf
  11. Model-View-Controller (in C#/.net): https://docs.microsoft.com/en-us/previous-versions/msp-n-p/ff649643(v=pandp.10)
  12. How to search the environment’s path for an EXE or DLL: http://csharptest.net/526/how-to-search-the-environments-path-for-an-exe-or-dll/index.html
  13. Your Ultimate async / await tutorial in C#: https://www.codingame.com/playgrounds/4240/your-ultimate-async-await-tutorial-in-c/introduction
  14. C# 9.0 on the record: https://devblogs.microsoft.com/dotnet/c-9-0-on-the-record/
  15. C# for Absolute Beginners - The Basics: https://dzone.com/articles/c-programming-basics-for-absolute-beginners-codebu
  16. C# 11 previews raw string literals, dumps parameter null checking: https://www.infoworld.com/article/3658191/c-11-previews-raw-string-literals-dumps-parameter-null-checking.html
  17. What's the Difference Between Blazor vs Razor: https://www.telerik.com/blogs/difference-between-blazor-vs-razor
  18. Objective-C Cheat Sheet & Quick Reference: https://koenig-media.raywenderlich.com/downloads/RW-Objective-C-Cheatsheet-v-1-5.pdf
  19. Objective-C roundup of useful resources & code snippets: https://github.com/iwasrobbed/Objective-C-CheatSheet
  20. Objective-C Quick Guide: https://www.tutorialspoint.com/objective_c/objective_c_quick_guide.htm
  21. Objective-C Language Features (BOOK): https://link.springer.com/chapter/10.1007/978-1-4302-4369-4_4
  22. Why many developers still prefer Objective-C to Swift: https://www.hackingwithswift.com/articles/27/why-many-developers-still-prefer-objective-c-to-swift
  23. Compiling Objective-C code on mac terminal: https://stackoverflow.com/questions/36230494/compiling-objective-c-code-on-mac-terminal (clang -framework Foundation Example.m main.m -o prog)
  24. Objective-C GNUstep Base Programming Manual: http://www.gnustep.org/resources/documentation/Developer/Base/ProgrammingManual/manual.html
  25. A Collection of Objective-C Style Guides: http://java.dzone.com/articles/collection-objective-c-style
  26. TipCalculator Codepath Objective-C bootcamp pre-work project: https://github.com/frimicc/tip-calculator
  27. Creating a Tip Calculator in iOS: https://gist.github.com/timothy1ee/7747214
  28. Testing for Accessibility on OS X: https://developer.apple.com/library/archive/documentation/Accessibility/Conceptual/AccessibilityMacOSX/OSXAXTestingApps.html
  29. Enabling Accessibility IDs in XCode Utilities: https://riptutorial.com/ios/example/24834/accessibility-identifier
  30. An iOS 7 UIPickerView Example in Objective-C: https://www.techotopia.com/index.php/An_iOS_7_UIPickerView_Example
  31. What’s the difference between Xcode, Objective-C and Cocoa?: https://stackoverflow.com/questions/12509859/what-s-the-difference-between-xcode-objective-c-and-cocoa
  32. Why do I get “no previous prototype for function” in this little sample?: https://code-examples.net/en/q/6f5b10
  33. PGP decryption on iOS (programmatically): https://stackoverflow.com/questions/7480425/pgp-decryption-on-ios
  34. 100 days of Swift: https://www.hackingwithswift.com/100
  35. 100 days of SwiftUI: https://www.hackingwithswift.com/100/swiftui
  36. Swift in (60s) Sixty Seconds: https://www.youtube.com/playlist?list=PLuoeXyslFTuajnHpp2jKCyOz2ZhP5OTkN
  37. WWDC -- 2021 - What‘s new in Swift: https://developer.apple.com/videos/play/wwdc2021/10192/
  38. Swift vs. Objective-C -- 10 reasons the future favors Swift: https://www.infoworld.com/article/2920333/swift-vs-objective-c-10-reasons-the-future-favors-swift.html
  39. Swift vs Objective-C -- Out with the Old, In with the New: https://www.altexsoft.com/blog/engineering/swift-vs-objective-c-out-with-the-old-in-with-the-new/
  40. Swift 5 Released with ABI Stability, Reducing App Size Across Platforms: https://insights.dice.com/2019/03/27/swift-5-abi-stability-app-size/
  41. Distributing Swift Frameworks via Cocoapods: https://medium.com/onfido-tech/distributing-swift-frameworks-via-cocoapods-152002b41783
  42. Apple iPadOS - Smart Move for Developers During Cross-Platform Push: https://insights.dice.com/2019/10/01/apple-ipados-macos-project-catalyst/
  43. Swift vs Objective-C -- Out with the Old, In with the New: https://www.altexsoft.com/blog/engineering/swift-vs-objective-c-out-with-the-old-in-with-the-new/
  44. Learn Swift From Objective-C -- Variables, Classes, Methods and Properties: https://codewithchris.com/learn-swift-from-objective-c/
  45. Top iOS 10 Objective-C and Swift 3.0 Code Samples: https://medium.com/@MentorMate/top-ios-10-objective-c-and-swift-3-0-code-samples-8e6c5905aeb
  46. Swift vs Objective-C in 2019: https://medium.com/swiftify/swift-vs-objective-c-comparison-32aba9dad4e3
  47. Getting Started with iOS -- Objective-C vs. Swift: https://www.codenewbie.org/blogs/getting-started-with-ios-objective-c-vs-swift
  48. When It Comes to SwiftUI and Catalyst, the Roadmap Is Becoming Clear: https://insights.dice.com/2019/09/18/apple-catalyst-swiftui-roadmap/
  49. Best way to dismiss Keyboard in a View Controller iOS (Swift)Best way to dismiss Keyboard in a View Controller iOS (Swift): https://medium.com/@KaushElsewhere/how-to-dismiss-keyboard-in-a-view-controller-of-ios-3b1bfe973ad1
  50. Hide keyboard for text field in swift programming language: https://stackoverflow.com/questions/24908966/hide-keyboard-for-text-field-in-swift-programming-language
  51. Close iOS Keyboard by touching anywhere using Swift: https://stackoverflow.com/questions/24126678/close-ios-keyboard-by-touching-anywhere-using-swift
  52. How to hide keyboard in swift on pressing return key?: https://stackoverflow.com/questions/24180954/how-to-hide-keyboard-in-swift-on-pressing-return-key
  53. Move textfield when keyboard appears Swift: https://stackoverflow.com/questions/25693130/move-textfield-when-keyboard-appears-swift
  54. Use of undeclared type BindableObject: https://forums.developer.apple.com/thread/127243 (BindableObject was renamed to ObservableObject and @ObjectBinding is now @ObservedObject... also instead of needing to implement didChange method in your Model, you can use @Published attribute on bound property)
  55. Building a Tip Calculator Using SwiftUI and MVVM Design Pattern: https://blog.usejournal.com/building-a-tip-calculator-using-swiftui-and-mvvm-design-pattern-a795d62e1a2d
  56. iOS Tutorials -- Tip Calculator (using Swift + Storyboard): https://daddycoding.com/2019/09/19/ios-tutorials-tip-calculator/
  57. Tip Calculator in SwiftUI: https://nsscreencast.com/episodes/397-swiftui-tip-calculator | SRC
  58. Tip Calculator in Objective-C:
  59. BUILD A TIP CALCULATOR IN SWIFT 4: https://www.makeschool.com/academy/track/build-a-tip-calculator-in-swift-4
  60. How to fix “Function declares an opaque return type, but has no return statements in its body from which to infer an underlying type”: https://www.hackingwithswift.com/quick-start/swiftui/how-to-fix-function-declares-an-opaque-return-type-but-has-no-return-statements-in-its-body-from-which-to-infer-an-underlying-ty
  61. Cannot preview SwiftUI: https://forums.developer.apple.com/thread/117487
  62. Local Notifications with Swift 4: https://medium.com/quick-code/local-notifications-with-swift-4-b32e7ad93c2
  63. Swift -- Custom UI Master Class - Infinite Paging Scroll View: https://medium.com/swift2go/custom-ui-master-class-infinite-paging-scroll-view-4be78d0de88f
  64. Swift -- Custom UI Master Class - Autocomplete TextField: https://medium.com/swift2go/custom-ui-master-class-autocomplete-textfield-part-1-218024b693f9
  65. SwiftUI and Redux — Clean Code and Small, Independent Components: https://medium.com/better-programming/swiftui-and-redux-clean-code-and-small-independent-components-6f46a5eb46b3
  66. Write Your Own Network Layer in Swift: https://dzone.com/articles/write-your-own-network-layer-in-swift
  67. RxSwift — Reactive Thinking (Part 3): https://codeburst.io/rxswift-reactive-thinking-part-3-85951a75adea
  68. 10 Useful Swift String Extensions: https://betterprogramming.pub/10-useful-swift-string-extensions-e4280e55a554
  69. String extension to calculate MD5: https://gist.github.com/MariposaStudios/b77c74b0f2a60a0f351c5187cb8c3dd3
  70. What‘s new in Swift: https://developer.apple.com/videos/play/wwdc2021/10192/
  71. 3 Powerful Swift Tricks From WWDC 2022: https://betterprogramming.pub/3-powerful-swift-tricks-from-wwdc-2022-8369a9a141c6
  72. Real World iOS Design Patterns (in Swift): https://medium.com/cocoaacademymag/real-world-ios-design-patterns-3e5aad172094
  73. Building a UIKit user interface programmatically: https://www.hackingwithswift.com/read/8/2/building-a-uikit-user-interface-programmatically
  74. Lazy Loading in UICollectionView using NSOperation and NSOperationQueue in Swift: https://medium.com/@prashant.gtm1001/smart-lazy-loading-in-uicollectionview-using-nsoperation-and-nsoperationqueue-in-ios-b9dfb1128048
  75. How to use custom fonts in Swift iOS app using SwiftUI: https://www.simpleswiftguide.com/how-to-use-custom-fonts-in-swift-ios-app-using-swiftui/
  76. Absolute positioning for SwiftUI views: https://www.hackingwithswift.com/books/ios-swiftui/absolute-positioning-for-swiftui-views
  77. Auto Layout in Swift Writing constraints programmatically: https://betterprogramming.pub/auto-layout-in-swift-ffd918d4ec06
  78. How to set text for TextField in SwiftUI on button click: https://stackoverflow.com/questions/59317034/how-to-set-text-for-textfield-in-swiftui-on-button-click
  79. iOS SwiftUI Timer example: https://rebeloper.com/blog/ios-swift-timer-example-make-countdown-timer
  80. iOS Timer Tutorial: https://www.raywenderlich.com/113835-ios-timer-tutorial
  81. Simple Timer App Swift Xcode Tutorial - Stopwatch (Count up Timer): https://www.youtube.com/watch?v=3TbdoVhgQmE
  82. AsyncTask: https://rebeloper.com/blog/asynctask
  83. SwiftUI MVVM Tutorial Build A News App in SwiftUI: https://www.youtube.com/watch?v=M2psX-JwHdE (single-directional client-server)
  84. iOS Chat Application walkthrough: https://rebeloper.com/blog/ios-chat-application (multi-directional client-server-client)
  85. Objective C for Windows: http://stackoverflow.com/questions/56708/objective-c-for-windows
  86. How to build a Compiler 2012: http://www.stack.nl/~marcov/compiler.pdf
  87. Compiler Tools: http://dinosaur.compilertools.net/
  88. C# - Command-Line Building (Visual Studio 2005): http://msdn.microsoft.com/en-us/library/78f4aasd(v=vs.80).aspx
  89. FastJSON - a fast C# JSON parser alternative: http://www.codeproject.com/Articles/159450/fastJSON
  90. C#/.net sample app -- RockPaperScissorsLizardSpock: https://rockpaperscissorslizardspock.dev | SRC
  91. Mac Developer guides - Handling an Element (Example): http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/XMLParsing/Articles/HandlingElements.html#//apple_ref/doc/uid/20002265-1001887
  92. How To Choose The Best XML Parser for Your iPhone Project: http://www.raywenderlich.com/553/how-to-chose-the-best-xml-parser-for-your-iphone-project
  93. Objective C - Parsing an XML file: http://www.markhneedham.com/blog/2010/08/04/objective-c-parsing-an-xml-file/
  94. Elegant XML parsing with Objective-C: http://www.levelofindirection.com/journal/2009/9/24/elegant-xml-parsing-with-objective-c.html
  95. discussion: http://www.artima.com/forums/flat.jsp?forum=226&thread=204721
  96. The Basics of XCUITest and Using Xcode UI Test Recorder: http://bitbar.com/the-basics-of-xcuitest-and-using-xcode-ui-test-recorder/
  97. Hello World in Objective C and Compiling with GCC: http://www.maheshsubramaniya.com/article/hello-world-in-objective-c-and-compiling-with-gcc.html

See Also

Visual Basic | VBA | ASP