본문 바로가기

분류 전체보기

(162)
Section 4: Variables - 12. Variable manipulation and integer division
Assignment operators Assignment operators are used in Java to assign values to variables. For example, int age; age = 5; Here, = is the assignment operator. It assigns the value on its right to the variable on its left. That is, 5 is assigned to the variable age. Let's see some more assignment operators available in Java. Operator/ Example/ Equivalent to = a = b; a = b; += a += b; a = a + b; -= a -= b; a = a - b; *=..
CocoaPods CocoaPods is an application level dependency manager for the Objective-C, Swift and any other languages that run on the Objective-C runtime, such as RubyMotion, that provides a standard format for managing external libraries. What is CocoaPods used for? CocoaPods manages library dependencies for your Xcode projects. The dependencies for your projects are specified in a single text file called a ..
Firebase firebase.google.com/products Firebase Products Firebase는 고품질 앱을 빠르게 개발하고 비즈니스를 성장시키는 데 도움이 되는 Google의 모바일 플랫폼입니다. firebase.google.com firebase.google.com/use-cases Firebase Use Cases 여러 Firebase 제품을 조합하면 가장 까다로운 앱 개발 및 성장 과제도 문제없이 해결하고 다른 권장사항을 통해 학습할 수 있습니다. firebase.google.com firebase.google.com/docs/cloud-messaging/ Firebase 클라우드 메시징 Firebase 클라우드 메시징(FCM)은 무료로 메시지를 안정적으로 전송할 수 있는 교차 플랫폼 메시징..
Closures Closures are self-contained blocks of functionality that can be passed around and used in your code. Closures in Swift are similar to blocks in C and Objective-C and to lambdas in other programming languages. Closures can capture and store references to any constants and variables from the context in which they are defined. This is known as closing over those constants and variables. Swift handl..
Boilerplate code In computer programming, boilerplate code or just boilerplate are sections of code that have to be included in many places with little or no alteration. When using languages that are considered verbose, the programmer must write a lot of code to accomplish only minor functionality. Such code is called boilerplate.[1] The need for boilerplate can be reduced through high-level mechanisms such as m..
Class: NSManagedObject A base class that implements the behavior required of a Core Data model object. Declaration class NSManagedObject : NSObject Overview A managed object is associated with an entity description (NSEntityDescription) that provides metadata about the object, including the name of the entity that the object represents and the names of its attributes and relationships. A managed object is also associa..
Class: UserDefaults Declaration class UserDefaults : NSObject Overview The UserDefaults class provides a programmatic interface for interacting with the defaults system. The defaults system allows an app to customize its behavior to match a user’s preferences. For example, you can allow users to specify their preferred units of measurement or media playback speed. Apps store these preferences by assigning values to..
Class: JSONSerialization An object that converts between JSON and the equivalent Foundation objects. Declaration class JSONSerialization : NSObject Overview You use the JSONSerialization class to convert JSON to Foundation objects and convert Foundation objects to JSON. A Foundation object that may be converted to JSON must have the following properties: The top level object is an NSArray or NSDictionary. All objects ar..
What is JSON? JavaScript Object Notation is an open standard file format, and data interchange format, that uses human-readable text to store and transmit data objects consisting of attribute–value pairs and array data types. Wikipedia JavaScript Object Notation (JSON) is a standard text-based format for representing structured data based on JavaScript object syntax. It is commonly used for transmitting data ..