-
Что такое
полиморфизм
? -
Что такое *инкапсуляция? Что такое *нарушение инкапсуляции?
-
Чем
абстрактный
класс отличается отинтерфейса
? -
Расскажите о
паттерне MVC
. Чем отличаетсяпассивная
модель отактивной
?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'routes_config.dart'; | |
import '../presentation/screens.dart'; | |
import '../constants.dart'; | |
class ShopListRouterDelegate extends RouterDelegate<ShopListRouteConfig> | |
with ChangeNotifier, PopNavigatorRouterDelegateMixin<ShopListRouteConfig> { | |
@override | |
final GlobalKey<NavigatorState> navigatorKey; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package feathersx.controls.text | |
{ | |
import feathers.controls.text.TextFieldTextRenderer; | |
import flash.geom.Point; | |
import flash.net.URLRequest; | |
import flash.net.navigateToURL; | |
import starling.events.Touch; | |
import starling.events.TouchEvent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <ctype.h> | |
#include <openssl/rsa.h> | |
#include <openssl/engine.h> | |
#include <openssl/pem.h> | |
// I'm not using BIO for base64 encoding/decoding. It is difficult to use. | |
// Using superwills' Nibble And A Half instead |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UIImage *scaleAndRotateImage(UIImage *image) | |
{ | |
int kMaxResolution = 1920; | |
CGImageRef imgRef = image.CGImage; | |
CGFloat width = CGImageGetWidth(imgRef); | |
CGFloat height = CGImageGetHeight(imgRef); | |